1 |
commit: f73939e587c56c1e422d7809749a34869d2c2d78 |
2 |
Author: Anthony G. Basile <blueness <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Mar 28 23:17:53 2016 +0000 |
4 |
Commit: Anthony G. Basile <blueness <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Mar 28 23:18:20 2016 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f73939e5 |
7 |
|
8 |
net-misc/tor: remove older versions |
9 |
|
10 |
Package-Manager: portage-2.2.26 |
11 |
|
12 |
net-misc/tor/Manifest | 2 - |
13 |
net-misc/tor/metadata.xml | 1 - |
14 |
net-misc/tor/tor-0.2.6.10.ebuild | 103 ---------------------------------- |
15 |
net-misc/tor/tor-0.2.8.1_alpha.ebuild | 87 ---------------------------- |
16 |
4 files changed, 193 deletions(-) |
17 |
|
18 |
diff --git a/net-misc/tor/Manifest b/net-misc/tor/Manifest |
19 |
index 7b14947..2c709d9 100644 |
20 |
--- a/net-misc/tor/Manifest |
21 |
+++ b/net-misc/tor/Manifest |
22 |
@@ -1,4 +1,2 @@ |
23 |
-DIST tor-0.2.6.10.tar.gz 3587211 SHA256 0542c0efe43b86619337862fa7eb02c7a74cb23a79d587090628a5f0f1224b8d SHA512 4d1fd794d48ada725af829e1c1f3f3b7d8d04f2d1dd22e4f175ddc49401834f2001f04d78b011cdc7e953fe44972f2859d87078489a08ae126b44f93f6b9a438 WHIRLPOOL ba2685454ecb0dd94c568e05fb14526cd06beea6e9c6f7b27328f85c555392b6f42f35dc7860ae25299a830c7f6643963a9b9719a2557c28a7216019c96caf21 |
24 |
DIST tor-0.2.7.6.tar.gz 4869754 SHA256 493a8679f904503048114aca6467faef56861206bab8283d858f37141d95105d SHA512 9b0dbfabe6cd05189b179da24bfaa73b89ab237775e3b5b0ebc0a22ee98909e9b13e55841a466f04000e0ff876c15f76515ff46abca28d05eeddbdc52f183afc WHIRLPOOL 03adf1d113049ad0b7df11f4d7f2d21f2a4582fcf51046534666b748f8d2dae383fa9e9cc2b44a2388f993d21681801bff33cc2a0a9cb5aaa7cfb9600f62e4ad |
25 |
-DIST tor-0.2.8.1-alpha.tar.gz 5021137 SHA256 6e41c12ce13ad9997b42a15ed2350de86682694bfd9d4c98dae874395bbe3ea3 SHA512 ed6bcb0f64f1b829d5c893d582c390a0e2e5b080932639798a7fce8f0a04bf00d26b81a4a2eafe6695787261dddc755e7f178a05166586a5e459460322c62499 WHIRLPOOL 7c3376f2365bb154bd02cb086c4a51bbc9b94d14ba835bbe6e365f86181cfa26307789996d34fab263f10df7e6e34401c03cb8901def86bf73057b6e12ab7e1c |
26 |
DIST tor-0.2.8.2-alpha.tar.gz 5073910 SHA256 4756a04dea76395f5caf89de3cd75f05cc8d43576ef0f966cea9259b16eb1628 SHA512 a9bb1910ca0aa57aa4fa8a4c0a20b33d085ac294ab243ae165fe82102e98af56422d2c6a3eaeddb8fd6b2e1ce92058524748716dd67b75a461ab0c6f2a0cf058 WHIRLPOOL 34815b02317b8543243446adc4c5a547ae34d5785d97b6aba3fc41de8c337215f26670564e808246e4ae0da57f5ed20142d4a465093d91da5cb85740d502a4a7 |
27 |
|
28 |
diff --git a/net-misc/tor/metadata.xml b/net-misc/tor/metadata.xml |
29 |
index 42400da..80fbc72 100644 |
30 |
--- a/net-misc/tor/metadata.xml |
31 |
+++ b/net-misc/tor/metadata.xml |
32 |
@@ -8,7 +8,6 @@ |
33 |
<use> |
34 |
<flag name="bufferevents">Use libevent's buffered IO implementation (unstable, buggy)</flag> |
35 |
<flag name="stats">Enable tracking of how much of each kind of resource we download</flag> |
36 |
- <flag name="nat-pmp">Enable NAT Port Mapping Protocol</flag> |
37 |
<flag name="scrypt">Use <pkg>app-crypt/libscrypt</pkg> for the scrypt algorithm</flag> |
38 |
<flag name="tor-hardening">Compile tor with hardening on vanilla compilers/linkers</flag> |
39 |
<flag name="transparent-proxy">Enable transparent proxying</flag> |
40 |
|
41 |
diff --git a/net-misc/tor/tor-0.2.6.10.ebuild b/net-misc/tor/tor-0.2.6.10.ebuild |
42 |
deleted file mode 100644 |
43 |
index f15de90..0000000 |
44 |
--- a/net-misc/tor/tor-0.2.6.10.ebuild |
45 |
+++ /dev/null |
46 |
@@ -1,103 +0,0 @@ |
47 |
-# Copyright 1999-2016 Gentoo Foundation |
48 |
-# Distributed under the terms of the GNU General Public License v2 |
49 |
-# $Id$ |
50 |
- |
51 |
-EAPI="5" |
52 |
- |
53 |
-inherit eutils flag-o-matic readme.gentoo systemd toolchain-funcs versionator user |
54 |
- |
55 |
-MY_PV="$(replace_version_separator 4 -)" |
56 |
-MY_PF="${PN}-${MY_PV}" |
57 |
-DESCRIPTION="Anonymizing overlay network for TCP" |
58 |
-HOMEPAGE="http://www.torproject.org/" |
59 |
-SRC_URI="https://www.torproject.org/dist/${MY_PF}.tar.gz |
60 |
- https://archive.torproject.org/tor-package-archive/${MY_PF}.tar.gz" |
61 |
-S="${WORKDIR}/${MY_PF}" |
62 |
- |
63 |
-LICENSE="BSD GPL-2" |
64 |
-SLOT="0" |
65 |
-KEYWORDS="amd64 arm ~mips ppc ppc64 sparc x86" |
66 |
-IUSE="-bufferevents nat-pmp scrypt seccomp selinux stats systemd tor-hardening transparent-proxy test upnp web" |
67 |
- |
68 |
-DEPEND=" |
69 |
- app-text/asciidoc |
70 |
- dev-libs/libevent |
71 |
- dev-libs/openssl:= |
72 |
- sys-libs/zlib |
73 |
- bufferevents? ( dev-libs/libevent[ssl] ) |
74 |
- nat-pmp? ( net-libs/libnatpmp ) |
75 |
- scrypt? ( app-crypt/libscrypt ) |
76 |
- seccomp? ( sys-libs/libseccomp ) |
77 |
- systemd? ( sys-apps/systemd ) |
78 |
- upnp? ( net-libs/miniupnpc )" |
79 |
-RDEPEND="${DEPEND} |
80 |
- selinux? ( sec-policy/selinux-tor )" |
81 |
- |
82 |
-pkg_setup() { |
83 |
- enewgroup tor |
84 |
- enewuser tor -1 -1 /var/lib/tor tor |
85 |
-} |
86 |
- |
87 |
-src_prepare() { |
88 |
- epatch "${FILESDIR}"/${PN}-0.2.3.14_alpha-torrc.sample.patch |
89 |
- epatch_user |
90 |
-} |
91 |
- |
92 |
-src_configure() { |
93 |
- # Upstream isn't sure of all the user provided CFLAGS that |
94 |
- # will break tor, but does recommend against -fstrict-aliasing. |
95 |
- # We'll filter-flags them here as we encounter them. |
96 |
- filter-flags -fstrict-aliasing |
97 |
- |
98 |
- econf \ |
99 |
- --enable-system-torrc \ |
100 |
- --enable-asciidoc \ |
101 |
- --docdir=/usr/share/doc/${PF} \ |
102 |
- $(use_enable stats instrument-downloads) \ |
103 |
- $(use_enable bufferevents) \ |
104 |
- $(use_enable nat-pmp) \ |
105 |
- $(use_enable scrypt libscrypt) \ |
106 |
- $(use_enable seccomp) \ |
107 |
- $(use_enable systemd) \ |
108 |
- $(use_enable tor-hardening gcc-hardening) \ |
109 |
- $(use_enable tor-hardening linker-hardening) \ |
110 |
- $(use_enable transparent-proxy transparent) \ |
111 |
- $(use_enable upnp) \ |
112 |
- $(use_enable web tor2web-mode) \ |
113 |
- $(use_enable test unittests) \ |
114 |
- $(use_enable test coverage) |
115 |
-} |
116 |
- |
117 |
-src_install() { |
118 |
- readme.gentoo_create_doc |
119 |
- |
120 |
- newconfd "${FILESDIR}"/tor.confd tor |
121 |
- newinitd "${FILESDIR}"/tor.initd-r7 tor |
122 |
- systemd_dounit "${FILESDIR}/${PN}.service" |
123 |
- systemd_dotmpfilesd "${FILESDIR}/${PN}.conf" |
124 |
- |
125 |
- emake DESTDIR="${D}" install |
126 |
- |
127 |
- keepdir /var/lib/tor |
128 |
- |
129 |
- dodoc README ChangeLog ReleaseNotes doc/HACKING |
130 |
- |
131 |
- fperms 750 /var/lib/tor |
132 |
- fowners tor:tor /var/lib/tor |
133 |
- |
134 |
- insinto /etc/tor/ |
135 |
- newins "${FILESDIR}"/torrc-r1 torrc |
136 |
-} |
137 |
- |
138 |
-pkg_postinst() { |
139 |
- readme.gentoo_pkg_postinst |
140 |
- |
141 |
- if [[ $(gcc-major-version) -eq 4 && $(gcc-minor-version) -eq 8 && $(gcc-micro-version) -ge 1 ]] ; then |
142 |
- ewarn "Due to a bug in >=gcc-4.8.1, compiling ${P} with -Os leads to an infinite" |
143 |
- ewarn "loop. See:" |
144 |
- ewarn |
145 |
- ewarn " https://trac.torproject.org/projects/tor/ticket/10259" |
146 |
- ewarn " https://gcc.gnu.org/bugzilla/show_bug.cgi?id=59358" |
147 |
- ewarn |
148 |
- fi |
149 |
-} |
150 |
|
151 |
diff --git a/net-misc/tor/tor-0.2.8.1_alpha.ebuild b/net-misc/tor/tor-0.2.8.1_alpha.ebuild |
152 |
deleted file mode 100644 |
153 |
index 40aac7e..0000000 |
154 |
--- a/net-misc/tor/tor-0.2.8.1_alpha.ebuild |
155 |
+++ /dev/null |
156 |
@@ -1,87 +0,0 @@ |
157 |
-# Copyright 1999-2016 Gentoo Foundation |
158 |
-# Distributed under the terms of the GNU General Public License v2 |
159 |
-# $Id$ |
160 |
- |
161 |
-EAPI="5" |
162 |
- |
163 |
-inherit eutils flag-o-matic readme.gentoo-r1 systemd versionator user |
164 |
- |
165 |
-MY_PV="$(replace_version_separator 4 -)" |
166 |
-MY_PF="${PN}-${MY_PV}" |
167 |
-DESCRIPTION="Anonymizing overlay network for TCP" |
168 |
-HOMEPAGE="http://www.torproject.org/" |
169 |
-SRC_URI="https://www.torproject.org/dist/${MY_PF}.tar.gz |
170 |
- https://archive.torproject.org/tor-package-archive/${MY_PF}.tar.gz" |
171 |
-S="${WORKDIR}/${MY_PF}" |
172 |
- |
173 |
-LICENSE="BSD GPL-2" |
174 |
-SLOT="0" |
175 |
-KEYWORDS="~amd64 ~arm ~mips ~ppc ~ppc64 ~sparc ~x86 ~ppc-macos" |
176 |
-IUSE="-bufferevents libressl scrypt seccomp selinux stats systemd tor-hardening transparent-proxy test web" |
177 |
- |
178 |
-DEPEND=" |
179 |
- app-text/asciidoc |
180 |
- dev-libs/libevent |
181 |
- sys-libs/zlib |
182 |
- bufferevents? ( dev-libs/libevent[ssl] ) |
183 |
- !libressl? ( dev-libs/openssl:0=[-bindist] ) |
184 |
- libressl? ( dev-libs/libressl:= ) |
185 |
- scrypt? ( app-crypt/libscrypt ) |
186 |
- seccomp? ( sys-libs/libseccomp ) |
187 |
- systemd? ( sys-apps/systemd )" |
188 |
-RDEPEND="${DEPEND} |
189 |
- selinux? ( sec-policy/selinux-tor )" |
190 |
- |
191 |
-pkg_setup() { |
192 |
- enewgroup tor |
193 |
- enewuser tor -1 -1 /var/lib/tor tor |
194 |
-} |
195 |
- |
196 |
-src_prepare() { |
197 |
- epatch "${FILESDIR}"/${PN}-0.2.7.4-torrc.sample.patch |
198 |
- epatch_user |
199 |
-} |
200 |
- |
201 |
-src_configure() { |
202 |
- # Upstream isn't sure of all the user provided CFLAGS that |
203 |
- # will break tor, but does recommend against -fstrict-aliasing. |
204 |
- # We'll filter-flags them here as we encounter them. |
205 |
- filter-flags -fstrict-aliasing |
206 |
- |
207 |
- econf \ |
208 |
- --enable-system-torrc \ |
209 |
- --enable-asciidoc \ |
210 |
- --docdir="${EPREFIX}"/usr/share/doc/${PF} \ |
211 |
- $(use_enable stats instrument-downloads) \ |
212 |
- $(use_enable bufferevents) \ |
213 |
- $(use_enable scrypt libscrypt) \ |
214 |
- $(use_enable seccomp) \ |
215 |
- $(use_enable systemd) \ |
216 |
- $(use_enable tor-hardening gcc-hardening) \ |
217 |
- $(use_enable tor-hardening linker-hardening) \ |
218 |
- $(use_enable transparent-proxy transparent) \ |
219 |
- $(use_enable web tor2web-mode) \ |
220 |
- $(use_enable test unittests) \ |
221 |
- $(use_enable test coverage) |
222 |
-} |
223 |
- |
224 |
-src_install() { |
225 |
- readme.gentoo_create_doc |
226 |
- |
227 |
- newconfd "${FILESDIR}"/tor.confd tor |
228 |
- newinitd "${FILESDIR}"/tor.initd-r7 tor |
229 |
- systemd_dounit "${FILESDIR}/${PN}.service" |
230 |
- systemd_dotmpfilesd "${FILESDIR}/${PN}.conf" |
231 |
- |
232 |
- emake DESTDIR="${D}" install |
233 |
- |
234 |
- keepdir /var/lib/tor |
235 |
- |
236 |
- dodoc -r README ChangeLog ReleaseNotes doc/HACKING |
237 |
- |
238 |
- fperms 750 /var/lib/tor |
239 |
- fowners tor:tor /var/lib/tor |
240 |
- |
241 |
- insinto /etc/tor/ |
242 |
- newins "${FILESDIR}"/torrc-r1 torrc |
243 |
-} |