summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlin Năstac <mrness@gentoo.org>2005-12-20 13:27:51 +0000
committerAlin Năstac <mrness@gentoo.org>2005-12-20 13:27:51 +0000
commit15f07480ade19c79cd4a2ea7b479b5dcb4ab07ad (patch)
tree8606e4ea9f7f9d1dc75f7ceb426d34c2c8f98239 /net-proxy
parentAdd dependencies for modular X. See bug #116162. (diff)
downloadgentoo-2-15f07480ade19c79cd4a2ea7b479b5dcb4ab07ad.tar.gz
gentoo-2-15f07480ade19c79cd4a2ea7b479b5dcb4ab07ad.tar.bz2
gentoo-2-15f07480ade19c79cd4a2ea7b479b5dcb4ab07ad.zip
version bump (#116128)
(Portage version: 2.0.51.22-r3)
Diffstat (limited to 'net-proxy')
-rw-r--r--net-proxy/dansguardian/ChangeLog9
-rw-r--r--net-proxy/dansguardian/Manifest5
-rw-r--r--net-proxy/dansguardian/dansguardian-2.9.3.1_alpha.ebuild103
-rw-r--r--net-proxy/dansguardian/files/dansguardian-2.9.3.1_alpha-gentoo.patch12
-rw-r--r--net-proxy/dansguardian/files/digest-dansguardian-2.9.3.1_alpha1
5 files changed, 128 insertions, 2 deletions
diff --git a/net-proxy/dansguardian/ChangeLog b/net-proxy/dansguardian/ChangeLog
index a2260e22148d..1dad95224b2a 100644
--- a/net-proxy/dansguardian/ChangeLog
+++ b/net-proxy/dansguardian/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for net-proxy/dansguardian
# Copyright 2000-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-proxy/dansguardian/ChangeLog,v 1.11 2005/12/18 18:03:02 corsair Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-proxy/dansguardian/ChangeLog,v 1.12 2005/12/20 13:27:51 mrness Exp $
+
+*dansguardian-2.9.3.1_alpha (20 Dec 2005)
+
+ 20 Dec 2005; Alin Nastac <mrness@gentoo.org>
+ +files/dansguardian-2.9.3.1_alpha-gentoo.patch,
+ +dansguardian-2.9.3.1_alpha.ebuild:
+ Version bump (#116128).
18 Dec 2005; Markus Rothe <corsair@gentoo.org>
dansguardian-2.8.0.6-r1.ebuild:
diff --git a/net-proxy/dansguardian/Manifest b/net-proxy/dansguardian/Manifest
index e75b1607e0f0..b913d46a02c4 100644
--- a/net-proxy/dansguardian/Manifest
+++ b/net-proxy/dansguardian/Manifest
@@ -4,12 +4,15 @@ MD5 30b14eaf02c479d70f60157c1a29a294 metadata.xml 568
MD5 887c6bdeabb27180c88519f1403b877b dansguardian-2.8.0.6.ebuild 1179
MD5 8128ca2d0c69c5077fa36d1082a438af dansguardian-2.8.0.6-r1.ebuild 1243
MD5 fd1a1fc7ddb51bbc51c2748f7da78eb5 dansguardian-2.9.3.0_alpha.ebuild 2734
+MD5 fd1a1fc7ddb51bbc51c2748f7da78eb5 dansguardian-2.9.3.1_alpha.ebuild 2734
MD5 6313b934a33da7e4308812e834494074 files/dansguardian-xnaughty-2.7.6-1.diff 2325
MD5 89d1e03feed0f074cadb635f786c3f32 files/dansguardian.init 826
MD5 421e49847907b8c4d53ccc01d17656e6 files/digest-dansguardian-2.8.0.6 79
MD5 579f2cac2dbebe18ff6900fd3aa87f66 files/digest-dansguardian-2.8.0.4 79
MD5 0cf459b33bd205ff0e5d270cf1db72e0 files/dansguardian-2.8.0.6-gentoo.patch 886
+MD5 4f460e57b16de6c5371d16d6c1fd4a62 files/dansguardian-2.9.3.0_alpha-gentoo.patch 471
MD5 046d9ee8033553a881d5ee0586bf2a3d files/dansguardian.logrotate 188
MD5 421e49847907b8c4d53ccc01d17656e6 files/digest-dansguardian-2.8.0.6-r1 79
-MD5 4f460e57b16de6c5371d16d6c1fd4a62 files/dansguardian-2.9.3.0_alpha-gentoo.patch 471
MD5 26bc6614a469ec90890a688d79a63a8c files/digest-dansguardian-2.9.3.0_alpha 72
+MD5 f249b7117148a18fcf2c596cedaa40c0 files/dansguardian-2.9.3.1_alpha-gentoo.patch 471
+MD5 cb02acc628e684209123dcd1252f120d files/digest-dansguardian-2.9.3.1_alpha 72
diff --git a/net-proxy/dansguardian/dansguardian-2.9.3.1_alpha.ebuild b/net-proxy/dansguardian/dansguardian-2.9.3.1_alpha.ebuild
new file mode 100644
index 000000000000..e3d74099c945
--- /dev/null
+++ b/net-proxy/dansguardian/dansguardian-2.9.3.1_alpha.ebuild
@@ -0,0 +1,103 @@
+# Copyright 1999-2005 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-proxy/dansguardian/dansguardian-2.9.3.1_alpha.ebuild,v 1.1 2005/12/20 13:27:51 mrness Exp $
+
+inherit eutils
+
+MY_P=${P/_alpha/}
+
+DESCRIPTION="Web content filtering via proxy"
+HOMEPAGE="http://dansguardian.org"
+SRC_URI="http://dansguardian.org/downloads/2/Alpha/${MY_P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~ppc64 ~sparc ~x86"
+IUSE="clamav debug ntlm pcre"
+
+DEPEND="virtual/libc
+ !net-proxy/dansguardian-dgav
+ pcre? ( dev-libs/libpcre )
+ clamav? ( app-antivirus/clamav )"
+
+S=${WORKDIR}/${MY_P}
+
+MY_REFRESH_LOG_OWNER=""
+
+pkg_setup() {
+ if has_version "<${CATEGORY}/${PN}-2.9" ; then
+ ewarn "This version introduces brand new USE flags:"
+ ewarn " clamav ntlm pcre"
+ echo
+
+ local f="${ROOT}/etc/dansguardian"
+ f=${f//\/\///}
+ if [ -d "${f}" ] ; then
+ eerror "The structure of ${f} has changed in this version!"
+ eerror "For avoiding confusion, you must either move or delete the old ${f},"
+ eerror "then continue with the upgrade:"
+ eerror " mv '${f}' '${f}.old'"
+ eerror " emerge --resume"
+ die "Obsolete config files detected"
+ fi
+ fi
+}
+
+src_unpack() {
+ unpack ${A}
+
+ epatch ${FILESDIR}/${P}-gentoo.patch
+}
+
+src_compile() {
+ local myconf="--with-logdir=/var/log/dansguardian
+ --with-piddir=/var/run
+ $(use_enable pcre)
+ $(use_enable ntlm)"
+ if use clamav; then
+ myconf="${myconf} --enable-clamd=yes
+ --with-proxyuser=clamav
+ --with-proxygroup=clamav"
+ fi
+ if use debug; then
+ myconf="${myconf} --with-dgdebug=on"
+ fi
+
+ econf ${myconf} || die "configure failed"
+
+ emake OPTIMISE="${CFLAGS}" || die "emake failed"
+}
+
+src_install() {
+ make DESTDIR=${D} install || die "make install failed"
+
+ # Copying init script
+ exeinto /etc/init.d
+ newexe ${FILESDIR}/dansguardian.init dansguardian
+
+ if use clamav; then
+ sed -r -i -e 's/[ \t]+need net.*/& clamd/' ${D}/etc/init.d/dansguardian
+ sed -r -i -e 's/^#( *contentscanner *=.*clamdscan[.]conf.*)/\1/' ${D}/etc/dansguardian/dansguardian.conf
+ sed -r -i -e 's/^#( *clamdudsfile *=.*)/\1/' ${D}/etc/dansguardian/contentscanners/clamdscan.conf
+ fi
+
+ # Copying logrotation file
+ exeinto /etc/logrotate.d
+ newexe ${FILESDIR}/dansguardian.logrotate dansguardian
+
+ keepdir /var/log/dansguardian
+ fperms o-rwx /var/log/dansguardian
+}
+
+pkg_postinst() {
+ local runas="nobody:nobody"
+ if use clamav ; then
+ runas="clamav:clamav"
+ fi
+ ewarn "The dansguardian daemon will run by default as user & group ${runas}"
+
+ if has_version "<${CATEGORY}/${PN}-2.9" && [ -d "${ROOT}/var/log/dansguardian" ] ; then
+ chown -R ${runas} "${ROOT}/var/log/dansguardian"
+ chmod o-rwx "${ROOT}/var/log/dansguardian"
+ fi
+}
diff --git a/net-proxy/dansguardian/files/dansguardian-2.9.3.1_alpha-gentoo.patch b/net-proxy/dansguardian/files/dansguardian-2.9.3.1_alpha-gentoo.patch
new file mode 100644
index 000000000000..b5534058613b
--- /dev/null
+++ b/net-proxy/dansguardian/files/dansguardian-2.9.3.1_alpha-gentoo.patch
@@ -0,0 +1,12 @@
+diff -Nru dansguardian-2.9.3.1.orig/doc/dansguardian.8 dansguardian-2.9.3.1/doc/dansguardian.8
+--- dansguardian-2.9.3.1.orig/doc/dansguardian.8 2005-02-24 12:30:16.000000000 +0200
++++ dansguardian-2.9.3.1/doc/dansguardian.8 2005-12-20 15:19:13.000000000 +0200
+@@ -3,7 +3,7 @@
+ .SH NAME
+ DansGuardian 2
+ .SH SYNOPSIS
+-/etc/rc.d/init.d/dansguardian [stop|start|status|restart]
++/etc/init.d/dansguardian [stop|start|status|restart|reload]
+ .SH DESCRIPTION
+ A Introduction
+
diff --git a/net-proxy/dansguardian/files/digest-dansguardian-2.9.3.1_alpha b/net-proxy/dansguardian/files/digest-dansguardian-2.9.3.1_alpha
new file mode 100644
index 000000000000..2ca86e63b7d6
--- /dev/null
+++ b/net-proxy/dansguardian/files/digest-dansguardian-2.9.3.1_alpha
@@ -0,0 +1 @@
+MD5 50d6bccebda25edb4ae3f6973775ba70 dansguardian-2.9.3.1.tar.gz 401603