1 |
blueness 11/09/29 10:37:18 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: tor-0.2.3.5_alpha.ebuild |
5 |
Log: |
6 |
Version bump alpha |
7 |
|
8 |
(Portage version: 2.1.10.11/cvs/Linux x86_64) |
9 |
|
10 |
Revision Changes Path |
11 |
1.282 net-misc/tor/ChangeLog |
12 |
|
13 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/tor/ChangeLog?rev=1.282&view=markup |
14 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/tor/ChangeLog?rev=1.282&content-type=text/plain |
15 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/tor/ChangeLog?r1=1.281&r2=1.282 |
16 |
|
17 |
Index: ChangeLog |
18 |
=================================================================== |
19 |
RCS file: /var/cvsroot/gentoo-x86/net-misc/tor/ChangeLog,v |
20 |
retrieving revision 1.281 |
21 |
retrieving revision 1.282 |
22 |
diff -u -r1.281 -r1.282 |
23 |
--- ChangeLog 14 Sep 2011 12:14:38 -0000 1.281 |
24 |
+++ ChangeLog 29 Sep 2011 10:37:18 -0000 1.282 |
25 |
@@ -1,6 +1,12 @@ |
26 |
# ChangeLog for net-misc/tor |
27 |
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 |
28 |
-# $Header: /var/cvsroot/gentoo-x86/net-misc/tor/ChangeLog,v 1.281 2011/09/14 12:14:38 blueness Exp $ |
29 |
+# $Header: /var/cvsroot/gentoo-x86/net-misc/tor/ChangeLog,v 1.282 2011/09/29 10:37:18 blueness Exp $ |
30 |
+ |
31 |
+*tor-0.2.3.5_alpha (29 Sep 2011) |
32 |
+ |
33 |
+ 29 Sep 2011; Anthony G. Basile <blueness@g.o> |
34 |
+ +tor-0.2.3.5_alpha.ebuild: |
35 |
+ Version bump alpha |
36 |
|
37 |
*tor-0.2.2.33 (14 Sep 2011) |
38 |
|
39 |
|
40 |
|
41 |
|
42 |
1.1 net-misc/tor/tor-0.2.3.5_alpha.ebuild |
43 |
|
44 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/tor/tor-0.2.3.5_alpha.ebuild?rev=1.1&view=markup |
45 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/tor/tor-0.2.3.5_alpha.ebuild?rev=1.1&content-type=text/plain |
46 |
|
47 |
Index: tor-0.2.3.5_alpha.ebuild |
48 |
=================================================================== |
49 |
# Copyright 1999-2011 Gentoo Foundation |
50 |
# Distributed under the terms of the GNU General Public License v2 |
51 |
# $Header: /var/cvsroot/gentoo-x86/net-misc/tor/tor-0.2.3.5_alpha.ebuild,v 1.1 2011/09/29 10:37:18 blueness Exp $ |
52 |
|
53 |
EAPI=4 |
54 |
|
55 |
inherit autotools eutils flag-o-matic versionator |
56 |
|
57 |
MY_PV="$(replace_version_separator 4 -)" |
58 |
MY_PF="${PN}-${MY_PV}" |
59 |
DESCRIPTION="Anonymizing overlay network for TCP" |
60 |
HOMEPAGE="http://www.torproject.org/" |
61 |
SRC_URI="http://www.torproject.org/dist/${MY_PF}.tar.gz" |
62 |
S="${WORKDIR}/${MY_PF}" |
63 |
|
64 |
LICENSE="BSD" |
65 |
SLOT="0" |
66 |
KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd" |
67 |
IUSE="+bufferevents doc nat-pmp tor-hardening transparent-proxy threads upnp" |
68 |
|
69 |
DEPEND="dev-libs/openssl |
70 |
>=dev-libs/libevent-2.0.14 |
71 |
nat-pmp? ( net-libs/libnatpmp ) |
72 |
upnp? ( <net-libs/miniupnpc-1.6 )" |
73 |
RDEPEND="${DEPEND}" |
74 |
|
75 |
pkg_setup() { |
76 |
enewgroup tor |
77 |
enewuser tor -1 -1 /var/lib/tor tor |
78 |
} |
79 |
|
80 |
src_prepare() { |
81 |
epatch "${FILESDIR}"/torrc.sample.patch |
82 |
|
83 |
einfo "Regenerating autotools files ..." |
84 |
epatch "${FILESDIR}"/${PN}-0.2.2.24_alpha-respect-CFLAGS.patch |
85 |
eautoreconf || die "eautoreconf failed" |
86 |
} |
87 |
|
88 |
src_configure() { |
89 |
# Upstream isn't sure of all the user provided CFLAGS that |
90 |
# will break tor, but does recommend against -fstrict-aliasing. |
91 |
# We'll filter-flags them here as we encounter them. |
92 |
filter-flags -fstrict-aliasing |
93 |
econf --docdir=/usr/share/doc/${PF} \ |
94 |
$(use_enable bufferevents) \ |
95 |
$(use_enable doc asciidoc) \ |
96 |
$(use_enable nat-pmp) \ |
97 |
$(use_enable tor-hardening gcc-hardening) \ |
98 |
$(use_enable tor-hardening linker-hardening) \ |
99 |
$(use_enable transparent-proxy transparent) \ |
100 |
$(use_enable threads) \ |
101 |
$(use_enable upnp) |
102 |
} |
103 |
|
104 |
src_install() { |
105 |
newconfd "${FILESDIR}"/tor.confd tor |
106 |
newinitd "${FILESDIR}"/tor.initd-r6 tor |
107 |
emake DESTDIR="${D}" install || die |
108 |
keepdir /var/lib/tor |
109 |
|
110 |
dodoc README ChangeLog ReleaseNotes \ |
111 |
doc/{HACKING,TODO} \ |
112 |
doc/spec/README |
113 |
|
114 |
fperms 750 /var/lib/tor |
115 |
fowners tor:tor /var/lib/tor |
116 |
|
117 |
insinto /etc/tor/ |
118 |
newins "${FILESDIR}"/torrc-r1 torrc |
119 |
} |
120 |
|
121 |
pkg_postinst() { |
122 |
elog |
123 |
elog "We created a configuration file for tor, /etc/tor/torrc, but you can" |
124 |
elog "change it according to your needs. Use the torrc.sample that is in" |
125 |
elog "that directory as a guide. Also, to have privoxy work with tor" |
126 |
elog "just add the following line" |
127 |
elog |
128 |
elog "forward-socks4a / localhost:9050 ." |
129 |
elog |
130 |
elog "to /etc/privoxy/config. Notice the . at the end!" |
131 |
elog |
132 |
} |