summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'net-vpn/tor')
-rw-r--r--net-vpn/tor/Manifest5
-rw-r--r--net-vpn/tor/tor-0.4.2.8.ebuild90
-rw-r--r--net-vpn/tor/tor-0.4.3.6.ebuild (renamed from net-vpn/tor/tor-0.4.3.5.ebuild)0
-rw-r--r--net-vpn/tor/tor-0.4.4.2_alpha.ebuild (renamed from net-vpn/tor/tor-0.4.4.1_alpha.ebuild)0
4 files changed, 93 insertions, 2 deletions
diff --git a/net-vpn/tor/Manifest b/net-vpn/tor/Manifest
index 460c00f1a6d4..b9b578f1def5 100644
--- a/net-vpn/tor/Manifest
+++ b/net-vpn/tor/Manifest
@@ -1,3 +1,4 @@
DIST tor-0.4.2.7.tar.gz 7604875 BLAKE2B d24f9bd5a3467c909cf95e7e06873817df1a11a86f002450058df7d2aa637b25441128ec57951e22681fdd9b0ef95808306d76b6485e060365f4fbf10e263ac8 SHA512 a23c7eec8f399372227433c62c97278563a63e4cf03e475307915d395fb0b7efc461b4c8a077149e7b6df955ec26d52cd833dfe37fb650d23b3fcb1a4163d64d
-DIST tor-0.4.3.5.tar.gz 7740166 BLAKE2B 9b5e39bc57a9581a7ba901868100295b53001d09c429b9d6ca011bd66317eb38d8b7d90395985533c33b887779bade5ac6d88f35438516eaa2d90df7d212feaa SHA512 3ba019d08009ccd288411c35e2db987e17e4f012c363fa51f2d8387b24b21c96f1bd7c210ee126fa81f585a6f75a72cbcb7f32365cfbb0a5dac582459953bb7c
-DIST tor-0.4.4.1-alpha.tar.gz 7789510 BLAKE2B 8b5fa959de47859198ef349d5cf8b92f610bb80a6c0690a94991d51fd23aaa120106e44388d0cf5b9ec3364d93f975e43e096684d38136b7b642eeb1169b74a9 SHA512 4156095d5770cedd801a50bb8cd4639c0bf0852b90623027f26868ae41c832055c06525262e39e03f653d4798e8b53f4cbcdfc271b5b4af567afa0900f24ae04
+DIST tor-0.4.2.8.tar.gz 7610427 BLAKE2B 5b637047f4944e97350ef1354f61ed6ac611a1660a61a4a44d3706abb0ec12af121d35ee10023c627a1a7d175490ef854c0a99d17268756eaa7d626926ef245f SHA512 599ec5acd51a84b56f023458f71d35ea622390c4500e77f8a7ff416930e76f2ef3ec76402e971eca366d1f03aac4c1f6ccb8e9ab69e98f1d4b111d52731b45f2
+DIST tor-0.4.3.6.tar.gz 7745954 BLAKE2B 3b04b2c79281483ef72421f8f5bfbc4f48358b6d38c151470eea7ea9bd2666e7098fe3fb0887d551f796443718791a3a464b007669c96e6bbcce7d7fc4c25d3a SHA512 f4ab0788d27b3eab40853dde31eaf087ac84616fc3488973e7d01f4dbd3e71ba6ce3a3afcf0c6272223897d0a9c1556aa26dbc4d9b98cc5b43dd729d20a2fcca
+DIST tor-0.4.4.2-alpha.tar.gz 7791919 BLAKE2B 68e71323f7ee1528b6970f58d337452633b8658c3386c888375d00719fc44f2b41e2d0486acca2a19899399f17b1fca1e58e9918c13ee674b3b235ba3f7ac5fc SHA512 404d743cfdb7239f4a69446ca574cf8d7fc5291052591c3ff18a41ff71e8f53785fcab077988189c2d5541ebe165da7d61b885d1e2d6dfa3997320079c3ee842
diff --git a/net-vpn/tor/tor-0.4.2.8.ebuild b/net-vpn/tor/tor-0.4.2.8.ebuild
new file mode 100644
index 000000000000..fe5c2841080f
--- /dev/null
+++ b/net-vpn/tor/tor-0.4.2.8.ebuild
@@ -0,0 +1,90 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit flag-o-matic readme.gentoo-r1 systemd
+
+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"
+S="${WORKDIR}/${MY_PF}"
+
+LICENSE="BSD GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~mips ~ppc ~ppc64 ~x86 ~ppc-macos"
+IUSE="caps doc libressl lzma +man scrypt seccomp selinux systemd tor-hardening test zstd"
+
+DEPEND="
+ dev-libs/libevent:=[ssl]
+ sys-libs/zlib
+ caps? ( sys-libs/libcap )
+ man? ( app-text/asciidoc )
+ !libressl? ( dev-libs/openssl:0=[-bindist] )
+ libressl? ( dev-libs/libressl:0= )
+ 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 )"
+
+PATCHES=(
+ "${FILESDIR}"/${PN}-0.2.7.4-torrc.sample.patch
+ "${FILESDIR}"/${PN}-0.3.3.2-alpha-tor.service.in.patch
+)
+
+DOCS=()
+
+RESTRICT="!test? ( test )"
+
+src_configure() {
+ use doc && DOCS+=( README ChangeLog ReleaseNotes doc/HACKING )
+ export ac_cv_lib_cap_cap_init=$(usex caps)
+ econf \
+ --localstatedir="${EPREFIX}/var" \
+ --enable-system-torrc \
+ --disable-android \
+ --disable-html-manual \
+ --disable-libfuzzer \
+ --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 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 contrib/dist/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.3.5.ebuild b/net-vpn/tor/tor-0.4.3.6.ebuild
index 36757c1c3d73..36757c1c3d73 100644
--- a/net-vpn/tor/tor-0.4.3.5.ebuild
+++ b/net-vpn/tor/tor-0.4.3.6.ebuild
diff --git a/net-vpn/tor/tor-0.4.4.1_alpha.ebuild b/net-vpn/tor/tor-0.4.4.2_alpha.ebuild
index 75110bc4eea4..75110bc4eea4 100644
--- a/net-vpn/tor/tor-0.4.4.1_alpha.ebuild
+++ b/net-vpn/tor/tor-0.4.4.2_alpha.ebuild