%bcond_without epoll # disable epoll for 2.4 kernels
%endif
-%define vda_ver v10-2.8.1
+%define vda_ver v11-2.9.1
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.8.7
+Version: 2.9.4
Release: 1
Epoch: 2
License: distributable
Group: Networking/Daemons/SMTP
Source0: ftp://ftp.porcupine.org/mirrors/postfix-release/official/%{name}-%{version}.tar.gz
-# Source0-md5: b3ff47a38db920fc15bb207f42da53db
+# Source0-md5: 230bc3c00c051946eccd850058d75f6c
Source1: %{name}.aliases
Source2: %{name}.cron
Source3: %{name}.init
Source5: %{name}.sasl
Source6: %{name}.pamd
Source7: http://vda.sourceforge.net/VDA/%{name}-vda-%{vda_ver}.patch
-# Source7-md5: 5d5156e51cc07057bf347bbb34934d3e
+# Source7-md5: a54a21428de5eeae91b4bb670976e37a
Source8: %{name}-bounce.cf.pl
# http://postfix.state-of-mind.de/bounce-templates/bounce.de-DE.cf
Source9: %{name}-bounce.cf.de
export CC
%{__make} \
DEBUG="" \
- OPT="%{rpmcflags} -D_FILE_OFFSET_BITS=64" \
+ OPT="%{rpmcflags} %{rpmcppflags} -D_FILE_OFFSET_BITS=64" \
%{!?with_ldap:LDAPSO=""} \
%{!?with_mysql:MYSQLSO=""} \
%{!?with_pgsql:PGSQLSO=""} \
# postfix expects gethostname() to return FQDN, which is obviously wrong
if ! grep -qE "^my(domain|hostname)" %{_sysconfdir}/mail/main.cf; then
domain=$(/bin/hostname -d 2>/dev/null)
- [ "$domain" != 'localdomain' ] && \
+ [ -n "$domain" -a "$domain" != 'localdomain' ] && \
postconf -e mydomain="$domain"
fi
else
%{_mandir}/man5/generic.5*
%{_mandir}/man5/header_checks.5*
%{_mandir}/man5/master.5*
+%{_mandir}/man5/memcache_table.5*
%{_mandir}/man5/nisplus_table.5*
%{_mandir}/man5/postconf.5*
%{_mandir}/man5/postfix-wrapper.5*