Date: Tue, 03 Dec 2013 17:20:51 -0800 From: Yuri <yuri@rawbw.com> To: FreeBSD-gnats-submit@FreeBSD.org, freebsd-ports-bugs@FreeBSD.org Subject: Re: ports/184483: port security/arm: change user/group of 'arm' to _tor:_tor Message-ID: <529E8373.2020501@rawbw.com> In-Reply-To: <201312040040.rB40e0ZA060058@freefall.freebsd.org> References: <201312040040.rB40e0ZA060058@freefall.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
This is a multi-part message in MIME format. --------------070707010808070502020308 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Sorry, wrong patch. Please find the correct patch attached. --------------070707010808070502020308 Content-Type: text/plain; charset=UTF-8; name="patch-yuri-arm-user-tor.patch" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="patch-yuri-arm-user-tor.patch" --- 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> --------------070707010808070502020308--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?529E8373.2020501>