X-Git-Url: https://git.tld-linux.org/?a=blobdiff_plain;f=postfix.spec;h=75b6966a1c5267f957ff6a299b24b76b1de1deab;hb=ddbb798693fa9ab9e0cb0be1a2c93bde90b6a100;hp=7abaf8d3807f520a7a629f1940f12f67eb658bf0;hpb=bb11d011f6265b67f422f3b87ddedff187ce3118;p=packages%2Fpostfix.git diff --git a/postfix.spec b/postfix.spec index 7abaf8d..75b6966 100644 --- a/postfix.spec +++ b/postfix.spec @@ -7,22 +7,10 @@ %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 @@ -33,13 +21,13 @@ Summary(pl.UTF-8): Serwer SMTP Postfix 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 @@ -403,14 +391,14 @@ fi %{_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 @@ -419,7 +407,7 @@ if [ "$1" = "0" ]; then %userremove postfix %groupremove postfix fi -%systemd_postun +#%%systemd_postun %files %defattr(644,root,root,755)