commit:     af9475dd5e5c7d47f6de28dbabd7b0f0e969d241
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Mon Apr 18 18:47:05 2022 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Mon Apr 18 18:47:05 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=af9475dd

net-vpn/tor: drop 0.4.6.7, 0.4.6.8, 0.4.6.9, 0.4.7.4_alpha

Signed-off-by: Sam James <sam <AT> gentoo.org>

 net-vpn/tor/Manifest                 |   9 ---
 net-vpn/tor/tor-0.4.6.7.ebuild       | 108 -------------------------------
 net-vpn/tor/tor-0.4.6.8.ebuild       | 108 -------------------------------
 net-vpn/tor/tor-0.4.6.9.ebuild       | 108 -------------------------------
 net-vpn/tor/tor-0.4.7.4_alpha.ebuild | 122 -----------------------------------
 5 files changed, 455 deletions(-)

diff --git a/net-vpn/tor/Manifest b/net-vpn/tor/Manifest
index f67d67cae673..820db150395c 100644
--- a/net-vpn/tor/Manifest
+++ b/net-vpn/tor/Manifest
@@ -1,15 +1,6 @@
 DIST tor-0.4.6.10.tar.gz 7811644 BLAKE2B 
4bdf8ab8ac992866ffc18711de0ad9e19b496398dfdace4d3902273822666dcfda3acd825ee22251cd8d671ff563702c6f24fe8670719a2c75d144cfe9219f68
 SHA512 
7d3ca14f260f8d18c020f629fee93a9e941962f99d7b6106d81b1f302152e4be14f5f719c06a34257c2bedf1612c53da21c26750b2608034bd6c6cf0c82192a9
 DIST tor-0.4.6.10.tar.gz.sha256sum 85 BLAKE2B 
1c51a80a0bdc34c31725ba6d632ae16ddec1c4aadd4c5ce8ff5ccd4dc9b051f76ddebbe1f1dc2c6f86194bf6badc95222ae14be100bbc24b75bc53f525cb8378
 SHA512 
97b49664f9f998b00fdd80f956bd5ab9588cd75d09041a0b946fdabd9f10c471eb49aa4bbb4d19bde45a554c1f2ef60d76ff58aa1dc74d4e7d930df77ac68262
 DIST tor-0.4.6.10.tar.gz.sha256sum.asc 488 BLAKE2B 
4f17ba1b555eeaa0aadad9348420979c1c83d3ce3cc4fa7e1cc6f453e75ae0bb43db19b883efcc329de5b52b91cda0f740ed949674f64e8cbfc0eb343ca2819b
 SHA512 
3d814c0b3533cf2b2ff421dc92f254596f2af7206bbefdc15a71a906c667dd3606b2c37ada3d36df6011fd0b4d5fe78860f8845fae9e19bd9e3ba5745f45130b
-DIST tor-0.4.6.7.tar.gz 7790727 BLAKE2B 
da6b0fe0de6a334713cf881dece6ef5a932b0f4374a7dde1e1cb78b4b43944fd6156d84bd98c8be734a7cf81b99cb36187544028c3e4800d38d11d7286d19e12
 SHA512 
e5f9e235fc4b96f5e63e0bfa4ca412d0d11299a31cb77cae1c199b276d0dfbf3656657ddf910b22625dd49eb726d487666e80e8889db78c9edebbab0d80d9e03
-DIST tor-0.4.6.7.tar.gz.asc 833 BLAKE2B 
2054c094cc8ce28bfc8822fa6b0ac5a028b41c96160d135da53112c4fcb7ae048e8d48b58f164dd33c6c7dd851aaa71173b2aa36f70411fc7cc2b67d346ce00b
 SHA512 
d45caaa4795d05f1f1a558192c5eedff608c74be0ef933e0ff7a4f68123a109e38e7fe26222c66dfc8966a07f458eeadf77d7f4731d88389595b59413140e9a3
-DIST tor-0.4.6.8.tar.gz 7796485 BLAKE2B 
3475597c9f46c83c736bf5f3db2a4f44a38c4f4c4998903d1fe89fc75a7090f4eaa8faafbbd44d728d5e8915f195eb3e284141925b16fca9bf6001844f52863d
 SHA512 
