]> git.pld-linux.org Git - packages/exim.git/blobdiff - exim.spec
- pamd file for amd64 fix by Marcin Sztolcman
[packages/exim.git] / exim.spec
index f165ff8c5b09e0046be9efd44db8422a951f2cb7..429c327fce866ab3c5a9ae7239669d4fb32f57e9 100644 (file)
--- a/exim.spec
+++ b/exim.spec
@@ -5,23 +5,24 @@
 %bcond_without ldap    # without LDAP support
 %bcond_without exiscan # without exiscan support
 %bcond_without spf     # without spf support
+%bcond_without srs     # without srs support
 %bcond_with    saexim  # with sa-exim support
 #
-%define                exiscan_version 4.40-23
+%define                exiscan_version 4.42-27
 %define                saexim_version 3.1
 Summary:       University of Cambridge Mail Transfer Agent
 Summary(pl):   Agent Transferu Poczty Uniwersytetu w Cambridge
 Summary(pt_BR):        Servidor de correio eletrĂ´nico exim
 Name:          exim
-Version:       4.40
+Version:       4.42
 Release:       1
 Epoch:         2
 License:       GPL
 Group:         Networking/Daemons
 Source0:       ftp://ftp.csx.cam.ac.uk/pub/software/email/exim/exim4/%{name}-%{version}.tar.bz2
-# Source0-md5: af6db81a995046e1e30bcfda6ed0b357
-Source1:       ftp://ftp.csx.cam.ac.uk/pub/software/email/exim/exim4/%{name}-texinfo-4.30.tar.bz2
-# Source1-md5: dceb3ce755543ababd7362437a3c1141
+# Source0-md5: eb6a06e70a78a03200b4e4aefbb7b0aa
+Source1:       ftp://ftp.csx.cam.ac.uk/pub/software/email/exim/exim4/%{name}-texinfo-4.40.tar.bz2
+# Source1-md5: cc91bd804ee0f7fd70991e2e6b529033
 Source2:       %{name}.init
 Source3:       %{name}.cron.db
 Source4:       %{name}4.conf
@@ -31,15 +32,15 @@ Source6:    %{name}on.desktop
 Source7:       %{name}4-man-021016.tar.bz2
 # Source7-md5: b552704ebf853a401946038a2b7e8e98
 Source8:       http://duncanthrax.net/exiscan-acl/exiscan-acl-%{exiscan_version}.patch.bz2
-# Source8-md5: c068c157b7e885bd4ce79d29d4f38469
+# Source8-md5: bc81a47009d24433a282e5c3a668fcb3
 Source9:       %{name}.aliases
 Source10:      newaliases
 Source11:      %{name}.logrotate
 Source12:      %{name}.sysconfig
 Source13:      ftp://ftp.csx.cam.ac.uk/pub/software/email/exim/exim4/FAQ.txt.bz2
-# Source13-md5:        8e188230dc95a0117cafd1fd804d2dd8
+# Source13-md5:        7c695675e5e60693916b787001252d56
 Source14:      ftp://ftp.csx.cam.ac.uk/pub/software/email/exim/exim4/config.samples.tar.bz2
-# Source14-md5:        e760e86c8b23a07d10a91a3d2eaed7de
+# Source14-md5:        42c7d5c02d06fdd3d8b6ba124ad9fd05
 Source15:      %{name}4-smtp.pamd
 Source16:      %{name}on.png
 Source17:      http://marc.merlins.org/linux/exim/files/sa-exim-%{saexim_version}.tar.gz
@@ -52,7 +53,8 @@ Patch4:               %{name}4-Makefile-Default.patch
 Patch5:                %{name}4-exiscan-pld.patch
 URL:           http://www.exim.org/
 %{?with_ldap:BuildRequires:    openldap-devel >= 2.0.0}
-%{?with_spf:BuildRequires:     libspf_alt-devel}
+%{?with_spf:BuildRequires:     libspf2-devel}
+%{?with_srs:BuildRequires:     libsrs_alt-devel}
 %{?with_mysql:BuildRequires:   mysql-devel}
 %{?with_pgsql:BuildRequires:   postgresql-devel}
 %{?with_whoson:BuildRequires:  whoson-devel}
@@ -71,6 +73,7 @@ Requires(pre):        /usr/sbin/useradd
 Requires(postun):      /usr/sbin/groupdel
 Requires(postun):      /usr/sbin/userdel
 Requires(post):        fileutils
+Requires(post):        /bin/hostname
 Requires(post,preun):  /sbin/chkconfig
 Requires:      pam >= 0.77.3
 Provides:      smtpdaemon
@@ -168,7 +171,7 @@ cp -f exim_monitor/EDITME Local/eximon.conf
 
 %{__make} -j1 \
        CC="%{__cc}" \
-       CFLAGS="%{rpmcflags} %{?with_spf:-DSPF}" \
+       CFLAGS="%{rpmcflags} %{?with_spf:-DSPF} %{?with_srs:-DSRS}" \
        LOOKUP_CDB=yes \
 XLFLAGS=-L%{_prefix}/X11R6/%{_lib} \
 X11_LD_LIB=%{_prefix}/X11R6/%{_lib} \
@@ -176,7 +179,7 @@ X11_LD_LIB=%{_prefix}/X11R6/%{_lib} \
        %{?with_pgsql:LOOKUP_PGSQL=yes} \
        %{?with_whoson:LOOKUP_WHOSON=yes} \
        %{?with_ldap:LOOKUP_LDAP=yes LDAP_LIB_TYPE=OPENLDAP2} \
-       LOOKUP_LIBS="%{?with_ldap:-lldap -llber} %{?with_mysql:-lmysqlclient} %{?with_pgsql:-lpq} %{?with_whoson:-lwhoson} %{?with_spf:-lspf_alt}" \
+       LOOKUP_LIBS="%{?with_ldap:-lldap -llber} %{?with_mysql:-lmysqlclient} %{?with_pgsql:-lpq} %{?with_whoson:-lwhoson} %{?with_spf:-lspf2} %{?with_srs:-lsrs_alt}" \
        LOOKUP_INCLUDE="%{?with_mysql:-I%{_includedir}/mysql} %{?with_pgsql:-I%{_includedir}/pgsql}"
 
 makeinfo --force exim-texinfo-*/doc/*.texinfo
@@ -312,7 +315,7 @@ fi
 %attr( 750,exim,root) %dir %{_var}/log/exim
 %attr( 750,exim,root) %dir %{_var}/log/archiv/exim
 %attr( 640,exim,root) %ghost %{_var}/log/exim/*
-%attr( 640,root,root) /etc/pam.d/smtp
+%attr( 640,root,root) %config(noreplace) %verify(not md5 size mtime) /etc/pam.d/smtp
 %{_infodir}/*
 %{_mandir}/man8/*
 
This page took 0.0473 seconds and 4 git commands to generate.