summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlin Năstac <mrness@gentoo.org>2007-08-19 09:26:23 +0000
committerAlin Năstac <mrness@gentoo.org>2007-08-19 09:26:23 +0000
commit81962378a1e21bb17f70767440944252eb0481a8 (patch)
treeba8a16ddd289f2eccdeaec1441a3175d69cd8747 /net-proxy/polipo
parentVersion bump; bug #189089 (diff)
downloadgentoo-2-81962378a1e21bb17f70767440944252eb0481a8.tar.gz
gentoo-2-81962378a1e21bb17f70767440944252eb0481a8.tar.bz2
gentoo-2-81962378a1e21bb17f70767440944252eb0481a8.zip
Version bump.
(Portage version: 2.1.2.11)
Diffstat (limited to 'net-proxy/polipo')
-rw-r--r--net-proxy/polipo/ChangeLog7
-rw-r--r--net-proxy/polipo/files/digest-polipo-1.0.13
-rw-r--r--net-proxy/polipo/polipo-1.0.1.ebuild45
3 files changed, 54 insertions, 1 deletions
diff --git a/net-proxy/polipo/ChangeLog b/net-proxy/polipo/ChangeLog
index f004baab7397..f0371d86972e 100644
--- a/net-proxy/polipo/ChangeLog
+++ b/net-proxy/polipo/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for net-proxy/polipo
# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-proxy/polipo/ChangeLog,v 1.18 2007/06/17 07:44:18 mrness Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-proxy/polipo/ChangeLog,v 1.19 2007/08/19 09:26:23 mrness Exp $
+
+*polipo-1.0.1 (19 Aug 2007)
+
+ 19 Aug 2007; Alin Năstac <mrness@gentoo.org> +polipo-1.0.1.ebuild:
+ Version bump.
17 Jun 2007; Alin Năstac <mrness@gentoo.org> files/polipo.crond:
Verify that the service is running before purging old objects from cache.
diff --git a/net-proxy/polipo/files/digest-polipo-1.0.1 b/net-proxy/polipo/files/digest-polipo-1.0.1
new file mode 100644
index 000000000000..b7995fd1819e
--- /dev/null
+++ b/net-proxy/polipo/files/digest-polipo-1.0.1
@@ -0,0 +1,3 @@
+MD5 e88b532bf1b85892e3cb3d2870b5b548 polipo-1.0.1.tar.gz 176927
+RMD160 0e53342a0c9f5bfaf59c061d657b4186ff8e7984 polipo-1.0.1.tar.gz 176927
+SHA256 5d4fa70e0ba43a2c60bf46383e452854c0f556b77394a3cee6b94db1dcb40701 polipo-1.0.1.tar.gz 176927
diff --git a/net-proxy/polipo/polipo-1.0.1.ebuild b/net-proxy/polipo/polipo-1.0.1.ebuild
new file mode 100644
index 000000000000..9f7b26237c3d
--- /dev/null
+++ b/net-proxy/polipo/polipo-1.0.1.ebuild
@@ -0,0 +1,45 @@
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-proxy/polipo/polipo-1.0.1.ebuild,v 1.1 2007/08/19 09:26:23 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_compile() {
+ emake "PREFIX=/usr" "CDEBUGFLAGS=${CFLAGS}" all || die "build failed"
+}
+
+src_install() {
+ einstall "PREFIX=/usr" "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
+}
+
+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."
+}