diff options
author | Anthony G. Basile <blueness@gentoo.org> | 2019-12-06 11:12:02 -0500 |
---|---|---|
committer | Anthony G. Basile <blueness@gentoo.org> | 2019-12-06 11:12:22 -0500 |
commit | a6de24047cbc01012821c31be44a7b6e925a4f57 (patch) | |
tree | 1c05b7a19a1d8d652160b0952bcff6fc78a9a9e1 /net-vpn/tor | |
parent | app-crypt/certbot-nginx: 0.40.1 stable amd64/x86 with cleanup, 1.0.0 bump (diff) | |
download | gentoo-a6de24047cbc01012821c31be44a7b6e925a4f57.tar.gz gentoo-a6de24047cbc01012821c31be44a7b6e925a4f57.tar.bz2 gentoo-a6de24047cbc01012821c31be44a7b6e925a4f57.zip |
net-vpn/tor: port to GLEP 81, bug #701212
Package-Manager: Portage-2.3.79, Repoman-2.3.16
Signed-off-by: Anthony G. Basile <blueness@gentoo.org>
Diffstat (limited to 'net-vpn/tor')
-rw-r--r-- | net-vpn/tor/tor-0.4.2.4_rc-r1.ebuild (renamed from net-vpn/tor/tor-0.4.2.4_rc.ebuild) | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/net-vpn/tor/tor-0.4.2.4_rc.ebuild b/net-vpn/tor/tor-0.4.2.4_rc-r1.ebuild index 70dc59c0d810..b4e2fd0c1db8 100644 --- a/net-vpn/tor/tor-0.4.2.4_rc.ebuild +++ b/net-vpn/tor/tor-0.4.2.4_rc-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) @@ -89,5 +87,4 @@ src_install() { insinto /etc/tor/ newins "${FILESDIR}"/torrc-r1 torrc - } |