New commits:
commit 62f5e91784b1ec58a1267283d5efe95b6db78de1
Author: Mark Bainter <mbainter AT sourcemage.org>
Commit: Mark Bainter <mbainter AT sourcemage.org>
dansguardian: Version bump to 2.10.0.3, major update from 2.8.x.x
Expanded configuration options and dependencies
Replaced build script to reflect improved build from
upstream
diff --git a/ChangeLog b/ChangeLog
index 579a49a..6eb91af 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,6 @@
+2009-02-26 Mark Bainter <mbainter AT sourcemage.org>
+ * http/dansguardian: Improved spell, version bump to 2.10.0.3
+
2009-02-26 Arjan Bouter <abouter AT sourcemage.org>
* security/prelude-lml: new spell, prelude log analyzer
* security/prelude-correlator: new spell, prelude alert correlator
diff --git a/http/dansguardian/BUILD b/http/dansguardian/BUILD
index 7900ef7..df2c465 100755
--- a/http/dansguardian/BUILD
+++ b/http/dansguardian/BUILD
@@ -1,15 +1,6 @@
-OPTS="$OPTS
- --sysvdir=/tmp/dansbuild
- --cgidir='$DANS_CGIDIR'
- --runas_usr=nobody
- --runas_grp=nogroup
- --piddir=/var/run
- --logrotatedir=/tmp/dansbuild
- --gccver=3
+OPTS="${OPTS}
+ ${DG_OPTS}
+ --with-proxygroup=nogroup
" &&
-# Can't use default_build, ./configure fails with `--localstatedir' option
-./configure $OPTS &&
-make &&
-
-rm -rf /tmp/dansbuild
+default_build
diff --git a/http/dansguardian/CONFIGURE b/http/dansguardian/CONFIGURE
index e323dbe..0d8162d 100755
--- a/http/dansguardian/CONFIGURE
+++ b/http/dansguardian/CONFIGURE
@@ -1 +1,42 @@
-config_query_string DANS_CGIDIR 'Where would you like the CGI scripts?'
"/usr/share/www/$SPELL"
+config_query_string DANS_CGIDIR 'Where would you like the CGI scripts?'
"/usr/share/www/$SPELL" &&
+
+if [[ "${SMGL_COMPAT_ARCHS[0]}" == "64" ]]; then
+ config_query_string DG_OPTS "Enable Large File Support"
+fi &&
+
+config_query_option DG_OPTS "Enable support for ICAP AV?" \
+ "n" \
+ "--enable-icap" \
+ "--disable-icap" &&
+
+config_query_option DG_OPTS "Enable support for ICAP AV?" \
+ "n" \
+ "--enable-icap" \
+ "--disable-icap" &&
+
+config_query_option DG_OPTS "Enable support for Kapersky AV?" \
+ "n" \
+ "--enable-kavd" \
+ "--disable-kavd" &&
+
+config_query_option DG_OPTS "Enable support for command-line scanner?" \
+ "n" \
+ "--enable-commandline" \
+ "--disable-commandline" &&
+
+config_query_option DG_OPTS "Enable support for fancy download manager?" \
+ "y" \
+ "--enable-fancydm" \
+ "--disable-fancydm" &&
+
+config_query_option DG_OPTS "Enable support for trickle download manager?" \
+ "n" \
+ "--enable-trickledm" \
+ "--disable-trickledm" &&
+
+config_query_option DG_OPTS "Enable support for email reporting?" \
+ "n" \
+ "--enable-email" \
+ "--disable-email"
+
+
diff --git a/http/dansguardian/DEPENDS b/http/dansguardian/DEPENDS
index 3785ae6..2ae8508 100755
--- a/http/dansguardian/DEPENDS
+++ b/http/dansguardian/DEPENDS
@@ -1,3 +1,24 @@
depends g++ &&
+depends zlib &&