summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Briesenick <sbriesen@gentoo.org>2008-03-16 23:34:41 +0000
committerStefan Briesenick <sbriesen@gentoo.org>2008-03-16 23:34:41 +0000
commit5607cb3933d5863a76a0715c621f4d4e48074f7f (patch)
tree9f9c58bb6aa948b5eeda4e2e44670ea356d28bc3 /net-proxy/ziproxy
parentDrop to ~mips due to unstable deps (diff)
downloadhistorical-5607cb3933d5863a76a0715c621f4d4e48074f7f.tar.gz
historical-5607cb3933d5863a76a0715c621f4d4e48074f7f.tar.bz2
historical-5607cb3933d5863a76a0715c621f4d4e48074f7f.zip
version bump.
Package-Manager: portage-2.1.4.4
Diffstat (limited to 'net-proxy/ziproxy')
-rw-r--r--net-proxy/ziproxy/ChangeLog10
-rw-r--r--net-proxy/ziproxy/Manifest6
-rw-r--r--net-proxy/ziproxy/files/ziproxy-2.5.confd18
-rw-r--r--net-proxy/ziproxy/files/ziproxy-2.5.initd26
-rw-r--r--net-proxy/ziproxy/ziproxy-2.5.1.ebuild81
5 files changed, 138 insertions, 3 deletions
diff --git a/net-proxy/ziproxy/ChangeLog b/net-proxy/ziproxy/ChangeLog
index c836ef4c4f61..825b0bf3c8e2 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.15 2007/12/30 13:17:34 mrness Exp $
+# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/net-proxy/ziproxy/ChangeLog,v 1.16 2008/03/16 23:34:41 sbriesen Exp $
+
+*ziproxy-2.5.1 (16 Mar 2008)
+
+ 16 Mar 2008; Stefan Briesenick <sbriesen@gentoo.org>
+ +files/ziproxy-2.5.confd, +files/ziproxy-2.5.initd, +ziproxy-2.5.1.ebuild:
+ version bump.
*ziproxy-2.4.3 (30 Dec 2007)
diff --git a/net-proxy/ziproxy/Manifest b/net-proxy/ziproxy/Manifest
index 1f12f0172ac3..0981edc2855a 100644
--- a/net-proxy/ziproxy/Manifest
+++ b/net-proxy/ziproxy/Manifest
@@ -3,11 +3,15 @@ AUX ziproxy-2.3.confd 642 RMD160 6b2c310ae58824753e9f951b225c8b508f776104 SHA1 2
AUX ziproxy-2.3.initd 723 RMD160 68a9bc6e6a938d7d6181edc3b95a3289d75fc6f1 SHA1 241bd77898065beb13814878ce8df7a768988dc1 SHA256 726c038cceb88e0483cbe8af94eef89b25f3f54cdef86efba82b289bc792e963
AUX ziproxy-2.4.confd 642 RMD160 6b2c310ae58824753e9f951b225c8b508f776104 SHA1 23b75d0fc65b98e6aba28e2fb0ac4c2375edb62d SHA256 854b0e8211c05f85b1da1158bfc765f8dde30b35a9a31843db94cea47a927f14
AUX ziproxy-2.4.initd 723 RMD160 95b44bd12bbe99ac37b097fd3a1b1ce8dc0a0653 SHA1 e7208a73c2900980fa7ecc30ee94b55ea619a128 SHA256 bbf2f9480319348494bb5586793bd09455d594622d36de90e2a1681f2732999e
+AUX ziproxy-2.5.confd 650 RMD160 1cbd1e13f3276399b89c94c0323fb8fa05c9c6af SHA1 12e7b4bf054e89de93c548be5c7fe000632c63b9 SHA256 dad7db324941944a35c87d4e061a004f5d9638ea24f139bc9bad80a51e0e8d78
+AUX ziproxy-2.5.initd 723 RMD160 2dfe9c4e3ac292df612c36c3913af317656d3382 SHA1 48927817d6dd30a3be95ca5d98f438c93c7f7eae SHA256 7d2dfac5728ebe3a3f53d5ace4ceeda9a15b8f774adbaad9a8b77ad4ccfb3984
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
DIST ziproxy-2.4.3.tar.bz2 177422 RMD160 0f72b3e97181aef8406117068996ba04e03d2b90 SHA1 8fe578179b3b65003d671b435d8adb5d9dac2d54 SHA256 784cf1bc95190383af698719f505716f6bc66f8548011ac80460364d59231cfc
+DIST ziproxy-2.5.1.tar.bz2 211312 RMD160 5287d99738c0977fae0ba770bcd2b3788103e22d SHA1 edc3f4470b326351ff5dd7fe95af1308af2742e9 SHA256 0f4052e94911207aa1be293dcdddc82a0d11bbcf2a9473e4684ffdb356bca611
EBUILD ziproxy-2.3.0.ebuild 2086 RMD160 1014ac1f1cca256b62e1f262d366b401da254e1d SHA1 fd1f9e7a78ef51bf4be3253ba2efd28054df2d09 SHA256 5768599dd0f28a41597282bd3bac40c0f140bcf1581ae450472f8949729b78dc
EBUILD ziproxy-2.4.0.ebuild 2006 RMD160 8a2fc82ff4adff6e1521b7a7a9022b257e787dba SHA1 2600903c9ee6339d0ddb135d9a908aa6fb9ca853 SHA256 c2f2c4d64351dc5f75a0c4ec6a365cc977ce62db885d421cb6b3fe1c9bef4852
EBUILD ziproxy-2.4.3.ebuild 2024 RMD160 05c2566318ad22c8473928be3f6b07476a10c975 SHA1 f8b945df557cec3d83caa0e4241c639fc972409e SHA256 3a2c247a70252018300558fe303d6411fb9213418e5571034f71a3fe7a226d1b
-MISC ChangeLog 2686 RMD160 078ab8ee129d9f0137e684ad1bc6c0bd6161acd1 SHA1 4a4b095269abdb38ceb86f04ffd1a0ccccfccd6a SHA256 f2076fb74b92fd48135d0834a73bf3997b7742f97443b2dc07ba7fdd26e5c46e
+EBUILD ziproxy-2.5.1.ebuild 1962 RMD160 e9337349a2a6dba513fe846b43dababef210f58d SHA1 555ff5bf96e7909ead667b1b96b3387d43a2b967 SHA256 4e90f07f92c4e2a5a61b818ba7af6275166d219f63ed0cedeefdd3bc54d6325d
+MISC ChangeLog 2867 RMD160 8abb3df2cd8a0f0007edb4fc044d8164253b14d8 SHA1 12456f812a9309f155c97928b8ef2a2d4ec0f5c7 SHA256 86f95f860269abeda9ddbb416d98fe80d5c7458b598b03d8bc04c17cab35871f
MISC metadata.xml 513 RMD160 b107d66a1ba20b230598d2602f851dfbb8ba455b SHA1 586129e96f59e881bc2297180771b2dd9e664ff0 SHA256 07e6b452bd4451e9bdc7269eb44d61efe0945afbcd9757ce7ae707021e0335bc
diff --git a/net-proxy/ziproxy/files/ziproxy-2.5.confd b/net-proxy/ziproxy/files/ziproxy-2.5.confd
new file mode 100644
index 000000000000..9a4a12137c6a
--- /dev/null
+++ b/net-proxy/ziproxy/files/ziproxy-2.5.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/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.5.initd b/net-proxy/ziproxy/files/ziproxy-2.5.initd
new file mode 100644
index 000000000000..fd3424d7f09a
--- /dev/null
+++ b/net-proxy/ziproxy/files/ziproxy-2.5.initd
@@ -0,0 +1,26 @@
+#!/sbin/runscript
+# Copyright 1999-2008 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-proxy/ziproxy/files/ziproxy-2.5.initd,v 1.1 2008/03/16 23:34:41 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.5.1.ebuild b/net-proxy/ziproxy/ziproxy-2.5.1.ebuild
new file mode 100644
index 000000000000..439909e5f7c1
--- /dev/null
+++ b/net-proxy/ziproxy/ziproxy-2.5.1.ebuild
@@ -0,0 +1,81 @@
+# Copyright 1999-2008 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-proxy/ziproxy/ziproxy-2.5.1.ebuild,v 1.1 2008/03/16 23:34:41 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 )"
+RDEPEND="${DEPEND}
+ 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:/var/ziproxy/:/var/lib/ziproxy/:g" \
+ etc/ziproxy/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="--with-cfgfile=/etc/ziproxy/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 -r etc/ziproxy
+
+ 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
+}