summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2021-05-26 23:34:08 +0200
committerDavid Seifert <soap@gentoo.org>2021-05-26 23:34:08 +0200
commit6e05442dbe60ebdf719d777612dd3768bbb3cac3 (patch)
tree9ca9e1b5e7f1689ad8f8eca1cc97954e538143ed /net-vpn
parentdev-util/glib-utils: Version bump to 2.66.8 (diff)
downloadgentoo-6e05442dbe60ebdf719d777612dd3768bbb3cac3.tar.gz
gentoo-6e05442dbe60ebdf719d777612dd3768bbb3cac3.tar.bz2
gentoo-6e05442dbe60ebdf719d777612dd3768bbb3cac3.zip
net-vpn/tor: drop keywords for non-release versions
Tor is critical software and using alphas/betas/rcs in production doesn't seem advisable. Add a template to avoid setting keywords in such versions. Signed-off-by: Sam James <sam@gentoo.org> Signed-off-by: David Seifert <soap@gentoo.org>
Diffstat (limited to 'net-vpn')
-rw-r--r--net-vpn/tor/tor-0.4.4.8.ebuild4
-rw-r--r--net-vpn/tor/tor-0.4.5.7.ebuild4
-rw-r--r--net-vpn/tor/tor-0.4.6.3_rc.ebuild4
3 files changed, 9 insertions, 3 deletions
diff --git a/net-vpn/tor/tor-0.4.4.8.ebuild b/net-vpn/tor/tor-0.4.4.8.ebuild
index 6a411102af45..5d70eb67e26a 100644
--- a/net-vpn/tor/tor-0.4.4.8.ebuild
+++ b/net-vpn/tor/tor-0.4.4.8.ebuild
@@ -16,7 +16,9 @@ S="${WORKDIR}/${MY_PF}"
LICENSE="BSD GPL-2"
SLOT="0"
-KEYWORDS="~amd64 ~arm ~arm64 ~mips ~ppc ~ppc64 ~x86 ~ppc-macos"
+if [[ ${PV} != *_alpha* && ${PV} != *_beta* && ${PV} != *_rc* ]]; then
+ KEYWORDS="~amd64 ~arm ~arm64 ~mips ~ppc ~ppc64 ~x86 ~ppc-macos"
+fi
IUSE="caps doc lzma +man scrypt seccomp selinux +server systemd tor-hardening test zstd"
VERIFY_SIG_OPENPGP_KEY_PATH=${BROOT}/usr/share/openpgp-keys/torproject.org.asc
diff --git a/net-vpn/tor/tor-0.4.5.7.ebuild b/net-vpn/tor/tor-0.4.5.7.ebuild
index 5616d54e5b3c..afb37f6b7f7d 100644
--- a/net-vpn/tor/tor-0.4.5.7.ebuild
+++ b/net-vpn/tor/tor-0.4.5.7.ebuild
@@ -16,7 +16,9 @@ S="${WORKDIR}/${MY_PF}"
LICENSE="BSD GPL-2"
SLOT="0"
-KEYWORDS="amd64 arm arm64 ~mips ppc ppc64 x86 ~ppc-macos"
+if [[ ${PV} != *_alpha* && ${PV} != *_beta* && ${PV} != *_rc* ]]; then
+ KEYWORDS="amd64 arm arm64 ~mips ppc ppc64 x86 ~ppc-macos"
+fi
IUSE="caps doc lzma +man scrypt seccomp selinux +server systemd tor-hardening test zstd"
VERIFY_SIG_OPENPGP_KEY_PATH=${BROOT}/usr/share/openpgp-keys/torproject.org.asc
diff --git a/net-vpn/tor/tor-0.4.6.3_rc.ebuild b/net-vpn/tor/tor-0.4.6.3_rc.ebuild
index b44a8e126c1f..50db834736f8 100644
--- a/net-vpn/tor/tor-0.4.6.3_rc.ebuild
+++ b/net-vpn/tor/tor-0.4.6.3_rc.ebuild
@@ -16,7 +16,9 @@ S="${WORKDIR}/${MY_PF}"
LICENSE="BSD GPL-2"
SLOT="0"
-KEYWORDS="~amd64 ~arm ~arm64 ~mips ~ppc ~ppc64 ~x86 ~ppc-macos"
+if [[ ${PV} != *_alpha* && ${PV} != *_beta* && ${PV} != *_rc* ]]; then
+ KEYWORDS="~amd64 ~arm ~arm64 ~mips ~ppc ~ppc64 ~x86 ~ppc-macos"
+fi
IUSE="caps doc lzma +man scrypt seccomp selinux +server systemd tor-hardening test zstd"
VERIFY_SIG_OPENPGP_KEY_PATH=${BROOT}/usr/share/openpgp-keys/torproject.org.asc