diff --git a/.cvsignore b/.cvsignore index 8935c87..640697d 100644 --- a/.cvsignore +++ b/.cvsignore @@ -1 +1 @@ -sendmail.8.12.5.tar.gz +sendmail.8.12.6.tar.gz diff --git a/sendmail.pam b/sendmail.pam index 0bdfb24..6452ee0 100644 --- a/sendmail.pam +++ b/sendmail.pam @@ -1,3 +1,3 @@ #%PAM-1.0 -auth required /lib/security/pam_stack.so service=system-auth -account required /lib/security/pam_stack.so service=system-auth +auth required pam_stack.so service=system-auth +account required pam_stack.so service=system-auth diff --git a/sendmail.spec b/sendmail.spec index d61107c..678d67e 100644 --- a/sendmail.spec +++ b/sendmail.spec @@ -1,11 +1,9 @@ -%define optflags -O2 -fno-strict-aliasing - %define initdir /etc/rc.d/init.d # If you want to build this on older Red Hat Linux releases, this defines # the version number to build on. Supported should be 62 70 71 72 for # Red Hat Linux 6.2 up to 7.2 and "100" for the current rawhide version. %define errata 100 -%define release 7 +%define release 2a %if %{errata} <= 70 %define sendmailcf usr/lib/sendmail-cf @@ -21,7 +19,7 @@ Summary: A widely used Mail Transport Agent (MTA). Name: sendmail -Version: 8.12.5 +Version: 8.12.6 %if %{errata} == 100 Release: %{release} %else @@ -134,6 +132,10 @@ fi %patch7 -p1 %build +export RPM_OPT_FLAGS="-O1 -fno-strict-aliasing -fno-strength-reduce" + +echo "define(\`confLIBDIR', \`%{_libdir}')" >> redhat.config.m4 + for i in libmilter libsmutil sendmail mailstats rmail praliases \ smrsh makemap ; do pushd $i @@ -147,7 +149,8 @@ mkdir -p $RPM_BUILD_ROOT cd $RPM_BUILD_ROOT mkdir -p etc/sysconfig .%{initdir} etc/pam.d -mkdir -p usr/bin usr/include/libmilter usr/lib .%{_mandir}/man{1,5,8} +mkdir -p usr/bin usr/include/libmilter usr/%{_lib} usr/lib +mkdir -p .%{_mandir}/man{1,5,8} mkdir -p usr/sbin var/log var/spool %{sendmailcf} cd - @@ -221,18 +224,16 @@ echo "# apache, mailman, majordomo, uucp, are good candidates" ) \ > $RPM_BUILD_ROOT/etc/mail/trusted-users -touch $RPM_BUILD_ROOT/rootfile -root=.. -while [ ! -r $RPM_BUILD_ROOT/%{_libdir}/${root}/rootfile ] ; do - root=${root}/.. -done +#root=.. +#while [ ! -r $RPM_BUILD_ROOT/%{_libdir}/${root}/rootfile ] ; do +# root=${root}/.. +#done #ln -sf ${root}%{_sbindir}/sendmail $RPM_BUILD_ROOT/%{_libdir}/sendmail -ln -sf ../sbin/sendmail $RPM_BUILD_ROOT/%{_libdir}/sendmail +ln -sf ../sbin/sendmail $RPM_BUILD_ROOT/usr/lib/sendmail install -d -m775 $RPM_BUILD_ROOT/var/spool/mqueue install -d -m755 $RPM_BUILD_ROOT/var/spool/clientmqueue # dangling symlinks -touch $RPM_BUILD_ROOT/rootfile root=.. while [ ! -r $RPM_BUILD_ROOT/%{_bindir}/${root}/rootfile ] ; do root=${root}/.. @@ -292,6 +293,8 @@ mv $RPM_BUILD_ROOT%{_mandir}/man1/newaliases.1 $RPM_BUILD_ROOT%{_mandir}/man1/ne mv $RPM_BUILD_ROOT%{_mandir}/man5/aliases.5 $RPM_BUILD_ROOT%{_mandir}/man5/aliases.sendmail.5 %endif +rm -rf $RPM_BUILD_ROOT/rootfile + %clean rm -rf $RPM_BUILD_ROOT @@ -484,6 +487,22 @@ exit 0 %{_docdir}/sendmail %changelog +* Tue Nov 12 2002 Nalin Dahyabhai +- remove absolute path names from the PAM configuration, allowing it to be + used by any arch on a multilib system + +* Sun Nov 03 2002 Florian La Roche +- fix mailman alias #75129 + +* Sat Nov 02 2002 Florian La Roche +- update to 8.12.6 + +* Fri Oct 04 2002 Phil Knirsch 8.12.5-7.2 +- Drop optflags to default to build correctly on s390(x). + +* Thu Sep 12 2002 Than Ngo 8.12.5-7.1 +- Added fix to build on x86_64 + * Thu Aug 29 2002 Florian La Roche - clean up some specfile cruft - add more pseudo accounts to /etc/aliases diff --git a/sources b/sources index 9df6882..5de1744 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -f2543e253e1c035f99369ba4067bf87c sendmail.8.12.5.tar.gz +73e18ea78b2386b774963c8472cbd309 sendmail.8.12.6.tar.gz