From: | "Anthony G. Basile (blueness)" <blueness@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in net-misc/tor: tor-0.2.7.2_alpha.ebuild ChangeLog |
Date: | Tue, 28 Jul 2015 11:53:35 |
Message-Id: | 20150728115329.92299C1@oystercatcher.gentoo.org |
1 | blueness 15/07/28 11:53:29 |
2 | |
3 | Modified: ChangeLog |
4 | Added: tor-0.2.7.2_alpha.ebuild |
5 | Log: |
6 | Version bump alpha. |
7 | |
8 | (Portage version: 2.2.20/cvs/Linux x86_64, signed Manifest commit with key 0xF52D4BBA) |
9 | |
10 | Revision Changes Path |
11 | 1.488 net-misc/tor/ChangeLog |
12 | |
13 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/tor/ChangeLog?rev=1.488&view=markup |
14 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/tor/ChangeLog?rev=1.488&content-type=text/plain |
15 | diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/tor/ChangeLog?r1=1.487&r2=1.488 |
16 | |
17 | Index: ChangeLog |
18 | =================================================================== |
19 | RCS file: /var/cvsroot/gentoo-x86/net-misc/tor/ChangeLog,v |
20 | retrieving revision 1.487 |
21 | retrieving revision 1.488 |
22 | diff -u -r1.487 -r1.488 |
23 | --- ChangeLog 26 Jul 2015 23:32:39 -0000 1.487 |
24 | +++ ChangeLog 28 Jul 2015 11:53:29 -0000 1.488 |
25 | @@ -1,6 +1,12 @@ |
26 | # ChangeLog for net-misc/tor |
27 | # Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2 |
28 | -# $Header: /var/cvsroot/gentoo-x86/net-misc/tor/ChangeLog,v 1.487 2015/07/26 23:32:39 blueness Exp $ |
29 | +# $Header: /var/cvsroot/gentoo-x86/net-misc/tor/ChangeLog,v 1.488 2015/07/28 11:53:29 blueness Exp $ |
30 | + |
31 | +*tor-0.2.7.2_alpha (28 Jul 2015) |
32 | + |
33 | + 28 Jul 2015; Anthony G. Basile <blueness@g.o> |
34 | + +tor-0.2.7.2_alpha.ebuild: |
35 | + Version bump alpha. |
36 | |
37 | 26 Jul 2015; Anthony G. Basile <blueness@g.o> tor-0.2.6.10.ebuild: |
38 | Add conditional dependency on sys-apps/systemd. Bug #554522. |
39 | |
40 | |
41 | |
42 | 1.1 net-misc/tor/tor-0.2.7.2_alpha.ebuild |
43 | |
44 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/tor/tor-0.2.7.2_alpha.ebuild?rev=1.1&view=markup |
45 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/tor/tor-0.2.7.2_alpha.ebuild?rev=1.1&content-type=text/plain |
46 | |
47 | Index: tor-0.2.7.2_alpha.ebuild |
48 | =================================================================== |
49 | # Copyright 1999-2015 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.7.2_alpha.ebuild,v 1.1 2015/07/28 11:53:29 blueness Exp $ |
52 | |
53 | EAPI="5" |
54 | |
55 | inherit eutils flag-o-matic readme.gentoo systemd toolchain-funcs versionator user |
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://www.torproject.org/dist/${MY_PF}.tar.gz |
62 | https://archive.torproject.org/tor-package-archive/${MY_PF}.tar.gz" |
63 | S="${WORKDIR}/${MY_PF}" |
64 | |
65 | LICENSE="BSD GPL-2" |
66 | SLOT="0" |
67 | KEYWORDS="~amd64 ~arm ~mips ~ppc ~ppc64 ~sparc ~x86" |
68 | IUSE="-bufferevents nat-pmp scrypt seccomp selinux stats systemd tor-hardening transparent-proxy test upnp web" |
69 | |
70 | DEPEND="dev-libs/openssl:= |
71 | sys-libs/zlib |
72 | dev-libs/libevent |
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 " http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59358" |
147 | ewarn |
148 | fi |
149 | } |