--- /dev/null
+--- m4/want_mysql.m4 2021-12-03 12:48:47.000000000 +0100
++++ m4/want_mysql.m4.new 2022-01-02 18:47:50.748433585 +0100
+@@ -1,8 +1,6 @@
+ AC_DEFUN([DOVECOT_WANT_MYSQL], [
+ have_mysql=no
+ if test $want_mysql != no; then
+- AC_CHECK_PROG(MYSQL_CONFIG, mysql_config, mysql_config, NO)
+- if test $MYSQL_CONFIG = NO; then
+ # based on code from PHP
+ MYSQL_LIBS="-lmysqlclient -lz -lm"
+ for i in /usr /usr/local /usr/local/mysql; do
+@@ -17,10 +15,6 @@
+ fi
+ done
+ done
+- else
+- MYSQL_INCLUDE="`$MYSQL_CONFIG --include`"
+- MYSQL_LIBS="`$MYSQL_CONFIG --libs`"
+- fi
+
+ old_LIBS=$LIBS
+ if test "$MYSQL_LIBS" != ""; then
Summary(pl.UTF-8): Serwer IMAP i POP3 pisany głównie z myślą o bezpieczeństwie
Name: dovecot
Version: 2.3.17.1
-Release: 1
+Release: 2
Epoch: 1
License: MIT (libraries), LGPL v2.1 (the rest)
Group: Networking/Daemons
Patch0: %{name}-config.patch
Patch1: %{name}-rpath.patch
Patch2: %{name}-shebang.patch
+Patch3: %{name}-mysql.patch
URL: http://dovecot.org/
BuildRequires: autoconf
BuildRequires: automake
%patch0 -p1
%patch1 -p1
%patch2 -p1
+%patch3 -p0
%{__sed} -i 's,/usr/lib/dovecot,%{_libdir}/dovecot,g' doc/example-config/*.conf doc/example-config/conf.d/*.conf