summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Briesenick <sbriesen@gentoo.org>2007-11-18 02:08:16 +0000
committerStefan Briesenick <sbriesen@gentoo.org>2007-11-18 02:08:16 +0000
commit1ae53e2a421146bbcabd21480d407830f8c8857a (patch)
tree13a9c4dd7b18efe4106e4e9e59ab7d964c8ab146 /net-proxy
parentversion bump, some cleanups. (diff)
downloadhistorical-1ae53e2a421146bbcabd21480d407830f8c8857a.tar.gz
historical-1ae53e2a421146bbcabd21480d407830f8c8857a.tar.bz2
historical-1ae53e2a421146bbcabd21480d407830f8c8857a.zip
version bump.
Package-Manager: portage-2.1.3.19
Diffstat (limited to 'net-proxy')
-rw-r--r--net-proxy/ziproxy/ChangeLog8
-rw-r--r--net-proxy/ziproxy/Manifest24
-rw-r--r--net-proxy/ziproxy/files/digest-ziproxy-2.4.03
-rw-r--r--net-proxy/ziproxy/files/ziproxy-2.4.confd18
-rw-r--r--net-proxy/ziproxy/files/ziproxy-2.4.initd26
-rw-r--r--net-proxy/ziproxy/ziproxy-2.4.0.ebuild80
6 files changed, 154 insertions, 5 deletions
diff --git a/net-proxy/ziproxy/ChangeLog b/net-proxy/ziproxy/ChangeLog
index 23690b8842a4..7eae76bc6d79 100644
--- a/net-proxy/ziproxy/ChangeLog
+++ b/net-proxy/ziproxy/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for net-proxy/ziproxy
# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-proxy/ziproxy/ChangeLog,v 1.12 2007/10/06 01:42:46 sbriesen Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-proxy/ziproxy/ChangeLog,v 1.13 2007/11/18 02:08:16 sbriesen Exp $
+
+*ziproxy-2.4.0 (18 Nov 2007)
+
+ 18 Nov 2007; Stefan Briesenick <sbriesen@gentoo.org>
+ +files/ziproxy-2.4.confd, +files/ziproxy-2.4.initd, +ziproxy-2.4.0.ebuild:
+ version bump.
06 Oct 2007; Stefan Briesenick <sbriesen@gentoo.org> ziproxy-2.2.2.ebuild,
ziproxy-2.3.0.ebuild:
diff --git a/net-proxy/ziproxy/Manifest b/net-proxy/ziproxy/Manifest
index dda3c266ef73..92bf9671ee29 100644
--- a/net-proxy/ziproxy/Manifest
+++ b/net-proxy/ziproxy/Manifest
@@ -18,8 +18,17 @@ AUX ziproxy-2.3.initd 723 RMD160 68a9bc6e6a938d7d6181edc3b95a3289d75fc6f1 SHA1 2
MD5 0706e09705c9cb7689c9933191480896 files/ziproxy-2.3.initd 723
RMD160 68a9bc6e6a938d7d6181edc3b95a3289d75fc6f1 files/ziproxy-2.3.initd 723
SHA256 726c038cceb88e0483cbe8af94eef89b25f3f54cdef86efba82b289bc792e963 files/ziproxy-2.3.initd 723
+AUX ziproxy-2.4.confd 642 RMD160 6b2c310ae58824753e9f951b225c8b508f776104 SHA1 23b75d0fc65b98e6aba28e2fb0ac4c2375edb62d SHA256 854b0e8211c05f85b1da1158bfc765f8dde30b35a9a31843db94cea47a927f14
+MD5 ce7e5a5668c4bdbd2da22d9b28228336 files/ziproxy-2.4.confd 642
+RMD160 6b2c310ae58824753e9f951b225c8b508f776104 files/ziproxy-2.4.confd 642
+SHA256 854b0e8211c05f85b1da1158bfc765f8dde30b35a9a31843db94cea47a927f14 files/ziproxy-2.4.confd 642
+AUX ziproxy-2.4.initd 723 RMD160 95b44bd12bbe99ac37b097fd3a1b1ce8dc0a0653 SHA1 e7208a73c2900980fa7ecc30ee94b55ea619a128 SHA256 bbf2f9480319348494bb5586793bd09455d594622d36de90e2a1681f2732999e
+MD5 d01fba62052189a65cce7bd1e23e2abf files/ziproxy-2.4.initd 723
+RMD160 95b44bd12bbe99ac37b097fd3a1b1ce8dc0a0653 files/ziproxy-2.4.initd 723
+SHA256 bbf2f9480319348494bb5586793bd09455d594622d36de90e2a1681f2732999e files/ziproxy-2.4.initd 723
DIST ziproxy-2.2.2.tar.bz2 145733 RMD160 10442335f5cf64e8205c93a707dd3e9ab233b6b6 SHA1 7efd9d83fb3fff5e2de3f3853889cb2d75ac3b56 SHA256 6fbf4134e84311d4590f907b37b5ae2ee0af5dc5d8fc6457edf4129635dc7bb9
DIST ziproxy-2.3.0.tar.bz2 152058 RMD160 934598381ea78c6fed9e6ca696e04eda285622b5 SHA1 01ecd97ef08101c31b4e5bb59445f5a7eead92d4 SHA256 e69e179304498e0c4dcaf19dd2b4dd3be76ad9a09c68fe58c4004780a8598894
+DIST ziproxy-2.4.0.tar.bz2 172243 RMD160 a363dc2ba01cf9886521e682244b5186ee67f335 SHA1 f31fe8714dc7a37981945f5856ebc9f1035152b7 SHA256 8d8c2da3939032d62655b83f79dbc1360e078d7ecaa315a6da01152a00cfa200
EBUILD ziproxy-2.2.2.ebuild 2024 RMD160 26559238887f5e5a614859cd956f2895d6c6c2d8 SHA1 5c7e848c6705821c977fb98bb4bb38e8e53cf7be SHA256 5bfb7f188cdf42b45b982e3b66ebd3ca01c51660d6f17241149a95983594d026
MD5 0da97258f631c1876e29094ba896148a ziproxy-2.2.2.ebuild 2024
RMD160 26559238887f5e5a614859cd956f2895d6c6c2d8 ziproxy-2.2.2.ebuild 2024
@@ -28,10 +37,14 @@ EBUILD ziproxy-2.3.0.ebuild 2086 RMD160 1014ac1f1cca256b62e1f262d366b401da254e1d
MD5 420e35d45c8f28bd166664045e24f24d ziproxy-2.3.0.ebuild 2086
RMD160 1014ac1f1cca256b62e1f262d366b401da254e1d ziproxy-2.3.0.ebuild 2086
SHA256 5768599dd0f28a41597282bd3bac40c0f140bcf1581ae450472f8949729b78dc ziproxy-2.3.0.ebuild 2086
-MISC ChangeLog 2235 RMD160 47a5400c54aaeb98fe9254690e6e185d63340427 SHA1 66e396977de14c6aaff8d274589502d2948d94e1 SHA256 52e8b58d2e6203f08cfae820eea285abafcf39fda9c176bff1d611e371ca02d8
-MD5 95f4f0597132aafd46c11a6851619755 ChangeLog 2235
-RMD160 47a5400c54aaeb98fe9254690e6e185d63340427 ChangeLog 2235
-SHA256 52e8b58d2e6203f08cfae820eea285abafcf39fda9c176bff1d611e371ca02d8 ChangeLog 2235
+EBUILD ziproxy-2.4.0.ebuild 2006 RMD160 8a2fc82ff4adff6e1521b7a7a9022b257e787dba SHA1 2600903c9ee6339d0ddb135d9a908aa6fb9ca853 SHA256 c2f2c4d64351dc5f75a0c4ec6a365cc977ce62db885d421cb6b3fe1c9bef4852
+MD5 2a0658fb6ac5605f8b70571ce335ff59 ziproxy-2.4.0.ebuild 2006
+RMD160 8a2fc82ff4adff6e1521b7a7a9022b257e787dba ziproxy-2.4.0.ebuild 2006
+SHA256 c2f2c4d64351dc5f75a0c4ec6a365cc977ce62db885d421cb6b3fe1c9bef4852 ziproxy-2.4.0.ebuild 2006
+MISC ChangeLog 2414 RMD160 eb646275b2c7064036d044e6ac36e82156375e5a SHA1 16e93fee79c89da2b75edf3011349900e8785c28 SHA256 387d250ae3e94f37f21d66706c78d7984be9c68cf8d85de4f59d4902feaa042f
+MD5 c684fa2c241fffdb0e35c791b1d6c18c ChangeLog 2414
+RMD160 eb646275b2c7064036d044e6ac36e82156375e5a ChangeLog 2414
+SHA256 387d250ae3e94f37f21d66706c78d7984be9c68cf8d85de4f59d4902feaa042f ChangeLog 2414
MISC metadata.xml 513 RMD160 b107d66a1ba20b230598d2602f851dfbb8ba455b SHA1 586129e96f59e881bc2297180771b2dd9e664ff0 SHA256 07e6b452bd4451e9bdc7269eb44d61efe0945afbcd9757ce7ae707021e0335bc
MD5 13eac033f7cb4d69bd27489ab828449a metadata.xml 513
RMD160 b107d66a1ba20b230598d2602f851dfbb8ba455b metadata.xml 513
@@ -42,3 +55,6 @@ SHA256 7e0ef2f897378bc108c8b465f6ae6e28f2f341227b60b4a9d7dd51b44b4e8c4f files/di
MD5 ff78890051d239798d38bf3e5cbe57c1 files/digest-ziproxy-2.3.0 244
RMD160 a1bcb8f1f057fcc0120c76ceb166cac06616ba3c files/digest-ziproxy-2.3.0 244
SHA256 2509bc36ad18d2ecef6bdd943c1453530fc1ac2f862ae0fd83afc4f6e59bcf19 files/digest-ziproxy-2.3.0 244
+MD5 71b84a71161d32accb881af375954e2f files/digest-ziproxy-2.4.0 244
+RMD160 664d1292d277852280512b66b7cb430666d45b81 files/digest-ziproxy-2.4.0 244
+SHA256 31f417b4bd3d4388eaf9b45b178b1dfa2adde4c9649c68c8693c1ce27d486a11 files/digest-ziproxy-2.4.0 244
diff --git a/net-proxy/ziproxy/files/digest-ziproxy-2.4.0 b/net-proxy/ziproxy/files/digest-ziproxy-2.4.0
new file mode 100644
index 000000000000..128b7b22a8ec
--- /dev/null
+++ b/net-proxy/ziproxy/files/digest-ziproxy-2.4.0
@@ -0,0 +1,3 @@
+MD5 beccfa354d2b51b06e995f4d74ff19eb ziproxy-2.4.0.tar.bz2 172243
+RMD160 a363dc2ba01cf9886521e682244b5186ee67f335 ziproxy-2.4.0.tar.bz2 172243
+SHA256 8d8c2da3939032d62655b83f79dbc1360e078d7ecaa315a6da01152a00cfa200 ziproxy-2.4.0.tar.bz2 172243
diff --git a/net-proxy/ziproxy/files/ziproxy-2.4.confd b/net-proxy/ziproxy/files/ziproxy-2.4.confd
new file mode 100644
index 000000000000..793b8c666739
--- /dev/null
+++ b/net-proxy/ziproxy/files/ziproxy-2.4.confd
@@ -0,0 +1,18 @@
+# configuraton file for /etc/init.d/ziproxy
+#
+# you can symlink /etc/init.d/ziproxy to a different name
+# and then copy this config to a new file with the same name
+# as the symlinked init-script to run multiple instances of
+# ziproxy. You have to change the location for CONFIG then
+# of course... ;-)
+
+# Full path to ziproxy.conf file (instead of default one).
+#
+#CONFIG="/etc/ziproxy.conf"
+
+# Limit incoming connections only from the specified address(es).
+# This option has the same meaning, but higher precedence as
+# "OnlyFrom=" option in configuration file. Uncomment it
+# if you want to set it.
+#
+#ONLYFROM="<IP.address or hostname>"
diff --git a/net-proxy/ziproxy/files/ziproxy-2.4.initd b/net-proxy/ziproxy/files/ziproxy-2.4.initd
new file mode 100644
index 000000000000..7d9cd0371ad2
--- /dev/null
+++ b/net-proxy/ziproxy/files/ziproxy-2.4.initd
@@ -0,0 +1,26 @@
+#!/sbin/runscript
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-proxy/ziproxy/files/ziproxy-2.4.initd,v 1.1 2007/11/18 02:08:16 sbriesen Exp $
+
+depend() {
+ need net
+}
+
+start() {
+ local OPT="-d"
+ ebegin "Starting ${myservice}"
+
+ [ -n "${CONFIG}" ] && OPT="${OPT} -c ${CONFIG}"
+ [ -n "${ONLYFROM}" ] && OPT="${OPT} -f ${ONLYFROM}"
+
+ start-stop-daemon --quiet --start --pidfile /var/run/${myservice}.pid \
+ --chuid ziproxy:ziproxy --exec /usr/sbin/ziproxy -- ${OPT} > /var/run/${myservice}.pid
+ eend $?
+}
+
+stop() {
+ ebegin "Stopping ziproxy"
+ start-stop-daemon --stop --quiet --pidfile /var/run/${myservice}.pid
+ eend $?
+}
diff --git a/net-proxy/ziproxy/ziproxy-2.4.0.ebuild b/net-proxy/ziproxy/ziproxy-2.4.0.ebuild
new file mode 100644
index 000000000000..383996f5d21a
--- /dev/null
+++ b/net-proxy/ziproxy/ziproxy-2.4.0.ebuild
@@ -0,0 +1,80 @@
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-proxy/ziproxy/ziproxy-2.4.0.ebuild,v 1.1 2007/11/18 02:08:16 sbriesen Exp $
+
+WANT_AUTOCONF="latest"
+WANT_AUTOMAKE="latest"
+
+inherit eutils
+
+DESCRIPTION="A forwarding, non-caching, compressing web proxy server"
+HOMEPAGE="http://ziproxy.sourceforge.net/"
+SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2"
+LICENSE="GPL-2"
+
+SLOT="0"
+KEYWORDS="~amd64 ~sparc ~x86"
+IUSE="jpeg2k xinetd"
+
+DEPEND="media-libs/giflib
+ media-libs/libpng
+ media-libs/jpeg
+ sys-libs/zlib
+ jpeg2k? ( media-libs/jasper )
+ xinetd? ( virtual/inetd )"
+
+pkg_setup() {
+ enewgroup ziproxy
+ enewuser ziproxy -1 -1 -1 ziproxy
+}
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+
+ # fix sample config file
+ sed -i -e "s:/usr/local/ziproxy/\(ziproxy.passwd\):/etc/\1:g" \
+ -e "s:/var/ziproxy/:/var/lib/ziproxy/:g" etc/ziproxy.conf
+
+ # fix sample xinetd config
+ sed -i -e "s:/usr/bin/:/usr/sbin/:g" \
+ -e "s:\(.*port.*\):\1\n\ttype\t\t\t= UNLISTED:g" \
+ -e "s:root:ziproxy:g" etc/xinetd.d/ziproxy
+}
+
+src_compile() {
+ local myconf="--enable-shared-confuse --with-cfgfile=/etc/ziproxy.conf" # --enable-testprogs
+ use jpeg2k && myconf="${myconf} --with-jasper" # use_with doesn't work
+ econf ${myconf} || die "econf failed"
+ emake || die "emake failed"
+}
+
+src_install() {
+ emake DESTDIR="${D}" install || die "emake install failed"
+
+ dodir /usr/sbin
+ mv -f "${D}usr/bin/ziproxy" "${D}usr/sbin/ziproxy"
+
+ newbin stats.awk ${PN}_stats.awk
+ dobin src/tools/ziproxy_genhtml_stats.sh
+
+ newinitd "${FILESDIR}/${PN}-${PV%.*}.initd" ${PN}
+ newconfd "${FILESDIR}/${PN}-${PV%.*}.confd" ${PN}
+
+ dodoc ChangeLog CREDITS README README.tools
+ use jpeg2k && dodoc JPEG2000.txt
+
+ insinto /etc
+ doins etc/ziproxy.conf
+
+ insinto /var/lib/ziproxy/error
+ doins var/ziproxy/error/*.html
+
+ if use xinetd; then
+ insinto /etc/xinetd.d
+ doins etc/xinetd.d/ziproxy
+ fi
+
+ diropts -m0750 -o ziproxy -g ziproxy
+ keepdir /var/log/ziproxy
+}