1 |
tomwij 13/05/30 16:44:03 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: tinyproxy-1.8.3-r2.ebuild |
5 |
Log: |
6 |
Use /run instead of /var/run, fixes bug #444167. Apply DoS Prevention patches, temporary fixes for bug #432046. Fix ChangeLog issues; there was an empty log message above header by flameeyes and an empty message by jer. |
7 |
|
8 |
(Portage version: 2.1.12.2/cvs/Linux x86_64, signed Manifest commit with key 6D34E57D) |
9 |
|
10 |
Revision Changes Path |
11 |
1.42 net-proxy/tinyproxy/ChangeLog |
12 |
|
13 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-proxy/tinyproxy/ChangeLog?rev=1.42&view=markup |
14 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-proxy/tinyproxy/ChangeLog?rev=1.42&content-type=text/plain |
15 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-proxy/tinyproxy/ChangeLog?r1=1.41&r2=1.42 |
16 |
|
17 |
Index: ChangeLog |
18 |
=================================================================== |
19 |
RCS file: /var/cvsroot/gentoo-x86/net-proxy/tinyproxy/ChangeLog,v |
20 |
retrieving revision 1.41 |
21 |
retrieving revision 1.42 |
22 |
diff -u -r1.41 -r1.42 |
23 |
--- ChangeLog 29 May 2013 17:48:35 -0000 1.41 |
24 |
+++ ChangeLog 30 May 2013 16:44:03 -0000 1.42 |
25 |
@@ -1,15 +1,12 @@ |
26 |
- |
27 |
-*tinyproxy-1.8.3-r1 (29 May 2013) |
28 |
+# ChangeLog for net-proxy/tinyproxy |
29 |
+# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 |
30 |
+# $Header: /var/cvsroot/gentoo-x86/net-proxy/tinyproxy/ChangeLog,v 1.42 2013/05/30 16:44:03 tomwij Exp $ |
31 |
|
32 |
29 May 2013; Diego E. Pettenò <flameeyes@g.o> |
33 |
+files/tinyproxy-1.8.3.initd, +tinyproxy-1.8.3-r1.ebuild: |
34 |
Cleanup ebuild, use REQUIRED_USE, always install docs, improve init script so |
35 |
that now it actually works. |
36 |
|
37 |
-# ChangeLog for net-proxy/tinyproxy |
38 |
-# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 |
39 |
-# $Header: /var/cvsroot/gentoo-x86/net-proxy/tinyproxy/ChangeLog,v 1.41 2013/05/29 17:48:35 flameeyes Exp $ |
40 |
- |
41 |
24 Apr 2013; Jeroen Roovers <jer@g.o> tinyproxy-1.8.3.ebuild: |
42 |
Disable silent make rules. Fix building with automake-1.13. |
43 |
|
44 |
@@ -26,7 +23,7 @@ |
45 |
27 Aug 2011; Jeroen Roovers <jer@g.o> -tinyproxy-1.6.3-r1.ebuild, |
46 |
-tinyproxy-1.6.4.ebuild, -tinyproxy-1.6.5.ebuild, -tinyproxy-1.8.2.ebuild, |
47 |
-files/tinyproxy-no-via.patch: |
48 |
- ^ |
49 |
+ Removed old. |
50 |
|
51 |
27 Aug 2011; Raúl Porcel <armin76@g.o> tinyproxy-1.8.3.ebuild: |
52 |
alpha/ia64/sparc stable wrt #363425 |
53 |
|
54 |
|
55 |
|
56 |
1.1 net-proxy/tinyproxy/tinyproxy-1.8.3-r2.ebuild |
57 |
|
58 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-proxy/tinyproxy/tinyproxy-1.8.3-r2.ebuild?rev=1.1&view=markup |
59 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-proxy/tinyproxy/tinyproxy-1.8.3-r2.ebuild?rev=1.1&content-type=text/plain |
60 |
|
61 |
Index: tinyproxy-1.8.3-r2.ebuild |
62 |
=================================================================== |
63 |
# Copyright 1999-2013 Gentoo Foundation |
64 |
# Distributed under the terms of the GNU General Public License v2 |
65 |
# $Header: /var/cvsroot/gentoo-x86/net-proxy/tinyproxy/tinyproxy-1.8.3-r2.ebuild,v 1.1 2013/05/30 16:44:03 tomwij Exp $ |
66 |
|
67 |
EAPI="5" |
68 |
|
69 |
inherit autotools eutils user |
70 |
|
71 |
DESCRIPTION="A lightweight HTTP/SSL proxy" |
72 |
HOMEPAGE="http://www.banu.com/tinyproxy/" |
73 |
SRC_URI="http://www.banu.com/pub/${PN}/1.8/${P}.tar.bz2" |
74 |
|
75 |
LICENSE="GPL-2" |
76 |
SLOT="0" |
77 |
KEYWORDS="~alpha ~amd64 ~ia64 ~ppc ~sparc ~x86" |
78 |
|
79 |
IUSE="test debug +filter-proxy minimal reverse-proxy |
80 |
transparent-proxy +upstream-proxy +xtinyproxy-header" |
81 |
|
82 |
REQUIRED_USE="test? ( xtinyproxy-header )" |
83 |
|
84 |
DEPEND="!minimal? ( app-text/asciidoc )" |
85 |
|
86 |
pkg_setup() { |
87 |
enewgroup ${PN} |
88 |
enewuser ${PN} "" "" "" ${PN} |
89 |
} |
90 |
|
91 |
src_prepare() { |
92 |
epatch "${FILESDIR}"/${PN}-1.8.1-ldflags.patch |
93 |
epatch "${FILESDIR}"/${PF}-DoS-Prevention.patch |
94 |
|
95 |
use minimal && epatch "${FILESDIR}/${PN}-1.8.1-minimal.patch" |
96 |
|
97 |
sed -i \ |
98 |
-e "s|nobody|${PN}|g" \ |
99 |
-e 's|/var/run/|/run/|g' \ |
100 |
etc/${PN}.conf.in || die "sed failed" |
101 |
|
102 |
sed -i \ |
103 |
-e 's|AM_CONFIG_HEADER|AC_CONFIG_HEADERS|g' \ |
104 |
configure.ac || die |
105 |
|
106 |
eautoreconf |
107 |
} |
108 |
|
109 |
src_configure() { |
110 |
if use minimal; then |
111 |
ln -s /bin/true "${T}"/a2x |
112 |
export PATH="${T}:${PATH}" |
113 |
fi |
114 |
|
115 |
econf \ |
116 |
$(use_enable debug) \ |
117 |
$(use_enable filter-proxy filter) \ |
118 |
$(use_enable reverse-proxy reverse) \ |
119 |
$(use_enable transparent-proxy transparent) \ |
120 |
$(use_enable upstream-proxy upstream) \ |
121 |
$(use_enable xtinyproxy-header xtinyproxy) \ |
122 |
--disable-silent-rules \ |
123 |
--localstatedir=/var |
124 |
} |
125 |
|
126 |
src_test() { |
127 |
# The make check target does not run the test suite |
128 |
emake test |
129 |
} |
130 |
|
131 |
src_install() { |
132 |
default |
133 |
|
134 |
dodoc AUTHORS ChangeLog NEWS README TODO |
135 |
|
136 |
diropts -m0775 -o ${PN} -g ${PN} |
137 |
keepdir /var/log/${PN} |
138 |
|
139 |
newinitd "${FILESDIR}"/${PF}.initd tinyproxy |
140 |
} |
141 |
|
142 |
pkg_postinst() { |
143 |
elog "For filtering domains and URLs, enable filter option in the configuration" |
144 |
elog "file and add them to the filter file (one domain or URL per line)." |
145 |
} |