Bug 239899

Summary: net/routinator: Add rc startup script
Product: Ports & Packages Reporter: C <cm>
Component: Individual Port(s)Assignee: Raphael Kubo da Costa <rakuco>
Status: Closed FIXED    
Severity: Affects Many People CC: jaap, lwhsu
Priority: --- Flags: koobs: maintainer-feedback+
koobs: merge-quarterly-
Version: Latest   
Hardware: Any   
OS: Any   
Bug Depends on: 240560    
Bug Blocks:    

Description C 2019-08-16 08:26:17 UTC
This port currently does just ship the binary and manpage but doesn't include a startup script.

It would be nice to add 
- a startup script for the RTR server use case
- a default folder structure for TALs and the downloaded resources
- a routinator user that is used to run the daemon
Comment 1 Jaap Akkerhuis 2019-08-19 13:57:32 UTC
(In reply to C from comment #0)
These omission were intentional because the system changed a lot in earlier versions. Indeed, it is time to add these.

I'll whip something up for the next release or create a patch whatever comes first. In case you rolled your own, I'm happy to use that as a start.
Comment 2 C 2019-09-06 11:22:05 UTC
Hello Jaap,
thanks for considering this improvement request.
Do you have any time plans for this?
Comment 3 Jaap Akkerhuis 2019-09-06 12:18:58 UTC
(In reply to C from comment #2)
Two days ago I was about to release a patch which has the script included. But then I was told that there will be a release in a week or so which changes part of the interface and probably also the startup method.

Therefore I decided to wait for that release for the time being (unless people get really desperate)
Comment 4 C 2019-09-11 19:25:17 UTC
Since fixup release (0.6.1) is scheduled for tomorrow, will this also bring the parts missing for this bugzilla entry?
Comment 5 Jaap Akkerhuis 2019-09-11 20:57:34 UTC
I was about to shop 0.6.0 but indeed, now will wait until 0.6.1 is ready. No point in shipping a broken version.
Comment 6 commit-hook freebsd_committer freebsd_triage 2019-11-28 10:57:07 UTC
A commit references this bug:

Author: rakuco
Date: Thu Nov 28 10:57:01 UTC 2019
New revision: 518574
URL: https://svnweb.freebsd.org/changeset/ports/518574

Log:
  Update to 0.6.2.

  Release notes:
  https://github.com/NLnetLabs/routinator/releases/tag/v0.6.2

  Port changes:
  - Add a startup script.
  - Add a separate user/group for the daemon to use.

  PR:		240560
  PR:		239899
  Submitted by:	Jaap Akkerhuis <jaap@NLnetLabs.nl> (maintainer)

Changes:
  head/GIDs
  head/UIDs
  head/net/routinator/Makefile
  head/net/routinator/distinfo
  head/net/routinator/files/
  head/net/routinator/files/pkg-message.in
  head/net/routinator/files/routinator.in
Comment 7 Jaap Akkerhuis 2019-12-12 15:35:09 UTC
Overtaken by events.

As stated in comment #6, a startup script is now part of the port.
Comment 8 Kubilay Kocak freebsd_committer freebsd_triage 2020-07-03 04:03:40 UTC
^Triage: 

- Assign to committer to resolve
- Track non-merge