Skip to Content.
Sympa Menu

sm-commit - [SM-Commit] GIT changes to master grimoire by Arjan Bouter (d1dbb29a79cce44b57da37049e91c6b2bf6e7860)

sm-commit AT lists.ibiblio.org

Subject: Source Mage code commit list

List archive

Chronological Thread  
  • From: Arjan Bouter <scm AT mail.sourcemage.org>
  • To: sm-commit AT lists.ibiblio.org
  • Subject: [SM-Commit] GIT changes to master grimoire by Arjan Bouter (d1dbb29a79cce44b57da37049e91c6b2bf6e7860)
  • Date: Tue, 27 Jun 2006 13:06:57 -0500

GIT changes to master grimoire by Arjan Bouter <abouter AT sourcemage.org>:

mail/dspam/CONFIGURE | 1 +
mail/dspam/DEPENDS | 12 +++++++++++-
mail/dspam/DETAILS | 3 ++-
mail/dspam/FINAL | 3 +++
mail/dspam/HISTORY | 5 +++++
mail/dspam/INSTALL | 9 ++++++++-
mail/dspam/init.d/dspam | 24 ++++++++++++++++++++++++
7 files changed, 54 insertions(+), 3 deletions(-)

New commits:
commit d1dbb29a79cce44b57da37049e91c6b2bf6e7860
Author: Arjan Bouter <abouter AT sourcemage.org>
Commit: Arjan Bouter <abouter AT sourcemage.org>

added some more options and an init script to the spell

diff --git a/mail/dspam/CONFIGURE b/mail/dspam/CONFIGURE
index 2e2058a..59ce24f 100755
--- a/mail/dspam/CONFIGURE
+++ b/mail/dspam/CONFIGURE
@@ -2,6 +2,7 @@ config_query DSPAM_SQLITE 'Enable SQLite
config_query DSPAM_DB 'Enable Berkeley DB driver?' n &&
config_query DSPAM_MYSQL 'Enable MySQL driver?' n &&
config_query DSPAM_PGSQL 'Enable PostgreSQL driver?' n &&
+config_query DSPAM_GD 'Use gd for pretty graphs?' n &&

if [[ "$DSPAM_PGSQL" == 'y' || "$DSPAM_MYSQL" == 'y' ]] ; then
config_query DSPAM_VIRTUAL_USERS 'Enable virtual users?' n
diff --git a/mail/dspam/DEPENDS b/mail/dspam/DEPENDS
index 2154a3a..71a6a72 100755
--- a/mail/dspam/DEPENDS
+++ b/mail/dspam/DEPENDS
@@ -5,5 +5,15 @@ if [[ "$DSPAM_DB" == y ]]; then depe
if [[ "$DSPAM_MYSQL" == y ]]; then depends mysql ; fi &&
if [[ "$DSPAM_PGSQL" == y ]]; then depends postgresql; fi &&

+if [[ "$DSPAM_GD" == y ]]; then
+ depends gd &&
+ sub_depends gd libpng &&
+ depends gd-graph &&
+ depends gd-graph3d &&
+ depends gd-text &&
+ depends perl-cgi;
+fi &&
+
optional_depends openldap '--enable-ldap' '--disable-ldap' 'for LDAP
support' &&
-optional_depends clamav '--enable-clamav' '--disable-clamav' 'for virus
detection'
+optional_depends clamav '--enable-clamav' '--disable-clamav' 'for virus
detection' &&
+optional_depends SYSTEM-LOGGER '--enable-syslog' '--disable-syslog' 'for
logging through syslog'
diff --git a/mail/dspam/DETAILS b/mail/dspam/DETAILS
index 2d9c421..ba4dffe 100755
--- a/mail/dspam/DETAILS
+++ b/mail/dspam/DETAILS
@@ -9,7 +9,8 @@ SOURCE_DIRECTORY="$BUILD_DIRECTORY/$SPEL
LICENSE[0]='GPL'
UPDATED=20050807
BUILD_API=2
- KEYWORDS="email mail"
+ PATCHLEVEL=1
+ KEYWORDS="email mail spam filter"
SHORT='A server-side anti-spam agent for UNIX email servers'
cat << EOF
DSPAM is a scalable and open-source content-based spam filter designed for
diff --git a/mail/dspam/FINAL b/mail/dspam/FINAL
new file mode 100755
index 0000000..3a3186a
--- /dev/null
+++ b/mail/dspam/FINAL
@@ -0,0 +1,3 @@
+message "${MESSAGE_COLOR}If you enabled some SQL storage," &&
+message "you'll want to create a dspam database and" &&
+message "import /usr/share/doc/dspam/<yourdb>/*_objects.sql ${DEFAULR_COLOR}"
diff --git a/mail/dspam/HISTORY b/mail/dspam/HISTORY
index 7b76612..9983b7c 100644
--- a/mail/dspam/HISTORY
+++ b/mail/dspam/HISTORY
@@ -1,3 +1,8 @@
+2006-06-23 Arjan Bouter <abouter AT sourcemage.org>
+ * DEPENDS: added gd and friends, syslog
+ * CONFIGURE: added gd option
+ * DETAILS: added keywords, patchlevel ++
+
2006-06-06 David Kowis <dkowis AT shlrm.org>
* DEPENDS: adding automake
* CONFIGURE: modifying how the domain scale and large scale work
diff --git a/mail/dspam/INSTALL b/mail/dspam/INSTALL
index 6ce47a0..c3a7c0f 100755
--- a/mail/dspam/INSTALL
+++ b/mail/dspam/INSTALL
@@ -1,7 +1,14 @@
default_install &&
-cd webui &&
+pushd webui &&
rm Makefile* &&
rm cgi-bin/Makefile* &&
rm cgi-bin/templates/Makefile* &&
rm htdocs/Makefile* &&
+popd &&
+if [[ "$DSPAM_PGSQL" == y ]]; then
+ install -D src/tools.pgsql_drv/*.sql
${INSTALL_ROOT}/usr/share/doc/dspam/postgresql/
+fi &&
+if [[ "$DSPAM_MYSQL" == y ]]; then
+ install -D src/tools.mysql_drv/*.sql
${INSTALL_ROOT}/usr/share/doc/dspam/mysql/
+fi &&
install_www_files
diff --git a/mail/dspam/init.d/dspam b/mail/dspam/init.d/dspam
new file mode 100755
index 0000000..31fbeed
--- /dev/null
+++ b/mail/dspam/init.d/dspam
@@ -0,0 +1,24 @@
+#!/bin/bash
+
+PROGRAM="/bin/true"
+NAME="dspam"
+RUNLEVEL=3
+NEEDS="+remote_fs +network"
+PIDFILE=/var/run/dspam.pid
+
+. /etc/init.d/smgl_init
+
+start()
+{
+ echo "Starting dspam..."
+ /usr/bin/dspam --daemon &
+ ps -C dspam > /dev/null
+ evaluate_retval
+}
+
+stop()
+{
+ echo "stopping dspam..."
+ kill $(cat ${PIDFILE})
+ evaluate_retval
+}



  • [SM-Commit] GIT changes to master grimoire by Arjan Bouter (d1dbb29a79cce44b57da37049e91c6b2bf6e7860), Arjan Bouter, 06/27/2006

Archive powered by MHonArc 2.6.24.

Top of Page