summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--net-proxy/ziproxy/ChangeLog6
-rw-r--r--net-proxy/ziproxy/files/digest-ziproxy-2.2.23
-rw-r--r--net-proxy/ziproxy/files/ziproxy-2.2.confd18
-rw-r--r--net-proxy/ziproxy/files/ziproxy-2.2.initd26
-rw-r--r--net-proxy/ziproxy/ziproxy-2.2.2.ebuild81
5 files changed, 5 insertions, 129 deletions
diff --git a/net-proxy/ziproxy/ChangeLog b/net-proxy/ziproxy/ChangeLog
index 7eae76bc6d79..3aa1c543e67b 100644
--- a/net-proxy/ziproxy/ChangeLog
+++ b/net-proxy/ziproxy/ChangeLog
@@ -1,6 +1,10 @@
# 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.13 2007/11/18 02:08:16 sbriesen Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-proxy/ziproxy/ChangeLog,v 1.14 2007/11/18 02:10:43 sbriesen Exp $
+
+ 18 Nov 2007; Stefan Briesenick <sbriesen@gentoo.org>
+ -files/ziproxy-2.2.confd, -files/ziproxy-2.2.initd, -ziproxy-2.2.2.ebuild:
+ removed old version.
*ziproxy-2.4.0 (18 Nov 2007)
diff --git a/net-proxy/ziproxy/files/digest-ziproxy-2.2.2 b/net-proxy/ziproxy/files/digest-ziproxy-2.2.2
deleted file mode 100644
index fa30ae93a380..000000000000
--- a/net-proxy/ziproxy/files/digest-ziproxy-2.2.2
+++ /dev/null
@@ -1,3 +0,0 @@
-MD5 b2c1e1b7efa4db50b97d69b126815bba ziproxy-2.2.2.tar.bz2 145733
-RMD160 10442335f5cf64e8205c93a707dd3e9ab233b6b6 ziproxy-2.2.2.tar.bz2 145733
-SHA256 6fbf4134e84311d4590f907b37b5ae2ee0af5dc5d8fc6457edf4129635dc7bb9 ziproxy-2.2.2.tar.bz2 145733
diff --git a/net-proxy/ziproxy/files/ziproxy-2.2.confd b/net-proxy/ziproxy/files/ziproxy-2.2.confd
deleted file mode 100644
index 793b8c666739..000000000000
--- a/net-proxy/ziproxy/files/ziproxy-2.2.confd
+++ /dev/null
@@ -1,18 +0,0 @@
-# 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.2.initd b/net-proxy/ziproxy/files/ziproxy-2.2.initd
deleted file mode 100644
index 3c843a7ecf64..000000000000
--- a/net-proxy/ziproxy/files/ziproxy-2.2.initd
+++ /dev/null
@@ -1,26 +0,0 @@
-#!/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.2.initd,v 1.1 2007/05/11 21:26:00 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.2.2.ebuild b/net-proxy/ziproxy/ziproxy-2.2.2.ebuild
deleted file mode 100644
index e8399aa9a919..000000000000
--- a/net-proxy/ziproxy/ziproxy-2.2.2.ebuild
+++ /dev/null
@@ -1,81 +0,0 @@
-# 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.2.2.ebuild,v 1.3 2007/10/06 01:42:46 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="dev-libs/confuse
- 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
-}