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 4B58A1396D0 for ; Thu, 5 Oct 2017 11:22:29 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 87E042BC018; Thu, 5 Oct 2017 11:22:28 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 580B22BC018 for ; Thu, 5 Oct 2017 11:22:28 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 2704D341784 for ; Thu, 5 Oct 2017 11:22:27 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id BD3E5746E for ; Thu, 5 Oct 2017 11:22:25 +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: <1507202538.4ffa712a8ea0d7e03232f72dbe4354e93ab9c1e0.blueness@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: net-vpn/tor/ X-VCS-Repository: repo/gentoo X-VCS-Files: net-vpn/tor/Manifest net-vpn/tor/tor-0.3.2.2_alpha.ebuild X-VCS-Directories: net-vpn/tor/ X-VCS-Committer: blueness X-VCS-Committer-Name: Anthony G. Basile X-VCS-Revision: 4ffa712a8ea0d7e03232f72dbe4354e93ab9c1e0 X-VCS-Branch: master Date: Thu, 5 Oct 2017 11:22:25 +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: a5222bc2-10bd-474e-8972-3a98a652cb53 X-Archives-Hash: 57a7f79c05be5510ae69af2f14efaaf8 commit: 4ffa712a8ea0d7e03232f72dbe4354e93ab9c1e0 Author: Anthony G. Basile gentoo org> AuthorDate: Thu Oct 5 11:21:07 2017 +0000 Commit: Anthony G. Basile gentoo org> CommitDate: Thu Oct 5 11:22:18 2017 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4ffa712a net-vpn/tor: version bump to 0.3.2.2_alpha Package-Manager: Portage-2.3.8, Repoman-2.3.1 net-vpn/tor/Manifest | 1 + net-vpn/tor/tor-0.3.2.2_alpha.ebuild | 80 ++++++++++++++++++++++++++++++++++++ 2 files changed, 81 insertions(+) diff --git a/net-vpn/tor/Manifest b/net-vpn/tor/Manifest index 7981723a0f2..3e85b19447c 100644 --- a/net-vpn/tor/Manifest +++ b/net-vpn/tor/Manifest @@ -4,3 +4,4 @@ DIST tor-0.3.0.8.tar.gz 5796845 SHA256 663a3ba7b8a124c0f8a7351eaa2dda6fd518de3f3 DIST tor-0.3.1.6-rc.tar.gz 6029128 SHA256 d1548e28e1f82e2eb4a95f2334f4809383f173b32e57ab628d76b088f10ca6fd SHA512 9a8f677fb01ca5741c19b9b61aab08a5ce75eb9aaf863989cb103559fe5d71bf517b4b6430eba3cfd1f909a1fdf01cd5d6c7c43da43a2db9c2e4f2704e7a6852 WHIRLPOOL 13dbc9ff260062d94cf4aec5f2fbda35be0288e5a08b10fcd9941d91d841813f155a38f79bfcf1211ff3557685a9f951bfcf8904d10651b85c0ae866d1a0bcfa DIST tor-0.3.1.7.tar.gz 6058284 SHA256 1df5dd4894bb2f5e0dc96c466955146353cf33ac50cd997cfc1b28ea3ed9c08f SHA512 a835526984187fad88cffc39ea8f6a4b61d5f8d2579b5a66425612607a22ff82e0f9da96e029e134e04d25ae0f59a1b4f771e9e8c19ebb563e1a0f5b3a3849e4 WHIRLPOOL 83aaf33aeaa41d165fd11937fea30fe9cd5a7191aa2a0d801b0dcb2533f6beaefa2fc47356127310d84e7eaf9990e0d264992726416b5129272bdce8cfb75714 DIST tor-0.3.2.1-alpha.tar.gz 6241078 SHA256 a2ce9c0eb0eaf1a478bb8cba4b809b9e4b65dd28a49ff26f78d3b3ea06126728 SHA512 00c49fef3cf5924578bae1185ca5fc56e53da501f9f82760a6e5369ecd0a8d3e792934e6e01955fc9de63f8c08d27fa662dd072b3c05234b5553cb951f75dcc3 WHIRLPOOL 743730c1b315542a5cf7f4e9e347bd9d2f9ef611ad186fa8823bd1426134a7fd16aa1969a2f545ba98306a27d9ede81388cc1c397f1e92b84861e0774238f8c4 +DIST tor-0.3.2.2-alpha.tar.gz 6257177 SHA256 948f82246370eadf2d52a5d1797fa8966e5238d28de5ec69120407f22d59e774 SHA512 07c8937115df16bf67c765e66920ea11ba222caa70897ab3a96db55f415a3d7bbc88acc3385ac4195a61ba902ae1ca86d8ddfaca652b44bfada5949f9620a665 WHIRLPOOL 65bac7bc9ccace3ab223b6011a404eccc730e7750e553362160ea9a8fe7cf6aabbe98afe33fe43c69af9de827812eb2f071366fd72e90260ce058653f6121784 diff --git a/net-vpn/tor/tor-0.3.2.2_alpha.ebuild b/net-vpn/tor/tor-0.3.2.2_alpha.ebuild new file mode 100644 index 00000000000..2e54066d6ba --- /dev/null +++ b/net-vpn/tor/tor-0.3.2.2_alpha.ebuild @@ -0,0 +1,80 @@ +# 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 +}