X-Git-Url: https://git.tld-linux.org/?a=blobdiff_plain;f=postfix.spec;h=a240c2ed855760cd063d8284b2e128eb86bd7708;hb=7f075e093c5feb552f3cdb49dd51881955805770;hp=7abaf8d3807f520a7a629f1940f12f67eb658bf0;hpb=bb11d011f6265b67f422f3b87ddedff187ce3118;p=packages%2Fpostfix.git diff --git a/postfix.spec b/postfix.spec index 7abaf8d..a240c2e 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 -Release: 1 +Version: 2.11.0 +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: 62eba08ce4acfa6b421e8fa88f2422d1 +# Source0-md5: 25fe7dd05f81cc0755131beecee046fd 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) @@ -458,6 +446,7 @@ fi %attr(755,root,root) %{_sbindir}/s* %attr(755,root,root) %{_sbindir}/postfix %attr(755,root,root) %{_sbindir}/postalias +%attr(2755,root,maildrop) %{_sbindir}/postdrop %attr(755,root,root) %{_sbindir}/postkick %attr(755,root,root) %{_sbindir}/postl* %attr(755,root,root) %{_sbindir}/postc* @@ -465,7 +454,7 @@ fi %attr(755,root,root) %{_sbindir}/postmulti %attr(2755,root,maildrop) %{_sbindir}/postqueue %attr(755,root,root) %{_sbindir}/postsuper -%attr(2755,root,maildrop) %{_sbindir}/postdrop +%attr(755,root,root) %{_sbindir}/posttls-finger %attr(755,root,root) %{_sbindir}/qmqp-sink %attr(755,root,root) %{_sbindir}/qmqp-source %attr(755,root,root) /usr/lib/sendmail @@ -501,6 +490,7 @@ fi %{_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* @@ -508,6 +498,7 @@ fi %{_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*