From 6e05442dbe60ebdf719d777612dd3768bbb3cac3 Mon Sep 17 00:00:00 2001 From: Sam James Date: Wed, 26 May 2021 23:34:08 +0200 Subject: 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 Signed-off-by: David Seifert --- net-vpn/tor/tor-0.4.4.8.ebuild | 4 +++- net-vpn/tor/tor-0.4.5.7.ebuild | 4 +++- net-vpn/tor/tor-0.4.6.3_rc.ebuild | 4 +++- 3 files changed, 9 insertions(+), 3 deletions(-) (limited to 'net-vpn') 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 -- cgit v1.2.3-65-gdbad