summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnthony G. Basile <blueness@gentoo.org>2017-12-17 07:23:09 -0500
committerAnthony G. Basile <blueness@gentoo.org>2017-12-17 07:26:09 -0500
commitb579e252fe80dda437709956841eaac8df1d5ed8 (patch)
treef5d63095a4fa8f991985a04c692af10848a25f0e /net-vpn
parentsys-apps/paxctld: version bump to 1.2.2 (diff)
downloadgentoo-b579e252fe80dda437709956841eaac8df1d5ed8.tar.gz
gentoo-b579e252fe80dda437709956841eaac8df1d5ed8.tar.bz2
gentoo-b579e252fe80dda437709956841eaac8df1d5ed8.zip
net-vpn/tor: properly recognize lzma and zstd flags, bug #635068
Package-Manager: Portage-2.3.13, Repoman-2.3.3
Diffstat (limited to 'net-vpn')
-rw-r--r--net-vpn/tor/Manifest1
-rw-r--r--net-vpn/tor/tor-0.3.1.9-r1.ebuild (renamed from net-vpn/tor/tor-0.3.1.8.ebuild)4
-rw-r--r--net-vpn/tor/tor-0.3.2.7_rc-r1.ebuild (renamed from net-vpn/tor/tor-0.3.1.9.ebuild)4
-rw-r--r--net-vpn/tor/tor-0.3.2.7_rc.ebuild80
4 files changed, 6 insertions, 83 deletions
diff --git a/net-vpn/tor/Manifest b/net-vpn/tor/Manifest
index e2d5fc4ac075..f2b0bc5e7537 100644
--- a/net-vpn/tor/Manifest
+++ b/net-vpn/tor/Manifest
@@ -1,4 +1,3 @@
DIST tor-0.3.1.7.tar.gz 6058284 BLAKE2B f2d825c82342cf1ca9354f051d532ef31e1d183be28f0f5b49f14c0d88176910292b6727b8cf0f066bae276e3a431851714cdb385219516d0a7519c5ed02b203 SHA512 a835526984187fad88cffc39ea8f6a4b61d5f8d2579b5a66425612607a22ff82e0f9da96e029e134e04d25ae0f59a1b4f771e9e8c19ebb563e1a0f5b3a3849e4
-DIST tor-0.3.1.8.tar.gz 6073611 BLAKE2B 1f6dcbe1beff2179ea21d39d05200a9a241739a58f7f38a0e4fa24b9a73d29bb49c539d07db1cf5186cab63217370c40a142cf995f9695916f5112fa0d2fba51 SHA512 0c2d5f6e444815f0812b0f8bb2102f2013c890375cf20b62025d0704e8ee7742bbf7173764795e3e63606a47d0695a5a982c318c55a30ca50600eb6de5b94b16
DIST tor-0.3.1.9.tar.gz 6092702 BLAKE2B c009567b5866ff50159fbcbab05462a860c3e66c15599d11d40495d8a1a18fbad610f8ea94492519f2c8b6adfce7f4a54ad3bd2aee2b902ffae7215f35a3d4d5 SHA512 c22557251272595c65b2fade485020d76de16f5bb826d4a47d7bd093b7336dad42e8e2b8a3e0c56d9a10e62f0a5b1596c4b10cd578bf6da17f058f3d4e356f66
DIST tor-0.3.2.7-rc.tar.gz 6313975 BLAKE2B ecfe6832b2e9c81f04218f7ec82a63f23913c1dc0a9ec29113e6432eac69b8cc89a9fc6b7c4147cf26e6de141b22574d3118608194641126d961b5f452179e1b SHA512 989bdd4311521528444f4165455365d3c1f1ef5f6a8846bf08db7f84ab8e986cba47f9dfbd3a03ccb6e3f8d813d69289768170a8fd68916e9d6a21fe0484cf87
diff --git a/net-vpn/tor/tor-0.3.1.8.ebuild b/net-vpn/tor/tor-0.3.1.9-r1.ebuild
index 2e54066d6ba5..23286b3b6daa 100644
--- a/net-vpn/tor/tor-0.3.1.8.ebuild
+++ b/net-vpn/tor/tor-0.3.1.9-r1.ebuild
@@ -52,6 +52,7 @@ src_configure() {
--enable-asciidoc \
--disable-libfuzzer \
--disable-rust \
+ $(use_enable lzma) \
$(use_enable scrypt libscrypt) \
$(use_enable seccomp) \
$(use_enable systemd) \
@@ -59,7 +60,8 @@ src_configure() {
$(use_enable tor-hardening linker-hardening) \
$(use_enable web tor2web-mode) \
$(use_enable test unittests) \
- $(use_enable test coverage)
+ $(use_enable test coverage) \
+ $(use_enable zstd)
}
src_install() {
diff --git a/net-vpn/tor/tor-0.3.1.9.ebuild b/net-vpn/tor/tor-0.3.2.7_rc-r1.ebuild
index 2e54066d6ba5..23286b3b6daa 100644
--- a/net-vpn/tor/tor-0.3.1.9.ebuild
+++ b/net-vpn/tor/tor-0.3.2.7_rc-r1.ebuild
@@ -52,6 +52,7 @@ src_configure() {
--enable-asciidoc \
--disable-libfuzzer \
--disable-rust \
+ $(use_enable lzma) \
$(use_enable scrypt libscrypt) \
$(use_enable seccomp) \
$(use_enable systemd) \
@@ -59,7 +60,8 @@ src_configure() {
$(use_enable tor-hardening linker-hardening) \
$(use_enable web tor2web-mode) \
$(use_enable test unittests) \
- $(use_enable test coverage)
+ $(use_enable test coverage) \
+ $(use_enable zstd)
}
src_install() {
diff --git a/net-vpn/tor/tor-0.3.2.7_rc.ebuild b/net-vpn/tor/tor-0.3.2.7_rc.ebuild
deleted file mode 100644
index 2e54066d6ba5..000000000000
--- a/net-vpn/tor/tor-0.3.2.7_rc.ebuild
+++ /dev/null
@@ -1,80 +0,0 @@
-# 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
-}