From 87f034c81fdc09678cb6afa75aa9d1134124b479 Mon Sep 17 00:00:00 2001 From: Stefan Briesenick Date: Mon, 9 Jan 2006 23:21:24 +0000 Subject: version bump. Package-Manager: portage-2.1_pre3-r1 --- net-proxy/ziproxy/ChangeLog | 10 ++++- net-proxy/ziproxy/Manifest | 4 +- net-proxy/ziproxy/files/digest-ziproxy-1.5.2 | 1 + net-proxy/ziproxy/ziproxy-1.5.2.ebuild | 56 ++++++++++++++++++++++++++++ 4 files changed, 68 insertions(+), 3 deletions(-) create mode 100644 net-proxy/ziproxy/files/digest-ziproxy-1.5.2 create mode 100644 net-proxy/ziproxy/ziproxy-1.5.2.ebuild diff --git a/net-proxy/ziproxy/ChangeLog b/net-proxy/ziproxy/ChangeLog index b565687ad13f..acd96fa43cc1 100644 --- a/net-proxy/ziproxy/ChangeLog +++ b/net-proxy/ziproxy/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for net-proxy/ziproxy -# Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-proxy/ziproxy/ChangeLog,v 1.2 2005/10/08 16:38:58 sbriesen Exp $ +# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/net-proxy/ziproxy/ChangeLog,v 1.3 2006/01/09 23:21:24 sbriesen Exp $ + +*ziproxy-1.5.2 (09 Jan 2006) + + 09 Jan 2006; Stefan Briesenick + +ziproxy-1.5.2.ebuild: + version bump. 08 Oct 2005; Stefan Briesenick files/ziproxy.confd, files/ziproxy.initd, ziproxy-1.5.1.ebuild: diff --git a/net-proxy/ziproxy/Manifest b/net-proxy/ziproxy/Manifest index 3c73213e861b..d3a75dc532ce 100644 --- a/net-proxy/ziproxy/Manifest +++ b/net-proxy/ziproxy/Manifest @@ -1,6 +1,8 @@ -MD5 3745dee1e7d55396f3f552fd293e356c ChangeLog 576 +MD5 309ec70ff9c61e5c0c8b443a305f7b20 ChangeLog 703 MD5 d99134343b6a3f08d5a80d3c0c54e6c1 files/digest-ziproxy-1.5.1 66 +MD5 3146d0dcfb49988761d4fcd2c666caf6 files/digest-ziproxy-1.5.2 66 MD5 007b66959e3f4d9ec2759e2fbfba370a files/ziproxy.confd 384 MD5 71e0da62940b75aeeddf33c1b056d72c files/ziproxy.initd 762 MD5 13eac033f7cb4d69bd27489ab828449a metadata.xml 513 MD5 64627ef565dd039048382413c3b7a731 ziproxy-1.5.1.ebuild 1641 +MD5 00d4b67a84956aa3b7286a5ab5c24022 ziproxy-1.5.2.ebuild 1637 diff --git a/net-proxy/ziproxy/files/digest-ziproxy-1.5.2 b/net-proxy/ziproxy/files/digest-ziproxy-1.5.2 new file mode 100644 index 000000000000..f329c4a66405 --- /dev/null +++ b/net-proxy/ziproxy/files/digest-ziproxy-1.5.2 @@ -0,0 +1 @@ +MD5 c5bd73687f4376bd5cf68f3e2fe13367 ziproxy-1.5.2.tar.bz2 121104 diff --git a/net-proxy/ziproxy/ziproxy-1.5.2.ebuild b/net-proxy/ziproxy/ziproxy-1.5.2.ebuild new file mode 100644 index 000000000000..1311cfeb83f3 --- /dev/null +++ b/net-proxy/ziproxy/ziproxy-1.5.2.ebuild @@ -0,0 +1,56 @@ +# Copyright 1999-2006 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-proxy/ziproxy/ziproxy-1.5.2.ebuild,v 1.1 2006/01/09 23:21:24 sbriesen Exp $ + +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 ~x86" +IUSE="jpeg2k" +DEPEND="dev-libs/confuse + media-libs/giflib + media-libs/libpng + media-libs/jpeg + sys-libs/zlib + jpeg2k? ( media-libs/jasper )" + +src_unpack() { + unpack ${A} + cd "${S}" + + # fix sample xinetd config filee + sed -i -e "s:/home/juro/bin/:/usr/bin/:g" \ + -e "s:/home/juro/ziproxy/:/etc/:g" \ + -e "s:\(disable.*=\).*:\1 yes:g" etc/xinetd.d/ziproxy + + # fix sample config file + sed -i -e "s:/usr/local/bin/:/usr/bin/:g" \ + -e "s:/var/ziproxy/:/var/lib/ziproxy/:g" \ + -e "s:\(LogFile.*=.*\"\)\(.*\"\):\1/var/log/ziproxy_\2:g" etc/ziproxy.conf +} + +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() { + make DESTDIR="${D}" install || die "make install failed" + dodoc ChangeLog CREDITS README + use jpeg2k && dodoc JPEG2000.txt + insinto /etc + doins etc/ziproxy.conf + insinto /etc/xinetd.d + doins etc/xinetd.d/ziproxy + insinto /var/lib/ziproxy/error + doins var/ziproxy/error/*.html + newconfd "${FILESDIR}/${PN}.confd" ${PN} + newinitd "${FILESDIR}/${PN}.initd" ${PN} +} -- cgit v1.2.3-65-gdbad