commit: 9fccdd09496091fb45ba1984396361843c929df0
Author: Anthony G. Basile <blueness <AT> gentoo <DOT> org>
AuthorDate: Sun Dec 8 16:44:32 2019 +0000
Commit: Anthony G. Basile <blueness <AT> gentoo <DOT> org>
CommitDate: Sun Dec 8 16:44:32 2019 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9fccdd09
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 <AT> gentoo.org>
net-vpn/tor/{tor-0.4.1.6.ebuild => tor-0.4.1.6-r1.ebuild} | 11 ++++-------
1 file 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
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 e2fbeea8b40..548a309eebc 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
-
}