ports/184483: port security/arm: change user/group of 'arm' to _tor:_tor
Yuri
yuri at rawbw.com
Wed Dec 4 01:20:57 UTC 2013
Sorry, wrong patch.
Please find the correct patch attached.
-------------- next part --------------
--- security/arm/Makefile (revision 335545)
+++ security/arm/Makefile (working copy)
@@ -36,7 +36,12 @@
.if ${PORT_OPTIONS:MTOR}
RUN_DEPENDS+= lsof:${PORTSDIR}/sysutils/lsof \
- tor:${PORTSDIR}/security/tor
+ tor:${PORTSDIR}/security/tor \
+ sudo:${PORTSDIR}/security/sudo
+pre-install:
+ cd ${WRKSRC} && ${SED} -i -e 's/python /sudo -u _tor python /g' arm
+post-install:
+ ${CHOWN} _tor:_tor /usr/local/bin/arm
.endif
.include <bsd.port.pre.mk>
More information about the freebsd-ports-bugs
mailing list