Skip to Content.
Sympa Menu

sm-commit - [SM-Commit] GIT changes to master grimoire by Andraž Levstik (a0dc12169b78eceb8b368fd19da1aa10f12c0164)

sm-commit AT lists.ibiblio.org

Subject: Source Mage code commit list

List archive

Chronological Thread  
  • From: Andraž Levstik <scm AT sourcemage.org>
  • To: sm-commit AT lists.ibiblio.org
  • Subject: [SM-Commit] GIT changes to master grimoire by Andraž Levstik (a0dc12169b78eceb8b368fd19da1aa10f12c0164)
  • Date: Thu, 15 Jan 2009 05:09:17 -0600

GIT changes to master grimoire by Andraž Levstik <ruskie AT codemages.net>:

mail/exim/BUILD | 10 ++++++++++
mail/exim/CONFIGURE | 23 +++++++++++++++++++++++
mail/exim/DEPENDS | 8 +++++++-
mail/exim/HISTORY | 5 +++++
4 files changed, 45 insertions(+), 1 deletion(-)

New commits:
commit 4e80fbc0f58ec20816a839f491e7ac98bfbd2bf8
Author: Andraž Levstik <ruskie AT codemages.net>
Commit: Andraž Levstik <ruskie AT codemages.net>

exim: can use different DBM providers

diff --git a/mail/exim/BUILD b/mail/exim/BUILD
index c87254b..378bdcf 100755
--- a/mail/exim/BUILD
+++ b/mail/exim/BUILD
@@ -36,6 +36,16 @@ else
grep -v "EXIM_MONITOR=" src/EDITME > Local/Makefile
fi &&

+if [[ "$EXIM_DBM" == "db" ]]; then
+:
+elif [[ "$EXIM_DBM" == "gdbm" ]]; then
+ echo "DBMLIB=-lgdbm" >> Local/Makefile
+ echo "USE_GDBM=yes" >> Local/Makefile
+elif [[ "$EXIM_DBM" == "tdb" ]]; then
+ echo "DBMLIB=-ltdb" >> Local/Makefile
+ echo "USE_TDB=yes" >> Local/Makefile
+fi &&
+
if list_find "$OPTS" '--enable-tcp-wrappers-access'; then
echo "USE_TCP_WRAPPERS=yes" >> Local/Makefile &&
EXTRALIBS="$EXTRALIBS -lwrap"
diff --git a/mail/exim/CONFIGURE b/mail/exim/CONFIGURE
index c88335e..d9d0e0f 100755
--- a/mail/exim/CONFIGURE
+++ b/mail/exim/CONFIGURE
@@ -1,3 +1,26 @@
+message "Exim needs a hash DB so please pick one."
+message "db - Berkeley DB is the default one and most common"
+message "gdbm - The GNU version of a hashing database"
+message "tdb - Hashing DB that supports multiple simultaneous writers"
+
+if spell_ok db ; then
+config_query_list EXIM_DBM "Select one hash DB" \
+ db \
+ gdbm \
+ tdb
+elif spell_ok gdbm ; then
+config_query_list EXIM_DBM "Select one hash DB" \
+ gddb \
+ db \
+ tdb
+elif spell_ok tdb ; then
+config_query_list EXIM_DBM "Select one hash DB" \
+ tdb \
+ gdbm \
+ db
+fi &&
+
+
config_query EXIM_IPV6 "Enable IPv6 support?" n
&&
config_query EXIM_MAILDIR "Support maildir for appendfile transport?" n
&&
config_query EXIM_MAILSTORE "Support mailstore for appendfile transport?" n
&&
diff --git a/mail/exim/DEPENDS b/mail/exim/DEPENDS
index be39e25..6c1af3f 100755
--- a/mail/exim/DEPENDS
+++ b/mail/exim/DEPENDS
@@ -1,5 +1,11 @@
-depends db &&
depends gawk &&
+if [[ "$EXIM_DBM" == "db" ]]; then
+ depends db
+elif [[ "$EXIM_DBM" == "gdbm" ]]; then
+ depends gdbm
+elif [[ "$EXIM_DBM" == "tdb" ]]; then
+ depends tdb
+fi &&

if [[ "$EXIM_CRON" == "hc-cron" ]]; then
depends hc-cron
diff --git a/mail/exim/HISTORY b/mail/exim/HISTORY
index 2fd09db..618be9d 100644
--- a/mail/exim/HISTORY
+++ b/mail/exim/HISTORY
@@ -1,3 +1,8 @@
+2009-01-15 Andraž "ruskie" Levstik <ruskie AT mages.ath.cx>
+ * BUILD: setup for different DBM providers
+ * CONFIGURE: setup for different DBM providers
+ * DEPENDS: setup for different DBM providers
+
2008-04-08 Elisamuel Resto <ryuji AT sourcemage.org>
* BUILD, CONFIGURE: added query for IPv6 support in exim




  • [SM-Commit] GIT changes to master grimoire by Andraž Levstik (a0dc12169b78eceb8b368fd19da1aa10f12c0164), Andraž Levstik, 01/15/2009

Archive powered by MHonArc 2.6.24.

Top of Page