commit: a6de24047cbc01012821c31be44a7b6e925a4f57
Author: Anthony G. Basile <blueness <AT> gentoo <DOT> org>
AuthorDate: Fri Dec 6 16:12:02 2019 +0000
Commit: Anthony G. Basile <blueness <AT> gentoo <DOT> org>
CommitDate: Fri Dec 6 16:12:22 2019 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a6de2404
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 <AT> gentoo.org>
.../tor/{tor-0.4.2.4_rc.ebuild => tor-0.4.2.4_rc-r1.ebuild} | 11 ++++-------
1 file 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
similarity index 96%
rename from net-vpn/tor/tor-0.4.2.4_rc.ebuild
rename to net-vpn/tor/tor-0.4.2.4_rc-r1.ebuild
index 70dc59c0d81..b4e2fd0c1db 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
-
}