summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStuart Herbert <stuart@gentoo.org>2004-08-15 19:05:33 +0000
committerStuart Herbert <stuart@gentoo.org>2004-08-15 19:05:33 +0000
commitcb6fdeba1afa13c9235ba94df2b806c3e0ba1f62 (patch)
treeda36eb3a47dfad53e4c872f239656aab9862f7fe /net-www
parentMoved from net-www/squidguard to www-proxy/squidguard. (diff)
downloadgentoo-2-cb6fdeba1afa13c9235ba94df2b806c3e0ba1f62.tar.gz
gentoo-2-cb6fdeba1afa13c9235ba94df2b806c3e0ba1f62.tar.bz2
gentoo-2-cb6fdeba1afa13c9235ba94df2b806c3e0ba1f62.zip
Moving to www-proxy/squidguard
Diffstat (limited to 'net-www')
-rw-r--r--net-www/squidguard/ChangeLog35
-rw-r--r--net-www/squidguard/Manifest9
-rw-r--r--net-www/squidguard/files/blockedsites1
-rw-r--r--net-www/squidguard/files/digest-squidguard-1.2.0-r11
-rw-r--r--net-www/squidguard/files/squidGuard.conf.blocksites13
-rw-r--r--net-www/squidguard/files/squidGuard.conf.minimal7
-rw-r--r--net-www/squidguard/files/squidguard-1.2.0-db4.patch23
-rw-r--r--net-www/squidguard/files/squidguard-1.2.0-db41.patch24
-rw-r--r--net-www/squidguard/metadata.xml9
-rw-r--r--net-www/squidguard/squidguard-1.2.0-r1.ebuild71
10 files changed, 0 insertions, 193 deletions
diff --git a/net-www/squidguard/ChangeLog b/net-www/squidguard/ChangeLog
deleted file mode 100644
index e28f78321071..000000000000
--- a/net-www/squidguard/ChangeLog
+++ /dev/null
@@ -1,35 +0,0 @@
-# ChangeLog for net-www/squidguard
-# Copyright 2002-2004 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-www/squidguard/ChangeLog,v 1.10 2004/07/15 04:10:51 cyfred Exp $
-
- 15 Jul 2004; Andrew Bevitt <cyfred@gentoo.org>;
- +files/squidguard-1.2.0-db41.patch, squidguard-1.2.0-r1.ebuild,
- -squidguard-1.2.0.ebuild:
- Adding support for DB 4.1, closing bugs #34154 and #44546; removing old
- version.
-
- 23 Jun 2004; Andrew Bevitt <cyfred@gentoo.org>; +metadata.xml:
- Adding metadata.xml
-
- 27 Apr 2004; Aron Griffis <agriffis@gentoo.org> squidguard-1.2.0-r1.ebuild:
- Add inherit eutils
-
- 20 Sep 2003; Todd Sunderlin <todd@gentoo.org> squidguard-1.2.0.ebuild:
- marked unstable for sparc
-
-*squidguard-1.2.0-r1 (04 Aug 2003)
-
- 04 Aug 2003; Martin Holzer <mholzer@gentoo.org> squidguard-1.2.0-r1.ebuild:
- Adding config option. Submitted by Maik Schreiber <blizzy@blizzy.de> in #25516.
-
- 28 May 2003; Paul de Vrieze <pauldv@gentoo.org> squidguard-1.2.0.ebuild:
- Fix squidguard to properly recognize db4's versioned symbols.
-
-*squidguard-1.2.0 (23 Oct 2002)
-
- 13 Apr 2003; Martin Holzer <mholzer@gentoo.org> Manifest,
- squidguard-1.2.0.ebuild:
- Corrected Homepage. Closes #19255.
-
- 23 Oct 2002; Maik Schreiber <blizzy@gentoo.org> : Initial import. ebuild done
- by myself.
diff --git a/net-www/squidguard/Manifest b/net-www/squidguard/Manifest
deleted file mode 100644
index f965147bad9f..000000000000
--- a/net-www/squidguard/Manifest
+++ /dev/null
@@ -1,9 +0,0 @@
-MD5 f6da3fed6b8b27c70063f6f8b3b5bf57 squidguard-1.2.0-r1.ebuild 1865
-MD5 a8263eb807f17b8e8dfe146683d3df96 ChangeLog 1318
-MD5 d7dd06078d4f3a44b46709294cc7bc21 metadata.xml 249
-MD5 127270fbe0d0bfbc141ffaf56313f3e6 files/blockedsites 8
-MD5 0c3ba4835c98256ad8ee4bf3336eb277 files/squidGuard.conf.minimal 61
-MD5 5838403ff8fe47285fdc4235a53467ba files/squidguard-1.2.0-db4.patch 685
-MD5 71814cadfec6eed3d7ee2437fdd1f0ab files/squidguard-1.2.0-db41.patch 794
-MD5 bca506ead890af8fe52e0fdf5e73440f files/digest-squidguard-1.2.0-r1 69
-MD5 3e17e52277c56640bb3a9a24da57dae9 files/squidGuard.conf.blocksites 192
diff --git a/net-www/squidguard/files/blockedsites b/net-www/squidguard/files/blockedsites
deleted file mode 100644
index 46279a47eed4..000000000000
--- a/net-www/squidguard/files/blockedsites
+++ /dev/null
@@ -1 +0,0 @@
-sex.com
diff --git a/net-www/squidguard/files/digest-squidguard-1.2.0-r1 b/net-www/squidguard/files/digest-squidguard-1.2.0-r1
deleted file mode 100644
index d941cb9c00f7..000000000000
--- a/net-www/squidguard/files/digest-squidguard-1.2.0-r1
+++ /dev/null
@@ -1 +0,0 @@
-MD5 c6e2e9112fdbda0602656f94c1ce31fd squidGuard-1.2.0.tar.gz 1852737
diff --git a/net-www/squidguard/files/squidGuard.conf.blocksites b/net-www/squidguard/files/squidGuard.conf.blocksites
deleted file mode 100644
index eaa8cdeef051..000000000000
--- a/net-www/squidguard/files/squidGuard.conf.blocksites
+++ /dev/null
@@ -1,13 +0,0 @@
-logdir /var/log/squidGuard
-dbhome /etc/squidGuard/db
-
-dest blockedsites {
- domainlist blockedsites
-}
-
-acl {
- default {
- pass !blockedsites all
- redirect http://www.sample.com/empty.png
- }
-}
diff --git a/net-www/squidguard/files/squidGuard.conf.minimal b/net-www/squidguard/files/squidGuard.conf.minimal
deleted file mode 100644
index 3b0ebf55c766..000000000000
--- a/net-www/squidguard/files/squidGuard.conf.minimal
+++ /dev/null
@@ -1,7 +0,0 @@
-logdir /var/log/squidGuard
-
-acl {
- default {
- pass all
- }
-}
diff --git a/net-www/squidguard/files/squidguard-1.2.0-db4.patch b/net-www/squidguard/files/squidguard-1.2.0-db4.patch
deleted file mode 100644
index 37da3f1bfded..000000000000
--- a/net-www/squidguard/files/squidguard-1.2.0-db4.patch
+++ /dev/null
@@ -1,23 +0,0 @@
-diff -urN squidGuard-1.2.0.orig/configure.in squidGuard-1.2.0/configure.in
---- squidGuard-1.2.0.orig/configure.in 2001-12-18 11:16:36.000000000 +0100
-+++ squidGuard-1.2.0/configure.in 2003-05-28 09:57:42.000000000 +0200
-@@ -71,7 +71,9 @@
-
- dnl Checks for libraries.
-
--AC_CHECK_LIB(db,db_version,,[
-+AC_CHECK_LIB(db,db_version,,
-+AC_CHECK_LIB(db,db_version_4000,,
-+AC_CHECK_LIB(db,db_version_4001,,[
- echo
- echo "** The Berkley DB library is required for squidGuard"
- echo " to compile. Get it from http://www.sleepycat.com"
-@@ -79,7 +81,7 @@
- echo " its location. (default is $dbprefix/BerkeleyDB)"
- echo
- exit 1
-- ])
-+ ])))
-
- dnl Checks for header files.
- AC_HEADER_STDC
diff --git a/net-www/squidguard/files/squidguard-1.2.0-db41.patch b/net-www/squidguard/files/squidguard-1.2.0-db41.patch
deleted file mode 100644
index 76a57a5f1deb..000000000000
--- a/net-www/squidguard/files/squidguard-1.2.0-db41.patch
+++ /dev/null
@@ -1,24 +0,0 @@
---- src/sgDb.c 2004-07-04 11:36:19.020675285 +0100
-+++ src/sgDb.ok.c 2004-07-04 11:40:25.011222369 +0100
-@@ -98,13 +98,21 @@
- if(createdb)
- flag = flag | DB_TRUNCATE;
- if ((ret =
-+#if DB_VERSION_MINOR == 1
-+ Db->dbp->open(Db->dbp, NULL, dbfile, NULL, DB_BTREE, flag, 0664)) != 0) {
-+#else
- Db->dbp->open(Db->dbp, dbfile, NULL, DB_BTREE, flag, 0664)) != 0) {
-+#endif
- (void) Db->dbp->close(Db->dbp, 0);
- sgLogFatalError("Error db_open: %s", strerror(ret));
- }
- } else {
- if ((ret =
-+#if DB_VERSION_MINOR == 1
-+ Db->dbp->open(Db->dbp, NULL, dbfile, NULL, DB_BTREE, DB_CREATE, 0664)) != 0) {
-+#else
- Db->dbp->open(Db->dbp, dbfile, NULL, DB_BTREE, DB_CREATE, 0664)) != 0) {
-+#endif
- sgLogFatalError("Error db_open: %s", strerror(ret));
- }
- }
diff --git a/net-www/squidguard/metadata.xml b/net-www/squidguard/metadata.xml
deleted file mode 100644
index 3dec35759a0d..000000000000
--- a/net-www/squidguard/metadata.xml
+++ /dev/null
@@ -1,9 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
-<herd>no-herd</herd>
-<maintainer>
- <email>cyfred@gentoo.org</email>
- <name>Andrew Bevitt</name>
-</maintainer>
-</pkgmetadata>
diff --git a/net-www/squidguard/squidguard-1.2.0-r1.ebuild b/net-www/squidguard/squidguard-1.2.0-r1.ebuild
deleted file mode 100644
index ad268cd3acc8..000000000000
--- a/net-www/squidguard/squidguard-1.2.0-r1.ebuild
+++ /dev/null
@@ -1,71 +0,0 @@
-# Copyright 1999-2004 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-www/squidguard/squidguard-1.2.0-r1.ebuild,v 1.4 2004/07/15 04:10:51 cyfred Exp $
-
-inherit eutils
-
-MY_P=squidGuard-${PV}
-DESCRIPTION="Combined filter, redirector and access controller plugin for Squid."
-HOMEPAGE="http://www.squidguard.org"
-SRC_URI="http://ftp.teledanmark.no/pub/www/proxy/squidGuard/${MY_P}.tar.gz"
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="x86"
-IUSE=""
-
-RDEPEND="net-www/squid
- >=sys-libs/db-2"
-DEPEND="${RDEPEND}
- sys-devel/bison
- sys-devel/flex"
-
-S="${WORKDIR}/${MY_P}"
-
-src_unpack() {
- unpack ${A} || die "unpack problem"
- cd ${S}
- epatch ${FILESDIR}/${P}-db4.patch
- epatch ${FILESDIR}/${P}-db41.patch
- autoconf || die "autoconf problem"
-}
-
-src_compile() {
- econf \
- --with-sg-config=/etc/squidGuard/squidGuard.conf \
- --with-sg-logdir=/var/log/squidGuard \
- || die "configure problem"
-
- mv src/Makefile src/Makefile.orig
- sed <src/Makefile.orig >src/Makefile \
- -e "s|logdir\t= /var/log/squidGuard|logdir\t= ${D}/var/log/squidGuard|" \
- -e "s|cfgdir\t= /etc/squidGuard|cfgdir\t= ${D}/etc/squidGuard|"
-
- emake || die "compile problem"
-}
-
-src_install() {
- make prefix=${D}/usr install
-
- dodir /var/log/squidGuard
- fowners squid:squid /var/log/squidGuard
-
- insinto /etc/squidGuard/sample
- doins ${FILESDIR}/squidGuard.conf.*
- insinto /etc/squidGuard/sample/db
- doins ${FILESDIR}/blockedsites
-
- dodoc ANNOUNCE CHANGELOG COPYING GPL README
- dohtml doc/*.html
- docinto text
- dodoc doc/*.txt
-}
-
-pkg_postinst() {
- einfo "To use squidGuard, you should add the following line to your"
- einfo "/etc/squid/squid.conf:"
- einfo ""
- einfo "\tredirect_program /usr/bin/squidGuard"
- einfo ""
- einfo "Remember to edit /etc/squidGuard/squidGuard.conf first!"
- einfo "Examples can be found in /etc/squidGuard/sample/"
-}