diff options
-rw-r--r-- | net-proxy/polipo/ChangeLog | 7 | ||||
-rw-r--r-- | net-proxy/polipo/polipo-9999.ebuild | 46 |
2 files changed, 52 insertions, 1 deletions
diff --git a/net-proxy/polipo/ChangeLog b/net-proxy/polipo/ChangeLog index 8b7f165b1886..457391c5461e 100644 --- a/net-proxy/polipo/ChangeLog +++ b/net-proxy/polipo/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for net-proxy/polipo # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-proxy/polipo/ChangeLog,v 1.36 2013/03/04 14:34:10 dastergon Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-proxy/polipo/ChangeLog,v 1.37 2013/03/31 15:30:54 tomwij Exp $ + +*polipo-9999 (31 Mar 2013) + + 31 Mar 2013; Tom Wijsman <TomWij@gentoo.org> +polipo-9999.ebuild: + Added live ebuild for polipo. Reported by Piotr Karbowski. Fixes bug #321549. 04 Mar 2013; Pavlos Ratis <dastergon@gentoo.org> polipo-1.0.4.1-r1.ebuild: fixed QA issues, added GPL-2 to LICENSE, see bug #426130 diff --git a/net-proxy/polipo/polipo-9999.ebuild b/net-proxy/polipo/polipo-9999.ebuild new file mode 100644 index 000000000000..41bf24514369 --- /dev/null +++ b/net-proxy/polipo/polipo-9999.ebuild @@ -0,0 +1,46 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-proxy/polipo/polipo-9999.ebuild,v 1.1 2013/03/31 15:30:54 tomwij Exp $ + +EAPI="5" + +inherit eutils toolchain-funcs git-2 + +DESCRIPTION="A caching web proxy" +HOMEPAGE="http://www.pps.jussieu.fr/~jch/software/polipo/" +EGIT_REPO_URI="git://git.wifi.pps.univ-paris-diderot.fr/polipo" + +LICENSE="MIT GPL-2" +SLOT="0" + +DEPEND="sys-apps/texinfo" +RDEPEND="${DEPEND}" + +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." +} |