1 |
commit: d223f92871a17247bb411f4183ef11e127ecf62b |
2 |
Author: Austin English <wizardedit <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue May 3 19:10:40 2016 +0000 |
4 |
Commit: Austin English <wizardedit <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue May 3 19:17:01 2016 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d223f928 |
7 |
|
8 |
net-proxy/tinyproxy: remove old version |
9 |
|
10 |
Package-Manager: portage-2.2.26 |
11 |
|
12 |
net-proxy/tinyproxy/tinyproxy-1.8.3-r3.ebuild | 85 --------------------------- |
13 |
1 file changed, 85 deletions(-) |
14 |
|
15 |
diff --git a/net-proxy/tinyproxy/tinyproxy-1.8.3-r3.ebuild b/net-proxy/tinyproxy/tinyproxy-1.8.3-r3.ebuild |
16 |
deleted file mode 100644 |
17 |
index f31cf7d..0000000 |
18 |
--- a/net-proxy/tinyproxy/tinyproxy-1.8.3-r3.ebuild |
19 |
+++ /dev/null |
20 |
@@ -1,85 +0,0 @@ |
21 |
-# Copyright 1999-2015 Gentoo Foundation |
22 |
-# Distributed under the terms of the GNU General Public License v2 |
23 |
-# $Id$ |
24 |
- |
25 |
-EAPI="5" |
26 |
- |
27 |
-inherit autotools eutils systemd user |
28 |
- |
29 |
-DESCRIPTION="A lightweight HTTP/SSL proxy" |
30 |
-HOMEPAGE="http://www.banu.com/tinyproxy/" |
31 |
-SRC_URI="http://www.banu.com/pub/${PN}/1.8/${P}.tar.bz2" |
32 |
- |
33 |
-LICENSE="GPL-2" |
34 |
-SLOT="0" |
35 |
-KEYWORDS="alpha amd64 ~arm ia64 ppc sparc x86" |
36 |
- |
37 |
-IUSE="test debug +filter-proxy minimal reverse-proxy |
38 |
- transparent-proxy +upstream-proxy +xtinyproxy-header" |
39 |
- |
40 |
-REQUIRED_USE="test? ( xtinyproxy-header )" |
41 |
- |
42 |
-DEPEND="!minimal? ( app-text/asciidoc )" |
43 |
- |
44 |
-pkg_setup() { |
45 |
- enewgroup ${PN} |
46 |
- enewuser ${PN} "" "" "" ${PN} |
47 |
-} |
48 |
- |
49 |
-src_prepare() { |
50 |
- epatch "${FILESDIR}"/${PN}-1.8.1-ldflags.patch |
51 |
- epatch "${FILESDIR}"/${P}-r2-DoS-Prevention.patch |
52 |
- |
53 |
- use minimal && epatch "${FILESDIR}/${PN}-1.8.1-minimal.patch" |
54 |
- |
55 |
- sed -i \ |
56 |
- -e "s|nobody|${PN}|g" \ |
57 |
- -e 's|/var/run/|/run/|g' \ |
58 |
- etc/${PN}.conf.in || die "sed failed" |
59 |
- |
60 |
- sed -i \ |
61 |
- -e 's|AM_CONFIG_HEADER|AC_CONFIG_HEADERS|g' \ |
62 |
- configure.ac || die |
63 |
- |
64 |
- eautoreconf |
65 |
-} |
66 |
- |
67 |
-src_configure() { |
68 |
- if use minimal; then |
69 |
- ln -s /bin/true "${T}"/a2x |
70 |
- export PATH="${T}:${PATH}" |
71 |
- fi |
72 |
- |
73 |
- econf \ |
74 |
- $(use_enable debug) \ |
75 |
- $(use_enable filter-proxy filter) \ |
76 |
- $(use_enable reverse-proxy reverse) \ |
77 |
- $(use_enable transparent-proxy transparent) \ |
78 |
- $(use_enable upstream-proxy upstream) \ |
79 |
- $(use_enable xtinyproxy-header xtinyproxy) \ |
80 |
- --disable-silent-rules \ |
81 |
- --localstatedir=/var |
82 |
-} |
83 |
- |
84 |
-src_test() { |
85 |
- # The make check target does not run the test suite |
86 |
- emake test |
87 |
-} |
88 |
- |
89 |
-src_install() { |
90 |
- default |
91 |
- |
92 |
- dodoc AUTHORS ChangeLog NEWS README TODO |
93 |
- |
94 |
- diropts -m0775 -o ${PN} -g ${PN} |
95 |
- keepdir /var/log/${PN} |
96 |
- |
97 |
- newinitd "${FILESDIR}"/${PN}-1.8.3-r2.initd tinyproxy |
98 |
- systemd_dounit "${FILESDIR}"/${PN}.service |
99 |
- systemd_dotmpfilesd "${FILESDIR}"/${PN}.tmpfiles.conf |
100 |
-} |
101 |
- |
102 |
-pkg_postinst() { |
103 |
- elog "For filtering domains and URLs, enable filter option in the configuration" |
104 |
- elog "file and add them to the filter file (one domain or URL per line)." |
105 |
-} |