Bug 239899 - net/routinator: Add rc startup script
Summary: net/routinator: Add rc startup script
Status: Open
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Many People
Assignee: freebsd-ports-bugs mailing list
URL:
Keywords: needs-patch, needs-qa
Depends on: 240560
Blocks:
  Show dependency treegraph
 
Reported: 2019-08-16 08:26 UTC by C
Modified: 2019-12-12 15:35 UTC (History)
1 user (show)

See Also:
koobs: maintainer-feedback? (jaap)
koobs: merge-quarterly?


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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 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.