public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] gentoo-x86 commit in net-proxy/ziproxy: ChangeLog ziproxy-2.5.1.ebuild ziproxy-2.5.2.ebuild ziproxy-2.4.3.ebuild
@ 2008-07-08 19:07 Alin Nastac (mrness)
  0 siblings, 0 replies; only message in thread
From: Alin Nastac (mrness) @ 2008-07-08 19:07 UTC (permalink / raw
  To: gentoo-commits

mrness      08/07/08 19:07:08

  Modified:             ChangeLog ziproxy-2.5.1.ebuild
  Added:                ziproxy-2.5.2.ebuild
  Removed:              ziproxy-2.4.3.ebuild
  Log:
  Remove old version. Version bump. Fix init script (#231005).
  (Portage version: 2.1.4.4)

Revision  Changes    Path
1.18                 net-proxy/ziproxy/ChangeLog

file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-proxy/ziproxy/ChangeLog?rev=1.18&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-proxy/ziproxy/ChangeLog?rev=1.18&content-type=text/plain
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-proxy/ziproxy/ChangeLog?r1=1.17&r2=1.18

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/net-proxy/ziproxy/ChangeLog,v
retrieving revision 1.17
retrieving revision 1.18
diff -u -r1.17 -r1.18
--- ChangeLog	16 Mar 2008 23:36:30 -0000	1.17
+++ ChangeLog	8 Jul 2008 19:07:08 -0000	1.18
@@ -1,6 +1,14 @@
 # ChangeLog for net-proxy/ziproxy
 # Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-proxy/ziproxy/ChangeLog,v 1.17 2008/03/16 23:36:30 sbriesen Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-proxy/ziproxy/ChangeLog,v 1.18 2008/07/08 19:07:08 mrness Exp $
+
+*ziproxy-2.5.2 (08 Jul 2008)
+
+  08 Jul 2008; Alin Năstac <mrness@gentoo.org> -files/ziproxy-2.4.confd,
+  -files/ziproxy-2.4.initd, -files/ziproxy-2.5.confd,
+  -files/ziproxy-2.5.initd, +files/ziproxy.confd, +files/ziproxy.initd,
+  -ziproxy-2.4.3.ebuild, ziproxy-2.5.1.ebuild, +ziproxy-2.5.2.ebuild:
+  Remove old version. Version bump. Fix init script (#231005).
 
   16 Mar 2008; Stefan Briesenick <sbriesen@gentoo.org>
   -files/ziproxy-2.3.0.diff, -files/ziproxy-2.3.confd,



1.2                  net-proxy/ziproxy/ziproxy-2.5.1.ebuild

file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-proxy/ziproxy/ziproxy-2.5.1.ebuild?rev=1.2&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-proxy/ziproxy/ziproxy-2.5.1.ebuild?rev=1.2&content-type=text/plain
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-proxy/ziproxy/ziproxy-2.5.1.ebuild?r1=1.1&r2=1.2

Index: ziproxy-2.5.1.ebuild
===================================================================
RCS file: /var/cvsroot/gentoo-x86/net-proxy/ziproxy/ziproxy-2.5.1.ebuild,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- ziproxy-2.5.1.ebuild	16 Mar 2008 23:34:41 -0000	1.1
+++ ziproxy-2.5.1.ebuild	8 Jul 2008 19:07:08 -0000	1.2
@@ -1,6 +1,6 @@
 # Copyright 1999-2008 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-proxy/ziproxy/ziproxy-2.5.1.ebuild,v 1.1 2008/03/16 23:34:41 sbriesen Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-proxy/ziproxy/ziproxy-2.5.1.ebuild,v 1.2 2008/07/08 19:07:08 mrness Exp $
 
 WANT_AUTOCONF="latest"
 WANT_AUTOMAKE="latest"
@@ -59,8 +59,8 @@
 	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}
+	newinitd "${FILESDIR}/${PN}.initd" ${PN}
+	newconfd "${FILESDIR}/${PN}.confd" ${PN}
 
 	dodoc ChangeLog CREDITS README README.tools
 	use jpeg2k && dodoc JPEG2000.txt



1.1                  net-proxy/ziproxy/ziproxy-2.5.2.ebuild

file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-proxy/ziproxy/ziproxy-2.5.2.ebuild?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-proxy/ziproxy/ziproxy-2.5.2.ebuild?rev=1.1&content-type=text/plain

Index: ziproxy-2.5.2.ebuild
===================================================================
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-proxy/ziproxy/ziproxy-2.5.2.ebuild,v 1.1 2008/07/08 19:07:08 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:/var/ziproxy/:/var/lib/ziproxy/:g" \
		etc/ziproxy/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="--with-cfgfile=/etc/ziproxy/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}.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
}



-- 
gentoo-commits@lists.gentoo.org mailing list



^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2008-07-08 19:07 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-07-08 19:07 [gentoo-commits] gentoo-x86 commit in net-proxy/ziproxy: ChangeLog ziproxy-2.5.1.ebuild ziproxy-2.5.2.ebuild ziproxy-2.4.3.ebuild Alin Nastac (mrness)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox