bircoph     15/01/09 00:13:32

  Modified:             polipo-9999.ebuild ChangeLog
  Added:                polipo-1.1.1.ebuild
  Log:
  Version bump.
  Fix bugs 504030, 510056, 520598.
  Provide security update for bug 385307.
  Add init.d script multiplexing. Update crond file to support
  multiplexing.
  
  Signed-off-by: Andrew Savchenko <[email protected]>
  (Portage version: 2.2.15/cvs/Linux i686, signed Manifest commit with key 
565953B95372756C)

Revision  Changes    Path
1.3                  net-proxy/polipo/polipo-9999.ebuild

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-proxy/polipo/polipo-9999.ebuild?rev=1.3&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-proxy/polipo/polipo-9999.ebuild?rev=1.3&content-type=text/plain
diff : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-proxy/polipo/polipo-9999.ebuild?r1=1.2&r2=1.3

Index: polipo-9999.ebuild
===================================================================
RCS file: /var/cvsroot/gentoo-x86/net-proxy/polipo/polipo-9999.ebuild,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- polipo-9999.ebuild  8 Jan 2014 06:26:54 -0000       1.2
+++ polipo-9999.ebuild  9 Jan 2015 00:13:32 -0000       1.3
@@ -1,40 +1,45 @@
-# Copyright 1999-2014 Gentoo Foundation
+# Copyright 1999-2015 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.2 
2014/01/08 06:26:54 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-proxy/polipo/polipo-9999.ebuild,v 1.3 
2015/01/09 00:13:32 bircoph Exp $
 
 EAPI="5"
 
-inherit eutils toolchain-funcs user git-2
+if [[ ${PV} == "9999" ]] ; then
+       _GIT=git-r3
+       EGIT_REPO_URI="https://github.com/jech/${PN}.git";
+       SRC_URI=""
+       KEYWORDS=""
+else
+       
SRC_URI="http://www.pps.jussieu.fr/~jch/software/files/${PN}/${P}.tar.gz";
+       KEYWORDS="~amd64 ~x86"
+fi
+
+inherit ${_GIT} toolchain-funcs user
 
 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}"
+RDEPEND=""
 
 pkg_setup() {
-       enewgroup polipo
-       enewuser polipo -1 -1 /var/cache/polipo polipo
+       enewgroup ${PN}
+       enewuser ${PN} -1 -1 /var/cache/${PN} ${PN}
 }
 
 src_compile() {
        tc-export CC
-       emake PREFIX=/usr "CDEBUGFLAGS=${CFLAGS}" all || die "build failed"
+       emake PREFIX=/usr "CDEBUGFLAGS=${CFLAGS}" all
 }
 
 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
+       einstall PREFIX=/usr MANDIR=/usr/share/man INFODIR=/usr/share/info 
"TARGET=${D}"
 
