1 |
pacho 13/08/31 06:05:52 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: tinyproxy-1.8.3-r3.ebuild |
5 |
Log: |
6 |
Add unit file (#480242 by Charles Nérot) |
7 |
|
8 |
(Portage version: 2.2.1/cvs/Linux x86_64, signed Manifest commit with key A188FBD4) |
9 |
|
10 |
Revision Changes Path |
11 |
1.44 net-proxy/tinyproxy/ChangeLog |
12 |
|
13 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-proxy/tinyproxy/ChangeLog?rev=1.44&view=markup |
14 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-proxy/tinyproxy/ChangeLog?rev=1.44&content-type=text/plain |
15 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-proxy/tinyproxy/ChangeLog?r1=1.43&r2=1.44 |
16 |
|
17 |
Index: ChangeLog |
18 |
=================================================================== |
19 |
RCS file: /var/cvsroot/gentoo-x86/net-proxy/tinyproxy/ChangeLog,v |
20 |
retrieving revision 1.43 |
21 |
retrieving revision 1.44 |
22 |
diff -u -r1.43 -r1.44 |
23 |
--- ChangeLog 30 May 2013 16:47:50 -0000 1.43 |
24 |
+++ ChangeLog 31 Aug 2013 06:05:52 -0000 1.44 |
25 |
@@ -1,6 +1,12 @@ |
26 |
# ChangeLog for net-proxy/tinyproxy |
27 |
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 |
28 |
-# $Header: /var/cvsroot/gentoo-x86/net-proxy/tinyproxy/ChangeLog,v 1.43 2013/05/30 16:47:50 tomwij Exp $ |
29 |
+# $Header: /var/cvsroot/gentoo-x86/net-proxy/tinyproxy/ChangeLog,v 1.44 2013/08/31 06:05:52 pacho Exp $ |
30 |
+ |
31 |
+*tinyproxy-1.8.3-r3 (31 Aug 2013) |
32 |
+ |
33 |
+ 31 Aug 2013; Pacho Ramos <pacho@g.o> +files/tinyproxy.service, |
34 |
+ +files/tinyproxy.tmpfiles.conf, +tinyproxy-1.8.3-r3.ebuild: |
35 |
+ Add unit file (#480242 by Charles Nérot) |
36 |
|
37 |
30 May 2013; Tom Wijsman <TomWij@g.o> ChangeLog, |
38 |
+tinyproxy-1.8.3-r2.ebuild, +files/tinyproxy-1.8.3-r2.initd, |
39 |
|
40 |
|
41 |
|
42 |
1.1 net-proxy/tinyproxy/tinyproxy-1.8.3-r3.ebuild |
43 |
|
44 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-proxy/tinyproxy/tinyproxy-1.8.3-r3.ebuild?rev=1.1&view=markup |
45 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-proxy/tinyproxy/tinyproxy-1.8.3-r3.ebuild?rev=1.1&content-type=text/plain |
46 |
|
47 |
Index: tinyproxy-1.8.3-r3.ebuild |
48 |
=================================================================== |
49 |
# Copyright 1999-2013 Gentoo Foundation |
50 |
# Distributed under the terms of the GNU General Public License v2 |
51 |
# $Header: /var/cvsroot/gentoo-x86/net-proxy/tinyproxy/tinyproxy-1.8.3-r3.ebuild,v 1.1 2013/08/31 06:05:52 pacho Exp $ |
52 |
|
53 |
EAPI="5" |
54 |
|
55 |
inherit autotools eutils systemd user |
56 |
|
57 |
DESCRIPTION="A lightweight HTTP/SSL proxy" |
58 |
HOMEPAGE="http://www.banu.com/tinyproxy/" |
59 |
SRC_URI="http://www.banu.com/pub/${PN}/1.8/${P}.tar.bz2" |
60 |
|
61 |
LICENSE="GPL-2" |
62 |
SLOT="0" |
63 |
KEYWORDS="~alpha ~amd64 ~ia64 ~ppc ~sparc ~x86" |
64 |
|
65 |
IUSE="test debug +filter-proxy minimal reverse-proxy |
66 |
transparent-proxy +upstream-proxy +xtinyproxy-header" |
67 |
|
68 |
REQUIRED_USE="test? ( xtinyproxy-header )" |
69 |
|
70 |
DEPEND="!minimal? ( app-text/asciidoc )" |
71 |
|
72 |
pkg_setup() { |
73 |
enewgroup ${PN} |
74 |
enewuser ${PN} "" "" "" ${PN} |
75 |
} |
76 |
|
77 |
src_prepare() { |
78 |
epatch "${FILESDIR}"/${PN}-1.8.1-ldflags.patch |
79 |
epatch "${FILESDIR}"/${PF}-DoS-Prevention.patch |
80 |
|
81 |
use minimal && epatch "${FILESDIR}/${PN}-1.8.1-minimal.patch" |
82 |
|
83 |
sed -i \ |
84 |
-e "s|nobody|${PN}|g" \ |
85 |
-e 's|/var/run/|/run/|g' \ |
86 |
etc/${PN}.conf.in || die "sed failed" |
87 |
|
88 |
sed -i \ |
89 |
-e 's|AM_CONFIG_HEADER|AC_CONFIG_HEADERS|g' \ |
90 |
configure.ac || die |
91 |
|
92 |
eautoreconf |
93 |
} |
94 |
|
95 |
src_configure() { |
96 |
if use minimal; then |
97 |
ln -s /bin/true "${T}"/a2x |
98 |
export PATH="${T}:${PATH}" |
99 |
fi |
100 |
|
101 |
econf \ |
102 |
$(use_enable debug) \ |
103 |
$(use_enable filter-proxy filter) \ |
104 |
$(use_enable reverse-proxy reverse) \ |
105 |
$(use_enable transparent-proxy transparent) \ |
106 |
$(use_enable upstream-proxy upstream) \ |
107 |
$(use_enable xtinyproxy-header xtinyproxy) \ |
108 |
--disable-silent-rules \ |
109 |
--localstatedir=/var |
110 |
} |
111 |
|
112 |
src_test() { |
113 |
# The make check target does not run the test suite |
114 |
emake test |
115 |
} |
116 |
|
117 |
src_install() { |
118 |
default |
119 |
|
120 |
dodoc AUTHORS ChangeLog NEWS README TODO |
121 |
|
122 |
diropts -m0775 -o ${PN} -g ${PN} |
123 |
keepdir /var/log/${PN} |
124 |
|
125 |
newinitd "${FILESDIR}"/${PF}.initd tinyproxy |
126 |
systemd_dounit "${FILESDIR}"/${PN}.service |
127 |
systemd_dotmpfilesd "${FILESDIR}"/${PN}.tmpfiles.conf |
128 |
} |
129 |
|
130 |
pkg_postinst() { |
131 |
elog "For filtering domains and URLs, enable filter option in the configuration" |
132 |
elog "file and add them to the filter file (one domain or URL per line)." |
133 |
} |