1 |
commit: 2fb9df4bec97d88eadc707cca75c2e387e9e0aa6 |
2 |
Author: Anthony G. Basile <blueness <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Nov 28 01:58:36 2016 +0000 |
4 |
Commit: Anthony G. Basile <blueness <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Nov 28 01:58:53 2016 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2fb9df4b |
7 |
|
8 |
net-misc/tor: remove insecure version, bug #591008 |
9 |
|
10 |
Package-Manager: portage-2.3.0 |
11 |
|
12 |
net-misc/tor/Manifest | 1 - |
13 |
net-misc/tor/tor-0.2.7.6.ebuild | 100 ---------------------------------------- |
14 |
2 files changed, 101 deletions(-) |
15 |
|
16 |
diff --git a/net-misc/tor/Manifest b/net-misc/tor/Manifest |
17 |
index 196f184..de57bb8 100644 |
18 |
--- a/net-misc/tor/Manifest |
19 |
+++ b/net-misc/tor/Manifest |
20 |
@@ -1,3 +1,2 @@ |
21 |
-DIST tor-0.2.7.6.tar.gz 4869754 SHA256 493a8679f904503048114aca6467faef56861206bab8283d858f37141d95105d SHA512 9b0dbfabe6cd05189b179da24bfaa73b89ab237775e3b5b0ebc0a22ee98909e9b13e55841a466f04000e0ff876c15f76515ff46abca28d05eeddbdc52f183afc WHIRLPOOL 03adf1d113049ad0b7df11f4d7f2d21f2a4582fcf51046534666b748f8d2dae383fa9e9cc2b44a2388f993d21681801bff33cc2a0a9cb5aaa7cfb9600f62e4ad |
22 |
DIST tor-0.2.8.9.tar.gz 5306773 SHA256 3f5c273bb887be4aff11f4d99b9e2e52d293b81ff4f6302b730161ff16dc5316 SHA512 9a02e4f7901c2abb22f8250077bc078e9b6ae122ee54fbe7ecfb505d449e6e1766f6d9f95d7b794063471cbefe7410fece8524910f83579bff00d6da2a8ea6c1 WHIRLPOOL 6b97ad6405ca5043dbdb0c688f736ba4772ff997540dbc8be72755fdd0a53f8fcf8617920fff204d9bbdbf64bd4a1ca605799df364468732c633f45012212025 |
23 |
DIST tor-0.2.9.5-alpha.tar.gz 5489651 SHA256 d0c898ad5e8f1a136864aa105407c7b89f3e70d9462a7bb307a55a3afa5b62bd SHA512 c0d6e85f90b5726f024f8d740cebfc9a596669117b6af2b1f3be28ac1a685d9416a1199e164c120540df8dac27a4143e3c82b0de8db1f128bd4070e05d6d2764 WHIRLPOOL 580f87c1fc9cfb42263aca77e5fe3023d7f137181a372d33826387f17c2f2cf5bd706cb1e26b019ef6ea1f982c4e481acb93e60c2d52925122beccf4ed8284fd |
24 |
|
25 |
diff --git a/net-misc/tor/tor-0.2.7.6.ebuild b/net-misc/tor/tor-0.2.7.6.ebuild |
26 |
deleted file mode 100644 |
27 |
index 05b2221..00000000 |
28 |
--- a/net-misc/tor/tor-0.2.7.6.ebuild |
29 |
+++ /dev/null |
30 |
@@ -1,100 +0,0 @@ |
31 |
-# Copyright 1999-2016 Gentoo Foundation |
32 |
-# Distributed under the terms of the GNU General Public License v2 |
33 |
-# $Id$ |
34 |
- |
35 |
-EAPI="5" |
36 |
- |
37 |
-inherit eutils flag-o-matic readme.gentoo systemd toolchain-funcs versionator user |
38 |
- |
39 |
-MY_PV="$(replace_version_separator 4 -)" |
40 |
-MY_PF="${PN}-${MY_PV}" |
41 |
-DESCRIPTION="Anonymizing overlay network for TCP" |
42 |
-HOMEPAGE="http://www.torproject.org/" |
43 |
-SRC_URI="https://www.torproject.org/dist/${MY_PF}.tar.gz |
44 |
- https://archive.torproject.org/tor-package-archive/${MY_PF}.tar.gz" |
45 |
-S="${WORKDIR}/${MY_PF}" |
46 |
- |
47 |
-LICENSE="BSD GPL-2" |
48 |
-SLOT="0" |
49 |
-KEYWORDS="amd64 arm ~mips ppc ppc64 sparc x86 ~ppc-macos" |
50 |
-IUSE="-bufferevents libressl scrypt seccomp selinux stats systemd tor-hardening transparent-proxy test web" |
51 |
- |
52 |
-DEPEND=" |
53 |
- app-text/asciidoc |
54 |
- dev-libs/libevent |
55 |
- sys-libs/zlib |
56 |
- bufferevents? ( dev-libs/libevent[ssl] ) |
57 |
- !libressl? ( dev-libs/openssl:0=[-bindist] ) |
58 |
- libressl? ( dev-libs/libressl:= ) |
59 |
- scrypt? ( app-crypt/libscrypt ) |
60 |
- seccomp? ( sys-libs/libseccomp ) |
61 |
- systemd? ( sys-apps/systemd )" |
62 |
-RDEPEND="${DEPEND} |
63 |
- selinux? ( sec-policy/selinux-tor )" |
64 |
- |
65 |
-pkg_setup() { |
66 |
- enewgroup tor |
67 |
- enewuser tor -1 -1 /var/lib/tor tor |
68 |
-} |
69 |
- |
70 |
-src_prepare() { |
71 |
- epatch "${FILESDIR}"/${PN}-0.2.7.4-torrc.sample.patch |
72 |
- epatch_user |
73 |
-} |
74 |
- |
75 |
-src_configure() { |
76 |
- # Upstream isn't sure of all the user provided CFLAGS that |
77 |
- # will break tor, but does recommend against -fstrict-aliasing. |
78 |
- # We'll filter-flags them here as we encounter them. |
79 |
- filter-flags -fstrict-aliasing |
80 |
- |
81 |
- econf \ |
82 |
- --enable-system-torrc \ |
83 |
- --enable-asciidoc \ |
84 |
- --docdir="${EPREFIX}"/usr/share/doc/${PF} \ |
85 |
- $(use_enable stats instrument-downloads) \ |
86 |
- $(use_enable bufferevents) \ |
87 |
- $(use_enable scrypt libscrypt) \ |
88 |
- $(use_enable seccomp) \ |
89 |
- $(use_enable systemd) \ |
90 |
- $(use_enable tor-hardening gcc-hardening) \ |
91 |
- $(use_enable tor-hardening linker-hardening) \ |
92 |
- $(use_enable transparent-proxy transparent) \ |
93 |
- $(use_enable web tor2web-mode) \ |
94 |
- $(use_enable test unittests) \ |
95 |
- $(use_enable test coverage) |
96 |
-} |
97 |
- |
98 |
-src_install() { |
99 |
- readme.gentoo_create_doc |
100 |
- |
101 |
- newconfd "${FILESDIR}"/tor.confd tor |
102 |
- newinitd "${FILESDIR}"/tor.initd-r7 tor |
103 |
- systemd_dounit "${FILESDIR}/${PN}.service" |
104 |
- systemd_dotmpfilesd "${FILESDIR}/${PN}.conf" |
105 |
- |
106 |
- emake DESTDIR="${D}" install |
107 |
- |
108 |
- keepdir /var/lib/tor |
109 |
- |
110 |
- dodoc README ChangeLog ReleaseNotes doc/HACKING |
111 |
- |
112 |
- fperms 750 /var/lib/tor |
113 |
- fowners tor:tor /var/lib/tor |
114 |
- |
115 |
- insinto /etc/tor/ |
116 |
- newins "${FILESDIR}"/torrc-r1 torrc |
117 |
-} |
118 |
- |
119 |
-pkg_postinst() { |
120 |
- readme.gentoo_pkg_postinst |
121 |
- |
122 |
- if [[ $(gcc-major-version) -eq 4 && $(gcc-minor-version) -eq 8 && $(gcc-micro-version) -ge 1 ]] ; then |
123 |
- ewarn "Due to a bug in >=gcc-4.8.1, compiling ${P} with -Os leads to an infinite" |
124 |
- ewarn "loop. See:" |
125 |
- ewarn |
126 |
- ewarn " https://trac.torproject.org/projects/tor/ticket/10259" |
127 |
- ewarn " https://gcc.gnu.org/bugzilla/show_bug.cgi?id=59358" |
128 |
- ewarn |
129 |
- fi |
130 |
-} |