summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnthony G. Basile <blueness@gentoo.org>2019-12-08 11:44:32 -0500
committerAnthony G. Basile <blueness@gentoo.org>2019-12-08 11:44:32 -0500
commit9fccdd09496091fb45ba1984396361843c929df0 (patch)
treec6286aa0429ac74cf17fd808ba660b2141513c08 /net-vpn
parentnet-libs/telepathy-qt: Fix pkg_setup (diff)
downloadgentoo-9fccdd09496091fb45ba1984396361843c929df0.tar.gz
gentoo-9fccdd09496091fb45ba1984396361843c929df0.tar.bz2
gentoo-9fccdd09496091fb45ba1984396361843c929df0.zip
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 <blueness@gentoo.org>
Diffstat (limited to 'net-vpn')
-rw-r--r--net-vpn/tor/tor-0.4.1.6-r1.ebuild (renamed from net-vpn/tor/tor-0.4.1.6.ebuild)11
1 files changed, 4 insertions, 7 deletions
diff --git a/net-vpn/tor/tor-0.4.1.6.ebuild b/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
-
}