summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Savchenko <bircoph@gentoo.org>2015-01-12 16:16:12 +0000
committerAndrew Savchenko <bircoph@gentoo.org>2015-01-12 16:16:12 +0000
commita13b1aec6b3b1b1a872470654cbf35e732034630 (patch)
tree3824f24a5e4294064568eb770a3d7b35bf8e80f5 /net-proxy/polipo
parentCorrect igbinary conditional dependency (diff)
downloadgentoo-2-a13b1aec6b3b1b1a872470654cbf35e732034630.tar.gz
gentoo-2-a13b1aec6b3b1b1a872470654cbf35e732034630.tar.bz2
gentoo-2-a13b1aec6b3b1b1a872470654cbf35e732034630.zip
Remove vulnerable version and related files. See bug 385307
Signed-off-by: Andrew Savchenko <bircoph@gentoo.org> (Portage version: 2.2.15/cvs/Linux i686, signed Manifest commit with key 565953B95372756C)
Diffstat (limited to 'net-proxy/polipo')
-rw-r--r--net-proxy/polipo/ChangeLog6
-rw-r--r--net-proxy/polipo/files/polipo.crond9
-rw-r--r--net-proxy/polipo/files/polipo.initd54
-rw-r--r--net-proxy/polipo/polipo-1.0.4.1-r1.ebuild49
4 files changed, 5 insertions, 113 deletions
diff --git a/net-proxy/polipo/ChangeLog b/net-proxy/polipo/ChangeLog
index eb93174fc9b1..264414a6e4f5 100644
--- a/net-proxy/polipo/ChangeLog
+++ b/net-proxy/polipo/ChangeLog
@@ -1,6 +1,10 @@
# 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.45 2015/01/12 10:38:00 ago Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-proxy/polipo/ChangeLog,v 1.46 2015/01/12 16:16:12 bircoph Exp $
+
+ 12 Jan 2015; Andrew Savchenko <bircoph@gentoo.org> -polipo-1.0.4.1-r1.ebuild,
+ -files/polipo.crond, -files/polipo.initd:
+ Remove vulnerable version and related files. See bug 385307.
12 Jan 2015; Agostino Sarubbo <ago@gentoo.org> polipo-1.1.1.ebuild:
Stable for amd64, wrt bug #385307
diff --git a/net-proxy/polipo/files/polipo.crond b/net-proxy/polipo/files/polipo.crond
deleted file mode 100644
index 2bda2cc0f1a0..000000000000
--- a/net-proxy/polipo/files/polipo.crond
+++ /dev/null
@@ -1,9 +0,0 @@
-#!/bin/sh
-
-if /etc/init.d/polipo --quiet status; then
- #Expire old cached objects
- kill -USR1 $(cat /var/run/polipo.pid)
- sleep 1
- nice -n 15 su -s "/bin/sh" -c "polipo -x" polipo > /dev/null
- kill -USR2 $(cat /var/run/polipo.pid)
-fi
diff --git a/net-proxy/polipo/files/polipo.initd b/net-proxy/polipo/files/polipo.initd
deleted file mode 100644
index e64599bebccb..000000000000
--- a/net-proxy/polipo/files/polipo.initd
+++ /dev/null
@@ -1,54 +0,0 @@
-#!/sbin/runscript
-# Copyright 1999-2011 Gentoo Technologies, Inc.
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-proxy/polipo/files/polipo.initd,v 1.6 2011/12/31 21:11:37 idl0r Exp $
-
-depend() {
- need net
-}
-
-checkconfig() {
- { polipo -v || return 1 ; } | {
- local retvalue=0
- local name type value desc
- while read name type value desc ; do
- case ${name} in
- configFile)
- if [ "${value}" = "(none)" ] ; then
- eerror "Unable to read configuration file /etc/polipo/config"
- retvalue=1
- fi
- ;;
- daemonise)
- if [ "${value}" != "false" ] ; then
- eerror "Configuration option not supported by this init script: ${name}=${value}"
- retvalue=1
- fi
- ;;
- pidFile)
- if [ "${value}" != "(none)" ] ; then
- eerror "Configuration option not supported by this init script: ${name}=${value}"
- retvalue=1
- fi
- ;;
- esac
- done
- return ${retvalue}
- }
-}
-
-start() {
- checkconfig || return 1
-
- ebegin "Starting Polipo HTTP proxy"
- start-stop-daemon --start --user polipo \
- --background --pidfile /var/run/polipo.pid --make-pidfile \
- --exec /usr/bin/polipo
- eend $?
-}
-
-stop() {
- ebegin "Stopping Polipo HTTP proxy"
- start-stop-daemon --stop --pidfile /var/run/polipo.pid
- eend $?
-}
diff --git a/net-proxy/polipo/polipo-1.0.4.1-r1.ebuild b/net-proxy/polipo/polipo-1.0.4.1-r1.ebuild
deleted file mode 100644
index 0766d0640517..000000000000
--- a/net-proxy/polipo/polipo-1.0.4.1-r1.ebuild
+++ /dev/null
@@ -1,49 +0,0 @@
-# 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-1.0.4.1-r1.ebuild,v 1.2 2013/03/04 14:34:10 dastergon Exp $
-
-EAPI="4"
-
-inherit eutils toolchain-funcs user
-
-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 GPL-2"
-SLOT="0"
-KEYWORDS="amd64 x86"
-IUSE=""
-
-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."
-}