diff options
author | Anthony G. Basile <blueness@gentoo.org> | 2017-06-30 10:23:54 -0400 |
---|---|---|
committer | Anthony G. Basile <blueness@gentoo.org> | 2017-06-30 10:25:08 -0400 |
commit | 9a485b92928f4dda26e92faba4779e7588bdc917 (patch) | |
tree | 4ea9f458fc4143859083a7e3e805445be0685620 /net-vpn | |
parent | app-cdr/bchunk: EAPI 6 bump and keyword for ~x64-macos. (diff) | |
download | gentoo-9a485b92928f4dda26e92faba4779e7588bdc917.tar.gz gentoo-9a485b92928f4dda26e92faba4779e7588bdc917.tar.bz2 gentoo-9a485b92928f4dda26e92faba4779e7588bdc917.zip |
net-vpn/tor: version bumps to 0.3.0.9 and 0.3.1.4_alpha
Package-Manager: Portage-2.3.6, Repoman-2.3.1
Diffstat (limited to 'net-vpn')
-rw-r--r-- | net-vpn/tor/Manifest | 2 | ||||
-rw-r--r-- | net-vpn/tor/tor-0.3.0.9.ebuild | 74 | ||||
-rw-r--r-- | net-vpn/tor/tor-0.3.1.4_alpha.ebuild | 80 |
3 files changed, 156 insertions, 0 deletions
diff --git a/net-vpn/tor/Manifest b/net-vpn/tor/Manifest index dab787d003f5..3736f4b27c72 100644 --- a/net-vpn/tor/Manifest +++ b/net-vpn/tor/Manifest @@ -1,4 +1,6 @@ DIST tor-0.2.9.10.tar.gz 5557586 SHA256 d611283e1fb284b5f884f8c07e7d3151016851848304f56cfdf3be2a88bd1341 SHA512 c18c4faf18406f04165136f0d70e6bc2896f3f02770beadaab5e7a99441d71b897ae3a14a046eaec99a1bd6d8ad7758b28f7d652588842b77621cdc95d4fb7e1 WHIRLPOOL 8a12ab4bd148c6cf57e4e21ae29ccff46b9f687a1646f4453b0ba312b97b78d0c2a428f3178f47e58ec012eb2edce53efff4e07d7f0418d7ccc4ded3856a84a0 DIST tor-0.2.9.11.tar.gz 5584296 SHA256 c1959bebff9a546a54cbedb58c8289a42441991af417d2d16f7b336be8903221 SHA512 bb7ceb416c6cdcf127cb3c45226aa0ce787fba85b6fb59e9c222193c6f2522f2ef85ee0f5062554a4d301ac49d20b68fd82c7ce00406ceae0d00f6ac4107d074 WHIRLPOOL 944657830ed485dc321a0f94bccda30816ad42e1ec1527bdd1b3688437d7df4a0533d16c10c320ae37280d1e00f67591f50964f84b92db1070c47aa85fccb923 DIST tor-0.3.0.8.tar.gz 5796845 SHA256 663a3ba7b8a124c0f8a7351eaa2dda6fd518de3f3c4ee28fff869bfb03860d48 SHA512 93267e51578266f6f6eea57e7fcd7ec5f8fbeb2e880675956724a0b1c1dfe1826945aaba4ca3075b577505d0ce70fd7def2f2a9e06af78f52190e15a7aad2ee1 WHIRLPOOL a301811a7cf7dbd444a16802dcece32dbd679895e6bf45ad7c51787171a4d80d51a438585e5a1f9e1da55405537b706fafc3a6565f72bf08e89608a4fde98b85 +DIST tor-0.3.0.9.tar.gz 5811303 SHA256 48d4880bf6ccb19ce9af2abde6946d7cf0635cc807548badbf4a221a79581e42 SHA512 19b662840ee0c6aaba04c6db7f172def070d0773553f90bc3d1f210266bbcb572b3dd1f383359e36583103235a85a0a4052cf7299a534fde137bee41376ffa02 WHIRLPOOL dc834c84207714a1fe9376dabe34651e506e93526e7f94de822d3691c4947c2332635b10127be5fa23d31adc5f9e1bc93ad65d1dcb7241a68a0459dffa2c6cb6 DIST tor-0.3.1.3-alpha.tar.gz 5946205 SHA256 05b0fd6b1d119d038dc0a4e00261b821e1be0b96c83fbc6251cb25d5435ed9b4 SHA512 72ef78e04d9105e75d72b468ad928321485c34926fe4360224ebe507a5d788527aff76e1d34f6180452cc19f77741a5dbcc3a8676926a94dcebb445fce3d6aa3 WHIRLPOOL febf547e54562a191196462ad5e77dba2b73939337a5929f47d4579f958f8b6793a0114c0c7e96fcfb95e5e3ed48521d06fa410c83609eee877eb78dcbb2eb3a +DIST tor-0.3.1.4-alpha.tar.gz 5964177 SHA256 36ba88bd62f6f630bdba02c6bc348e8176224cec44281f6dacd86c46426c79d1 SHA512 78e62003acfc52a542bb6cffec6081294df9d58d745757c1c3d6a54cca494e62bd6b39396494ca2c2b67bf8f27a6b14f923fca1e02463baca472ecfc6b79a81e WHIRLPOOL 5bdd8477bb33d481ea0b800f0f7003a72cf402ba143489fa94886d1b25047a8c839a2d45378995b69041e1e5c335fedb6db4d33d94bee463294877a7769571d5 diff --git a/net-vpn/tor/tor-0.3.0.9.ebuild b/net-vpn/tor/tor-0.3.0.9.ebuild new file mode 100644 index 000000000000..b103e82a8aed --- /dev/null +++ b/net-vpn/tor/tor-0.3.0.9.ebuild @@ -0,0 +1,74 @@ +# 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" +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 )" + +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 \ + $(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 +} diff --git a/net-vpn/tor/tor-0.3.1.4_alpha.ebuild b/net-vpn/tor/tor-0.3.1.4_alpha.ebuild new file mode 100644 index 000000000000..f60999a441ee --- /dev/null +++ b/net-vpn/tor/tor-0.3.1.4_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 ~ppc ~ppc64 ~x86" +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 +} |