diff --git a/dovecot-1.0.beta2-sqlite-check.patch b/dovecot-1.0.beta2-sqlite-check.patch new file mode 100644 index 0000000..49c7c3b --- /dev/null +++ b/dovecot-1.0.beta2-sqlite-check.patch @@ -0,0 +1,17 @@ +--- dovecot-1.0.beta2/configure.in.sqlite-check 2006-03-06 12:05:24.000000000 +0100 ++++ dovecot-1.0.beta2/configure.in 2006-03-06 12:04:35.000000000 +0100 +@@ -1462,12 +1462,12 @@ + for i in /usr /usr/local /usr/local; do + for j in include ""; do + if test -r "$i/$j/sqlite3.h"; then +- MYSQL_INCLUDE=$i/$j ++ SQLITE_INCLUDE=$i/$j + fi + done + for lib in lib64 lib; do for j in $lib $lib/sqlite3 ""; do + if test -f "$i/$j/libsqlite3.so" || test -f "$i/$j/libsqlite3.a"; then +- MYSQL_LIBDIR=$i/$j ++ SQLITE_LIBDIR=$i/$j + fi + done; done + done diff --git a/dovecot.spec b/dovecot.spec index 14c594b..cfe3608 100644 --- a/dovecot.spec +++ b/dovecot.spec @@ -1,7 +1,7 @@ Summary: Dovecot Secure imap server Name: dovecot Version: 1.0 -Release: 0.beta2.7 +Release: 0.beta2.8 License: LGPL Group: System Environment/Daemons @@ -22,6 +22,7 @@ Patch101: dovecot-1.0.beta2-pam-tty.patch Patch102: dovecot-1.0.beta2-pam-setcred.patch Patch103: dovecot-1.0.beta2-mkcert-permissions.patch Patch104: dovecot-1.0.beta2-lib64.patch +Patch105: dovecot-1.0.beta2-sqlite-check.patch # XXX this patch needs review and forward porting #Patch105: dovecot-auth-log.patch @@ -67,7 +68,7 @@ in either of maildir or mbox formats. %patch102 -p2 -b .pam-setcred %patch103 -p1 -b .mkcert-permissions %patch104 -p1 -b .lib64 -#%patch105 -p1 -b .auth-log +%patch105 -p1 -b .sqlite-check %build rm -f ./configure @@ -209,6 +210,10 @@ rm -rf $RPM_BUILD_ROOT %changelog +* Fri Mar 17 2006 Petr Rockai - 1.0-0.beta2.8 +- fix sqlite detection in upstream configure checks, second part + of #182240 + * Wed Mar 8 2006 Bill Nottingham - 1.0-0.beta2.7 - fix scriplet noise some more