1 |
commit: 40903a055d58d84410d50af16b333b5cf9a19a8b |
2 |
Author: Anthony G. Basile <blueness <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon May 30 16:50:42 2011 +0000 |
4 |
Commit: Anthony G. Basile <blueness <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon May 30 16:50:42 2011 +0000 |
6 |
URL: http://git.overlays.gentoo.org/gitweb/?p=dev/blueness.git;a=commit;h=40903a05 |
7 |
|
8 |
net-misc/tor: version bump of alpha to beta |
9 |
|
10 |
(Portage version: 2.1.9.42/git/Linux x86_64, signed Manifest commit with key 0xD0455535) |
11 |
|
12 |
--- |
13 |
net-misc/tor/ChangeLog | 6 ++ |
14 |
net-misc/tor/Manifest | 10 ++-- |
15 |
net-misc/tor/tor-0.2.2.27_beta.ebuild | 84 +++++++++++++++++++++++++++++++++ |
16 |
3 files changed, 96 insertions(+), 4 deletions(-) |
17 |
|
18 |
diff --git a/net-misc/tor/ChangeLog b/net-misc/tor/ChangeLog |
19 |
index 9887167..f5b38f3 100644 |
20 |
--- a/net-misc/tor/ChangeLog |
21 |
+++ b/net-misc/tor/ChangeLog |
22 |
@@ -2,6 +2,12 @@ |
23 |
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 |
24 |
# $Header: /var/cvsroot/gentoo-x86/net-misc/tor/ChangeLog,v 1.253 2011/04/29 20:15:56 blueness Exp $ |
25 |
|
26 |
+*tor-0.2.2.27_beta (30 May 2011) |
27 |
+ |
28 |
+ 30 May 2011; Anthony G. Basile <blueness@g.o> |
29 |
+ +tor-0.2.2.27_beta.ebuild: |
30 |
+ Version bump of alpha to beta |
31 |
+ |
32 |
10 May 2011; Anthony G. Basile <blueness@g.o> |
33 |
-files/torrc.sample-0.1.2.6.patch, -files/tor-0.2.1.19-logrotate.patch, |
34 |
-files/tor-0.2.2.24_alpha-respect-CFLAGS.patch, -tor-0.2.3.1_alpha.ebuild, |
35 |
|
36 |
diff --git a/net-misc/tor/Manifest b/net-misc/tor/Manifest |
37 |
index fa85021..f838e38 100644 |
38 |
--- a/net-misc/tor/Manifest |
39 |
+++ b/net-misc/tor/Manifest |
40 |
@@ -1,12 +1,14 @@ |
41 |
-----BEGIN PGP SIGNED MESSAGE----- |
42 |
Hash: SHA256 |
43 |
|
44 |
-MISC ChangeLog 37103 RMD160 84f50c5c6be079df7b0855a9140b4ca34c9813cb SHA1 39e9e2395185e5fd7c9548e9ed95083ce7201e82 SHA256 22a8f3627e27d8e3e648f60f2db8998c1dfda1cbf9f3f9e6dacd43b9897d7349 |
45 |
+DIST tor-0.2.2.27-beta.tar.gz 2633715 RMD160 5a475497b035e676b953e1c0b531bead45ecbccb SHA1 c49d0970ecd5d418128d068a4db87cc25349f366 SHA256 61e184846ec38f4301ccfc7445567e89168e1d3e6c2e4bfed2d4ba5517ff4d68 |
46 |
+EBUILD tor-0.2.2.27_beta.ebuild 2375 RMD160 53f8494ce98a86e56638d152ceeeac4185a6c1f0 SHA1 d56bf448cfea86d44f90875308795cf40c58c693 SHA256 4351c3cfcd94fb1919b399d20854a895cfb3792706fecdeff2d1e0c1c0b86c9c |
47 |
+MISC ChangeLog 37254 RMD160 e55d254e19c644b7484fbcc1c107369ddbedc1a6 SHA1 65e00c523c451883f19ebeee70b0cdde33ab0c3d SHA256 ea5451b27103a030a5c28d5c123ade113c2bf15b68242f176e687d5b53d766eb |
48 |
MISC metadata.xml 363 RMD160 b21bb38c95a109d36b252b8e48b9c6724f75721c SHA1 6354a0d53fa168ddcd650f87872124f1edb345ef SHA256 650857d8f3d615ee0d0bcdb3d600d98eb58bae0d98c021dc6ff5ec774d77a142 |
49 |
-----BEGIN PGP SIGNATURE----- |
50 |
Version: GnuPG v2.0.17 (GNU/Linux) |
51 |
|
52 |
-iEYEAREIAAYFAk3JHt8ACgkQl5yvQNBFVTW1XACfZ2KfQM2U81bAoCTPqwqSQIWC |
53 |
-pcIAnjQUt0NShZCz7G8VYhwgqq9Z/lJK |
54 |
-=7wO/ |
55 |
+iEYEAREIAAYFAk3jyuIACgkQl5yvQNBFVTX2CwCdEig3SPfewvh518wpxQISH9JM |
56 |
+e50AmgMXeWS/53IZnI5JK0BSP+owrpyt |
57 |
+=oKJT |
58 |
-----END PGP SIGNATURE----- |
59 |
|
60 |
diff --git a/net-misc/tor/tor-0.2.2.27_beta.ebuild b/net-misc/tor/tor-0.2.2.27_beta.ebuild |
61 |
new file mode 100644 |
62 |
index 0000000..77b7ee7 |
63 |
--- /dev/null |
64 |
+++ b/net-misc/tor/tor-0.2.2.27_beta.ebuild |
65 |
@@ -0,0 +1,84 @@ |
66 |
+# Copyright 1999-2011 Gentoo Foundation |
67 |
+# Distributed under the terms of the GNU General Public License v2 |
68 |
+# $Header: /var/cvsroot/gentoo-x86/net-misc/tor/tor-0.2.2.25_alpha.ebuild,v 1.1 2011/04/29 20:11:45 blueness Exp $ |
69 |
+ |
70 |
+EAPI=3 |
71 |
+ |
72 |
+inherit autotools eutils flag-o-matic versionator |
73 |
+ |
74 |
+MY_PV="$(replace_version_separator 4 -)" |
75 |
+MY_PF="${PN}-${MY_PV}" |
76 |
+DESCRIPTION="Anonymizing overlay network for TCP" |
77 |
+HOMEPAGE="http://www.torproject.org/" |
78 |
+SRC_URI="http://www.torproject.org/dist/${MY_PF}.tar.gz" |
79 |
+S="${WORKDIR}/${MY_PF}" |
80 |
+ |
81 |
+LICENSE="BSD" |
82 |
+SLOT="0" |
83 |
+KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd" |
84 |
+IUSE="" |
85 |
+ |
86 |
+DEPEND="dev-libs/openssl |
87 |
+ >=dev-libs/libevent-2.0" |
88 |
+# The tordns patch for tsocks avoids some leakage of information thus raising anonymity |
89 |
+RDEPEND="${DEPEND} |
90 |
+ net-proxy/tsocks[tordns]" |
91 |
+ |
92 |
+pkg_setup() { |
93 |
+ enewgroup tor |
94 |
+ enewuser tor -1 -1 /var/lib/tor tor |
95 |
+} |
96 |
+ |
97 |
+src_prepare() { |
98 |
+ epatch "${FILESDIR}"/torrc.sample-0.1.2.6.patch |
99 |
+ epatch "${FILESDIR}"/${PN}-0.2.1.19-logrotate.patch |
100 |
+ |
101 |
+ einfo "Regenerating autotools files ..." |
102 |
+ epatch "${FILESDIR}"/${PN}-0.2.2.24_alpha-respect-CFLAGS.patch |
103 |
+ eautoreconf || die "eautoreconf failed" |
104 |
+} |
105 |
+ |
106 |
+src_configure() { |
107 |
+ # Upstream isn't sure of all the user provided CFLAGS that |
108 |
+ # will break tor, but does recommend against -fstrict-aliasing. |
109 |
+ # We'll filter-flags them here as we encounter them. |
110 |
+ filter-flags -fstrict-aliasing |
111 |
+ econf --docdir=/usr/share/doc/${PF} |
112 |
+} |
113 |
+ |
114 |
+src_install() { |
115 |
+ newinitd "${FILESDIR}"/tor.initd-r4 tor |
116 |
+ emake DESTDIR="${D}" install || die |
117 |
+ keepdir /var/{lib,log,run}/tor |
118 |
+ |
119 |
+ dodoc README ChangeLog ReleaseNotes \ |
120 |
+ doc/{HACKING,TODO} \ |
121 |
+ doc/spec/README |
122 |
+ |
123 |
+ fperms 750 /var/lib/tor /var/log/tor |
124 |
+ fperms 755 /var/run/tor |
125 |
+ fowners tor:tor /var/lib/tor /var/log/tor /var/run/tor |
126 |
+ |
127 |
+ insinto /etc/tor/ |
128 |
+ doins "${FILESDIR}"/torrc |
129 |
+ |
130 |
+ insinto /etc/logrotate.d |
131 |
+ newins contrib/tor.logrotate tor |
132 |
+ |
133 |
+ # allow the tor user more open files to avoid errors, see bug 251171 |
134 |
+ insinto /etc/security/limits.d/ |
135 |
+ doins "${FILESDIR}"/tor.conf |
136 |
+} |
137 |
+ |
138 |
+pkg_postinst() { |
139 |
+ elog |
140 |
+ elog "We created a configuration file for tor, /etc/tor/torrc, but you can" |
141 |
+ elog "change it according to your needs. Use the torrc.sample that is in" |
142 |
+ elog "that directory as a guide. Also, to have privoxy work with tor" |
143 |
+ elog "just add the following line" |
144 |
+ elog |
145 |
+ elog "forward-socks4a / localhost:9050 ." |
146 |
+ elog |
147 |
+ elog "to /etc/privoxy/config. Notice the . at the end!" |
148 |
+ elog |
149 |
+} |