summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnthony G. Basile <blueness@gentoo.org>2017-09-06 08:15:00 -0400
committerAnthony G. Basile <blueness@gentoo.org>2017-09-06 08:15:00 -0400
commit068ab055872299489d488ed26f75c3020d01f372 (patch)
treeb01fc8f36e0c132ec905bbd9ea62d179eb4618a8 /net-vpn/tor
parentsys-devel/slibtool: remove old (diff)
downloadgentoo-068ab055872299489d488ed26f75c3020d01f372.tar.gz
gentoo-068ab055872299489d488ed26f75c3020d01f372.tar.bz2
gentoo-068ab055872299489d488ed26f75c3020d01f372.zip
net-vpn/tor: version bump alpha branch to 0.3.1.6_rc
Package-Manager: Portage-2.3.6, Repoman-2.3.1
Diffstat (limited to 'net-vpn/tor')
-rw-r--r--net-vpn/tor/Manifest1
-rw-r--r--net-vpn/tor/tor-0.3.1.6_rc.ebuild80
2 files changed, 81 insertions, 0 deletions
diff --git a/net-vpn/tor/Manifest b/net-vpn/tor/Manifest
index d4ee6f6b0b1e..626a45c1cd5c 100644
--- a/net-vpn/tor/Manifest
+++ b/net-vpn/tor/Manifest
@@ -3,3 +3,4 @@ DIST tor-0.3.0.10.tar.gz 5845205 SHA256 9a8e6e49a1688dae64dca10f84a414ec9a4f393f
DIST tor-0.3.0.8.tar.gz 5796845 SHA256 663a3ba7b8a124c0f8a7351eaa2dda6fd518de3f3c4ee28fff869bfb03860d48 SHA512 93267e51578266f6f6eea57e7fcd7ec5f8fbeb2e880675956724a0b1c1dfe1826945aaba4ca3075b577505d0ce70fd7def2f2a9e06af78f52190e15a7aad2ee1 WHIRLPOOL a301811a7cf7dbd444a16802dcece32dbd679895e6bf45ad7c51787171a4d80d51a438585e5a1f9e1da55405537b706fafc3a6565f72bf08e89608a4fde98b85
DIST tor-0.3.0.9.tar.gz 5811303 SHA256 48d4880bf6ccb19ce9af2abde6946d7cf0635cc807548badbf4a221a79581e42 SHA512 19b662840ee0c6aaba04c6db7f172def070d0773553f90bc3d1f210266bbcb572b3dd1f383359e36583103235a85a0a4052cf7299a534fde137bee41376ffa02 WHIRLPOOL dc834c84207714a1fe9376dabe34651e506e93526e7f94de822d3691c4947c2332635b10127be5fa23d31adc5f9e1bc93ad65d1dcb7241a68a0459dffa2c6cb6
DIST tor-0.3.1.5-alpha.tar.gz 5997514 SHA256 04281b87e8b97517ba52232cd58de06a816f5a136b9b7a7316be878b36df8313 SHA512 5c96b0978e8cb15bd76dc171079451439c4e25d2fbd6f817d58a7bd786d494a7ed7e18931acf046cfb9ee12c5342e212b1faa69b8eb9207db1e791dcc4f3221d WHIRLPOOL 909b31e2d3a774781e94ffdd7a892bdde931c8a876fd811fd745e2f03445be2e735df1b049615a7be3f4a193fe40d317bd75376d164abcf3d6eee126d96049e1
+DIST tor-0.3.1.6-rc.tar.gz 6029128 SHA256 d1548e28e1f82e2eb4a95f2334f4809383f173b32e57ab628d76b088f10ca6fd SHA512 9a8f677fb01ca5741c19b9b61aab08a5ce75eb9aaf863989cb103559fe5d71bf517b4b6430eba3cfd1f909a1fdf01cd5d6c7c43da43a2db9c2e4f2704e7a6852 WHIRLPOOL 13dbc9ff260062d94cf4aec5f2fbda35be0288e5a08b10fcd9941d91d841813f155a38f79bfcf1211ff3557685a9f951bfcf8904d10651b85c0ae866d1a0bcfa
diff --git a/net-vpn/tor/tor-0.3.1.6_rc.ebuild b/net-vpn/tor/tor-0.3.1.6_rc.ebuild
new file mode 100644
index 000000000000..2e54066d6ba5
--- /dev/null
+++ b/net-vpn/tor/tor-0.3.1.6_rc.ebuild
@@ -0,0 +1,80 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="6"
+
+inherit flag-o-matic readme.gentoo-r1 systemd versionator user
+
+MY_PV="$(replace_version_separator 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"
+# We need to keyword app-arch/zstd
+#KEYWORDS="~amd64 ~arm ~mips ~ppc ~ppc64 ~sparc ~x86 ~ppc-macos"
+KEYWORDS="~amd64 ~arm ~mips ~ppc ~ppc64 ~x86 ~ppc-macos"
+IUSE="libressl lzma scrypt seccomp selinux systemd tor-hardening test web zstd"
+
+DEPEND="
+ app-text/asciidoc
+ dev-libs/libevent[ssl]
+ sys-libs/zlib
+ !libressl? ( dev-libs/openssl:0=[-bindist] )
+ libressl? ( dev-libs/libressl:0= )
+ lzma? ( app-arch/xz-utils )
+ scrypt? ( app-crypt/libscrypt )
+ seccomp? ( sys-libs/libseccomp )
+ systemd? ( sys-apps/systemd )
+ zstd? ( app-arch/zstd )"
+RDEPEND="${DEPEND}
+ selinux? ( sec-policy/selinux-tor )"
+
+PATCHES=(
+ "${FILESDIR}"/${PN}-0.2.7.4-torrc.sample.patch
+)
+
+DOCS=( README ChangeLog ReleaseNotes doc/HACKING )
+
+pkg_setup() {
+ enewgroup tor
+ enewuser tor -1 -1 /var/lib/tor tor
+}
+
+src_configure() {
+ econf \
+ --localstatedir="${EPREFIX}/var" \
+ --enable-system-torrc \
+ --enable-asciidoc \
+ --disable-libfuzzer \
+ --disable-rust \
+ $(use_enable scrypt libscrypt) \
+ $(use_enable seccomp) \
+ $(use_enable systemd) \
+ $(use_enable tor-hardening gcc-hardening) \
+ $(use_enable tor-hardening linker-hardening) \
+ $(use_enable web tor2web-mode) \
+ $(use_enable test unittests) \
+ $(use_enable test coverage)
+}
+
+src_install() {
+ default
+ readme.gentoo_create_doc
+
+ newconfd "${FILESDIR}"/tor.confd tor
+ newinitd "${FILESDIR}"/tor.initd-r8 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-r1 torrc
+}