-       diropts -m0750 -o polipo -g polipo
-       keepdir /var/cache/polipo
+       newinitd "${FILESDIR}/${PN}.initd-2" ${PN}
+       insinto /etc/${PN} ; doins "${FILESDIR}/config"
+       exeinto /etc/cron.weekly ; newexe "${FILESDIR}/${PN}.crond-2" ${PN}
 
        dodoc CHANGES README
        dohtml html/*
@@ -42,5 +47,10 @@
 
 pkg_postinst() {
        einfo "Do not forget to read the manual."
-       einfo "Change the config file in /etc/polipo to suit your needs."
+       einfo "Change the config file in /etc/${PN} to suit your needs."
+       einfo ""
+       einfo "Polipo OpenRC init scripts can now be multiplexed:"
+       einfo "1. create /etc/${PN}/config.foo"
+       einfo "2. symlink /etc/init.d/{${PN}.foo -> ${PN}}"
+       einfo "3. make sure all instances use unique ip:port pair and cachedir, 
if any"
 }



1.42                 net-proxy/polipo/ChangeLog

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-proxy/polipo/ChangeLog?rev=1.42&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-proxy/polipo/ChangeLog?rev=1.42&content-type=text/plain
diff : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-proxy/polipo/ChangeLog?r1=1.41&r2=1.42

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/net-proxy/polipo/ChangeLog,v
retrieving revision 1.41
retrieving revision 1.42
diff -u -r1.41 -r1.42
--- ChangeLog   8 Jan 2015 14:10:03 -0000       1.41
+++ ChangeLog   9 Jan 2015 00:13:32 -0000       1.42
@@ -1,6 +1,16 @@
 # ChangeLog for net-proxy/polipo
 # Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-proxy/polipo/ChangeLog,v 1.41 
2015/01/08 14:10:03 bircoph Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-proxy/polipo/ChangeLog,v 1.42 
2015/01/09 00:13:32 bircoph Exp $
+
+*polipo-1.1.1 (09 Jan 2015)
+
+  09 Jan 2015; Andrew Savchenko <[email protected]> +polipo-1.1.1.ebuild,
+  polipo-9999.ebuild, +files/polipo.crond-2, +files/polipo.initd-2:
+  Version bump.
+  Fix bugs 504030, 510056, 520598.
+  Provide security update for bug 385307.
+  Add init.d script multiplexing. Update crond file to support
+  multiplexing.
 
   08 Jan 2015; Andrew Savchenko <[email protected]> metadata.xml:
   Add myself to maintainers.



1.1                  net-proxy/polipo/polipo-1.1.1.ebuild

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-proxy/polipo/polipo-1.1.1.ebuild?rev=1.1&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-proxy/polipo/polipo-1.1.1.ebuild?rev=1.1&content-type=text/plain

Index: polipo-1.1.1.ebuild
===================================================================
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-proxy/polipo/polipo-1.1.1.ebuild,v 1.1 
2015/01/09 00:13:32 bircoph Exp $

EAPI="5"

if [[ ${PV} == "9999" ]] ; then
        _GIT=git-r3
        EGIT_REPO_URI="https://github.com/jech/${PN}.git";
        SRC_URI=""
        KEYWORDS=""
else
        
SRC_URI="http://www.pps.jussieu.fr/~jch/software/files/${PN}/${P}.tar.gz";
        KEYWORDS="~amd64 ~x86"
fi

inherit ${_GIT} toolchain-funcs user

DESCRIPTION="A caching web proxy"
HOMEPAGE="http://www.pps.jussieu.fr/~jch/software/polipo/";
LICENSE="MIT GPL-2"
SLOT="0"

DEPEND="sys-apps/texinfo"
RDEPEND=""

pkg_setup() {
        enewgroup ${PN}
        enewuser ${PN} -1 -1 /var/cache/${PN} ${PN}
}

src_compile() {
        tc-export CC
        emake PREFIX=/usr "CDEBUGFLAGS=${CFLAGS}" all
}

src_install() {
        einstall PREFIX=/usr MANDIR=/usr/share/man INFODIR=/usr/share/info 
"TARGET=${D}"

        newinitd "${FILESDIR}/${PN}.initd-2" ${PN}
        insinto /etc/${PN} ; doins "${FILESDIR}/config"
        exeinto /etc/cron.weekly ; newexe "${FILESDIR}/${PN}.crond-2" ${PN}

        dodoc CHANGES README
        dohtml html/*
}

pkg_postinst() {
        einfo "Do not forget to read the manual."
        einfo "Change the config file in /etc/${PN} to suit your needs."
        einfo ""
        einfo "Polipo OpenRC init scripts can now be multiplexed:"
        einfo "1. create /etc/${PN}/config.foo"
        einfo "2. symlink /etc/init.d/{${PN}.foo -> ${PN}}"
        einfo "3. make sure all instances use unique ip:port pair and cachedir, 
if any"
}




Reply via email to