commit:     05b73ffb60e189bfd921fe87adc6503db885c3cc
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Fri Jan  3 22:52:51 2025 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Fri Jan  3 22:52:51 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=05b73ffb

net-vpn/tor: put acct-* deps in BDEPEND+RDEPEND

DEPEND isn't right for ROOT.

Bug: https://bugs.gentoo.org/833462
Signed-off-by: Sam James <sam <AT> gentoo.org>

 .../{tor-9999.ebuild => tor-0.4.8.13-r1.ebuild}    | 22 +++++++++++++---------
 net-vpn/tor/tor-9999.ebuild                        | 22 +++++++++++++---------
 2 files changed, 26 insertions(+), 18 deletions(-)

diff --git a/net-vpn/tor/tor-9999.ebuild b/net-vpn/tor/tor-0.4.8.13-r1.ebuild
similarity index 97%
copy from net-vpn/tor/tor-9999.ebuild
copy to net-vpn/tor/tor-0.4.8.13-r1.ebuild
index 22759b502bcd..4fc537113317 100644
--- a/net-vpn/tor/tor-9999.ebuild
+++ b/net-vpn/tor/tor-0.4.8.13-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2024 Gentoo Authors
+# Copyright 1999-2025 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
@@ -42,9 +42,7 @@ SLOT="0"
 IUSE="caps doc lzma +man scrypt seccomp selinux +server systemd tor-hardening 
test zstd"
 RESTRICT="!test? ( test )"
 
-DEPEND="
-       acct-user/tor
-       acct-group/tor
+RDEPEND="
        >=dev-libs/libevent-2.1.12-r1:=[ssl]
        dev-libs/openssl:=[-bindist(-)]
        sys-libs/zlib
@@ -56,16 +54,22 @@ DEPEND="
        systemd? ( sys-apps/systemd:= )
        zstd? ( app-arch/zstd:= )
 "
-RDEPEND="
-       ${DEPEND}
-       selinux? ( sec-policy/selinux-tor )
-"
-DEPEND+="
+DEPEND="
+       ${RDEPEND}
        test? (
                ${DEPEND}
                ${PYTHON_DEPS}
        )
 "
+RDEPEND+="
+       acct-user/tor
+       acct-group/tor
+       selinux? ( sec-policy/selinux-tor )
+"
+BDEPEND="
+       acct-user/tor
+       acct-group/tor
+"
 
 DOCS=()
 

diff --git a/net-vpn/tor/tor-9999.ebuild b/net-vpn/tor/tor-9999.ebuild
index 22759b502bcd..4fc537113317 100644
--- a/net-vpn/tor/tor-9999.ebuild
+++ b/net-vpn/tor/tor-9999.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2024 Gentoo Authors
+# Copyright 1999-2025 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
@@ -42,9 +42,7 @@ SLOT="0"
 IUSE="caps doc lzma +man scrypt seccomp selinux +server systemd tor-hardening 
test zstd"
 RESTRICT="!test? ( test )"
 
-DEPEND="
-       acct-user/tor
-       acct-group/tor
+RDEPEND="
        >=dev-libs/libevent-2.1.12-r1:=[ssl]
        dev-libs/openssl:=[-bindist(-)]
        sys-libs/zlib
@@ -56,16 +54,22 @@ DEPEND="
        systemd? ( sys-apps/systemd:= )
        zstd? ( app-arch/zstd:= )
 "
-RDEPEND="
-       ${DEPEND}
-       selinux? ( sec-policy/selinux-tor )
-"
-DEPEND+="
+DEPEND="
+       ${RDEPEND}
        test? (
                ${DEPEND}
                ${PYTHON_DEPS}
        )
 "
+RDEPEND+="
+       acct-user/tor
+       acct-group/tor
+       selinux? ( sec-policy/selinux-tor )
+"
+BDEPEND="
+       acct-user/tor
+       acct-group/tor
+"
 
 DOCS=()
 

Reply via email to