Both stop and restart are broken in the current rc script. After experimentation and testing
I found the following changes fix the issue. This is also documented in PR 114593 which apparently
was never committed. (??) Claims to have been "Fixed by other means" ?
Looks like new maintainer in May 2012. Rodrigo, please test and reply. Thanks!!
Port maintainer (email@example.com) is cc'd.
Generated with FreeBSD Port Tools 0.99_6 (mode: change, diff: suffix)
swills@ wants his PRs (via the GNATS Auto Assign Tool)
Maintainer of net-mgmt/smokeping,
Please note that PR ports/169251 has just been submitted.
If it contains a patch for an upgrade, an enhancement or a bug fix
you agree on, reply to this email stating that you approve the patch
and a committer will take care of it.
The full text of the PR can be found at:
Edwin Groothuis via the GNATS Auto Assign Tool
Awaiting maintainers feedback (via the GNATS Auto Assign Tool)
I made a revision of this patch because further testing proved this would
not always work successfully. We have a FreeBSD Xen VM that we run
smokeping on which happens to daemonize smokeping as [perl] for some
reason, so utilizing command_interpreter will not work here. Instead I
wrote from scratch some of the functionality rc.subr should provide while
trying my best to adhere to the standardized methods.
This patch also removes the stopping of the daemon upon @unexec, and
ensures that the logfile exists because some functionality (running as a
slave) will not work correctly without a writable logfile.
We also should be using REQUIRE: LOGIN not REQUIRE: sshd, so that has been
Good for me, you can commit it.
Thanks Mark for your contribution.
On 20/06/12 02:40 +0000, Edwin Groothuis wrote:
> Maintainer of net-mgmt/smokeping,
> Please note that PR ports/169251 has just been submitted.
> If it contains a patch for an upgrade, an enhancement or a bug fix
> you agree on, reply to this email stating that you approve the patch
> and a committer will take care of it.
> The full text of the PR can be found at:
> Edwin Groothuis via the GNATS Auto Assign Tool
swills 2012-06-29 16:22:41 UTC
FreeBSD ports repository
net-mgmt/smokeping Makefile pkg-plist
- Fix rc script
- Remove @stopdaemon
- Bump PORTREVISION
Submitted by: Mark Felder <firstname.lastname@example.org>
Approved by: Rodrigo OSORIO <email@example.com> (maintainer)
Revision Changes Path
1.60 +1 -1 ports/net-mgmt/smokeping/Makefile
1.7 +43 -4 ports/net-mgmt/smokeping/files/smokeping.in
1.27 +0 -1 ports/net-mgmt/smokeping/pkg-plist
firstname.lastname@example.org mailing list
To unsubscribe, send any mail to "email@example.com"