1 |
commit: 48e3d30f8fe22b0c7e8d28a0f297b063a228ec02 |
2 |
Author: Anthony G. Basile <blueness <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Mar 28 23:16:00 2016 +0000 |
4 |
Commit: Anthony G. Basile <blueness <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Mar 28 23:18:11 2016 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=48e3d30f |
7 |
|
8 |
net-misc/tor: version bump alpha branch to 0.2.8.2 |
9 |
|
10 |
Package-Manager: portage-2.2.26 |
11 |
|
12 |
net-misc/tor/Manifest | 1 + |
13 |
net-misc/tor/tor-0.2.8.2_alpha.ebuild | 87 +++++++++++++++++++++++++++++++++++ |
14 |
2 files changed, 88 insertions(+) |
15 |
|
16 |
diff --git a/net-misc/tor/Manifest b/net-misc/tor/Manifest |
17 |
index 345b3b5..7b14947 100644 |
18 |
--- a/net-misc/tor/Manifest |
19 |
+++ b/net-misc/tor/Manifest |
20 |
@@ -1,3 +1,4 @@ |
21 |
DIST tor-0.2.6.10.tar.gz 3587211 SHA256 0542c0efe43b86619337862fa7eb02c7a74cb23a79d587090628a5f0f1224b8d SHA512 4d1fd794d48ada725af829e1c1f3f3b7d8d04f2d1dd22e4f175ddc49401834f2001f04d78b011cdc7e953fe44972f2859d87078489a08ae126b44f93f6b9a438 WHIRLPOOL ba2685454ecb0dd94c568e05fb14526cd06beea6e9c6f7b27328f85c555392b6f42f35dc7860ae25299a830c7f6643963a9b9719a2557c28a7216019c96caf21 |
22 |
DIST tor-0.2.7.6.tar.gz 4869754 SHA256 493a8679f904503048114aca6467faef56861206bab8283d858f37141d95105d SHA512 9b0dbfabe6cd05189b179da24bfaa73b89ab237775e3b5b0ebc0a22ee98909e9b13e55841a466f04000e0ff876c15f76515ff46abca28d05eeddbdc52f183afc WHIRLPOOL 03adf1d113049ad0b7df11f4d7f2d21f2a4582fcf51046534666b748f8d2dae383fa9e9cc2b44a2388f993d21681801bff33cc2a0a9cb5aaa7cfb9600f62e4ad |
23 |
DIST tor-0.2.8.1-alpha.tar.gz 5021137 SHA256 6e41c12ce13ad9997b42a15ed2350de86682694bfd9d4c98dae874395bbe3ea3 SHA512 ed6bcb0f64f1b829d5c893d582c390a0e2e5b080932639798a7fce8f0a04bf00d26b81a4a2eafe6695787261dddc755e7f178a05166586a5e459460322c62499 WHIRLPOOL 7c3376f2365bb154bd02cb086c4a51bbc9b94d14ba835bbe6e365f86181cfa26307789996d34fab263f10df7e6e34401c03cb8901def86bf73057b6e12ab7e1c |
24 |
+DIST tor-0.2.8.2-alpha.tar.gz 5073910 SHA256 4756a04dea76395f5caf89de3cd75f05cc8d43576ef0f966cea9259b16eb1628 SHA512 a9bb1910ca0aa57aa4fa8a4c0a20b33d085ac294ab243ae165fe82102e98af56422d2c6a3eaeddb8fd6b2e1ce92058524748716dd67b75a461ab0c6f2a0cf058 WHIRLPOOL 34815b02317b8543243446adc4c5a547ae34d5785d97b6aba3fc41de8c337215f26670564e808246e4ae0da57f5ed20142d4a465093d91da5cb85740d502a4a7 |
25 |
|
26 |
diff --git a/net-misc/tor/tor-0.2.8.2_alpha.ebuild b/net-misc/tor/tor-0.2.8.2_alpha.ebuild |
27 |
new file mode 100644 |
28 |
index 0000000..aeefa9f |
29 |
--- /dev/null |
30 |
+++ b/net-misc/tor/tor-0.2.8.2_alpha.ebuild |
31 |
@@ -0,0 +1,87 @@ |
32 |
+# Copyright 1999-2016 Gentoo Foundation |
33 |
+# Distributed under the terms of the GNU General Public License v2 |
34 |
+# $Id$ |
35 |
+ |
36 |
+EAPI="5" |
37 |
+ |
38 |
+inherit eutils flag-o-matic readme.gentoo-r1 systemd versionator user |
39 |
+ |
40 |
+MY_PV="$(replace_version_separator 4 -)" |
41 |
+MY_PF="${PN}-${MY_PV}" |
42 |
+DESCRIPTION="Anonymizing overlay network for TCP" |
43 |
+HOMEPAGE="http://www.torproject.org/" |
44 |
+SRC_URI="https://www.torproject.org/dist/${MY_PF}.tar.gz |
45 |
+ https://archive.torproject.org/tor-package-archive/${MY_PF}.tar.gz" |
46 |
+S="${WORKDIR}/${MY_PF}" |
47 |
+ |
48 |
+LICENSE="BSD GPL-2" |
49 |
+SLOT="0" |
50 |
+KEYWORDS="~amd64 ~arm ~mips ~ppc ~ppc64 ~sparc ~x86 ~ppc-macos" |
51 |
+IUSE="-bufferevents libressl scrypt seccomp selinux stats systemd tor-hardening transparent-proxy test web" |
52 |
+ |
53 |
+DEPEND=" |
54 |
+ app-text/asciidoc |
55 |
+ dev-libs/libevent |
56 |
+ sys-libs/zlib |
57 |
+ bufferevents? ( dev-libs/libevent[ssl] ) |
58 |
+ !libressl? ( dev-libs/openssl:0=[-bindist] ) |
59 |
+ libressl? ( dev-libs/libressl:0= ) |
60 |
+ scrypt? ( app-crypt/libscrypt ) |
61 |
+ seccomp? ( sys-libs/libseccomp ) |
62 |
+ systemd? ( sys-apps/systemd )" |
63 |
+RDEPEND="${DEPEND} |
64 |
+ selinux? ( sec-policy/selinux-tor )" |
65 |
+ |
66 |
+pkg_setup() { |
67 |
+ enewgroup tor |
68 |
+ enewuser tor -1 -1 /var/lib/tor tor |
69 |
+} |
70 |
+ |
71 |
+src_prepare() { |
72 |
+ epatch "${FILESDIR}"/${PN}-0.2.7.4-torrc.sample.patch |
73 |
+ epatch_user |
74 |
+} |
75 |
+ |
76 |
+src_configure() { |
77 |
+ # Upstream isn't sure of all the user provided CFLAGS that |
78 |
+ # will break tor, but does recommend against -fstrict-aliasing. |
79 |
+ # We'll filter-flags them here as we encounter them. |
80 |
+ filter-flags -fstrict-aliasing |
81 |
+ |
82 |
+ econf \ |
83 |
+ --enable-system-torrc \ |
84 |
+ --enable-asciidoc \ |
85 |
+ --docdir="${EPREFIX}"/usr/share/doc/${PF} \ |
86 |
+ $(use_enable stats instrument-downloads) \ |
87 |
+ $(use_enable bufferevents) \ |
88 |
+ $(use_enable scrypt libscrypt) \ |
89 |
+ $(use_enable seccomp) \ |
90 |
+ $(use_enable systemd) \ |
91 |
+ $(use_enable tor-hardening gcc-hardening) \ |
92 |
+ $(use_enable tor-hardening linker-hardening) \ |
93 |
+ $(use_enable transparent-proxy transparent) \ |
94 |
+ $(use_enable web tor2web-mode) \ |
95 |
+ $(use_enable test unittests) \ |
96 |
+ $(use_enable test coverage) |
97 |
+} |
98 |
+ |
99 |
+src_install() { |
100 |
+ readme.gentoo_create_doc |
101 |
+ |
102 |
+ newconfd "${FILESDIR}"/tor.confd tor |
103 |
+ newinitd "${FILESDIR}"/tor.initd-r7 tor |
104 |
+ systemd_dounit "${FILESDIR}/${PN}.service" |
105 |
+ systemd_dotmpfilesd "${FILESDIR}/${PN}.conf" |
106 |
+ |
107 |
+ emake DESTDIR="${D}" install |
108 |
+ |
109 |
+ keepdir /var/lib/tor |
110 |
+ |
111 |
+ dodoc -r README ChangeLog ReleaseNotes doc/HACKING |
112 |
+ |
113 |
+ fperms 750 /var/lib/tor |
114 |
+ fowners tor:tor /var/lib/tor |
115 |
+ |
116 |
+ insinto /etc/tor/ |
117 |
+ newins "${FILESDIR}"/torrc-r1 torrc |
118 |
+} |