X-Git-Url: http://git.pld-linux.org/?a=blobdiff_plain;f=dovecot.spec;h=7c1893d17d7a235a9cd03e989dc0d1866b26d46e;hb=055616535c49be70a1842bfda5014f747ad2430e;hp=1f85a0115c77769b373cfaec45921a04ddf45cb1;hpb=cc5f40f47cc5cf616a23f0ca64506d7b7a284bbd;p=packages%2Fdovecot.git diff --git a/dovecot.spec b/dovecot.spec index 1f85a01..7c1893d 100644 --- a/dovecot.spec +++ b/dovecot.spec @@ -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 @@ -11,20 +12,19 @@ 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: 3 +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 Source4: %{name}.tmpfiles Patch0: %{name}-config.patch Patch1: %{name}-rpath.patch -Patch2: crypt.patch URL: http://dovecot.org/ BuildRequires: autoconf BuildRequires: automake @@ -41,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} @@ -161,7 +162,6 @@ Pakiet programistyczny do tworzenia wtyczek dla Dovecota. %setup -q %patch0 -p1 %patch1 -p1 -%patch2 -p1 %{__sed} -i 's,/usr/lib/dovecot,%{_libdir}/dovecot,g' doc/example-config/*.conf doc/example-config/conf.d/*.conf @@ -176,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 \