[Lunar-commits] r21878 - moonbase/trunk/crypto/cyrus-sasl

Stefan Wold ratler at lunar-linux.org
Thu Oct 19 11:29:19 UTC 2006


Author: ratler
Date: 2006-10-19 11:29:18 +0000 (Thu, 19 Oct 2006)
New Revision: 21878

Modified:
   moonbase/trunk/crypto/cyrus-sasl/BUILD
Log:
Move settings to /etc, we want personal changes to configurations tracked and saved properly

Modified: moonbase/trunk/crypto/cyrus-sasl/BUILD
===================================================================
--- moonbase/trunk/crypto/cyrus-sasl/BUILD	2006-10-19 09:10:23 UTC (rev 21877)
+++ moonbase/trunk/crypto/cyrus-sasl/BUILD	2006-10-19 11:29:18 UTC (rev 21878)
@@ -14,6 +14,7 @@
               --disable-anon                       \
               --with-pwcheck=/var/lib/sasl         \
               --with-dbpath=/var/lib/sasl/sasl.db  \
+	      --with-config=/etc/sasl2             \
               --with-plugindir=/usr/lib/sasl2      \
               --enable-sample                      \
               --with-gnu-ld                        \
@@ -22,9 +23,12 @@
   default_config           &&
   mkdir -p /var/lib/sasl/  &&
   default_make             &&
-  if [ ! -e /usr/lib/sasl2/smtpd.conf ] ; then
-    install $SOURCE_CACHE/$SOURCE2 /usr/lib/sasl2/smtpd.conf.gz  &&
-    gunzip /usr/lib/sasl2/smtpd.conf.gz
+  if [ ! -d /etc/sasl2 ]; then
+  	mkdir -p /etc/sasl2
+  fi &&
+  if [ ! -e /etc/sasl2/smtpd.conf ] ; then
+    install $SOURCE_CACHE/$SOURCE2 /etc/sasl2/smtpd.conf.gz  &&
+    gunzip /etc/sasl2/smtpd.conf.gz
   fi
 
 ) > $C_FIFO 2>&1



More information about the Lunar-commits mailing list