Summary: | [PATCH] net/beacon: allow compilation on non-i386 architectures | ||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Product: | Ports & Packages | Reporter: | Craig Leres <leres> | ||||||||||||||||||||||||||||||||||||||
Component: | Individual Port(s) | Assignee: | freebsd-ports-bugs (Nobody) <ports-bugs> | ||||||||||||||||||||||||||||||||||||||
Status: | Closed FIXED | ||||||||||||||||||||||||||||||||||||||||
Severity: | Affects Only Me | ||||||||||||||||||||||||||||||||||||||||
Priority: | Normal | ||||||||||||||||||||||||||||||||||||||||
Version: | Latest | ||||||||||||||||||||||||||||||||||||||||
Hardware: | Any | ||||||||||||||||||||||||||||||||||||||||
OS: | Any | ||||||||||||||||||||||||||||||||||||||||
Attachments: |
|
Description
Craig Leres
2010-07-31 06:30:02 UTC
Maintainer of net/beacon, Please note that PR ports/149127 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: http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/149127 -- Edwin Groothuis via the GNATS Auto Assign Tool edwin@FreeBSD.org State Changed From-To: open->feedback Awaiting maintainers feedback (via the GNATS Auto Assign Tool) Responsible Changed From-To: freebsd-ports-bugs->glarkin Hi Craig, Would you mind placing the patch files somewhere for download or resubmitting them to the PR as attachments? For some reason, they are embedded inline in the PR, and it's easier to patch the port if I have the files in their original form. Thank you, Greg > Would you mind placing the patch files somewhere for download or > resubmitting them to the PR as attachments? For some reason, they > are embedded inline in the PR, and it's easier to patch the port > if I have the files in their original form. It's probably because I pgp-signed my submission. Let me try re-attaching without signing and if that doesn't work I'll post them somewhere. Craig Here's one additional patch we came up with last night. This one is for the rc.d script. The issues fixed are: - beacon does not background itself automatically so the startup script block the system from fully coming up on bootup - "stop" doesn't work because command_interpreter isn't set - piddir is set incorrectly if you have a commented out line with OUTPUTDIR in it, e.g.: #OUTPUTDIR = /home/beacon/outputfiles OUTPUTDIR = /usr/local/www/data-dist/beacon Craig Approved. State Changed From-To: feedback->open Maintainer approved -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Craig, It sounds like you didn't receive my email follow-up on this PR (sent 8/11/10). I am including the original text of the email here so it's added to the PR. My apologies for not following up sooner, but I assumed that you were too busy to respond. Thank you, Greg > Hi Craig, > > Thanks again for all of the patches, and I have been testing beacon in > an amd64 virtual machine. It compiles fine, and it starts up, although I > haven't tested the functionality. Is there any easy way to make sure > it's working? > > I also have some questions and comments for you: > > - Is it possible for the beacon daemon to run as a lower-privileged > user, instead of root, and still function correctly? > > - Can you update files/beacon.in so the path to the beacon executable is > parameterized? > > - The beacon daemon start command places the process in the background, > but it doesn't properly daemonize it. ed@ started a thread awhile back > regarding how to daemonize processes in rc.d scripts: > http://old.nabble.com/General-note-on-rc-scripts-and-daemonizing-td29190752.html. > Can you take a stab at updating daemon.in? Let me know if you have any > questions about that. > > Thank you, > Greg - -- Greg Larkin http://www.FreeBSD.org/ - The Power To Serve http://www.sourcehosting.net/ - Ready. Set. Code. http://twitter.com/sourcehosting/ - Follow me, follow you -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iD8DBQFMkWb20sRouByUApARAr7bAJ4/z9gUG4HxzWKPy7moJ+rt+AH0IQCgtHlm f0XCUH03AB88q5xm6MUCGH4= =1+xV -----END PGP SIGNATURE----- State Changed From-To: open->feedback Responsible Changed From-To: glarkin->freebsd-ports-bugs Back to pool. -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 New patch set. Old features: - compile on !i386 (circa July 2010) New features: - rc.d script: "parameterize" - rc.d script: "daemonize" - rc.d script: run as "nobody" by default The last change is safer but will result in some breakage to already installed configurations; OUTPUTDIR will need to be user or group wriable by nobody. Craig -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (FreeBSD) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAkytPfgACgkQWxlAhAje3JuQMACfePcYgp35txD92t8Xjaxb8MK8 Ky8An2KkqhQZDCQ6f2Q1pLygJblHyXnS =bcRT -----END PGP SIGNATURE----- State Changed From-To: feedback->open committer timeout (glarkin; 69 days), prompted by direct email from submitter State Changed From-To: open->closed Committed, Thanks! pgollucci 2010-12-15 22:44:42 UTC FreeBSD ports repository Modified files: net/beacon Makefile net/beacon/files beacon.in Added files: net/beacon/files patch-Makefile.in patch-common-beacon.patch patch-libbeacon-Makefile.in Log: - Unbreak on !i386 - rc.d script handle daemonize and run as nobody by default - Bump PORTREVISION PR: ports/149127 Submitted by: Craig Leres <leres@ee.lbl.gov> Approved by: janos.mohacsi@bsd.hu (maintainer) Revision Changes Path 1.22 +5 -11 ports/net/beacon/Makefile 1.3 +29 -11 ports/net/beacon/files/beacon.in 1.1 +11 -0 ports/net/beacon/files/patch-Makefile.in (new) 1.1 +18 -0 ports/net/beacon/files/patch-common-beacon.patch (new) 1.1 +11 -0 ports/net/beacon/files/patch-libbeacon-Makefile.in (new) _______________________________________________ cvs-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/cvs-all To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org" |