From 9fccdd09496091fb45ba1984396361843c929df0 Mon Sep 17 00:00:00 2001 From: "Anthony G. Basile" Date: Sun, 8 Dec 2019 11:44:32 -0500 Subject: [PATCH] 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 --- .../tor/{tor-0.4.1.6.ebuild => tor-0.4.1.6-r1.ebuild} | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) rename net-vpn/tor/{tor-0.4.1.6.ebuild => tor-0.4.1.6-r1.ebuild} (96%) 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 - } -- 2.26.2