diff options
author | Alin Năstac <mrness@gentoo.org> | 2007-12-30 13:17:35 +0000 |
---|---|---|
committer | Alin Năstac <mrness@gentoo.org> | 2007-12-30 13:17:35 +0000 |
commit | 48af22e4d99c70da7bfd8fcf203d040c0d6c4991 (patch) | |
tree | e93f8babb39f42660d5002bfd141d78fe23914d1 /net-proxy | |
parent | Remove old version. (diff) | |
download | gentoo-2-48af22e4d99c70da7bfd8fcf203d040c0d6c4991.tar.gz gentoo-2-48af22e4d99c70da7bfd8fcf203d040c0d6c4991.tar.bz2 gentoo-2-48af22e4d99c70da7bfd8fcf203d040c0d6c4991.zip |
Version bump.
(Portage version: 2.1.3.19)
Diffstat (limited to 'net-proxy')
-rw-r--r-- | net-proxy/ziproxy/ChangeLog | 7 | ||||
-rw-r--r-- | net-proxy/ziproxy/files/digest-ziproxy-2.4.3 | 3 | ||||
-rw-r--r-- | net-proxy/ziproxy/ziproxy-2.4.3.ebuild | 81 |
3 files changed, 90 insertions, 1 deletions
diff --git a/net-proxy/ziproxy/ChangeLog b/net-proxy/ziproxy/ChangeLog index 3aa1c543e67b..c836ef4c4f61 100644 --- a/net-proxy/ziproxy/ChangeLog +++ b/net-proxy/ziproxy/ChangeLog @@ -1,6 +1,11 @@ # 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.14 2007/11/18 02:10:43 sbriesen Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-proxy/ziproxy/ChangeLog,v 1.15 2007/12/30 13:17:34 mrness Exp $ + +*ziproxy-2.4.3 (30 Dec 2007) + + 30 Dec 2007; Alin Năstac <mrness@gentoo.org> +ziproxy-2.4.3.ebuild: + Version bump. 18 Nov 2007; Stefan Briesenick <sbriesen@gentoo.org> -files/ziproxy-2.2.confd, -files/ziproxy-2.2.initd, -ziproxy-2.2.2.ebuild: diff --git a/net-proxy/ziproxy/files/digest-ziproxy-2.4.3 b/net-proxy/ziproxy/files/digest-ziproxy-2.4.3 new file mode 100644 index 000000000000..07bff1da2fc4 --- /dev/null +++ b/net-proxy/ziproxy/files/digest-ziproxy-2.4.3 @@ -0,0 +1,3 @@ +MD5 ae174253ac582f6e2554b9325849de02 ziproxy-2.4.3.tar.bz2 177422 +RMD160 0f72b3e97181aef8406117068996ba04e03d2b90 ziproxy-2.4.3.tar.bz2 177422 +SHA256 784cf1bc95190383af698719f505716f6bc66f8548011ac80460364d59231cfc ziproxy-2.4.3.tar.bz2 177422 diff --git a/net-proxy/ziproxy/ziproxy-2.4.3.ebuild b/net-proxy/ziproxy/ziproxy-2.4.3.ebuild new file mode 100644 index 000000000000..29dc10e20b82 --- /dev/null +++ b/net-proxy/ziproxy/ziproxy-2.4.3.ebuild @@ -0,0 +1,81 @@ +# 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.3.ebuild,v 1.1 2007/12/30 13:17:34 mrness 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:/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 +} |