1 |
commit: 96f47684ebaca692e3b648cf4b0a9b6e7b5be342 |
2 |
Author: Anthony G. Basile <blueness <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu Nov 23 23:23:19 2017 +0000 |
4 |
Commit: Anthony G. Basile <blueness <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Nov 23 23:23:35 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=96f47684 |
7 |
|
8 |
net-vpn/tor: version bump alpha branch to 0.3.2.5 |
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.5_alpha.ebuild | 80 ++++++++++++++++++++++++++++++++++++ |
14 |
2 files changed, 81 insertions(+) |
15 |
|
16 |
diff --git a/net-vpn/tor/Manifest b/net-vpn/tor/Manifest |
17 |
index 07481ec2080..1f6579c2155 100644 |
18 |
--- a/net-vpn/tor/Manifest |
19 |
+++ b/net-vpn/tor/Manifest |
20 |
@@ -3,3 +3,4 @@ DIST tor-0.3.0.12.tar.gz 5892571 SHA256 791115f5e17cacbf86a5093ec66774612e235e08 |
21 |
DIST tor-0.3.1.7.tar.gz 6058284 SHA256 1df5dd4894bb2f5e0dc96c466955146353cf33ac50cd997cfc1b28ea3ed9c08f SHA512 a835526984187fad88cffc39ea8f6a4b61d5f8d2579b5a66425612607a22ff82e0f9da96e029e134e04d25ae0f59a1b4f771e9e8c19ebb563e1a0f5b3a3849e4 WHIRLPOOL 83aaf33aeaa41d165fd11937fea30fe9cd5a7191aa2a0d801b0dcb2533f6beaefa2fc47356127310d84e7eaf9990e0d264992726416b5129272bdce8cfb75714 |
22 |
DIST tor-0.3.1.8.tar.gz 6073611 SHA256 7df6298860a59f410ff8829cf7905a50c8b3a9094d51a8553603b401e4b5b1a1 SHA512 0c2d5f6e444815f0812b0f8bb2102f2013c890375cf20b62025d0704e8ee7742bbf7173764795e3e63606a47d0695a5a982c318c55a30ca50600eb6de5b94b16 WHIRLPOOL 5114fd6028b72483ca2769ed55685f9c70822021dd6a89016c276938fefafdef5ae457e946d7609b0eaa12caeddbe9f23c0ccd4b0cb7a40e484410f30186e00d |
23 |
DIST tor-0.3.2.4-alpha.tar.gz 6282717 SHA256 c3ea7826b783d4357a624248d8448480f27838ceb3c1bba02a4a0e5d36564fba SHA512 8ed5cf13cdaabd92034a1bb4580f112b09a2369a5d8dc05b788b1a4c8c4a9b683e4329a7fe2a03b5e7491c2fbbde6a3bd359e821e04f36cf553adef192c01df2 WHIRLPOOL a99a2d76ce9a17a5ac3fb45fab8729248e2e807d3ee59d0c6818f1f718fa9d65018b2d77545b6138d4a09a37c7aef375b7c82e651956d718d3a74b0bc22fa099 |
24 |
+DIST tor-0.3.2.5-alpha.tar.gz 6310699 BLAKE2B 47d2916cec19f10d69abffdafd2798b2ae614dbc579c1afff8c6db74ddba902081315a69a8245ce1c58720e8bc1a4db56d764abbcb78a7ae48ca5cc5ca29eb20 SHA512 33528ad98cc655ac0b795509b1ea88e1b94a227275dd028631205a9dda703bbceb607dac634b4a90c8add6614f3fc3112249d957512297b2cc5ee4611da5aa51 |
25 |
|
26 |
diff --git a/net-vpn/tor/tor-0.3.2.5_alpha.ebuild b/net-vpn/tor/tor-0.3.2.5_alpha.ebuild |
27 |
new file mode 100644 |
28 |
index 00000000000..2e54066d6ba |
29 |
--- /dev/null |
30 |
+++ b/net-vpn/tor/tor-0.3.2.5_alpha.ebuild |
31 |
@@ -0,0 +1,80 @@ |
32 |
+# Copyright 1999-2017 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 scrypt libscrypt) \ |
87 |
+ $(use_enable seccomp) \ |
88 |
+ $(use_enable systemd) \ |
89 |
+ $(use_enable tor-hardening gcc-hardening) \ |
90 |
+ $(use_enable tor-hardening linker-hardening) \ |
91 |
+ $(use_enable web tor2web-mode) \ |
92 |
+ $(use_enable test unittests) \ |
93 |
+ $(use_enable test coverage) |
94 |
+} |
95 |
+ |
96 |
+src_install() { |
97 |
+ default |
98 |
+ readme.gentoo_create_doc |
99 |
+ |
100 |
+ newconfd "${FILESDIR}"/tor.confd tor |
101 |
+ newinitd "${FILESDIR}"/tor.initd-r8 tor |
102 |
+ systemd_dounit contrib/dist/tor.service |
103 |
+ |
104 |
+ keepdir /var/lib/tor |
105 |
+ |
106 |
+ fperms 750 /var/lib/tor |
107 |
+ fowners tor:tor /var/lib/tor |
108 |
+ |
109 |
+ insinto /etc/tor/ |
110 |
+ newins "${FILESDIR}"/torrc-r1 torrc |
111 |
+} |