ff008ddf10c2a4c9e0d0da28558c7a97a6d42615c8bcad25a74567e3aafaba49df1699e379fd674f93305d222748d16b2f21d0da9a8fd3444b659747e1f1d07b
-DIST tor-0.4.6.8.tar.gz.asc 833 BLAKE2B 
6f1825e3f5e2d70c5078d27990633137c7551fa80f5d202e56cfcb2a88d6b5b653ec6c349c7dc152f6c7313e6330182ce22a42be3f7aa63aced0586ee673addf
 SHA512 
5000c111688d76d357c371532f7edbb01280273e5dc9bc18fa524517fcb1efda1403071536f06d61b8b8a73e26505d6e74cd84bd611f63f2a56e4b944f76b2e9
-DIST tor-0.4.6.9.tar.gz 7797677 BLAKE2B 
7d6add30867a3b18471bece559acbf6782b516229b8ab2c764f4a581fcbe3c2fa748f2708c60bf0f8a1165bc1fdd930fe00adaf7c1f546e6a7e98bdc0f1abb21
 SHA512 
67b3c0c0515d4150dd91db6dd4efe19b15a2e8ddac2a34069d61dfaf79d90585f3ca4071483362619719a7cbc6198d67d1ff73acdefa8cc8462bc1e2a7ba264f
-DIST tor-0.4.6.9.tar.gz.asc 833 BLAKE2B 
1028464261cd02502408fff7354b92c68f51ce4ec27a16c190f4d16ec4164fb2f81d8018a6c400b22691dda8a29aa5af41b7e8fc9c72f551c8a1e85976ab1223
 SHA512 
1a34ae6f3b2d58a1a3d71b7a953cb1f8b0ef30430f016d67978a9323f7da42132a7cc2540245e115311951d524bbb67287d1af5c456a72564a4b49971962116f
-DIST tor-0.4.7.4-alpha.tar.gz 7855828 BLAKE2B 
c30f131254a55e0fcea82361b491730ec4cae2de9bba33bd4f2d68a71b658478ab2344727096c34a7216a13617ea70b7288b8c1f1e80ffcaeb03aba6b462c0ec
 SHA512 
8956424cec7d9ec223ea974e2d13e1f50e3003a9a7535bff109504ce3a9cb8e62add4dd5b716990b8e8fe258fd9854fe5ae00a914dfa7c7e2f79b3d703363db0
-DIST tor-0.4.7.4-alpha.tar.gz.sha256sum 91 BLAKE2B 
d3e9416c33e286225b3f41f57bb4cb01ba724a4142b301d3a9fde61c6191c83252a3f1ea7100d26cffc6a0eb4466517b61a167a9f19627679ff5299434dd07e3
 SHA512 
08d06eb70f2894117b83a934a4df334cd2c7db2f4a51a10233e9e71f94a8aba4a0262476e20480444e232116cd184635d53ec5f4a81f8de78cd1bfd75158eecd
-DIST tor-0.4.7.4-alpha.tar.gz.sha256sum.asc 716 BLAKE2B 
f65ea8b99a957cb2bfea6a5da664864df68a521268f0c15dee02a738498af7ccc8c0b7299bfe413ee16011f3ea414b694482e8c45c691c1e6585648621cd02a6
 SHA512 
f8353d9c1d3b9a14767fff8c795acf8914c5970a3b146b0b05010b6a6a01901faa27098a18f08119c0256be43c9e5d43dfe12b36ac2d00d8e2506349884317db
 DIST tor-0.4.7.5-alpha.tar.gz 7876166 BLAKE2B 
f6389401adf0b3fae548f27a13b5a9f20fcad7a4fea7ea7dde159d10a49032d03e1b82a8eaf494df2e20958e510bc9aacc24d2f5ea71aa354614d726396117b4
 SHA512 
db93ecdeaa600ad6ac5a3c07d7cf0a00c6f89cbe4e407ac7070ad1de958329b0019145b25bc9671bbe1a12bcf3397ffa493abfa147293480616cb82923c09f1d
 DIST tor-0.4.7.5-alpha.tar.gz.sha256sum 91 BLAKE2B 
97d7a909cf2f7a94b9ba5ad143c7d3c368f3352be16e61e181b34acde8fea3d314220914ab9b589ad926d360e0bc3bf3012722f7ddfff96909d57d8359fd5c1d
 SHA512 
f86bd14c4964f4deb4aac748dd31a623dd40800d2494b6c627a14d58818f2b7d2d64054f18e0d5f5368e13e2f8242ff46c40447559c22085321710236e21ae98
 DIST tor-0.4.7.5-alpha.tar.gz.sha256sum.asc 716 BLAKE2B 
