Summary: | net-mgmt/riemann: tweaks - update distfile, add conf.d, label daemon & get service reload working | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Product: | Ports & Packages | Reporter: | Dave Cottlehuber <dch> | ||||||||||
Component: | Individual Port(s) | Assignee: | Kurt Jaeger <pi> | ||||||||||
Status: | Closed FIXED | ||||||||||||
Severity: | Affects Only Me | CC: | pi | ||||||||||
Priority: | --- | Flags: | dch:
maintainer-feedback+
|
||||||||||
Version: | Latest | ||||||||||||
Hardware: | Any | ||||||||||||
OS: | Any | ||||||||||||
Attachments: |
|
Created attachment 174774 [details]
v2 patch now with SIGHUP
(In reply to Dave Cottlehuber from comment #1) v2 patch # QA - portlint OK - poudriere OK on 11_amd64_rc2 # Changes - riemann project now uses github release for software artefacts - a conf.d directory was added for loading additional config files - teach rc.d script to use SIGHUP to reload config Created attachment 174971 [details]
v3
needs further work, as the SIGHUP from `service reload` is not propagated through by daemon. Not sure how to tackle this just yet.
Created attachment 176752 [details]
v4 patch final
# v4 patch changes - fix reload under daemon(8) using pkill - use new upstream master site - add conf.d for more complex configurations - add named daemon(8) process info If the new master_site is github, why don't you use USE_GITHUB=yes etc ? Good question, at present the distributed release artefact is a .jar file and not a direct artefact from the source build process. I'd prefer to commit these changes and then investigate building riemann completely from sources in a later stage, as maven & so forth are as yet unknown to me. Sorry in case that wasn't quite clear, one's a source tarball and the other is a runnable .jar file. At present we use the generated artefact (created via `lein uberjar` from a source checkout but requires maven and network access normally), uploaded when the project does its builds, from https://github.com/riemann/riemann/releases/download/0.2.11/riemann-0.2.11.tar.bz2 USE_GITHUB only downloads a source tarball from https://codeload.github.com/riemann/riemann/tar.gz/0.2.11?dummy=/riemann-riemann-0.2.11_GH0.tar.gz A commit references this bug: Author: pi Date: Fri Nov 11 05:53:44 UTC 2016 New revision: 425861 URL: https://svnweb.freebsd.org/changeset/ports/425861 Log: net-mgmt/riemann: several changes to the port itself - fix reload under daemon(8) using pkill - use new upstream master site - add conf.d for more complex configurations - add named daemon(8) process info PR: 212671 Submitted by: Dave Cottlehuber <dch@skunkwerks.at> (maintainer) Changes: head/net-mgmt/riemann/Makefile head/net-mgmt/riemann/distinfo head/net-mgmt/riemann/files/riemann.in head/net-mgmt/riemann/pkg-plist Committed, thanks! |
Created attachment 174756 [details] v1 patch # QA - portlint OK - poudriere OK on 11_amd64_rc2 # Changes - riemann project now uses github release for software artefacts - a conf.d directory was added for loading additional config files