From: Anthony G. Basile Date: Sun, 8 Dec 2019 16:44:32 +0000 (-0500) Subject: net-vpn/tor: also port older versions to GLEP 81 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=9fccdd09496091fb45ba1984396361843c929df0;p=gentoo.git net-vpn/tor: also port older versions to GLEP 81 Package-Manager: Portage-2.3.79, Repoman-2.3.16 Signed-off-by: Anthony G. Basile --- diff --git a/net-vpn/tor/tor-0.4.1.6.ebuild b/net-vpn/tor/tor-0.4.1.6-r1.ebuild similarity index 96% rename from net-vpn/tor/tor-0.4.1.6.ebuild rename to net-vpn/tor/tor-0.4.1.6-r1.ebuild index e2fbeea8b40c..548a309eebce 100644 --- a/net-vpn/tor/tor-0.4.1.6.ebuild +++ b/net-vpn/tor/tor-0.4.1.6-r1.ebuild @@ -30,7 +30,10 @@ DEPEND=" seccomp? ( sys-libs/libseccomp ) systemd? ( sys-apps/systemd ) zstd? ( app-arch/zstd )" -RDEPEND="${DEPEND} +RDEPEND=" + acct-user/tor + acct-group/tor + ${DEPEND} selinux? ( sec-policy/selinux-tor )" PATCHES=( @@ -42,11 +45,6 @@ DOCS=() RESTRICT="!test? ( test )" -pkg_setup() { - enewgroup tor - enewuser tor -1 -1 /var/lib/tor tor -} - src_configure() { use doc && DOCS+=( README ChangeLog ReleaseNotes doc/HACKING ) export ac_cv_lib_cap_cap_init=$(usex caps) @@ -87,5 +85,4 @@ src_install() { insinto /etc/tor/ newins "${FILESDIR}"/torrc-r1 torrc - }