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