diff options
author | Jeroen Roovers <jer@gentoo.org> | 2013-01-08 16:19:56 +0000 |
---|---|---|
committer | Jeroen Roovers <jer@gentoo.org> | 2013-01-08 16:19:56 +0000 |
commit | b34b224b0d03376512cb1b74116155e5eab1aa29 (patch) | |
tree | 8d60e470df553487dd4c63717d9ba860ef8f7b95 | |
parent | dev-tcltk/tkzinc: Add fix for doc building, #450874; move to autotools_utils.... (diff) | |
download | gentoo-2-b34b224b0d03376512cb1b74116155e5eab1aa29.tar.gz gentoo-2-b34b224b0d03376512cb1b74116155e5eab1aa29.tar.bz2 gentoo-2-b34b224b0d03376512cb1b74116155e5eab1aa29.zip |
Inherit user.eclass. Version bump.
(Portage version: 2.2.0_alpha149/cvs/Linux x86_64, signed Manifest commit with key A792A613)
-rw-r--r-- | net-proxy/ziproxy/ChangeLog | 10 | ||||
-rw-r--r-- | net-proxy/ziproxy/ziproxy-3.1.3.ebuild | 6 | ||||
-rw-r--r-- | net-proxy/ziproxy/ziproxy-3.3.0.ebuild | 84 |
3 files changed, 95 insertions, 5 deletions
diff --git a/net-proxy/ziproxy/ChangeLog b/net-proxy/ziproxy/ChangeLog index 7bfc62b7366a..0fa5062d81c3 100644 --- a/net-proxy/ziproxy/ChangeLog +++ b/net-proxy/ziproxy/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for net-proxy/ziproxy -# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-proxy/ziproxy/ChangeLog,v 1.30 2011/10/01 15:24:14 ssuominen Exp $ +# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/net-proxy/ziproxy/ChangeLog,v 1.31 2013/01/08 16:19:56 jer Exp $ + +*ziproxy-3.3.0 (08 Jan 2013) + + 08 Jan 2013; Jeroen Roovers <jer@gentoo.org> ziproxy-3.1.3.ebuild, + +ziproxy-3.3.0.ebuild: + Inherit user.eclass. Version bump. 01 Oct 2011; Samuli Suominen <ssuominen@gentoo.org> -ziproxy-2.7.2.ebuild, -files/ziproxy-2.7.2-libpng14.patch, -ziproxy-3.1.1.ebuild: diff --git a/net-proxy/ziproxy/ziproxy-3.1.3.ebuild b/net-proxy/ziproxy/ziproxy-3.1.3.ebuild index 14300f2dd5ca..1a7d50901f38 100644 --- a/net-proxy/ziproxy/ziproxy-3.1.3.ebuild +++ b/net-proxy/ziproxy/ziproxy-3.1.3.ebuild @@ -1,9 +1,9 @@ -# Copyright 1999-2011 Gentoo Foundation +# Copyright 1999-2013 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-proxy/ziproxy/ziproxy-3.1.3.ebuild,v 1.3 2011/08/09 11:15:13 ssuominen Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-proxy/ziproxy/ziproxy-3.1.3.ebuild,v 1.4 2013/01/08 16:19:56 jer Exp $ EAPI=4 -inherit autotools eutils +inherit autotools eutils user DESCRIPTION="A forwarding, non-caching, compressing web proxy server" HOMEPAGE="http://ziproxy.sourceforge.net/" diff --git a/net-proxy/ziproxy/ziproxy-3.3.0.ebuild b/net-proxy/ziproxy/ziproxy-3.3.0.ebuild new file mode 100644 index 000000000000..988bddfeb0bf --- /dev/null +++ b/net-proxy/ziproxy/ziproxy-3.3.0.ebuild @@ -0,0 +1,84 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-proxy/ziproxy/ziproxy-3.3.0.ebuild,v 1.1 2013/01/08 16:19:56 jer Exp $ + +EAPI=4 +inherit user + +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 ~ppc ~sparc ~x86" +IUSE="jpeg2k sasl xinetd" + +DEPEND=" + media-libs/giflib + media-libs/libpng + virtual/jpeg + sys-libs/zlib + jpeg2k? ( media-libs/jasper ) + sasl? ( dev-libs/cyrus-sasl ) +" +RDEPEND=" + ${DEPEND} + xinetd? ( virtual/inetd ) +" + +pkg_setup() { + enewgroup ziproxy + enewuser ziproxy -1 -1 -1 ziproxy +} + +src_prepare() { + # fix sample config file + sed -i \ + -e "s:/var/ziproxy/:/var/lib/ziproxy/:g" \ + -e "s:%j-%Y.log:/var/log/ziproxy/%j-%Y.log:g" \ + etc/ziproxy/ziproxy.conf || die + + # 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 || die +} + +src_configure() { + econf \ + $(use_with jpeg2k jasper) \ + $(use_with sasl sasl2) \ + --with-cfgfile=/etc/ziproxy/ziproxy.conf +} + +src_install() { + emake DESTDIR="${D}" install + + dodir /usr/sbin + mv -vf "${D}"usr/{,s}bin/ziproxy || die + + dobin src/tools/ziproxy_genhtml_stats.sh + + newinitd "${FILESDIR}"/${PN}.initd ${PN} + newconfd "${FILESDIR}"/${PN}.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 +} |