فهرست منبع

Another Berkeley DB problem resolved. From my point of view at least this version works (a little bit :-) instead of dumping core voodoo:~# echo "bar" | saslpasswd2 -c foo voodoo:~# sasldblistusers2 foo@voodoo: userPassword voodoo:~# Upgraded from BRK to EXP

Christoph Schug 24 سال پیش
والد
کامیت
f63a60c35e
1فایلهای تغییر یافته به همراه4 افزوده شده و 3 حذف شده
  1. 4 3
      sasl/sasl.spec

+ 4 - 3
sasl/sasl.spec

@@ -34,7 +34,7 @@ Summary:      Simple Authentication and Security Layer
 URL:          http://asg.web.cmu.edu/sasl/
 Vendor:       Cyrus Project, CMU
 Packager:     The OpenPKG Project
-Distribution: OpenPKG [BRK]
+Distribution: OpenPKG [EXP]
 Group:        Cryptography
 License:      BSD
 Version:      2.1.7
@@ -74,12 +74,12 @@ AutoReqProv:  no
         configure
     CC="%{l_cc}" \
     CFLAGS="%{l_cflags -O} -I%{l_prefix}/include" \
-    LDFLAGS="-L%{l_prefix}/lib" \
+    LDFLAGS="-L%{l_prefix}/lib -ldb" \
     ./configure \
         --prefix=%{l_prefix} \
         --with-plugindir=%{l_prefix}/lib/sasl \
         --with-saslauthd=%{l_prefix}/var/sasl/saslauthd \
-        --with-dbpath=%{l_prefix}/var/sasl \
+        --with-dbpath=%{l_prefix}/var/sasl/sasldb \
         --with-dblib=berkeley \
         --with-bdb-incdir=%{l_prefix}/include \
         --with-bdb-libdir=%{l_prefix}/lib \
@@ -89,6 +89,7 @@ AutoReqProv:  no
         --without-pam \
 %endif
         --disable-shared \
+        --enable-static \
         --with-staticsasl \
         --disable-java \
         --disable-sample \