summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoshua Brindle <method@gentoo.org>2003-05-28 21:49:43 +0000
committerJoshua Brindle <method@gentoo.org>2003-05-28 21:49:43 +0000
commit3cb6472655d3bfd094d6b6824962cbbf0a7b5103 (patch)
tree58bae4433098604b09b334120d025c05cbec503a /net-www/dansguardian
parentUpdate to Apache 2.0.46 cuz noreply@freshmeat.net told me to. (diff)
downloadhistorical-3cb6472655d3bfd094d6b6824962cbbf0a7b5103.tar.gz
historical-3cb6472655d3bfd094d6b6824962cbbf0a7b5103.tar.bz2
historical-3cb6472655d3bfd094d6b6824962cbbf0a7b5103.zip
dansguardian, initial import
Diffstat (limited to 'net-www/dansguardian')
-rw-r--r--net-www/dansguardian/ChangeLog16
-rw-r--r--net-www/dansguardian/dansguardian-2.6.0.ebuild37
-rw-r--r--net-www/dansguardian/dansguardian-2.7.1.ebuild37
-rw-r--r--net-www/dansguardian/files/dansguardian.init21
-rw-r--r--net-www/dansguardian/files/digest-dansguardian-2.6.01
-rw-r--r--net-www/dansguardian/files/digest-dansguardian-2.7.11
6 files changed, 113 insertions, 0 deletions
diff --git a/net-www/dansguardian/ChangeLog b/net-www/dansguardian/ChangeLog
new file mode 100644
index 000000000000..507bd360159c
--- /dev/null
+++ b/net-www/dansguardian/ChangeLog
@@ -0,0 +1,16 @@
+# ChangeLog for net-www/dansguardian
+# Copyright 2000-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/net-www/dansguardian/ChangeLog,v 1.1 2003/05/28 21:49:43 method Exp $
+
+*dansguardian-2.7.1 (28 May 2003)
+
+ 28 May 2003; Joshua Brindle <method@gentoo.org> dansguardian-2.6.0.ebuild,
+ dansguardian-2.7.1.ebuild, files/dansguardian.init:
+ initial import thanks to Pat Double <double@inebraska.com>
+
+*dansguardian-2.6.0 (28 May 2003)
+
+ 28 May 2003; Joshua Brindle <method@gentoo.org> dansguardian-2.6.0.ebuild,
+ dansguardian-2.7.1.ebuild, files/dansguardian.init:
+ initial import thanks to Pat Double <double@inebraska.com>
+
diff --git a/net-www/dansguardian/dansguardian-2.6.0.ebuild b/net-www/dansguardian/dansguardian-2.6.0.ebuild
new file mode 100644
index 000000000000..362094745f82
--- /dev/null
+++ b/net-www/dansguardian/dansguardian-2.6.0.ebuild
@@ -0,0 +1,37 @@
+# Copyright 1999-2003 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-www/dansguardian/dansguardian-2.6.0.ebuild,v 1.1 2003/05/28 21:49:43 method Exp $
+
+DESCRIPTION="Web content filtering via proxy"
+HOMEPAGE="http://dansguardian.org"
+P="DansGuardian-${PV}"
+SRC_URI="http://mirror.dansguardian.org/downloads/2/Beta/${P}-0.source.tar.gz"
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~x86"
+IUSE=""
+DEPEND="net-www/squid"
+S=${WORKDIR}/${P}
+
+src_compile() {
+ ./configure \
+ --prefix= \
+ --installprefix=${D} \
+ --mandir=/usr/share/man/ || die "./configure failed"
+ emake || die
+}
+
+src_install() {
+ make install || die
+
+ dodir /etc/init.d
+ cp ${FILESDIR}/dansguardian.init ${D}/etc/init.d
+
+ rm -rf ${D}/etc/rc.d
+
+ einfo "Fixing location of initscript"
+ sed 's/rc.d\///' ${D}/etc/dansguardian/logrotation > ${D}/etc/dansguardian/logrotation.fixed
+ mv -f ${D}/etc/dansguardian/logrotation.fixed ${D}/etc/dansguardian/logrotation
+
+ dodoc INSTALL README LICENSE
+}
diff --git a/net-www/dansguardian/dansguardian-2.7.1.ebuild b/net-www/dansguardian/dansguardian-2.7.1.ebuild
new file mode 100644
index 000000000000..597c4aa55707
--- /dev/null
+++ b/net-www/dansguardian/dansguardian-2.7.1.ebuild
@@ -0,0 +1,37 @@
+# Copyright 1999-2003 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-www/dansguardian/dansguardian-2.7.1.ebuild,v 1.1 2003/05/28 21:49:43 method Exp $
+
+DESCRIPTION="Web content filtering via proxy"
+HOMEPAGE="http://dansguardian.org"
+P="DansGuardian-${PV}"
+SRC_URI="http://mirror.dansguardian.org/downloads/2/Alpha/${P}-0.source.tar.gz"
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~x86"
+IUSE=""
+DEPEND="net-www/squid"
+S=${WORKDIR}/${P}
+
+src_compile() {
+ ./configure \
+ --prefix= \
+ --installprefix=${D} \
+ --mandir=/usr/share/man/ || die "./configure failed"
+ emake || die
+}
+
+src_install() {
+ make install || die
+
+ dodir /etc/init.d
+ cp ${FILESDIR}/dansguardian.init ${D}/etc/init.d
+
+ rm -rf ${D}/etc/rc.d
+
+ einfo "Fixing location of initscript"
+ sed 's/rc.d\///' ${D}/etc/dansguardian/logrotation > ${D}/etc/dansguardian/logrotation.fixed
+ mv -f ${D}/etc/dansguardian/logrotation.fixed ${D}/etc/dansguardian/logrotation
+
+ dodoc INSTALL README LICENSE
+}
diff --git a/net-www/dansguardian/files/dansguardian.init b/net-www/dansguardian/files/dansguardian.init
new file mode 100644
index 000000000000..d0e3bb25c4cf
--- /dev/null
+++ b/net-www/dansguardian/files/dansguardian.init
@@ -0,0 +1,21 @@
+#!/sbin/runscript
+# Copyright 1999-2002 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License, v2 or later
+# $Header:
+
+depend() {
+ need net
+}
+
+start() {
+ ebegin "Starting DansGuardian"
+ start-stop-daemon --start --quiet --pidfile /var/run/dansguardian.pid \
+ --exec /usr/sbin/dansguardian
+ eend $?
+}
+
+stop() {
+ ebegin "Stopping DansGuardian"
+ start-stop-daemon --stop --quiet --pidfile /var/run/dansguardian.pid
+ eend $?
+}
diff --git a/net-www/dansguardian/files/digest-dansguardian-2.6.0 b/net-www/dansguardian/files/digest-dansguardian-2.6.0
new file mode 100644
index 000000000000..45fdd3494fc5
--- /dev/null
+++ b/net-www/dansguardian/files/digest-dansguardian-2.6.0
@@ -0,0 +1 @@
+MD5 50f74bf1bc1c99686753751471b448d5 DansGuardian-2.6.0-0.source.tar.gz 148067
diff --git a/net-www/dansguardian/files/digest-dansguardian-2.7.1 b/net-www/dansguardian/files/digest-dansguardian-2.7.1
new file mode 100644
index 000000000000..e104c480079e
--- /dev/null
+++ b/net-www/dansguardian/files/digest-dansguardian-2.7.1
@@ -0,0 +1 @@
+MD5 38dfb29f33ffe510cac1a641fa41d837 DansGuardian-2.7.1-0.source.tar.gz 159363