1 |
commit: a67b7533ea8a894f33159a21a066b26493143b27 |
2 |
Author: Anthony G. Basile <blueness <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Jan 10 06:12:28 2018 +0000 |
4 |
Commit: Anthony G. Basile <blueness <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Jan 10 06:13:52 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a67b7533 |
7 |
|
8 |
net-vpn/tor: version bump to 0.3.2.9 |
9 |
|
10 |
Package-Manager: Portage-2.3.13, Repoman-2.3.3 |
11 |
|
12 |
net-vpn/tor/Manifest | 1 + |
13 |
net-vpn/tor/tor-0.3.2.9.ebuild | 82 ++++++++++++++++++++++++++++++++++++++++++ |
14 |
2 files changed, 83 insertions(+) |
15 |
|
16 |
diff --git a/net-vpn/tor/Manifest b/net-vpn/tor/Manifest |
17 |
index 2cf802a28e0..763329b8ba6 100644 |
18 |
--- a/net-vpn/tor/Manifest |
19 |
+++ b/net-vpn/tor/Manifest |
20 |
@@ -2,3 +2,4 @@ DIST tor-0.3.1.7.tar.gz 6058284 BLAKE2B f2d825c82342cf1ca9354f051d532ef31e1d183b |
21 |
DIST tor-0.3.1.9.tar.gz 6092702 BLAKE2B c009567b5866ff50159fbcbab05462a860c3e66c15599d11d40495d8a1a18fbad610f8ea94492519f2c8b6adfce7f4a54ad3bd2aee2b902ffae7215f35a3d4d5 SHA512 c22557251272595c65b2fade485020d76de16f5bb826d4a47d7bd093b7336dad42e8e2b8a3e0c56d9a10e62f0a5b1596c4b10cd578bf6da17f058f3d4e356f66 |
22 |
DIST tor-0.3.2.7-rc.tar.gz 6313975 BLAKE2B ecfe6832b2e9c81f04218f7ec82a63f23913c1dc0a9ec29113e6432eac69b8cc89a9fc6b7c4147cf26e6de141b22574d3118608194641126d961b5f452179e1b SHA512 989bdd4311521528444f4165455365d3c1f1ef5f6a8846bf08db7f84ab8e986cba47f9dfbd3a03ccb6e3f8d813d69289768170a8fd68916e9d6a21fe0484cf87 |
23 |
DIST tor-0.3.2.8-rc.tar.gz 6345141 BLAKE2B e529847252b819a81e6cce5f5989e72ccb9d8db03221c37e504b47995d36977a67653d59cb7f8378eb3652d256867e3ee319062f9cb6acdcd42a415b08f89954 SHA512 60913c492f903307d485af26ab3752e0058fb97816d62cd29eb8785446bb7eb6f9bd2aca964a0d8c4de039c4d432590dea68c28c4f34eda2f127b50c752be0d4 |
24 |
+DIST tor-0.3.2.9.tar.gz 6250442 BLAKE2B 34f6436d94f105bc0e68fa89bd6b671c84c9a6389010b5741b2da339caaea2e4d549f799aa8c6867eddc90818195c73a4d13cdf7f7003d578779f7e2d9964cfb SHA512 60b8d93eee8d0b04b49a8fa941ea3489e8cd9b3f3923d9da39865caa1f5bce6666c1db06594520aa3726151a54c9c0c30bb8d9b25fb38d7172ffb15a011d6c8c |
25 |
|
26 |
diff --git a/net-vpn/tor/tor-0.3.2.9.ebuild b/net-vpn/tor/tor-0.3.2.9.ebuild |
27 |
new file mode 100644 |
28 |
index 00000000000..57655d96e0e |
29 |
--- /dev/null |
30 |
+++ b/net-vpn/tor/tor-0.3.2.9.ebuild |
31 |
@@ -0,0 +1,82 @@ |
32 |
+# Copyright 1999-2018 Gentoo Foundation |
33 |
+# Distributed under the terms of the GNU General Public License v2 |
34 |
+ |
35 |
+EAPI="6" |
36 |
+ |
37 |
+inherit flag-o-matic readme.gentoo-r1 systemd versionator user |
38 |
+ |
39 |
+MY_PV="$(replace_version_separator 4 -)" |
40 |
+MY_PF="${PN}-${MY_PV}" |
41 |
+DESCRIPTION="Anonymizing overlay network for TCP" |
42 |
+HOMEPAGE="http://www.torproject.org/" |
43 |
+SRC_URI="https://www.torproject.org/dist/${MY_PF}.tar.gz |
44 |
+ https://archive.torproject.org/tor-package-archive/${MY_PF}.tar.gz" |
45 |
+S="${WORKDIR}/${MY_PF}" |
46 |
+ |
47 |
+LICENSE="BSD GPL-2" |
48 |
+SLOT="0" |
49 |
+# We need to keyword app-arch/zstd |
50 |
+#KEYWORDS="~amd64 ~arm ~mips ~ppc ~ppc64 ~sparc ~x86 ~ppc-macos" |
51 |
+KEYWORDS="~amd64 ~arm ~mips ~ppc ~ppc64 ~x86 ~ppc-macos" |
52 |
+IUSE="libressl lzma scrypt seccomp selinux systemd tor-hardening test web zstd" |
53 |
+ |
54 |
+DEPEND=" |
55 |
+ app-text/asciidoc |
56 |
+ dev-libs/libevent[ssl] |
57 |
+ sys-libs/zlib |
58 |
+ !libressl? ( dev-libs/openssl:0=[-bindist] ) |
59 |
+ libressl? ( dev-libs/libressl:0= ) |
60 |
+ lzma? ( app-arch/xz-utils ) |
61 |
+ scrypt? ( app-crypt/libscrypt ) |
62 |
+ seccomp? ( sys-libs/libseccomp ) |
63 |
+ systemd? ( sys-apps/systemd ) |
64 |
+ zstd? ( app-arch/zstd )" |
65 |
+RDEPEND="${DEPEND} |
66 |
+ selinux? ( sec-policy/selinux-tor )" |
67 |
+ |
68 |
+PATCHES=( |
69 |
+ "${FILESDIR}"/${PN}-0.2.7.4-torrc.sample.patch |
70 |
+) |
71 |
+ |
72 |
+DOCS=( README ChangeLog ReleaseNotes doc/HACKING ) |
73 |
+ |
74 |
+pkg_setup() { |
75 |
+ enewgroup tor |
76 |
+ enewuser tor -1 -1 /var/lib/tor tor |
77 |
+} |
78 |
+ |
79 |
+src_configure() { |
80 |
+ econf \ |
81 |
+ --localstatedir="${EPREFIX}/var" \ |
82 |
+ --enable-system-torrc \ |
83 |
+ --enable-asciidoc \ |
84 |
+ --disable-libfuzzer \ |
85 |
+ --disable-rust \ |
86 |
+ $(use_enable lzma) \ |
87 |
+ $(use_enable scrypt libscrypt) \ |
88 |
+ $(use_enable seccomp) \ |
89 |
+ $(use_enable systemd) \ |
90 |
+ $(use_enable tor-hardening gcc-hardening) \ |
91 |
+ $(use_enable tor-hardening linker-hardening) \ |
92 |
+ $(use_enable web tor2web-mode) \ |
93 |
+ $(use_enable test unittests) \ |
94 |
+ $(use_enable test coverage) \ |
95 |
+ $(use_enable zstd) |
96 |
+} |
97 |
+ |
98 |
+src_install() { |
99 |
+ default |
100 |
+ readme.gentoo_create_doc |
101 |
+ |
102 |
+ newconfd "${FILESDIR}"/tor.confd tor |
103 |
+ newinitd "${FILESDIR}"/tor.initd-r8 tor |
104 |
+ systemd_dounit contrib/dist/tor.service |
105 |
+ |
106 |
+ keepdir /var/lib/tor |
107 |
+ |
108 |
+ fperms 750 /var/lib/tor |
109 |
+ fowners tor:tor /var/lib/tor |
110 |
+ |
111 |
+ insinto /etc/tor/ |
112 |
+ newins "${FILESDIR}"/torrc-r1 torrc |
113 |
+} |