summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuli Suominen <ssuominen@gentoo.org>2010-06-15 15:09:59 +0000
committerSamuli Suominen <ssuominen@gentoo.org>2010-06-15 15:09:59 +0000
commite945a58bacf2b062107670cb4e8633f32571da66 (patch)
treeb52f3962a48538a8f6008626e939f9cb5bb66a2b /net-proxy
parentMasking sci-chemistry/pdb-extract-3.004-r2 for bug 314053 (diff)
downloadhistorical-e945a58bacf2b062107670cb4e8633f32571da66.tar.gz
historical-e945a58bacf2b062107670cb4e8633f32571da66.tar.bz2
historical-e945a58bacf2b062107670cb4e8633f32571da66.zip
Version bump wrt #324021.
Package-Manager: portage-2.2_rc67/cvs/Linux x86_64
Diffstat (limited to 'net-proxy')
-rw-r--r--net-proxy/ziproxy/ChangeLog7
-rw-r--r--net-proxy/ziproxy/Manifest4
-rw-r--r--net-proxy/ziproxy/ziproxy-3.1.1.ebuild83
3 files changed, 92 insertions, 2 deletions
diff --git a/net-proxy/ziproxy/ChangeLog b/net-proxy/ziproxy/ChangeLog
index 2b83d5a70af5..1dbb686d09ca 100644
--- a/net-proxy/ziproxy/ChangeLog
+++ b/net-proxy/ziproxy/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for net-proxy/ziproxy
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-proxy/ziproxy/ChangeLog,v 1.25 2010/04/13 10:23:43 flameeyes Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-proxy/ziproxy/ChangeLog,v 1.26 2010/06/15 15:09:59 ssuominen Exp $
+
+*ziproxy-3.1.1 (15 Jun 2010)
+
+ 15 Jun 2010; Samuli Suominen <ssuominen@gentoo.org> +ziproxy-3.1.1.ebuild:
+ Version bump wrt #324021.
13 Apr 2010; Diego E. Pettenò <flameeyes@gentoo.org>
files/ziproxy-2.7.2-libpng14.patch:
diff --git a/net-proxy/ziproxy/Manifest b/net-proxy/ziproxy/Manifest
index a48dfc7109ea..4c8c00fa0e84 100644
--- a/net-proxy/ziproxy/Manifest
+++ b/net-proxy/ziproxy/Manifest
@@ -2,6 +2,8 @@ AUX ziproxy-2.7.2-libpng14.patch 913 RMD160 9a6669a06ee285be933a045bc49ecb49b447
AUX ziproxy.confd 650 RMD160 1cbd1e13f3276399b89c94c0323fb8fa05c9c6af SHA1 12e7b4bf054e89de93c548be5c7fe000632c63b9 SHA256 dad7db324941944a35c87d4e061a004f5d9638ea24f139bc9bad80a51e0e8d78
AUX ziproxy.initd 706 RMD160 b52b5b8f80bc402ff801723c4d9fb79f37935033 SHA1 66b467840480c94a7b551f4a92d1b2ab4752b199 SHA256 f143de97458b3373ba7b177fc19109ba8730354240e9ab5b3f5fe6192103d099
DIST ziproxy-2.7.2.tar.bz2 258257 RMD160 60f04f5e482e034b5613f44ec1ba129f8c16e79b SHA1 1e2383d62234961c9acf6a12a0d6f7fa59182f7a SHA256 697e589343d2f7a145182511cdbc46c52e9e30a4f420e82f18e6549ced7b129a
+DIST ziproxy-3.1.1.tar.bz2 260604 RMD160 bd1693a2644008c1b7519aa905a16ccacfae3808 SHA1 c75058fcee5f8bc1cea035d1868ae40e53514393 SHA256 8066037eb7a82dc140286ac0e58c81d36da8bc1c76f2699cd0c44f8a631f93b2
EBUILD ziproxy-2.7.2.ebuild 2057 RMD160 7f7ec10da7e91072ab7957c6725346027ebbae80 SHA1 386fb548d90b9f23067999ac4d9b72a86fab37a6 SHA256 033865079938e7e76f099607095113fef2b738fb3b38059e274eadb2defda555
-MISC ChangeLog 4520 RMD160 0faa60210cea084122d312d33239f447873bfffc SHA1 b19f18e561f21c193a8c2f3527e3ddd4f860a999 SHA256 aab6aa4e36d7a6b4bd8ba0274710a89d87e948d8e8b997db40ae029cc0bb8893
+EBUILD ziproxy-3.1.1.ebuild 1890 RMD160 019fe3cfbe27db4d543ea7320427146d4679c97a SHA1 be49c404f96e2c57eb48f8a59f3238b51ed6df92 SHA256 c74cb2f762e7f675958940b294b52e2a608a63efc75194acd50a66fc53f4d7cc
+MISC ChangeLog 4656 RMD160 0dc1dbb8fc1f8f3f4a4dd9c18ef1eea8656f4d50 SHA1 391af432d99a0b27bb0d398f7a67d4a95c1253a7 SHA256 69dfd980d119e17049068b6e9601e488d22c7124e307bee190956074414c12ea
MISC metadata.xml 534 RMD160 00f3e51718dbf971a2a828f9e465e3bedb0ee93e SHA1 7f1144f73a3502d77737e553424a421d986d57a9 SHA256 a07a0f1fef6f615ca4dd7d66321ef8e733faea0068218fcab034085d42236b68
diff --git a/net-proxy/ziproxy/ziproxy-3.1.1.ebuild b/net-proxy/ziproxy/ziproxy-3.1.1.ebuild
new file mode 100644
index 000000000000..bdda34133574
--- /dev/null
+++ b/net-proxy/ziproxy/ziproxy-3.1.1.ebuild
@@ -0,0 +1,83 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-proxy/ziproxy/ziproxy-3.1.1.ebuild,v 1.1 2010/06/15 15:09:59 ssuominen Exp $
+
+EAPI=2
+inherit autotools 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 ~ppc ~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_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
+
+ AT_M4DIR="config" eautoreconf
+}
+
+src_configure() {
+ local myconf
+ use jpeg2k && myconf="--with-jasper" # use_with doesn't work
+
+ econf \
+ --with-cfgfile=/etc/ziproxy/ziproxy.conf \
+ ${myconf}
+}
+
+src_install() {
+ emake DESTDIR="${D}" install || die
+
+ dodir /usr/sbin
+ mv -vf "${D}"usr/{,s}bin/ziproxy || die
+
+ dobin src/tools/ziproxy_genhtml_stats.sh || die
+
+ 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 || die
+
+ insinto /var/lib/ziproxy/error
+ doins var/ziproxy/error/*.html || die
+
+ if use xinetd; then
+ insinto /etc/xinetd.d
+ doins etc/xinetd.d/ziproxy || die
+ fi
+
+ diropts -m0750 -o ziproxy -g ziproxy
+ keepdir /var/log/ziproxy
+}