New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
routinator: update to 0.12.1 and add runit service. #37848
Conversation
6ffdaa8
to
d07dd8a
Compare
Fix a typo in INSTALL.msg, add second commit for documentation. |
Don't use |
88816e4
to
2c8e8cd
Compare
Changed It seems that |
You did not commit the |
srcpkgs/routinator/template
Outdated
|
||
case "$XBPS_TARGET_MACHINE" in | ||
x86_64*|i686*|arm*|aarch64*) ;; | ||
*) broken="ftbfs in ring" ;; | ||
esac | ||
|
||
post_build() { | ||
pip install --user -r doc/manual/source/requirements.txt |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
use hostmakedepends, pip is not deterministic and will pollute the masterdir
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What do I do if the packages are not in the void repos? I guess I could add them myself
Oh, that was stupid of me. Will fix. |
116efdd
to
d4cde95
Compare
I've added the missing python packages, basically no testing done for them but the manual for routinator builds without pip now. Is it ok for them to be in the same PR or should I create a separate one? |
d4cde95
to
629143f
Compare
629143f
to
580f394
Compare
580f394
to
09fd089
Compare
I will convert this to a regular PR as I can't think of anything else to do for now. I could drop the manual if the python dependencies are not desired and the manual is available at https://routinator.docs.nlnetlabs.nl anyway. |
It seems that ARIN has changed their RPA so it doesn't require explicit acceptance anymore. This will be in the upcoming 0.12 release and will also remove the need for initialization to run the service: This means that |
09fd089
to
af8c55d
Compare
Upstream has released 0.12.0. Rebase on that so I can drop I dropped the manual as I'm now getting build failures locally (other than the one in CI) with that and I'm not familiar enough with the python build process to correct that. I'll add the manual separately if I get to it. |
a381a19
to
59a6b0d
Compare
Squashed commits and closed separate PR for update. |
59a6b0d
to
d969f46
Compare
Upstream has released 0.12.1 |
@@ -0,0 +1,2 @@ | |||
#!/bin/sh | |||
exec routinator --config /etc/routinator/routinator.conf server --user=_routinator --group=_routinator 2>&1 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If this logs something, having a logging service would be nice. Look at the dockerd service in the moby package for an example.
exec routinator --config /etc/routinator/routinator.conf server --user=_routinator --group=_routinator 2>&1 | |
[ -r conf ] && . ./conf | |
exec routinator --config ${CONF_FILE:-/etc/routinator/routinator.conf} server --user=_routinator --group=_routinator $OPTS 2>&1 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good idea! I have included the suggestion in the new commit. Seems to work ok from what I can see.
also: - add runit service and system user/group - change homepage (rpki.readthedocs.io no longer goes to routinator, it goes to a general information page about RPKI)
d969f46
to
dff1046
Compare
Thank you for the effort and sorry this took so long |
Update to 0.12.0 and add runit service.
No longer relevant for now:
Testing the changes
Release notes at https://github.com/NLnetLabs/routinator/releases
Local build testing