| Summary: | Fix port: dns/curvedns should use USERS | ||
|---|---|---|---|
| Product: | Ports & Packages | Reporter: | Chris Rees <utisoft> |
| Component: | Individual Port(s) | Assignee: | Chris Rees <crees> |
| Status: | Closed FIXED | ||
| Severity: | Affects Only Me | ||
| Priority: | Normal | ||
| Version: | Latest | ||
| Hardware: | Any | ||
| OS: | Any | ||
|
Description
Chris Rees
2011-06-04 09:40:09 UTC
Responsible Changed From-To: freebsd-ports-bugs->pgollucci pgollucci@ wants his PRs (via the GNATS Auto Assign Tool) Maintainer of dns/curvedns,
Please note that PR ports/157577 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/157577
--
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) In Makefile removing the lines
CURVE_UID= 53
CURVE_GID= 53
is breaking these post-install section lines:
${ECHO} ${CURVE_UID} > ${PREFIX}/etc/curvedns/env/UID
${ECHO} ${CURVE_GID} > ${PREFIX}/etc/curvedns/env/GID
${CHOWN} -R ${CURVE_UID}:${CURVE_GID} ${PREFIX}/etc/curvedns
I don't know if it's the best solution, but if so,
then I suggest to also change those lines to:
${ECHO} 53 > ${PREFIX}/etc/curvedns/env/UID
${ECHO} 53 > ${PREFIX}/etc/curvedns/env/GID
${CHOWN} -R 53:53 ${PREFIX}/etc/curvedns
Or otherwise don't remove the variables/assignments.
An issue not related to this patch, but related to the user issue:
another thing that currently prevents the port from working instantly
is the default user in the "run" file.
By default it is set to "curvedns" but should be modified to "bind".
Therefor I would like to add an instruction to files/pkg-message.in
***************
*** 9,10 ****
--- 9,11 ----
$EDITOR %%PREFIX%%/etc/curvedns/run
+ # set user to "bind", and modify IP's, and ports if needed.
--
Met vriendelijke groet,
With kind regards,
Leo Vandewoestijne.
AS50381 / DNS-Lab
<leo@dns-lab.com>
<www.as50381.net>
INOC-DBA: 50381*100
PGP: dig +multiline leo.unicycle.net. cert
PGP: whois -r PGPKEY-FA19624D
Responsible Changed From-To: pgollucci->crees State Changed From-To: feedback->closed Superseded by ports/157854 |