Skip to Content.
Sympa Menu

sm-commit - [SM-Commit] GIT changes to master grimoire by Mark Bainter (31d22b8285d38ea95d4750c37b07d08655326e2a)

sm-commit AT lists.ibiblio.org

Subject: Source Mage code commit list

List archive

Chronological Thread  
  • From: Mark Bainter <scm AT sourcemage.org>
  • To: sm-commit AT lists.ibiblio.org
  • Subject: [SM-Commit] GIT changes to master grimoire by Mark Bainter (31d22b8285d38ea95d4750c37b07d08655326e2a)
  • Date: Thu, 26 Feb 2009 18:17:03 -0600

GIT changes to master grimoire by Mark Bainter <mbainter AT sourcemage.org>:

ChangeLog | 3 +++
http/dansguardian/BUILD | 17 ++++-------------
http/dansguardian/CONFIGURE | 43
++++++++++++++++++++++++++++++++++++++++++-
http/dansguardian/DEPENDS | 23 ++++++++++++++++++++++-
http/dansguardian/DETAILS | 14 +++++---------
http/dansguardian/HISTORY | 5 +++++
6 files changed, 81 insertions(+), 24 deletions(-)

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 &&

-optional_depends perl '' '' 'for CGI script'
+optional_depends perl '' '' 'for CGI script' &&
+
+optional_depends 'clamav' \
+ '--enable-clamd' \
+ '' \
+ 'for Clamd AV content scanner' &&
+
+optional_depends 'pcre' \
+ '--enable-pcre' \
+ '--disable-pcre' \
+ 'for PCRE support' &&
+
+optional_depends 'libntlm' \
+ '--enable-ntlm' \
+ '--disable-ntlm' \
+ 'for NTLM auth support' &&
+
+
+if list_find "${DG_OPTS}" "--enable_email"; then
+ depends 'MAIL-TRANSPORT-AGENT'
+fi
diff --git a/http/dansguardian/DETAILS b/http/dansguardian/DETAILS
index 58f1803..ff8e6a7 100755
--- a/http/dansguardian/DETAILS
+++ b/http/dansguardian/DETAILS
@@ -1,15 +1,11 @@
SPELL=dansguardian
- VERSION=2.8.0.6
-
SOURCE_HASH=sha512:fe698313319afe32aca2b1f52fb965f27e7cb82d4493dcfd1c2d41880cff962dc49d88b05b97808464c662229d015a974d000bf9950c463c5a2bf0fbbc7f9007
- SOURCE=$SPELL-$VERSION.source.tar.gz
+ VERSION=2.10.0.3
+
SOURCE_HASH=sha512:5997ab5604a5dad40f61cebbc1f073b7462389d590d12299334699dd9baea59b3353566a354528c173080253a948c8a4fc23d295b88911fee617e2c837571315
+ SOURCE=$SPELL-$VERSION.tar.gz
SOURCE_DIRECTORY=$BUILD_DIRECTORY/$SPELL-$VERSION
LICENSE=http://dansguardian.org/?page=copyright2
- SOURCE_URL[0]=http://mirror.dansguardian.org/downloads/2/Stable/$SOURCE
- SOURCE_URL[1]=http://dansguardian.niesc.com/downloads/2/Stable/$SOURCE
- SOURCE_URL[2]=http://usmirror.dansguardian.org/downloads/2/Stable/$SOURCE
- SOURCE_URL[3]=http://dansguardian.avgguy.us/downloads/2/Stable/$SOURCE
-
SOURCE_URL[4]=http://dansguardian.turvamines.org/downloads/2/Stable/$SOURCE
- SOURCE_URL[5]=http://parent.dansguardian.org/downloads/2/$SOURCE
+ SOURCE_URL[0]=http://dansguardian.org/downloads/2/Stable/$SOURCE
+
SOURCE_URL[1]=http://mirrors.evis.net.ph/dansguardian/downloads/2/Stable/$SOURCE
WEB_SITE=http://dansguardian.org
UPDATED=20050730
KEYWORDS="web http"
diff --git a/http/dansguardian/HISTORY b/http/dansguardian/HISTORY
index 29e8905..8447fc3 100644
--- a/http/dansguardian/HISTORY
+++ b/http/dansguardian/HISTORY
@@ -1,3 +1,8 @@
+2009-02-26 Mark Bainter <mbainter AT sourcemage.org>
+ * DETAILS: Fixed SOURCE_URL and version bumped to latest stable.
+ * CONFIGURE: Fleshed out configure options for new release
+ * BUILD: Updated to use default_build and updated options
+
2006-09-21 Juuso Alasuutari <iuso AT sourcemage.org>
* DETAILS: [automated] Removed BUILD_API=2.





Archive powered by MHonArc 2.6.24.

Top of Page