]> git.pld-linux.org Git - packages/dovecot.git/blobdiff - dovecot.spec
- enable Lua support (bcond)
[packages/dovecot.git] / dovecot.spec
index 79e150075c17656c0b56affb38d9d05246d65a19..7c1893d17d7a235a9cd03e989dc0d1866b26d46e 100644 (file)
@@ -2,6 +2,7 @@
 # Conditional build:
 %bcond_without gssapi  # without GSSAPI support
 %bcond_without ldap    # without LDAP auth
+%bcond_without lua     # without Lua auth
 %bcond_without mysql   # without MySQL auth
 %bcond_without pgsql   # without PostgreSQL auth
 %bcond_without sqlite  # without SQLite3 auth
 Summary:       IMAP and POP3 server written with security primarily in mind
 Summary(pl.UTF-8):     Serwer IMAP i POP3 pisany głównie z myślą o bezpieczeństwie
 Name:          dovecot
-Version:       2.3.2.1
-Release:       1
+Version:       2.3.5
+Release:       2
 Epoch:         1
 License:       MIT (libraries), LGPL v2.1 (the rest)
 Group:         Networking/Daemons
 Source0:       http://dovecot.org/releases/2.3/%{name}-%{version}.tar.gz
-# Source0-md5: 77a7fa95b38bd6686e6191b2b3f2b87b
+# Source0-md5: 825bdeb8d5d505c43dadecbdff12e816
 Source1:       %{name}.pamd
 Source2:       %{name}.init
 Source3:       %{name}.sysconfig
@@ -40,6 +41,7 @@ BuildRequires:        libicu-devel
 BuildRequires: libstemmer-devel
 BuildRequires: libexttextcat-devel
 BuildRequires: libtool
+%{?with_lua:BuildRequires:     lua53-devel}
 BuildRequires: lz4-devel
 %{?with_mysql:BuildRequires:   mysql-devel}
 %{?with_ldap:BuildRequires:    openldap-devel >= 2.3.3}
@@ -174,12 +176,14 @@ touch config.rpath
        ac_cv_prog_VALGRIND=no \
        CPPFLAGS="%{rpmcppflags} -I/usr/include/libstemmer -D_LINUX_QUOTA_VERSION=2" \
        --disable-static \
+       --enable-hardening \
        %{?debug:--enable-debug} \
        %{?with_ldap:--with-ldap=yes} \
        %{?with_mysql:--with-mysql} \
        %{?with_pgsql:--with-pgsql} \
        %{?with_sqlite:--with-sqlite} \
        %{?with_gssapi:--with-gssapi=plugin} \
+       %{?with_lua:--with-lua=plugin} \
        --with-lucene \
        --with-stemmer \
        --with-solr \
This page took 0.134827 seconds and 4 git commands to generate.