%bcond_without epoll # disable epoll for 2.4 kernels
%endif
-%define vda_ver v11-2.9.1
+%define vda_ver v13-2.10.0
Summary: Postfix Mail Transport Agent
Summary(cs.UTF-8): Postfix - program pro přepravu pošty (MTA)
Summary(es.UTF-8): Postfix - Un MTA (Mail Transport Agent) de alto desempeño
Summary(pt_BR.UTF-8): Postfix - Um MTA (Mail Transport Agent) de alto desempenho
Summary(sk.UTF-8): Agent prenosu pošty Postfix
Name: postfix
-Version: 2.10.1
+Version: 2.11.10
Release: 2
Epoch: 2
License: distributable
Group: Networking/Daemons/SMTP
Source0: ftp://ftp.porcupine.org/mirrors/postfix-release/official/%{name}-%{version}.tar.gz
-# Source0-md5: 209e81079325b6758a7dcf531a0d5f7a
+# Source0-md5: 0f947753a3864dc3bd40aa211f3202bb
Source1: %{name}.aliases
Source2: %{name}.cron
Source3: %{name}.init
Source4: %{name}.sysconfig
Source5: %{name}.sasl
Source6: %{name}.pamd
-Source7: http://vda.sourceforge.net/VDA/%{name}-vda-%{vda_ver}.patch
-# Source7-md5: a54a21428de5eeae91b4bb670976e37a
+Source7: %{name}-vda.patch
+#Source7: http://vda.sourceforge.net/VDA/%{name}-vda-%{vda_ver}.patch
+# -ource7-md5: 01e1b031d79b85f3cb67d98ceddd775d
Source8: %{name}-bounce.cf.pl
# http://postfix.state-of-mind.de/bounce-templates/bounce.de-DE.cf
Source9: %{name}-bounce.cf.de
Patch10: %{name}-link.patch
Patch11: %{name}-scache_clnt.patch
Patch12: format-security.patch
+Patch13: %{name}-no_cdb.patch
+Patch14: %{name}-vbuf_print.patch
URL: http://www.postfix.org/
%{?with_sasl:BuildRequires: cyrus-sasl-devel}
BuildRequires: db-devel
%if %{with vda}
%patch12 -p1
%endif
+%{!?with_cdb:%patch13 -p1}
+%patch14 -p1
%if %{with tcp}
sed -i 's/ifdef SNAPSHOT/if 1/' src/util/dict_open.c
%build
%{__make} -f Makefile.init makefiles
%{__make} tidy
-CC="%{__cc}"
-export CC
-%{__make} \
+export CC="%{__cc}"
+%{__make} -j1 \
DEBUG="" \
OPT="%{rpmcflags} %{rpmcppflags} -D_FILE_OFFSET_BITS=64" \
%{!?with_ldap:LDAPSO=""} \
%attr(755,root,root) %{_sbindir}/postmulti
%attr(2755,root,maildrop) %{_sbindir}/postqueue
%attr(755,root,root) %{_sbindir}/postsuper
+%attr(755,root,root) %{_sbindir}/posttls-finger
%attr(2755,root,maildrop) %{_sbindir}/postdrop
%attr(755,root,root) %{_sbindir}/qmqp-sink
%attr(755,root,root) %{_sbindir}/qmqp-source
%{_mandir}/man5/cidr_table.5*
%{_mandir}/man5/generic.5*
%{_mandir}/man5/header_checks.5*
+%{_mandir}/man5/lmdb_table.5*
%{_mandir}/man5/master.5*
%{_mandir}/man5/memcache_table.5*
%{_mandir}/man5/nisplus_table.5*
%{_mandir}/man5/postfix-wrapper.5*
%{_mandir}/man5/regexp_table.5*
%{_mandir}/man5/relocated.5*
+%{_mandir}/man5/socketmap_table.5*
%{_mandir}/man5/tcp_table.5*
%{_mandir}/man5/transport.5*
%{_mandir}/man5/virtual.5*