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 8795813832E for ; Tue, 9 Aug 2016 07:53:28 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id DBCCFE0AC9; Tue, 9 Aug 2016 07:53:23 +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 6F603E0AC9 for ; Tue, 9 Aug 2016 07:53:23 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (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 D1F24340AC7 for ; Tue, 9 Aug 2016 07:53:21 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 041402442 for ; Tue, 9 Aug 2016 07:53:20 +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: <1470729198.eee4f39cc19e4a78b2866a505750e192dca2902c.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.9.1_alpha.ebuild X-VCS-Directories: net-misc/tor/ X-VCS-Committer: blueness X-VCS-Committer-Name: Anthony G. Basile X-VCS-Revision: eee4f39cc19e4a78b2866a505750e192dca2902c X-VCS-Branch: master Date: Tue, 9 Aug 2016 07:53:20 +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: 47fe949f-9d56-492f-ba69-8c2b17bfdedc X-Archives-Hash: 8a588df57a75e847fe889dd01af76925 commit: eee4f39cc19e4a78b2866a505750e192dca2902c Author: Anthony G. Basile gentoo org> AuthorDate: Tue Aug 9 07:53:00 2016 +0000 Commit: Anthony G. Basile gentoo org> CommitDate: Tue Aug 9 07:53:18 2016 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=eee4f39c net-misc/tor: version bump to 0.2.9.1_alpha Package-Manager: portage-2.2.28 net-misc/tor/Manifest | 1 + net-misc/tor/tor-0.2.9.1_alpha.ebuild | 85 +++++++++++++++++++++++++++++++++++ 2 files changed, 86 insertions(+) diff --git a/net-misc/tor/Manifest b/net-misc/tor/Manifest index 93a530b..8b103e0 100644 --- a/net-misc/tor/Manifest +++ b/net-misc/tor/Manifest @@ -1,2 +1,3 @@ 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.9.1-alpha.tar.gz 5284721 SHA256 1a1b57af6bb47ecb62e4c60e2ceecb5609b558b1fdd87c86a91571d1601ba3f2 SHA512 3f66a679ece3434e772e8481a63032099c4c9e9e9c1c4a8450328551c6638021396bb7934fa1bf3802c14228a7fc3be3118ed399bfd4858b89ffa3fac54ab69c WHIRLPOOL ee7a961d43307b872cc6e4acb9828c8cd1ef13251589defb59e0f86e7225bb1f1dd7e6b131f1478c26d68756d67dc099211508e0e95b9863c46769ffaa1cac07 diff --git a/net-misc/tor/tor-0.2.9.1_alpha.ebuild b/net-misc/tor/tor-0.2.9.1_alpha.ebuild new file mode 100644 index 0000000..0f889a9 --- /dev/null +++ b/net-misc/tor/tor-0.2.9.1_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 +}