%bcond_without sasl # without SMTP AUTH support
%bcond_without ssl # without SSL/TLS support
%bcond_without cdb # without cdb map support
-%if "%{pld_release}" == "th"
-%bcond_without vda # without VDA patch
-%else
%bcond_with vda # with VDA patch
-%endif
%bcond_with hir # with Beeth's header_if_reject patch
%bcond_with tcp # with unofficial tcp: lookup table
-%if "%{pld_release}" == "ac"
-%bcond_with epoll # enable epoll for 2.6 kernels
-# there didn't exist x86_64 2.4 kernel in PLD, so can safely enable epoll
-%ifarch %{x8664}
-%define with_epoll 1
-%endif
-%else
%bcond_without epoll # disable epoll for 2.4 kernels
-%endif
%define vda_ver v11-2.9.1
Summary: Postfix Mail Transport Agent
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.9.6
+Version: 2.10.1
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: 62eba08ce4acfa6b421e8fa88f2422d1
+# Source0-md5: 209e81079325b6758a7dcf531a0d5f7a
Source1: %{name}.aliases
Source2: %{name}.cron
Source3: %{name}.init
%{_bindir}/newaliases
/sbin/chkconfig --add postfix
%service postfix restart "Postfix Daemon"
-%systemd_post
+#%%systemd_post
%preun
if [ "$1" = "0" ]; then
%service postfix stop
/sbin/chkconfig --del postfix
fi
-%systemd_preun
+#%%systemd_preun
%postun
/sbin/ldconfig
%userremove postfix
%groupremove postfix
fi
-%systemd_postun
+#%%systemd_postun
%files
%defattr(644,root,root,755)