summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--net-proxy/privoxy/ChangeLog6
-rw-r--r--net-proxy/privoxy/files/privoxy-3.0.6-implicit-decl.patch11
-rw-r--r--net-proxy/privoxy/privoxy-3.0.6.ebuild76
-rw-r--r--net-proxy/squidclamav/ChangeLog6
-rw-r--r--net-proxy/squidclamav/files/squidclamav-3.2-gentoo.patch28
-rw-r--r--net-proxy/squidclamav/squidclamav-3.2.ebuild44
6 files changed, 10 insertions, 161 deletions
diff --git a/net-proxy/privoxy/ChangeLog b/net-proxy/privoxy/ChangeLog
index b4693124e77b..a609fa36dbc4 100644
--- a/net-proxy/privoxy/ChangeLog
+++ b/net-proxy/privoxy/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for net-proxy/privoxy
# Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-proxy/privoxy/ChangeLog,v 1.35 2008/06/28 14:16:43 armin76 Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-proxy/privoxy/ChangeLog,v 1.36 2008/07/13 14:30:56 mrness Exp $
+
+ 13 Jul 2008; Alin Năstac <mrness@gentoo.org>
+ -files/privoxy-3.0.6-implicit-decl.patch, -privoxy-3.0.6.ebuild:
+ Remove obsolete version.
28 Jun 2008; Raúl Porcel <armin76@gentoo.org> privoxy-3.0.8.ebuild:
alpha stable wrt #228745
diff --git a/net-proxy/privoxy/files/privoxy-3.0.6-implicit-decl.patch b/net-proxy/privoxy/files/privoxy-3.0.6-implicit-decl.patch
deleted file mode 100644
index 4c2029729956..000000000000
--- a/net-proxy/privoxy/files/privoxy-3.0.6-implicit-decl.patch
+++ /dev/null
@@ -1,11 +0,0 @@
-diff -Nru privoxy-3.0.6-stable.orig/parsers.c privoxy-3.0.6-stable/parsers.c
---- privoxy-3.0.6-stable.orig/parsers.c 2006-11-13 21:05:51.000000000 +0200
-+++ privoxy-3.0.6-stable/parsers.c 2007-04-11 16:07:33.000000000 +0300
-@@ -541,6 +541,7 @@
- #include <ctype.h>
- #include <assert.h>
- #include <string.h>
-+#define __USE_XOPEN
- #include <time.h>
-
- #if !defined(_WIN32) && !defined(__OS2__)
diff --git a/net-proxy/privoxy/privoxy-3.0.6.ebuild b/net-proxy/privoxy/privoxy-3.0.6.ebuild
deleted file mode 100644
index bacb0e3dfe6d..000000000000
--- a/net-proxy/privoxy/privoxy-3.0.6.ebuild
+++ /dev/null
@@ -1,76 +0,0 @@
-# Copyright 1999-2007 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-proxy/privoxy/privoxy-3.0.6.ebuild,v 1.11 2007/11/04 08:20:50 mrness Exp $
-
-WANT_AUTOMAKE="latest"
-WANT_AUTOCONF="latest"
-
-inherit toolchain-funcs eutils autotools
-
-HOMEPAGE="http://www.privoxy.org
- http://sourceforge.net/projects/ijbswa/"
-DESCRIPTION="A web proxy with advanced filtering capabilities for protecting privacy against Internet junk"
-SRC_URI="mirror://sourceforge/ijbswa/${P}-stable-src.tar.gz"
-
-IUSE="pcre selinux"
-SLOT="0"
-KEYWORDS="alpha amd64 ppc ppc64 sparc x86 ~x86-fbsd"
-LICENSE="GPL-2"
-
-DEPEND="pcre? ( dev-libs/libpcre )"
-RDEPEND="${DEPEND}
- selinux? ( sec-policy/selinux-privoxy )"
-
-S="${WORKDIR}/${P}-stable"
-
-pkg_setup() {
- enewgroup privoxy
- enewuser privoxy -1 -1 /etc/privoxy privoxy
-}
-
-src_unpack() {
- unpack ${A}
-
- epatch "${FILESDIR}"/${P}-implicit-decl.patch
-
- cd "${S}"
- sed -e 's:confdir .:confdir /etc/privoxy:' \
- -e 's:logdir .:logdir /var/log/privoxy:' \
- -e 's:logfile logfile:logfile privoxy.log:' \
- -i config || die "sed failed."
- sed -e 's:^\+set-image-blocker{pattern}:+set-image-blocker{blank}:' \
- -i default.action.master || die "sed 2 failed."
- eautoreconf || die "autoconf failed"
-}
-
-src_compile() {
- export CC=$(tc-getCC)
- econf \
- $(use_enable pcre dynamic-pcre) \
- --with-user=privoxy \
- --with-group=privoxy \
- --sysconfdir=/etc/privoxy \
- || die "econf failed"
-
- emake || die "emake failed"
-}
-
-src_install () {
- dosbin privoxy
- newinitd "${FILESDIR}/privoxy.initd" privoxy
- insinto /etc/logrotate.d
- newins "${FILESDIR}/privoxy.logrotate" privoxy
-
- insinto /etc/privoxy
- doins default.action default.filter config standard.action trust user.action
- insinto /etc/privoxy/templates
- doins templates/*
-
- doman privoxy.1
- dodoc README AUTHORS doc/text/faq.txt ChangeLog
- cd doc/webserver
- dohtml -r developer-manual faq man-page user-manual
-
- diropts -m 0750 -g privoxy -o privoxy
- keepdir /var/log/privoxy
-}
diff --git a/net-proxy/squidclamav/ChangeLog b/net-proxy/squidclamav/ChangeLog
index 7819d584580d..a747198b8760 100644
--- a/net-proxy/squidclamav/ChangeLog
+++ b/net-proxy/squidclamav/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for net-proxy/squidclamav
# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-proxy/squidclamav/ChangeLog,v 1.6 2008/05/14 22:10:05 mrness Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-proxy/squidclamav/ChangeLog,v 1.7 2008/07/13 14:29:24 mrness Exp $
+
+ 13 Jul 2008; Alin Năstac <mrness@gentoo.org>
+ -files/squidclamav-3.2-gentoo.patch, -squidclamav-3.2.ebuild:
+ Remove obsolete version.
*squidclamav-3.5 (14 May 2008)
diff --git a/net-proxy/squidclamav/files/squidclamav-3.2-gentoo.patch b/net-proxy/squidclamav/files/squidclamav-3.2-gentoo.patch
deleted file mode 100644
index 316aa00dfa39..000000000000
--- a/net-proxy/squidclamav/files/squidclamav-3.2-gentoo.patch
+++ /dev/null
@@ -1,28 +0,0 @@
-diff -Nru squidclamav-3.2.orig/squidclamav.conf.dist squidclamav-3.2/squidclamav.conf.dist
---- squidclamav-3.2.orig/squidclamav.conf.dist 2007-08-22 15:50:41.000000000 +0300
-+++ squidclamav-3.2/squidclamav.conf.dist 2007-12-30 13:56:58.000000000 +0200
-@@ -29,7 +29,7 @@
- #
- # stat 0|1
- #
--# squidguard /usr/local/squidGuard/bin/squidGuard
-+# squidguard /usr/bin/squidGuard
- #
- # whitelist this.trustdomain.com
- # whitelist .*\.domain\.*
-@@ -39,12 +39,12 @@
- #proxy http://127.0.0.1:3128/
- #logfile /var/log/squidclamav.log
- #redirect http://proxy.domain.com/cgi-bin/clwarn.cgi
--#squidguard /usr/local/squidGuard/bin/squidGuard
-+#squidguard /usr/bin/squidGuard
- #debug 0
- #force 1
- #stat 1
--#clamd_local /tmp/clamd
--#clamd_ip 192.168.1.5
-+#clamd_local /var/run/clamav/clamd.sock
-+#clamd_ip 127.0.0.1
- #clamd_port 3310
- #timeout 60
- #abort ^.*\.gz$
diff --git a/net-proxy/squidclamav/squidclamav-3.2.ebuild b/net-proxy/squidclamav/squidclamav-3.2.ebuild
deleted file mode 100644
index f81ba3b253c2..000000000000
--- a/net-proxy/squidclamav/squidclamav-3.2.ebuild
+++ /dev/null
@@ -1,44 +0,0 @@
-# Copyright 1999-2007 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-proxy/squidclamav/squidclamav-3.2.ebuild,v 1.1 2007/12/30 12:16:37 mrness Exp $
-
-inherit eutils
-
-DESCRIPTION="A Squid redirector to allow easy antivirus file scanning, using ClamAV"
-HOMEPAGE="http://www.samse.fr/GPL/"
-SRC_URI="http://www.samse.fr/GPL/${PN}/${P}.tar.gz"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE=""
-
-DEPEND="net-misc/curl
- dev-libs/openssl
- sys-libs/zlib
- app-arch/bzip2"
-RDEPEND="${DEPEND}
- net-proxy/squid"
-
-src_unpack() {
- unpack ${A}
-
- epatch "${FILESDIR}/${P}-gentoo.patch"
-}
-
-src_install() {
- dosbin squidclamav || die "dosbin failed"
- insinto /etc
- newins squidclamav.conf.dist squidclamav.conf
- keepdir /var/log/squidclamav
- fowners squid:squid /var/log/squidclamav
- dodoc ChangeLog README squidclamav.conf.dist clwarn.cgi*
-}
-
-pkg_postinst() {
- einfo "To enable squidclam, add the following lines to /etc/squid/squid.conf:"
- einfo " url_rewrite_program /usr/sbin/squidclamav"
- einfo " url_rewrite_children 15"
- einfo " url_rewrite_access deny localhost # prevent loops"
- einfo " url_rewrite_access deny SSL_ports # SSL URLs cannot be scanned"
-}