1 |
commit: 068ab055872299489d488ed26f75c3020d01f372 |
2 |
Author: Anthony G. Basile <blueness <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Sep 6 12:15:00 2017 +0000 |
4 |
Commit: Anthony G. Basile <blueness <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Sep 6 12:15:00 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=068ab055 |
7 |
|
8 |
net-vpn/tor: version bump alpha branch to 0.3.1.6_rc |
9 |
|
10 |
Package-Manager: Portage-2.3.6, Repoman-2.3.1 |
11 |
|
12 |
net-vpn/tor/Manifest | 1 + |
13 |
net-vpn/tor/tor-0.3.1.6_rc.ebuild | 80 +++++++++++++++++++++++++++++++++++++++ |
14 |
2 files changed, 81 insertions(+) |
15 |
|
16 |
diff --git a/net-vpn/tor/Manifest b/net-vpn/tor/Manifest |
17 |
index d4ee6f6b0b1..626a45c1cd5 100644 |
18 |
--- a/net-vpn/tor/Manifest |
19 |
+++ b/net-vpn/tor/Manifest |
20 |
@@ -3,3 +3,4 @@ DIST tor-0.3.0.10.tar.gz 5845205 SHA256 9a8e6e49a1688dae64dca10f84a414ec9a4f393f |
21 |
DIST tor-0.3.0.8.tar.gz 5796845 SHA256 663a3ba7b8a124c0f8a7351eaa2dda6fd518de3f3c4ee28fff869bfb03860d48 SHA512 93267e51578266f6f6eea57e7fcd7ec5f8fbeb2e880675956724a0b1c1dfe1826945aaba4ca3075b577505d0ce70fd7def2f2a9e06af78f52190e15a7aad2ee1 WHIRLPOOL a301811a7cf7dbd444a16802dcece32dbd679895e6bf45ad7c51787171a4d80d51a438585e5a1f9e1da55405537b706fafc3a6565f72bf08e89608a4fde98b85 |
22 |
DIST tor-0.3.0.9.tar.gz 5811303 SHA256 48d4880bf6ccb19ce9af2abde6946d7cf0635cc807548badbf4a221a79581e42 SHA512 19b662840ee0c6aaba04c6db7f172def070d0773553f90bc3d1f210266bbcb572b3dd1f383359e36583103235a85a0a4052cf7299a534fde137bee41376ffa02 WHIRLPOOL dc834c84207714a1fe9376dabe34651e506e93526e7f94de822d3691c4947c2332635b10127be5fa23d31adc5f9e1bc93ad65d1dcb7241a68a0459dffa2c6cb6 |
23 |
DIST tor-0.3.1.5-alpha.tar.gz 5997514 SHA256 04281b87e8b97517ba52232cd58de06a816f5a136b9b7a7316be878b36df8313 SHA512 5c96b0978e8cb15bd76dc171079451439c4e25d2fbd6f817d58a7bd786d494a7ed7e18931acf046cfb9ee12c5342e212b1faa69b8eb9207db1e791dcc4f3221d WHIRLPOOL 909b31e2d3a774781e94ffdd7a892bdde931c8a876fd811fd745e2f03445be2e735df1b049615a7be3f4a193fe40d317bd75376d164abcf3d6eee126d96049e1 |
24 |
+DIST tor-0.3.1.6-rc.tar.gz 6029128 SHA256 d1548e28e1f82e2eb4a95f2334f4809383f173b32e57ab628d76b088f10ca6fd SHA512 9a8f677fb01ca5741c19b9b61aab08a5ce75eb9aaf863989cb103559fe5d71bf517b4b6430eba3cfd1f909a1fdf01cd5d6c7c43da43a2db9c2e4f2704e7a6852 WHIRLPOOL 13dbc9ff260062d94cf4aec5f2fbda35be0288e5a08b10fcd9941d91d841813f155a38f79bfcf1211ff3557685a9f951bfcf8904d10651b85c0ae866d1a0bcfa |
25 |
|
26 |
diff --git a/net-vpn/tor/tor-0.3.1.6_rc.ebuild b/net-vpn/tor/tor-0.3.1.6_rc.ebuild |
27 |
new file mode 100644 |
28 |
index 00000000000..2e54066d6ba |
29 |
--- /dev/null |
30 |
+++ b/net-vpn/tor/tor-0.3.1.6_rc.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 |
+} |