1 |
commit: 6e05442dbe60ebdf719d777612dd3768bbb3cac3 |
2 |
Author: Sam James <sam <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed May 26 21:34:08 2021 +0000 |
4 |
Commit: David Seifert <soap <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed May 26 21:34:08 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6e05442d |
7 |
|
8 |
net-vpn/tor: drop keywords for non-release versions |
9 |
|
10 |
Tor is critical software and using alphas/betas/rcs in production doesn't |
11 |
seem advisable. Add a template to avoid setting keywords in such versions. |
12 |
|
13 |
Signed-off-by: Sam James <sam <AT> gentoo.org> |
14 |
Signed-off-by: David Seifert <soap <AT> gentoo.org> |
15 |
|
16 |
net-vpn/tor/tor-0.4.4.8.ebuild | 4 +++- |
17 |
net-vpn/tor/tor-0.4.5.7.ebuild | 4 +++- |
18 |
net-vpn/tor/tor-0.4.6.3_rc.ebuild | 4 +++- |
19 |
3 files changed, 9 insertions(+), 3 deletions(-) |
20 |
|
21 |
diff --git a/net-vpn/tor/tor-0.4.4.8.ebuild b/net-vpn/tor/tor-0.4.4.8.ebuild |
22 |
index 6a411102af4..5d70eb67e26 100644 |
23 |
--- a/net-vpn/tor/tor-0.4.4.8.ebuild |
24 |
+++ b/net-vpn/tor/tor-0.4.4.8.ebuild |
25 |
@@ -16,7 +16,9 @@ S="${WORKDIR}/${MY_PF}" |
26 |
|
27 |
LICENSE="BSD GPL-2" |
28 |
SLOT="0" |
29 |
-KEYWORDS="~amd64 ~arm ~arm64 ~mips ~ppc ~ppc64 ~x86 ~ppc-macos" |
30 |
+if [[ ${PV} != *_alpha* && ${PV} != *_beta* && ${PV} != *_rc* ]]; then |
31 |
+ KEYWORDS="~amd64 ~arm ~arm64 ~mips ~ppc ~ppc64 ~x86 ~ppc-macos" |
32 |
+fi |
33 |
IUSE="caps doc lzma +man scrypt seccomp selinux +server systemd tor-hardening test zstd" |
34 |
VERIFY_SIG_OPENPGP_KEY_PATH=${BROOT}/usr/share/openpgp-keys/torproject.org.asc |
35 |
|
36 |
|
37 |
diff --git a/net-vpn/tor/tor-0.4.5.7.ebuild b/net-vpn/tor/tor-0.4.5.7.ebuild |
38 |
index 5616d54e5b3..afb37f6b7f7 100644 |
39 |
--- a/net-vpn/tor/tor-0.4.5.7.ebuild |
40 |
+++ b/net-vpn/tor/tor-0.4.5.7.ebuild |
41 |
@@ -16,7 +16,9 @@ S="${WORKDIR}/${MY_PF}" |
42 |
|
43 |
LICENSE="BSD GPL-2" |
44 |
SLOT="0" |
45 |
-KEYWORDS="amd64 arm arm64 ~mips ppc ppc64 x86 ~ppc-macos" |
46 |
+if [[ ${PV} != *_alpha* && ${PV} != *_beta* && ${PV} != *_rc* ]]; then |
47 |
+ KEYWORDS="amd64 arm arm64 ~mips ppc ppc64 x86 ~ppc-macos" |
48 |
+fi |
49 |
IUSE="caps doc lzma +man scrypt seccomp selinux +server systemd tor-hardening test zstd" |
50 |
VERIFY_SIG_OPENPGP_KEY_PATH=${BROOT}/usr/share/openpgp-keys/torproject.org.asc |
51 |
|
52 |
|
53 |
diff --git a/net-vpn/tor/tor-0.4.6.3_rc.ebuild b/net-vpn/tor/tor-0.4.6.3_rc.ebuild |
54 |
index b44a8e126c1..50db834736f 100644 |
55 |
--- a/net-vpn/tor/tor-0.4.6.3_rc.ebuild |
56 |
+++ b/net-vpn/tor/tor-0.4.6.3_rc.ebuild |
57 |
@@ -16,7 +16,9 @@ S="${WORKDIR}/${MY_PF}" |
58 |
|
59 |
LICENSE="BSD GPL-2" |
60 |
SLOT="0" |
61 |
-KEYWORDS="~amd64 ~arm ~arm64 ~mips ~ppc ~ppc64 ~x86 ~ppc-macos" |
62 |
+if [[ ${PV} != *_alpha* && ${PV} != *_beta* && ${PV} != *_rc* ]]; then |
63 |
+ KEYWORDS="~amd64 ~arm ~arm64 ~mips ~ppc ~ppc64 ~x86 ~ppc-macos" |
64 |
+fi |
65 |
IUSE="caps doc lzma +man scrypt seccomp selinux +server systemd tor-hardening test zstd" |
66 |
VERIFY_SIG_OPENPGP_KEY_PATH=${BROOT}/usr/share/openpgp-keys/torproject.org.asc |