]> git.pld-linux.org Git - packages/sendmail.git/blobdiff - sendmail.spec
- SMTP group
[packages/sendmail.git] / sendmail.spec
index 69eb80515d1914d479888fe650e1600a01287e9d..09c97ee41dd639b9c5a0b5e8d3461642a6ce1e98 100644 (file)
@@ -22,12 +22,12 @@ Summary(ru.UTF-8):  Почтовый транспортный агент sendmail
 Summary(tr.UTF-8):     Elektronik posta hizmetleri sunucusu
 Summary(uk.UTF-8):     Поштовий транспортний агент sendmail
 Name:          sendmail
-Version:       8.13.8
-Release:       10
+Version:       8.14.3
+Release:       2
 License:       BSD
-Group:         Networking/Daemons
+Group:         Networking/Daemons/SMTP
 Source0:       ftp://ftp.sendmail.org/pub/sendmail/%{name}.%{version}.tar.gz
-# Source0-md5: 5f29c94b42e0bb74d546b2ae84203a1e
+# Source0-md5: a5ee5d26e1f546a2da5fb9a513bd6bce
 Source1:       %{name}.init
 Source2:       %{name}.sysconfig
 Source3:       %{name}.aliases
@@ -43,7 +43,6 @@ Source10:     %{name}.mailertable
 Source11:      %{name}.virtusertable
 Source12:      %{name}.domaintable
 Source13:      %{name}-smtp.pamd
-Source14:      %{name}.monitrc
 Patch0:                %{name}-makemapman.patch
 Patch1:                %{name}-smrsh-paths.patch
 Patch2:                %{name}-rmail.patch
@@ -56,7 +55,7 @@ URL:          http://www.sendmail.org/
 BuildRequires: cyrus-sasl-devel
 BuildRequires: db-devel >= 4.1.25
 BuildRequires: man
-%{?with_ldap:BuildRequires:    openldap-devel >= 2.3.0}
+%{?with_ldap:BuildRequires:    openldap-devel >= 2.4.6}
 %{?with_tls:BuildRequires:     openssl-devel >= 0.9.7d}
 %{?with_pgsql:BuildRequires:   postgresql-devel}
 BuildRequires: rpmbuild(macros) >= 1.310
@@ -200,7 +199,11 @@ install %{SOURCE7} config.m4
 
 %build
 echo "define(\`confCC', \`%{__cc}')" >> config.m4
+%ifarch sparc sparc64
+echo "define(\`confOPTIMIZE', \`%{rpmcflags} -DUSE_VENDOR_CF_PATH=1 -DSM_CONF_SEM=0 -DNETINET6')" >> config.m4
+%else
 echo "define(\`confOPTIMIZE', \`%{rpmcflags} -DUSE_VENDOR_CF_PATH=1 -DNETINET6')" >> config.m4
+%endif
 echo "APPENDDEF(\`confINCDIRS', \`-I/usr/include/sasl')" >> config.m4
 echo "define(\`confLIBSEARCHPATH', \`/%{_lib} %{_prefix}/%{_lib}')" >> config.m4
 echo "define(\`confLIBSEARCH', \`db resolv')" >> config.m4
@@ -251,7 +254,11 @@ install -d $RPM_BUILD_ROOT%{_mandir}/man{1,5,8} \
        $RPM_BUILD_ROOT/var/{log,spool/mqueue} \
        $RPM_BUILD_ROOT{%{_sysconfdir},%{_includedir}}
 
-OBJDIR=obj.$(uname -s).$(uname -r).$(uname -m)
+OBJDIR=obj.$(uname -s).$(uname -r).$(\
+%ifarch sparc
+sparc32 \
+%endif
+uname -m)
 
 IDNU=`id -nu`
 IDNG=`id -ng`
@@ -326,7 +333,6 @@ install %{SOURCE9} $RPM_BUILD_ROOT%{_sysconfdir}/access
 install %{SOURCE10} $RPM_BUILD_ROOT%{_sysconfdir}/mailertable
 install %{SOURCE11} $RPM_BUILD_ROOT%{_sysconfdir}/virtusertable
 install %{SOURCE12} $RPM_BUILD_ROOT%{_sysconfdir}/domaintable
-install %{SOURCE14} $RPM_BUILD_ROOT/etc/monit/
 
 touch $RPM_BUILD_ROOT/etc/security/blacklist.smtp
 
@@ -463,7 +469,6 @@ fi
 %config(noreplace) %verify(not md5 mtime size) /etc/sasl/Sendmail.conf
 %config(noreplace) %verify(not md5 mtime size) /etc/pam.d/smtp
 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/security/blacklist.smtp
-%config(noreplace) %verify(not md5 mtime size) /etc/monit/*.monitrc
 
 %dir %{_datadir}/sendmail-cf
 %dir %{_datadir}/sendmail-cf/cf
This page took 0.353704 seconds and 4 git commands to generate.