summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeroen Roovers <jer@gentoo.org>2010-05-26 17:36:53 +0000
committerJeroen Roovers <jer@gentoo.org>2010-05-26 17:36:53 +0000
commit73214b71fa3d198d84bbe72f0df6aaa629463dd8 (patch)
treedeede50b720753b6ab2b4249dd3452bd4f759950 /net-proxy
parentGrab a bunch of patches to fix some NULL ptr deref issues and fix up some cor... (diff)
downloadgentoo-2-73214b71fa3d198d84bbe72f0df6aaa629463dd8.tar.gz
gentoo-2-73214b71fa3d198d84bbe72f0df6aaa629463dd8.tar.bz2
gentoo-2-73214b71fa3d198d84bbe72f0df6aaa629463dd8.zip
Version bump (bug #300173). Respect CC.
(Portage version: 2.2_rc67/cvs/Linux i686)
Diffstat (limited to 'net-proxy')
-rw-r--r--net-proxy/polipo/ChangeLog9
-rw-r--r--net-proxy/polipo/polipo-1.0.4.1.ebuild46
2 files changed, 53 insertions, 2 deletions
diff --git a/net-proxy/polipo/ChangeLog b/net-proxy/polipo/ChangeLog
index f1833e6a4d59..e59731b9cf69 100644
--- a/net-proxy/polipo/ChangeLog
+++ b/net-proxy/polipo/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for net-proxy/polipo
-# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-proxy/polipo/ChangeLog,v 1.31 2009/09/13 14:41:29 maekke Exp $
+# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/net-proxy/polipo/ChangeLog,v 1.32 2010/05/26 17:36:53 jer Exp $
+
+*polipo-1.0.4.1 (26 May 2010)
+
+ 26 May 2010; Jeroen Roovers <jer@gentoo.org> +polipo-1.0.4.1.ebuild:
+ Version bump (bug #300173). Respect CC.
13 Sep 2009; Markus Meier <maekke@gentoo.org> polipo-1.0.4.ebuild:
amd64 stable, bug #284449
diff --git a/net-proxy/polipo/polipo-1.0.4.1.ebuild b/net-proxy/polipo/polipo-1.0.4.1.ebuild
new file mode 100644
index 000000000000..fafee4ce02c1
--- /dev/null
+++ b/net-proxy/polipo/polipo-1.0.4.1.ebuild
@@ -0,0 +1,46 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-proxy/polipo/polipo-1.0.4.1.ebuild,v 1.1 2010/05/26 17:36:53 jer Exp $
+
+inherit eutils toolchain-funcs
+
+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"
+SRC_URI="http://freehaven.net/~chrisd/${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_compile() {
+ tc-export CC
+ emake PREFIX=/usr "CDEBUGFLAGS=${CFLAGS}" all || die "build failed"
+}
+
+src_install() {
+ einstall PREFIX=/usr MANDIR=/usr/share/man INFODIR=/usr/share/info "TARGET=${D}" || die "install failed"
+
+ newinitd "${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
+ keepdir /var/cache/polipo
+
+ dodoc CHANGES README
+ dohtml html/*
+}
+
+pkg_postinst() {
+ einfo "Do not forget to read the manual."
+ einfo "Change the config file in /etc/polipo to suit your needs."
+}