From owner-freebsd-ports-bugs@FreeBSD.ORG Wed Dec 4 01:20:57 2013 Return-Path: Delivered-To: freebsd-ports-bugs@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 80FB7C17; Wed, 4 Dec 2013 01:20:57 +0000 (UTC) Received: from shell0.rawbw.com (shell0.rawbw.com [198.144.192.45]) by mx1.freebsd.org (Postfix) with ESMTP id 671A312D9; Wed, 4 Dec 2013 01:20:57 +0000 (UTC) Received: from eagle.yuri.org (stunnel@localhost [127.0.0.1]) (authenticated bits=0) by shell0.rawbw.com (8.14.4/8.14.4) with ESMTP id rB41KpHq041710; Tue, 3 Dec 2013 17:20:51 -0800 (PST) (envelope-from yuri@rawbw.com) Message-ID: <529E8373.2020501@rawbw.com> Date: Tue, 03 Dec 2013 17:20:51 -0800 From: Yuri User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:24.0) Gecko/20100101 Thunderbird/24.1.0 MIME-Version: 1.0 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 References: <201312040040.rB40e0ZA060058@freefall.freebsd.org> In-Reply-To: <201312040040.rB40e0ZA060058@freefall.freebsd.org> Content-Type: multipart/mixed; boundary="------------070707010808070502020308" X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 04 Dec 2013 01:20:57 -0000 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 --------------070707010808070502020308--