Browse Source

sendmail

git-svn-id: http://trac.vinelinux.org/repos/projects/specs@8711 ec354946-7b23-47d6-9f5a-488ba84defc7
tomop 9 years ago
parent
commit
e0b1c5ee19
1 changed files with 14 additions and 5 deletions
  1. 14 5
      s/sendmail/sendmail-vl.spec

+ 14 - 5
s/sendmail/sendmail-vl.spec

@@ -13,7 +13,7 @@ Summary: A widely used Mail Transport Agent (MTA).
 Summary(ja): 広く使用されているメール配送エージェント (MTA)。
 Name: sendmail
 Version: 8.14.5
-Release: 1%{?_dist_release}
+Release: 2%{?_dist_release}
 URL: http://www.sendmail.org/
 License: Sendmail
 Group: System Environment/Daemons
@@ -185,12 +185,14 @@ cat >> devtools/Site/site.config.m4 << EOF
 APPENDDEF(\`confENVDEF', \`-DSASL=2 -D_FFR_UNSAFE_SASL')dnl
 APPENDDEF(\`confLIBS', \`-lsasl2 -lcrypto')dnl
 EOF
-%elseif %{with_sasl}
+%else
+%if %{with_sasl}
 cat >> devtools/Site/site.config.m4 << EOF
 APPENDDEF(\`confENVDEF', \`-DSASL=1 -D_FFR_UNSAFE_SASL')dnl
 APPENDDEF(\`confLIBS', \`-lsasl -lcrypto')dnl
 EOF
 %endif
+%endif
 
 %if %{with_tls}
 cat >> devtools/Site/site.config.m4 << EOF
@@ -335,10 +337,12 @@ chmod u+w $RPM_BUILD_ROOT/usr/bin/rmail
 %if %{with_sasl2}
 install -m 755 -d $RPM_BUILD_ROOT%{_libdir}/sasl2
 install -m 644 %{SOURCE11} $RPM_BUILD_ROOT%{_libdir}/sasl2/Sendmail.conf
-%elseif %{with_sasl}
+%else
+%if %{with_sasl}
 install -m 755 -d $RPM_BUILD_ROOT%{_libdir}/sasl
 install -m 644 %{SOURCE7} $RPM_BUILD_ROOT%{_libdir}/sasl/Sendmail.conf
 %endif
+%endif
 
 install -m 644 %{SOURCE8} $RPM_BUILD_ROOT/etc/pam.d/smtp
 
@@ -486,9 +490,11 @@ exit 0
 /etc/pam.d/smtp
 %if %{with_sasl2}
 %config %{_libdir}/sasl2/Sendmail.conf
-%elseif %{with_sasl}
+%else
+%if %{with_sasl}
 %config %{_libdir}/sasl/Sendmail.conf
 %endif
+%endif
 
 %files cf
 %defattr(-,root,root)
@@ -509,6 +515,9 @@ exit 0
 %{_docdir}/sendmail
 
 %changelog
+* Tue Jul  1 2014 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 8.14.5-2
+- rebuilt with current environment.
+
 * Tue May 31 2011 IWAI, Masaharu <iwai@alib.jp> 8.14.5-1
 - new upstream release
 
@@ -918,7 +927,7 @@ exit 0
 * Wed Jun 21 2000 Preston Brown <pbrown@redhat.com>
 - turn off daemon behaviour by default
 
-* Mon Jun 18 2000 Bill Nottingham <notting@redhat.com>
+* Sun Jun 18 2000 Bill Nottingham <notting@redhat.com>
 - rebuild, fix dependencies
 
 * Sat Jun 10 2000 Bill Nottingham <notting@redhat.com>