commit:     fc4197cf71334e401a3efb6f1a7721bfd6eec37e
Author:     Jonathan Davies <jpds <AT> protonmail <DOT> com>
AuthorDate: Sun Apr 25 23:18:27 2021 +0000
Commit:     Anthony G. Basile <blueness <AT> gentoo <DOT> org>
CommitDate: Mon May 10 23:12:36 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fc4197cf

net-vpn/tor: Added verify-sig components.

Signed-off-by: Jonathan Davies <jpds <AT> protonmail.com>
Signed-off-by: Anthony G. Basile <blueness <AT> gentoo.org>

 net-vpn/tor/Manifest                 | 3 +++
 net-vpn/tor/tor-0.4.4.8.ebuild       | 7 +++++--
 net-vpn/tor/tor-0.4.5.7.ebuild       | 7 +++++--
 net-vpn/tor/tor-0.4.6.2_alpha.ebuild | 7 +++++--
 4 files changed, 18 insertions(+), 6 deletions(-)

diff --git a/net-vpn/tor/Manifest b/net-vpn/tor/Manifest
index fab1724c185..3b9c308ce34 100644
--- a/net-vpn/tor/Manifest
+++ b/net-vpn/tor/Manifest
@@ -1,3 +1,6 @@
 DIST tor-0.4.4.8.tar.gz 7699461 BLAKE2B 
4d314cefdcf49d41367764028ed38b5acb320dae73601632c7ed8275d65f84e98cd34cbb2c3ee9c89782473d380a3c9d196bd6283800d031812b8a0ed3b4f89c
 SHA512 
5a0063afa7ab89e4b3a8ec281650e947c445fbad709fb79aa155ae6a487a8131b98ed6246f0a6c2902c8bb6749551c1e80016f710e3cb3d3a380d3f8b365d8c3
+DIST tor-0.4.4.8.tar.gz.asc 833 BLAKE2B 
b69ab73743b5c18eb006113fe0ac561f6b44536bd6e320015dc1aada7592fdab9a5d5a36efe5e878623f424154fe67475424d3572446ee546c25b22494ad82bb
 SHA512 
50280a788a1751c85f22080e933b6c80820f01003b23e9eb788b952ed0a6ced5374b2e927cec4d287cef7ff27ca8d86da93d3e7af7351fc6e1a8160fbb49c60a
 DIST tor-0.4.5.7.tar.gz 7816158 BLAKE2B 
839a81b237e29f12ace8be518d6aed87dce8cc162f8e0701480676996ebe76ad1093f785c8148484e3f14c6bae01499a1a3434d07c465aa6130c18fcbf66236c
 SHA512 
1ca0e35eff5b344ee416de4cb958d7f04d4e5e9f2efff524576b1fc3c2882dbc068d35f25670e7efe5fcb51308b165393b1078fc46585ec6d40052daa0628a05
+DIST tor-0.4.5.7.tar.gz.asc 833 BLAKE2B 
ede473bd1083acf96c05a1469651a89bc38147f8cb82eaaa4bf2eea8731b1a7a05ccf7d26c59bda51cb46e3a9e762c93a813d05a9e07f24b6d8edb65c4a4e079
 SHA512 
f41009b3683584a2a6df2609f2bd6b134d5cd02547f53a60aa18a847f3aa8e9a1b0edbd45a52930ba15b19e48c7d6d80a94f8be69a3e4b4e1c39acc810cfacee
 DIST tor-0.4.6.2-alpha.tar.gz 7726760 BLAKE2B 
01bd4b5b1b5f675b880b8ded422871a0f7538f3206ab86c6ddb12d99f6279c052d5b1d6f139231f9f9b989c18b0027854530e7a66a1a48ab5cbd5496747c23a3
 SHA512 
4a3d20389cc5516b45448a001d50488a30e959f256be45e91dafdadb0f13339099d183d3b1a7e4f5ca1f4861312151849f8ad8e360d5f07e8135ea7cfbb2ed5f
+DIST tor-0.4.6.2-alpha.tar.gz.asc 833 BLAKE2B 
06afc9a4d5b8baa57cd8fbcf2a2c13ebb0f3e26c3682d4d2317557885a6f7f840cef2afe7cc7817e7c665ccdc6a6687c2bdbb645ae2734b95a2766b44671044d
 SHA512 
72b2930c741f8fd6d9c3b97ccb296ad6f6a2ca0b62421ac2b8d1bc81c1d294e664c95659c1ebe884a89200a7b2eeaf6eb1fd646881417833fe67882f4d9ff3f3

