From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id F0F3C1395E2 for ; Mon, 5 Dec 2016 22:40:45 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 1D6D4E0C3D; Mon, 5 Dec 2016 22:40:45 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id C8940E0C3D for ; Mon, 5 Dec 2016 22:40:44 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id F0860341026 for ; Mon, 5 Dec 2016 22:40:42 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 31DCA91A for ; Mon, 5 Dec 2016 22:40:41 +0000 (UTC) From: "Anthony G. Basile" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Anthony G. Basile" Message-ID: <1480977619.c7549b71a0b272c6d38d27434879c6c33565315f.blueness@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: net-misc/tor/ X-VCS-Repository: repo/gentoo X-VCS-Files: net-misc/tor/Manifest net-misc/tor/tor-0.2.8.10.ebuild net-misc/tor/tor-0.2.9.6_rc.ebuild X-VCS-Directories: net-misc/tor/ X-VCS-Committer: blueness X-VCS-Committer-Name: Anthony G. Basile X-VCS-Revision: c7549b71a0b272c6d38d27434879c6c33565315f X-VCS-Branch: master Date: Mon, 5 Dec 2016 22:40:41 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 760659ee-5742-4b5c-9ae3-33b0457634ae X-Archives-Hash: 673216cfaade7896602fe53ddc403362 commit: c7549b71a0b272c6d38d27434879c6c33565315f Author: Anthony G. Basile gentoo org> AuthorDate: Mon Dec 5 22:39:36 2016 +0000 Commit: Anthony G. Basile gentoo org> CommitDate: Mon Dec 5 22:40:19 2016 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c7549b71 net-misc/tor: version bumps to 0.2.8.10 and 0.2.9.6_rc Package-Manager: portage-2.3.0 net-misc/tor/Manifest | 2 + net-misc/tor/tor-0.2.8.10.ebuild | 87 ++++++++++++++++++++++++++++++++++++++ net-misc/tor/tor-0.2.9.6_rc.ebuild | 83 ++++++++++++++++++++++++++++++++++++ 3 files changed, 172 insertions(+) diff --git a/net-misc/tor/Manifest b/net-misc/tor/Manifest index de57bb8..e5ba2ed 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 00000000..ee36db7 --- /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 00000000..580de80 --- /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 +}