41c5b1242c31d67d17ac9d2ebfd1d6cccb603f83beea0f7b86bf669b6ab6a497fd7331d4eab00a4da9eb5a0cf774df259df428f88bbed751bce23ae4f9dfdab0
 SHA512 
fa5839e5beaa4decb7ae5410f4261017cbd3308faa773f225a8fcb0c91f90dc7a259c098f3aab511223709ce638dc22e68c5f5235f7e17cafe51c0fd22663437

diff --git a/net-vpn/tor/tor-0.4.6.7.ebuild b/net-vpn/tor/tor-0.4.6.7.ebuild
deleted file mode 100644
index 919dc32f7fa3..000000000000
--- a/net-vpn/tor/tor-0.4.6.7.ebuild
+++ /dev/null
@@ -1,108 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI="7"
-
-PYTHON_COMPAT=( python3_{8,9} )
-inherit flag-o-matic python-any-r1 readme.gentoo-r1 systemd verify-sig
-
-MY_PV="$(ver_rs 4 -)"
-MY_PF="${PN}-${MY_PV}"
-DESCRIPTION="Anonymizing overlay network for TCP"
-HOMEPAGE="https://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
-       verify-sig? ( https://dist.torproject.org/${MY_PF}.tar.gz.asc )"
-S="${WORKDIR}/${MY_PF}"
-
-LICENSE="BSD GPL-2"
-SLOT="0"
-if [[ ${PV} != *_alpha* && ${PV} != *_beta* && ${PV} != *_rc* ]]; then
-       KEYWORDS="amd64 arm arm64 ~mips ppc ppc64 ~riscv 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
-
-BDEPEND="verify-sig? ( sec-keys/openpgp-keys-tor )"
-DEPEND="
-       dev-libs/libevent:=[ssl]
-       sys-libs/zlib
-       caps? ( sys-libs/libcap )
-       man? ( app-text/asciidoc )
-       dev-libs/openssl:0=[-bindist(-)]
-       lzma? ( app-arch/xz-utils )
-       scrypt? ( app-crypt/libscrypt )
-       seccomp? ( >=sys-libs/libseccomp-2.4.1 )
-       systemd? ( sys-apps/systemd )
-       zstd? ( app-arch/zstd )"
-RDEPEND="
-       acct-user/tor
-       acct-group/tor
-       ${DEPEND}
-       selinux? ( sec-policy/selinux-tor )"
-
-# bug #764260
-DEPEND+="
-       test? (
-               ${DEPEND}
-               ${PYTHON_DEPS}
-       )"
-
-PATCHES=(
-       "${FILESDIR}"/${PN}-0.2.7.4-torrc.sample.patch
-)
-
-DOCS=()
-
-RESTRICT="!test? ( test )"
-
-pkg_setup() {
-       use test && python-any-r1_pkg_setup
-}
-
-src_configure() {
-       use doc && DOCS+=( README ChangeLog ReleaseNotes doc/HACKING )
-       export ac_cv_lib_cap_cap_init=$(usex caps)
-       econf \
-               --localstatedir="${EPREFIX}/var" \
-               --disable-all-bugs-are-fatal \
-               --enable-system-torrc \
-               --disable-android \
-               --disable-html-manual \
-               --disable-libfuzzer \
-               --enable-missing-doc-warnings \
-               --disable-module-dirauth \
-               --enable-pic \
-               --disable-rust \
-               --disable-restart-debugging \
-               --disable-zstd-advanced-apis  \
-               $(use_enable man asciidoc) \
-               $(use_enable man manpage) \
-               $(use_enable lzma) \
-               $(use_enable scrypt libscrypt) \
-               $(use_enable seccomp) \
-               $(use_enable server module-relay) \
-               $(use_enable systemd) \
-               $(use_enable tor-hardening gcc-hardening) \
-               $(use_enable tor-hardening linker-hardening) \
-               $(use_enable test unittests) \
-               $(use_enable test coverage) \
-               $(use_enable zstd)
-}
-
-src_install() {
-       default
-       readme.gentoo_create_doc
-
-       newconfd "${FILESDIR}"/tor.confd tor
-       newinitd "${FILESDIR}"/tor.initd-r9 tor
-       systemd_dounit "${FILESDIR}"/tor.service
-
-       keepdir /var/lib/tor
-
-       fperms 750 /var/lib/tor
-       fowners tor:tor /var/lib/tor
-
-       insinto /etc/tor/
-       newins "${FILESDIR}"/torrc-r2 torrc
-}

diff --git a/net-vpn/tor/tor-0.4.6.8.ebuild b/net-vpn/tor/tor-0.4.6.8.ebuild
deleted file mode 100644
index 7eb05f3e6404..000000000000
--- a/net-vpn/tor/tor-0.4.6.8.ebuild
+++ /dev/null
@@ -1,108 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI="7"
-
-PYTHON_COMPAT=( python3_{8,9} )
-inherit flag-o-matic python-any-r1 readme.gentoo-r1 systemd verify-sig
-
-MY_PV="$(ver_rs 4 -)"
-MY_PF="${PN}-${MY_PV}"
-DESCRIPTION="Anonymizing overlay network for TCP"
-HOMEPAGE="https://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
-       verify-sig? ( https://dist.torproject.org/${MY_PF}.tar.gz.asc )"
-S="${WORKDIR}/${MY_PF}"
-
-LICENSE="BSD GPL-2"
-SLOT="0"
-if [[ ${PV} != *_alpha* && ${PV} != *_beta* && ${PV} != *_rc* ]]; then
-       KEYWORDS="~amd64 ~arm ~arm64 ~mips ~ppc ~ppc64 ~riscv ~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
-
-BDEPEND="verify-sig? ( sec-keys/openpgp-keys-tor )"
-DEPEND="
-       dev-libs/libevent:=[ssl]
-       sys-libs/zlib
-       caps? ( sys-libs/libcap )
-       man? ( app-text/asciidoc )
-       dev-libs/openssl:0=[-bindist(-)]
-       lzma? ( app-arch/xz-utils )
-       scrypt? ( app-crypt/libscrypt )
-       seccomp? ( >=sys-libs/libseccomp-2.4.1 )
-       systemd? ( sys-apps/systemd )
-       zstd? ( app-arch/zstd )"
-RDEPEND="
-       acct-user/tor
-       acct-group/tor
-       ${DEPEND}
-       selinux? ( sec-policy/selinux-tor )"
-
-# bug #764260
-DEPEND+="
-       test? (
-               ${DEPEND}
-               ${PYTHON_DEPS}
-       )"
-
-PATCHES=(
-       "${FILESDIR}"/${PN}-0.2.7.4-torrc.sample.patch
-)
-
-DOCS=()
-
-RESTRICT="!test? ( test )"
-
-pkg_setup() {
-       use test && python-any-r1_pkg_setup
-}
-
-src_configure() {
-       use doc && DOCS+=( README ChangeLog ReleaseNotes doc/HACKING )
-       export ac_cv_lib_cap_cap_init=$(usex caps)
-       econf \
-               --localstatedir="${EPREFIX}/var" \
-               --disable-all-bugs-are-fatal \
-               --enable-system-torrc \
-               --disable-android \
-               --disable-html-manual \
-               --disable-libfuzzer \
-               --enable-missing-doc-warnings \
-               --disable-module-dirauth \
-               --enable-pic \
-               --disable-rust \
-               --disable-restart-debugging \
-               --disable-zstd-advanced-apis  \
-               $(use_enable man asciidoc) \
-               $(use_enable man manpage) \
-               $(use_enable lzma) \
-               $(use_enable scrypt libscrypt) \
-               $(use_enable seccomp) \
-               $(use_enable server module-relay) \
-               $(use_enable systemd) \
-               $(use_enable tor-hardening gcc-hardening) \
-               $(use_enable tor-hardening linker-hardening) \
-               $(use_enable test unittests) \
-               $(use_enable test coverage) \
-               $(use_enable zstd)
-}
-
-src_install() {
-       default
-       readme.gentoo_create_doc
-
-       newconfd "${FILESDIR}"/tor.confd tor
-       newinitd "${FILESDIR}"/tor.initd-r9 tor
-       systemd_dounit "${FILESDIR}"/tor.service
-
-       keepdir /var/lib/tor
-
-       fperms 750 /var/lib/tor
-       fowners tor:tor /var/lib/tor
-
-       insinto /etc/tor/
-       newins "${FILESDIR}"/torrc-r2 torrc
-}

diff --git a/net-vpn/tor/tor-0.4.6.9.ebuild b/net-vpn/tor/tor-0.4.6.9.ebuild
deleted file mode 100644
index d102418e073e..000000000000
--- a/net-vpn/tor/tor-0.4.6.9.ebuild
+++ /dev/null
@@ -1,108 +0,0 @@
-# Copyright 1999-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI="8"
-
-PYTHON_COMPAT=( python3_{8,9} )
-inherit flag-o-matic python-any-r1 readme.gentoo-r1 systemd verify-sig
-
-MY_PV="$(ver_rs 4 -)"
-MY_PF="${PN}-${MY_PV}"
-DESCRIPTION="Anonymizing overlay network for TCP"
-HOMEPAGE="https://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
-       verify-sig? ( https://dist.torproject.org/${MY_PF}.tar.gz.asc )"
-S="${WORKDIR}/${MY_PF}"
-
-LICENSE="BSD GPL-2"
-SLOT="0"
-if [[ ${PV} != *_alpha* && ${PV} != *_beta* && ${PV} != *_rc* ]]; then
-       KEYWORDS="~amd64 ~arm ~arm64 ~mips ~ppc ~ppc64 ~riscv ~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
-
-BDEPEND="verify-sig? ( sec-keys/openpgp-keys-tor )"
-DEPEND="
-       dev-libs/libevent:=[ssl]
-       sys-libs/zlib
-       caps? ( sys-libs/libcap )
-       man? ( app-text/asciidoc )
-       dev-libs/openssl:0=[-bindist(-)]
-       lzma? ( app-arch/xz-utils )
-       scrypt? ( app-crypt/libscrypt )
-       seccomp? ( >=sys-libs/libseccomp-2.4.1 )
-       systemd? ( sys-apps/systemd )
-       zstd? ( app-arch/zstd )"
-RDEPEND="
-       acct-user/tor
-       acct-group/tor
-       ${DEPEND}
-       selinux? ( sec-policy/selinux-tor )"
-
-# bug #764260
-DEPEND+="
-       test? (
-               ${DEPEND}
-               ${PYTHON_DEPS}
-       )"
-
-PATCHES=(
-       "${FILESDIR}"/${PN}-0.2.7.4-torrc.sample.patch
-)
-
-DOCS=()
-
-RESTRICT="!test? ( test )"
-
-pkg_setup() {
-       use test && python-any-r1_pkg_setup
-}
-
-src_configure() {
-       use doc && DOCS+=( README ChangeLog ReleaseNotes doc/HACKING )
-       export ac_cv_lib_cap_cap_init=$(usex caps)
-       econf \
-               --localstatedir="${EPREFIX}/var" \
-               --disable-all-bugs-are-fatal \
-               --enable-system-torrc \
-               --disable-android \
-               --disable-html-manual \
-               --disable-libfuzzer \
-               --enable-missing-doc-warnings \
-               --disable-module-dirauth \
-               --enable-pic \
-               --disable-rust \
-               --disable-restart-debugging \
-               --disable-zstd-advanced-apis  \
-               $(use_enable man asciidoc) \
-               $(use_enable man manpage) \
-               $(use_enable lzma) \
-               $(use_enable scrypt libscrypt) \
-               $(use_enable seccomp) \
-               $(use_enable server module-relay) \
-               $(use_enable systemd) \
-               $(use_enable tor-hardening gcc-hardening) \
-               $(use_enable tor-hardening linker-hardening) \
-               $(use_enable test unittests) \
-               $(use_enable test coverage) \
-               $(use_enable zstd)
-}
-
-src_install() {
-       default
-       readme.gentoo_create_doc
-
-       newconfd "${FILESDIR}"/tor.confd tor
-       newinitd "${FILESDIR}"/tor.initd-r9 tor
-       systemd_dounit "${FILESDIR}"/tor.service
-
-       keepdir /var/lib/tor
-
-       fperms 750 /var/lib/tor
-       fowners tor:tor /var/lib/tor
-
-       insinto /etc/tor/
-       newins "${FILESDIR}"/torrc-r2 torrc
-}

diff --git a/net-vpn/tor/tor-0.4.7.4_alpha.ebuild 
b/net-vpn/tor/tor-0.4.7.4_alpha.ebuild
deleted file mode 100644
index a117b5a80dea..000000000000
--- a/net-vpn/tor/tor-0.4.7.4_alpha.ebuild
+++ /dev/null
@@ -1,122 +0,0 @@
-# Copyright 1999-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI="8"
-
-PYTHON_COMPAT=( python3_{8,9} )
-inherit flag-o-matic python-any-r1 readme.gentoo-r1 systemd verify-sig
-
-MY_PV="$(ver_rs 4 -)"
-MY_PF="${PN}-${MY_PV}"
-DESCRIPTION="Anonymizing overlay network for TCP"
-HOMEPAGE="https://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
-       verify-sig? (
-               https://dist.torproject.org/${MY_PF}.tar.gz.sha256sum
-               https://dist.torproject.org/${MY_PF}.tar.gz.sha256sum.asc
-       )"
-S="${WORKDIR}/${MY_PF}"
-
-LICENSE="BSD GPL-2"
-SLOT="0"
-if [[ ${PV} != *_alpha* && ${PV} != *_beta* && ${PV} != *_rc* ]]; then
-       KEYWORDS="~amd64 ~arm ~arm64 ~mips ~ppc ~ppc64 ~riscv ~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
-
-BDEPEND="verify-sig? ( >=sec-keys/openpgp-keys-tor-20220216 )"
-DEPEND="
-       dev-libs/libevent:=[ssl]
-       sys-libs/zlib
-       caps? ( sys-libs/libcap )
-       man? ( app-text/asciidoc )
-       dev-libs/openssl:0=[-bindist(-)]
-       lzma? ( app-arch/xz-utils )
-       scrypt? ( app-crypt/libscrypt )
-       seccomp? ( >=sys-libs/libseccomp-2.4.1 )
-       systemd? ( sys-apps/systemd )
-       zstd? ( app-arch/zstd )"
-RDEPEND="
-       acct-user/tor
-       acct-group/tor
-       ${DEPEND}
-       selinux? ( sec-policy/selinux-tor )"
-
-# bug #764260
-DEPEND+="
-       test? (
-               ${DEPEND}
-               ${PYTHON_DEPS}
-       )"
-
-PATCHES=(
-       "${FILESDIR}"/${PN}-0.2.7.4-torrc.sample.patch
-)
-
-DOCS=()
-
-RESTRICT="!test? ( test )"
-
-pkg_setup() {
-       use test && python-any-r1_pkg_setup
-}
-
-src_unpack() {
-       if use verify-sig; then
-               cd "${DISTDIR}" || die
-               verify-sig_verify_detached ${MY_PF}.tar.gz.sha256sum{,.asc}
-               verify-sig_verify_unsigned_checksums \
-                       ${MY_PF}.tar.gz.sha256sum sha256 ${MY_PF}.tar.gz
-               cd "${WORKDIR}" || die
-       fi
-
-       default
-}
-
-src_configure() {
-       use doc && DOCS+=( README ChangeLog ReleaseNotes doc/HACKING )
-       export ac_cv_lib_cap_cap_init=$(usex caps)
-       econf \
-               --localstatedir="${EPREFIX}/var" \
-               --disable-all-bugs-are-fatal \
-               --enable-system-torrc \
-               --disable-android \
-               --disable-html-manual \
-               --disable-libfuzzer \
-               --enable-missing-doc-warnings \
-               --disable-module-dirauth \
-               --enable-pic \
-               --disable-restart-debugging \
-               --disable-zstd-advanced-apis  \
-               $(use_enable man asciidoc) \
-               $(use_enable man manpage) \
-               $(use_enable lzma) \
-               $(use_enable scrypt libscrypt) \
-               $(use_enable seccomp) \
-               $(use_enable server module-relay) \
-               $(use_enable systemd) \
-               $(use_enable tor-hardening gcc-hardening) \
-               $(use_enable tor-hardening linker-hardening) \
-               $(use_enable test unittests) \
-               $(use_enable test coverage) \
-               $(use_enable zstd)
-}
-
-src_install() {
-       default
-       readme.gentoo_create_doc
-
-       newconfd "${FILESDIR}"/tor.confd tor
-       newinitd "${FILESDIR}"/tor.initd-r9 tor
-       systemd_dounit "${FILESDIR}"/tor.service
-
-       keepdir /var/lib/tor
-
-       fperms 750 /var/lib/tor
-       fowners tor:tor /var/lib/tor
-
-       insinto /etc/tor/
-       newins "${FILESDIR}"/torrc-r2 torrc
-}

Reply via email to