1 |
sbriesen 07/10/05 23:08:24 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: ziproxy-2.3.0.ebuild |
5 |
Log: |
6 |
version bump. |
7 |
(Portage version: 2.1.3.11) |
8 |
|
9 |
Revision Changes Path |
10 |
1.11 net-proxy/ziproxy/ChangeLog |
11 |
|
12 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-proxy/ziproxy/ChangeLog?rev=1.11&view=markup |
13 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-proxy/ziproxy/ChangeLog?rev=1.11&content-type=text/plain |
14 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-proxy/ziproxy/ChangeLog?r1=1.10&r2=1.11 |
15 |
|
16 |
Index: ChangeLog |
17 |
=================================================================== |
18 |
RCS file: /var/cvsroot/gentoo-x86/net-proxy/ziproxy/ChangeLog,v |
19 |
retrieving revision 1.10 |
20 |
retrieving revision 1.11 |
21 |
diff -u -r1.10 -r1.11 |
22 |
--- ChangeLog 17 Jun 2007 16:22:12 -0000 1.10 |
23 |
+++ ChangeLog 5 Oct 2007 23:08:23 -0000 1.11 |
24 |
@@ -1,6 +1,13 @@ |
25 |
# ChangeLog for net-proxy/ziproxy |
26 |
# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 |
27 |
-# $Header: /var/cvsroot/gentoo-x86/net-proxy/ziproxy/ChangeLog,v 1.10 2007/06/17 16:22:12 mrness Exp $ |
28 |
+# $Header: /var/cvsroot/gentoo-x86/net-proxy/ziproxy/ChangeLog,v 1.11 2007/10/05 23:08:23 sbriesen Exp $ |
29 |
+ |
30 |
+*ziproxy-2.3.0 (05 Oct 2007) |
31 |
+ |
32 |
+ 05 Oct 2007; Stefan Briesenick <sbriesen@g.o> |
33 |
+ +files/ziproxy-2.3.0.diff, +files/ziproxy-2.3.confd, |
34 |
+ +files/ziproxy-2.3.initd, +ziproxy-2.3.0.ebuild: |
35 |
+ version bump. |
36 |
|
37 |
17 Jun 2007; Alin Năstac <mrness@g.o> -files/ziproxy-2.1.confd, |
38 |
-files/ziproxy-2.1.initd, -ziproxy-2.1.1.ebuild: |
39 |
|
40 |
|
41 |
|
42 |
1.1 net-proxy/ziproxy/ziproxy-2.3.0.ebuild |
43 |
|
44 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-proxy/ziproxy/ziproxy-2.3.0.ebuild?rev=1.1&view=markup |
45 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-proxy/ziproxy/ziproxy-2.3.0.ebuild?rev=1.1&content-type=text/plain |
46 |
|
47 |
Index: ziproxy-2.3.0.ebuild |
48 |
=================================================================== |
49 |
# Copyright 1999-2007 Gentoo Foundation |
50 |
# Distributed under the terms of the GNU General Public License v2 |
51 |
# $Header: /var/cvsroot/gentoo-x86/net-proxy/ziproxy/ziproxy-2.3.0.ebuild,v 1.1 2007/10/05 23:08:23 sbriesen Exp $ |
52 |
|
53 |
WANT_AUTOCONF="latest" |
54 |
WANT_AUTOMAKE="latest" |
55 |
|
56 |
inherit eutils |
57 |
|
58 |
DESCRIPTION="A forwarding, non-caching, compressing web proxy server" |
59 |
HOMEPAGE="http://ziproxy.sourceforge.net/" |
60 |
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2" |
61 |
LICENSE="GPL-2" |
62 |
|
63 |
SLOT="0" |
64 |
KEYWORDS="~amd64 ~sparc ~x86" |
65 |
IUSE="jpeg2k xinetd" |
66 |
|
67 |
DEPEND="dev-libs/confuse |
68 |
media-libs/giflib |
69 |
media-libs/libpng |
70 |
media-libs/jpeg |
71 |
sys-libs/zlib |
72 |
jpeg2k? ( media-libs/jasper ) |
73 |
xinetd? ( virtual/inetd )" |
74 |
|
75 |
pkg_setup() { |
76 |
enewgroup ziproxy |
77 |
enewuser ziproxy -1 -1 -1 ziproxy |
78 |
} |
79 |
|
80 |
src_unpack() { |
81 |
unpack ${A} |
82 |
cd "${S}" |
83 |
|
84 |
# fix some compile warnings |
85 |
epatch "${FILESDIR}/${P}.diff" |
86 |
|
87 |
# fix sample config file |
88 |
sed -i -e "s:/usr/local/ziproxy/\(ziproxy.passwd\):/etc/\1:g" \ |
89 |
-e "s:/var/ziproxy/:/var/lib/ziproxy/:g" etc/ziproxy.conf |
90 |
|
91 |
# fix sample xinetd config |
92 |
sed -i -e "s:/usr/bin/:/usr/sbin/:g" \ |
93 |
-e "s:\(.*port.*\):\1\n\ttype\t\t\t= UNLISTED:g" \ |
94 |
-e "s:root:ziproxy:g" etc/xinetd.d/ziproxy |
95 |
} |
96 |
|
97 |
src_compile() { |
98 |
local myconf="--enable-shared-confuse --with-cfgfile=/etc/ziproxy.conf" # --enable-testprogs |
99 |
use jpeg2k && myconf="${myconf} --with-jasper" # use_with doesn't work |
100 |
econf ${myconf} || die "econf failed" |
101 |
emake || die "emake failed" |
102 |
} |
103 |
|
104 |
src_install() { |
105 |
make DESTDIR="${D}" install || die "make install failed" |
106 |
|
107 |
dodir /usr/sbin |
108 |
mv -f "${D}usr/bin/ziproxy" "${D}usr/sbin/ziproxy" |
109 |
|
110 |
newbin stats.awk ${PN}_stats.awk |
111 |
dobin src/tools/ziproxy_genhtml_stats.sh |
112 |
|
113 |
newinitd "${FILESDIR}/${PN}-${PV%.*}.initd" ${PN} |
114 |
newconfd "${FILESDIR}/${PN}-${PV%.*}.confd" ${PN} |
115 |
|
116 |
dodoc ChangeLog CREDITS README README.tools |
117 |
use jpeg2k && dodoc JPEG2000.txt |
118 |
|
119 |
insinto /etc |
120 |
doins etc/ziproxy.conf |
121 |
|
122 |
insinto /var/lib/ziproxy/error |
123 |
doins var/ziproxy/error/*.html |
124 |
|
125 |
if use xinetd; then |
126 |
insinto /etc/xinetd.d |
127 |
doins etc/xinetd.d/ziproxy |
128 |
fi |
129 |
|
130 |
diropts -m0750 -o ziproxy -g ziproxy |
131 |
keepdir /var/log/ziproxy |
132 |
} |
133 |
|
134 |
|
135 |
|
136 |
-- |
137 |
gentoo-commits@g.o mailing list |