diff options
author | Alin Năstac <mrness@gentoo.org> | 2006-10-13 17:36:53 +0000 |
---|---|---|
committer | Alin Năstac <mrness@gentoo.org> | 2006-10-13 17:36:53 +0000 |
commit | d671c48022f1f131a4f59b9e17b112d777399ccb (patch) | |
tree | 58350d2191fdedc6d0f383ecc0068a37b1746060 /net-proxy/polipo | |
parent | Bump (diff) | |
download | gentoo-2-d671c48022f1f131a4f59b9e17b112d777399ccb.tar.gz gentoo-2-d671c48022f1f131a4f59b9e17b112d777399ccb.tar.bz2 gentoo-2-d671c48022f1f131a4f59b9e17b112d777399ccb.zip |
Version bump (#150772).
(Portage version: 2.1.1)
Diffstat (limited to 'net-proxy/polipo')
-rw-r--r-- | net-proxy/polipo/ChangeLog | 8 | ||||
-rw-r--r-- | net-proxy/polipo/files/digest-polipo-0.9.10 | 3 | ||||
-rw-r--r-- | net-proxy/polipo/files/polipo-0.9.10-gentoo.patch | 28 | ||||
-rw-r--r-- | net-proxy/polipo/polipo-0.9.10.ebuild | 54 |
4 files changed, 92 insertions, 1 deletions
diff --git a/net-proxy/polipo/ChangeLog b/net-proxy/polipo/ChangeLog index d5ef98dc6702..4551704545d3 100644 --- a/net-proxy/polipo/ChangeLog +++ b/net-proxy/polipo/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for net-proxy/polipo # Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-proxy/polipo/ChangeLog,v 1.8 2006/09/06 20:29:15 mrness Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-proxy/polipo/ChangeLog,v 1.9 2006/10/13 17:36:53 mrness Exp $ + +*polipo-0.9.10 (13 Oct 2006) + + 13 Oct 2006; Alin Nastac <mrness@gentoo.org> + +files/polipo-0.9.10-gentoo.patch, +polipo-0.9.10.ebuild: + Version bump (#150772). *polipo-0.9.9-r2 (06 Sep 2006) diff --git a/net-proxy/polipo/files/digest-polipo-0.9.10 b/net-proxy/polipo/files/digest-polipo-0.9.10 new file mode 100644 index 000000000000..cca18be725cb --- /dev/null +++ b/net-proxy/polipo/files/digest-polipo-0.9.10 @@ -0,0 +1,3 @@ +MD5 257b2a2e0e435b40a614318e0f2a2099 polipo-0.9.10.tar.gz 149303 +RMD160 f1905444490ef8775dc8894addcd07087f5c9c07 polipo-0.9.10.tar.gz 149303 +SHA256 fe25ba6e39186c96278b8cb6803a04438ad2dc838bea704f163bbae86ecabd9d polipo-0.9.10.tar.gz 149303 diff --git a/net-proxy/polipo/files/polipo-0.9.10-gentoo.patch b/net-proxy/polipo/files/polipo-0.9.10-gentoo.patch new file mode 100644 index 000000000000..864b6932f7a9 --- /dev/null +++ b/net-proxy/polipo/files/polipo-0.9.10-gentoo.patch @@ -0,0 +1,28 @@ +diff -Nru polipo-0.9.10.orig/Makefile polipo-0.9.10/Makefile +--- polipo-0.9.10.orig/Makefile 2006-09-02 17:33:44.000000000 +0000 ++++ polipo-0.9.10/Makefile 2006-10-09 07:18:58.000000000 +0000 +@@ -82,11 +82,6 @@ + cp -f localindex.html $(TARGET)$(LOCAL_ROOT)/index.html + + install.man: all +- mkdir -p $(TARGET)$(MANDIR)/man1 +- mkdir -p $(TARGET)$(INFODIR) +- cp -f polipo.man $(TARGET)$(MANDIR)/man1/polipo.1 +- cp polipo.info $(TARGET)$(INFODIR)/ +- install-info --info-dir=$(INFODIR) polipo.info + + + polipo.info: polipo.texi +diff -Nru polipo-0.9.10.orig/polipo.h polipo-0.9.10/polipo.h +--- polipo-0.9.10.orig/polipo.h 2006-09-02 17:33:44.000000000 +0000 ++++ polipo-0.9.10/polipo.h 2006-10-09 07:16:39.000000000 +0000 +@@ -62,7 +62,9 @@ + #if defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L + /* nothing */ + #elif defined(__GNUC__) ++#ifndef inline + #define inline __inline ++#endif + #if (__GNUC__ >= 3) + #define restrict __restrict + #else diff --git a/net-proxy/polipo/polipo-0.9.10.ebuild b/net-proxy/polipo/polipo-0.9.10.ebuild new file mode 100644 index 000000000000..7ad6e80f19be --- /dev/null +++ b/net-proxy/polipo/polipo-0.9.10.ebuild @@ -0,0 +1,54 @@ +# Copyright 1999-2006 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-proxy/polipo/polipo-0.9.10.ebuild,v 1.1 2006/10/13 17:36:53 mrness Exp $ + +inherit eutils + +DESCRIPTION="A caching web proxy" +HOMEPAGE="http://www.pps.jussieu.fr/~jch/software/polipo/" +SRC_URI="http://www.pps.jussieu.fr/~jch/software/files/${PN}/${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +DEPEND="sys-apps/texinfo" + +pkg_setup() { + enewgroup polipo + enewuser polipo -1 -1 /var/cache/polipo polipo +} + +src_unpack() { + unpack ${A} + + epatch "${FILESDIR}/${P}-gentoo.patch" +} + +src_compile() { + emake "PREFIX=/usr" "CDEBUGFLAGS=${CFLAGS}" all || die "build failed" +} + +src_install() { + einstall "PREFIX=/usr" "TARGET=${D}" || die "install failed" + mv polipo.man polipo.1 + doman "${S}/polipo.1" + doinfo "${S}/polipo.info" + + exeinto /etc/init.d ; newexe "${FILESDIR}/polipo.initd" polipo + insinto /etc/polipo ; doins "${FILESDIR}/config" + exeinto /etc/cron.daily ; newexe "${FILESDIR}/polipo.crond" polipo.sh + + diropts -m0750 -o polipo -g polipo + dodir /var/cache/polipo +} + +pkg_preinst() { + pkg_setup +} + +pkg_postinst() { + einfo "Do not forget to read the manual." + einfo "Change the config file in /etc/polipo to suit your needs." +} |