diff options
author | Anthony G. Basile <blueness@gentoo.org> | 2016-08-24 15:07:01 -0400 |
---|---|---|
committer | Anthony G. Basile <blueness@gentoo.org> | 2016-08-24 15:07:01 -0400 |
commit | d4d4a120dc3023efbce7b82d590fad79a53a41fa (patch) | |
tree | 0440ed6ed24a80d09ba81aada67654629e12300c /net-misc/tor | |
parent | sys-devel/llvm: Remove unnecessary gtest patch (diff) | |
download | gentoo-d4d4a120dc3023efbce7b82d590fad79a53a41fa.tar.gz gentoo-d4d4a120dc3023efbce7b82d590fad79a53a41fa.tar.bz2 gentoo-d4d4a120dc3023efbce7b82d590fad79a53a41fa.zip |
net-misc/tor: version bump to 0.2.8.7 and 0.2.9.2_alpha
Package-Manager: portage-2.2.28
Diffstat (limited to 'net-misc/tor')
-rw-r--r-- | net-misc/tor/Manifest | 2 | ||||
-rw-r--r-- | net-misc/tor/tor-0.2.8.7.ebuild | 87 | ||||
-rw-r--r-- | net-misc/tor/tor-0.2.9.2_alpha.ebuild | 85 |
3 files changed, 174 insertions, 0 deletions
diff --git a/net-misc/tor/Manifest b/net-misc/tor/Manifest index 8b103e01f5b4..b6920eae873b 100644 --- a/net-misc/tor/Manifest +++ b/net-misc/tor/Manifest @@ -1,3 +1,5 @@ DIST tor-0.2.7.6.tar.gz 4869754 SHA256 493a8679f904503048114aca6467faef56861206bab8283d858f37141d95105d SHA512 9b0dbfabe6cd05189b179da24bfaa73b89ab237775e3b5b0ebc0a22ee98909e9b13e55841a466f04000e0ff876c15f76515ff46abca28d05eeddbdc52f183afc WHIRLPOOL 03adf1d113049ad0b7df11f4d7f2d21f2a4582fcf51046534666b748f8d2dae383fa9e9cc2b44a2388f993d21681801bff33cc2a0a9cb5aaa7cfb9600f62e4ad DIST tor-0.2.8.6.tar.gz 5163500 SHA256 3dc9fc02f7cd22ed5fce707e0d9b26a72b1bd0976766a804cb13078d32e3ab5a SHA512 2a550fa82135b3d5b0ae3c9e11d0fee1053a6b70e1dfd1921934bce280dc2a130966d541783f5f1a2d9f3c1ba87cec301d0d29acd9fbeaf47c0f206447d1bedc WHIRLPOOL dce56253ff0420dfceb66a9ade22318472f7161671039fe276a23000b85ec4fec749f8a7cf9b847dffb4f915e04fb6acb746413169e5b25f4becf1f65f997233 +DIST tor-0.2.8.7.tar.gz 5179093 SHA256 ae44e2b699e82db7ff318432fd558dfa941ad154e4055f16d208514951742fc6 SHA512 79156110804497509564d53a806dc8237e97755556bbaaed83d0f6a3470942a480e53693a7192996bad2b33fe1f77f60eb45e8122af9bfdc4a8f12b943cbc660 WHIRLPOOL 7223eb53f548f4ecbb96a74b809b84772faf9dbf4741ffcdda7872de9c32029f498a0a4f5e0384c64e1f6c9108292ad878bf0630c0b52766fe4b358131a8f098 DIST tor-0.2.9.1-alpha.tar.gz 5284721 SHA256 1a1b57af6bb47ecb62e4c60e2ceecb5609b558b1fdd87c86a91571d1601ba3f2 SHA512 3f66a679ece3434e772e8481a63032099c4c9e9e9c1c4a8450328551c6638021396bb7934fa1bf3802c14228a7fc3be3118ed399bfd4858b89ffa3fac54ab69c WHIRLPOOL ee7a961d43307b872cc6e4acb9828c8cd1ef13251589defb59e0f86e7225bb1f1dd7e6b131f1478c26d68756d67dc099211508e0e95b9863c46769ffaa1cac07 +DIST tor-0.2.9.2-alpha.tar.gz 5294923 SHA256 dd93cf6b8531acf68152adbfa2f693cebd1b3254bc6190c920a99cc587944922 SHA512 9baed516ad5dffe61ad0bf1dbd0575e5fdcb369b3afde54b11ab06b23fd7f440a66734828077b1ddf6f7103e12d47eb76ba57da72002c426d4fcc5be8edaf1b1 WHIRLPOOL 790738369837cf30fdffbea047eb3102a408345e87e1bad5552657420ca1d0f7d36f9c45eb5e68bded8bc464d6c42ff116628a4f5a529b6b812a22191a8d4911 diff --git a/net-misc/tor/tor-0.2.8.7.ebuild b/net-misc/tor/tor-0.2.8.7.ebuild new file mode 100644 index 000000000000..aeefa9fc3aa7 --- /dev/null +++ b/net-misc/tor/tor-0.2.8.7.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-r7 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.2_alpha.ebuild b/net-misc/tor/tor-0.2.9.2_alpha.ebuild new file mode 100644 index 000000000000..0f889a958bc9 --- /dev/null +++ b/net-misc/tor/tor-0.2.9.2_alpha.ebuild @@ -0,0 +1,85 @@ +# 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 systemd tor-hardening 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 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 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-r7 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 +} |