diff --git a/net-vpn/tor/tor-0.4.4.8.ebuild b/net-vpn/tor/tor-0.4.4.8.ebuild
index 87ab91dad67..6a411102af4 100644
--- a/net-vpn/tor/tor-0.4.4.8.ebuild
+++ b/net-vpn/tor/tor-0.4.4.8.ebuild
@@ -3,21 +3,24 @@
 
 EAPI="7"
 
-inherit flag-o-matic readme.gentoo-r1 systemd
+inherit flag-o-matic readme.gentoo-r1 systemd verify-sig
 
 MY_PV="$(ver_rs 4 -)"
 MY_PF="${PN}-${MY_PV}"
 DESCRIPTION="Anonymizing overlay network for TCP"
 HOMEPAGE="http://www.torproject.org/";
 SRC_URI="https://www.torproject.org/dist/${MY_PF}.tar.gz
-       https://archive.torproject.org/tor-package-archive/${MY_PF}.tar.gz";
+       https://archive.torproject.org/tor-package-archive/${MY_PF}.tar.gz
+       verify-sig? ( https://dist.torproject.org/${MY_PF}.tar.gz.asc )"
 S="${WORKDIR}/${MY_PF}"
 
 LICENSE="BSD GPL-2"
 SLOT="0"
 KEYWORDS="~amd64 ~arm ~arm64 ~mips ~ppc ~ppc64 ~x86 ~ppc-macos"
 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
 
+BDEPEND="verify-sig? ( app-crypt/openpgp-keys-tor )"
 DEPEND="
        dev-libs/libevent:=[ssl]
        sys-libs/zlib

diff --git a/net-vpn/tor/tor-0.4.5.7.ebuild b/net-vpn/tor/tor-0.4.5.7.ebuild
index c06dbc2d79e..5616d54e5b3 100644
--- a/net-vpn/tor/tor-0.4.5.7.ebuild
+++ b/net-vpn/tor/tor-0.4.5.7.ebuild
@@ -3,21 +3,24 @@
 
 EAPI="7"
 
-inherit flag-o-matic readme.gentoo-r1 systemd
+inherit flag-o-matic readme.gentoo-r1 systemd verify-sig
 
 MY_PV="$(ver_rs 4 -)"
 MY_PF="${PN}-${MY_PV}"
 DESCRIPTION="Anonymizing overlay network for TCP"
 HOMEPAGE="http://www.torproject.org/";
 SRC_URI="https://www.torproject.org/dist/${MY_PF}.tar.gz
-       https://archive.torproject.org/tor-package-archive/${MY_PF}.tar.gz";
+       https://archive.torproject.org/tor-package-archive/${MY_PF}.tar.gz
+       verify-sig? ( https://dist.torproject.org/${MY_PF}.tar.gz.asc )"
 S="${WORKDIR}/${MY_PF}"
 
 LICENSE="BSD GPL-2"
 SLOT="0"
 KEYWORDS="amd64 arm arm64 ~mips ppc ppc64 x86 ~ppc-macos"
 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
 
+BDEPEND="verify-sig? ( app-crypt/openpgp-keys-tor )"
 DEPEND="
        dev-libs/libevent:=[ssl]
        sys-libs/zlib

diff --git a/net-vpn/tor/tor-0.4.6.2_alpha.ebuild 
b/net-vpn/tor/tor-0.4.6.2_alpha.ebuild
index 1ace955550c..b44a8e126c1 100644
--- a/net-vpn/tor/tor-0.4.6.2_alpha.ebuild
+++ b/net-vpn/tor/tor-0.4.6.2_alpha.ebuild
@@ -3,21 +3,24 @@
 
 EAPI="7"
 
-inherit flag-o-matic readme.gentoo-r1 systemd
+inherit flag-o-matic readme.gentoo-r1 systemd verify-sig
 
 MY_PV="$(ver_rs 4 -)"
 MY_PF="${PN}-${MY_PV}"
 DESCRIPTION="Anonymizing overlay network for TCP"
 HOMEPAGE="http://www.torproject.org/";
 SRC_URI="https://www.torproject.org/dist/${MY_PF}.tar.gz
-       https://archive.torproject.org/tor-package-archive/${MY_PF}.tar.gz";
+       https://archive.torproject.org/tor-package-archive/${MY_PF}.tar.gz
+       verify-sig? ( https://dist.torproject.org/${MY_PF}.tar.gz.asc )"
 S="${WORKDIR}/${MY_PF}"
 
 LICENSE="BSD GPL-2"
 SLOT="0"
 KEYWORDS="~amd64 ~arm ~arm64 ~mips ~ppc ~ppc64 ~x86 ~ppc-macos"
 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
 
+BDEPEND="verify-sig? ( app-crypt/openpgp-keys-tor )"
 DEPEND="
        dev-libs/libevent:=[ssl]
        sys-libs/zlib

Reply via email to