diff options
author | Anthony G. Basile <blueness@gentoo.org> | 2016-12-05 17:39:36 -0500 |
---|---|---|
committer | Anthony G. Basile <blueness@gentoo.org> | 2016-12-05 17:40:19 -0500 |
commit | c7549b71a0b272c6d38d27434879c6c33565315f (patch) | |
tree | b9b64b1343bdbf5551bd77c5bb3fb8b3c67eb9e5 /net-misc | |
parent | dev-lang/crystal: bump up to 0.20.1 (diff) | |
download | gentoo-c7549b71a0b272c6d38d27434879c6c33565315f.tar.gz gentoo-c7549b71a0b272c6d38d27434879c6c33565315f.tar.bz2 gentoo-c7549b71a0b272c6d38d27434879c6c33565315f.zip |
net-misc/tor: version bumps to 0.2.8.10 and 0.2.9.6_rc
Package-Manager: portage-2.3.0
Diffstat (limited to 'net-misc')
-rw-r--r-- | net-misc/tor/Manifest | 2 | ||||
-rw-r--r-- | net-misc/tor/tor-0.2.8.10.ebuild | 87 | ||||
-rw-r--r-- | net-misc/tor/tor-0.2.9.6_rc.ebuild | 83 |
3 files changed, 172 insertions, 0 deletions
diff --git a/net-misc/tor/Manifest b/net-misc/tor/Manifest index de57bb8ed638..e5ba2edcd03a 100644 --- a/net-misc/tor/Manifest +++ b/net-misc/tor/Manifest @@ -1,2 +1,4 @@ +DIST tor-0.2.8.10.tar.gz 5312435 SHA256 c88b8c57b34ebf44b731df5d68f73eb6b6708bcf4e42cf7b4817fd4e304c9c4d SHA512 c12eb0daaea9d1832877bd8127f9ce35bc1ae37c8cbfb9507262cc9837563de01610358a32420fb2e6f9a08ed2d84401345256c7b720f2ab234d1a6b90bce55e WHIRLPOOL 111824741ae1d3662e52e5cc1a253f7bf99b253a4ca118f24f9dea025d2aed617cf38cba46c5796665bb20ca2bf149a76053dc9127a38b6af10f58fd33a4b950 DIST tor-0.2.8.9.tar.gz 5306773 SHA256 3f5c273bb887be4aff11f4d99b9e2e52d293b81ff4f6302b730161ff16dc5316 SHA512 9a02e4f7901c2abb22f8250077bc078e9b6ae122ee54fbe7ecfb505d449e6e1766f6d9f95d7b794063471cbefe7410fece8524910f83579bff00d6da2a8ea6c1 WHIRLPOOL 6b97ad6405ca5043dbdb0c688f736ba4772ff997540dbc8be72755fdd0a53f8fcf8617920fff204d9bbdbf64bd4a1ca605799df364468732c633f45012212025 DIST tor-0.2.9.5-alpha.tar.gz 5489651 SHA256 d0c898ad5e8f1a136864aa105407c7b89f3e70d9462a7bb307a55a3afa5b62bd SHA512 c0d6e85f90b5726f024f8d740cebfc9a596669117b6af2b1f3be28ac1a685d9416a1199e164c120540df8dac27a4143e3c82b0de8db1f128bd4070e05d6d2764 WHIRLPOOL 580f87c1fc9cfb42263aca77e5fe3023d7f137181a372d33826387f17c2f2cf5bd706cb1e26b019ef6ea1f982c4e481acb93e60c2d52925122beccf4ed8284fd +DIST tor-0.2.9.6-rc.tar.gz 5492978 SHA256 871ba289c87ffec99ada458083f388ba5b81c6174ba0c6f821eb9a08ed4990bb SHA512 f037de16cc9687098aa5f9655dac39b87d0bd050bb2aa8884b31c9c64f64fed85897497f35d16691f50e2db980ea1babaf5ef553d3c372137b462b34ac7cdf51 WHIRLPOOL b944257855ba230d1127e6357fc8d1596786097cceeb8776fa9b753ebd45d9d8d6d1b7a82601cf205426b239706ee5c3a041f7770bdb797bdae7dd54aea3108c diff --git a/net-misc/tor/tor-0.2.8.10.ebuild b/net-misc/tor/tor-0.2.8.10.ebuild new file mode 100644 index 000000000000..ee36db79dda2 --- /dev/null +++ b/net-misc/tor/tor-0.2.8.10.ebuild @@ -0,0 +1,87 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="5" + +inherit eutils 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" +KEYWORDS="~amd64 ~arm ~mips ~ppc ~ppc64 ~sparc ~x86 ~ppc-macos" +IUSE="-bufferevents libressl scrypt seccomp selinux stats systemd tor-hardening transparent-proxy test web" + +DEPEND=" + app-text/asciidoc + dev-libs/libevent + sys-libs/zlib + bufferevents? ( dev-libs/libevent[ssl] ) + !libressl? ( dev-libs/openssl:0=[-bindist] ) + libressl? ( dev-libs/libressl:0= ) + scrypt? ( app-crypt/libscrypt ) + seccomp? ( sys-libs/libseccomp ) + systemd? ( sys-apps/systemd )" +RDEPEND="${DEPEND} + selinux? ( sec-policy/selinux-tor )" + +pkg_setup() { + enewgroup tor + enewuser tor -1 -1 /var/lib/tor tor +} + +src_prepare() { + epatch "${FILESDIR}"/${PN}-0.2.7.4-torrc.sample.patch + epatch_user +} + +src_configure() { + # Upstream isn't sure of all the user provided CFLAGS that + # will break tor, but does recommend against -fstrict-aliasing. + # We'll filter-flags them here as we encounter them. + filter-flags -fstrict-aliasing + + econf \ + --enable-system-torrc \ + --enable-asciidoc \ + --docdir="${EPREFIX}"/usr/share/doc/${PF} \ + $(use_enable stats instrument-downloads) \ + $(use_enable bufferevents) \ + $(use_enable scrypt libscrypt) \ + $(use_enable seccomp) \ + $(use_enable systemd) \ + $(use_enable tor-hardening gcc-hardening) \ + $(use_enable tor-hardening linker-hardening) \ + $(use_enable transparent-proxy transparent) \ + $(use_enable web tor2web-mode) \ + $(use_enable test unittests) \ + $(use_enable test coverage) +} + +src_install() { + readme.gentoo_create_doc + + newconfd "${FILESDIR}"/tor.confd tor + newinitd "${FILESDIR}"/tor.initd-r8 tor + systemd_dounit "${FILESDIR}/${PN}.service" + systemd_dotmpfilesd "${FILESDIR}/${PN}.conf" + + emake DESTDIR="${D}" install + + keepdir /var/lib/tor + + dodoc -r README ChangeLog ReleaseNotes doc/HACKING + + fperms 750 /var/lib/tor + fowners tor:tor /var/lib/tor + + insinto /etc/tor/ + newins "${FILESDIR}"/torrc-r1 torrc +} diff --git a/net-misc/tor/tor-0.2.9.6_rc.ebuild b/net-misc/tor/tor-0.2.9.6_rc.ebuild new file mode 100644 index 000000000000..580de8097c13 --- /dev/null +++ b/net-misc/tor/tor-0.2.9.6_rc.ebuild @@ -0,0 +1,83 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="5" + +inherit eutils 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" +KEYWORDS="~amd64 ~arm ~mips ~ppc ~ppc64 ~sparc ~x86 ~ppc-macos" +IUSE="libressl scrypt seccomp selinux systemd tor-hardening test web" + +DEPEND=" + app-text/asciidoc + dev-libs/libevent[ssl] + sys-libs/zlib + !libressl? ( dev-libs/openssl:0=[-bindist] ) + libressl? ( dev-libs/libressl:0= ) + scrypt? ( app-crypt/libscrypt ) + seccomp? ( sys-libs/libseccomp ) + systemd? ( sys-apps/systemd )" +RDEPEND="${DEPEND} + selinux? ( sec-policy/selinux-tor )" + +pkg_setup() { + enewgroup tor + enewuser tor -1 -1 /var/lib/tor tor +} + +src_prepare() { + epatch "${FILESDIR}"/${PN}-0.2.7.4-torrc.sample.patch + epatch_user +} + +src_configure() { + # Upstream isn't sure of all the user provided CFLAGS that + # will break tor, but does recommend against -fstrict-aliasing. + # We'll filter-flags them here as we encounter them. + filter-flags -fstrict-aliasing + + econf \ + --enable-system-torrc \ + --enable-asciidoc \ + --docdir="${EPREFIX}"/usr/share/doc/${PF} \ + $(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() { + readme.gentoo_create_doc + + newconfd "${FILESDIR}"/tor.confd tor + newinitd "${FILESDIR}"/tor.initd-r8 tor + systemd_dounit "${FILESDIR}/${PN}.service" + systemd_dotmpfilesd "${FILESDIR}/${PN}.conf" + + emake DESTDIR="${D}" install + + keepdir /var/lib/tor + + dodoc -r README ChangeLog ReleaseNotes doc/HACKING + + fperms 750 /var/lib/tor + fowners tor:tor /var/lib/tor + + insinto /etc/tor/ + newins "${FILESDIR}"/torrc-r1 torrc +} |