auto-import sendmail-8.12.6-2a from sendmail-8.12.6-2a.src.rpm
This commit is contained in:
parent
0927cabbcc
commit
d6f564305b
@ -1 +1 @@
|
|||||||
sendmail.8.12.5.tar.gz
|
sendmail.8.12.6.tar.gz
|
||||||
|
@ -1,3 +1,3 @@
|
|||||||
#%PAM-1.0
|
#%PAM-1.0
|
||||||
auth required /lib/security/pam_stack.so service=system-auth
|
auth required pam_stack.so service=system-auth
|
||||||
account required /lib/security/pam_stack.so service=system-auth
|
account required pam_stack.so service=system-auth
|
||||||
|
@ -1,11 +1,9 @@
|
|||||||
%define optflags -O2 -fno-strict-aliasing
|
|
||||||
|
|
||||||
%define initdir /etc/rc.d/init.d
|
%define initdir /etc/rc.d/init.d
|
||||||
# If you want to build this on older Red Hat Linux releases, this defines
|
# 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
|
# 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.
|
# Red Hat Linux 6.2 up to 7.2 and "100" for the current rawhide version.
|
||||||
%define errata 100
|
%define errata 100
|
||||||
%define release 7
|
%define release 2a
|
||||||
|
|
||||||
%if %{errata} <= 70
|
%if %{errata} <= 70
|
||||||
%define sendmailcf usr/lib/sendmail-cf
|
%define sendmailcf usr/lib/sendmail-cf
|
||||||
@ -21,7 +19,7 @@
|
|||||||
|
|
||||||
Summary: A widely used Mail Transport Agent (MTA).
|
Summary: A widely used Mail Transport Agent (MTA).
|
||||||
Name: sendmail
|
Name: sendmail
|
||||||
Version: 8.12.5
|
Version: 8.12.6
|
||||||
%if %{errata} == 100
|
%if %{errata} == 100
|
||||||
Release: %{release}
|
Release: %{release}
|
||||||
%else
|
%else
|
||||||
@ -134,6 +132,10 @@ fi
|
|||||||
%patch7 -p1
|
%patch7 -p1
|
||||||
|
|
||||||
%build
|
%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 \
|
for i in libmilter libsmutil sendmail mailstats rmail praliases \
|
||||||
smrsh makemap ; do
|
smrsh makemap ; do
|
||||||
pushd $i
|
pushd $i
|
||||||
@ -147,7 +149,8 @@ mkdir -p $RPM_BUILD_ROOT
|
|||||||
|
|
||||||
cd $RPM_BUILD_ROOT
|
cd $RPM_BUILD_ROOT
|
||||||
mkdir -p etc/sysconfig .%{initdir} etc/pam.d
|
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}
|
mkdir -p usr/sbin var/log var/spool %{sendmailcf}
|
||||||
cd -
|
cd -
|
||||||
|
|
||||||
@ -221,18 +224,16 @@ echo "# apache, mailman, majordomo, uucp, are good candidates" ) \
|
|||||||
> $RPM_BUILD_ROOT/etc/mail/trusted-users
|
> $RPM_BUILD_ROOT/etc/mail/trusted-users
|
||||||
|
|
||||||
|
|
||||||
touch $RPM_BUILD_ROOT/rootfile
|
#root=..
|
||||||
root=..
|
#while [ ! -r $RPM_BUILD_ROOT/%{_libdir}/${root}/rootfile ] ; do
|
||||||
while [ ! -r $RPM_BUILD_ROOT/%{_libdir}/${root}/rootfile ] ; do
|
# root=${root}/..
|
||||||
root=${root}/..
|
#done
|
||||||
done
|
|
||||||
#ln -sf ${root}%{_sbindir}/sendmail $RPM_BUILD_ROOT/%{_libdir}/sendmail
|
#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 -m775 $RPM_BUILD_ROOT/var/spool/mqueue
|
||||||
install -d -m755 $RPM_BUILD_ROOT/var/spool/clientmqueue
|
install -d -m755 $RPM_BUILD_ROOT/var/spool/clientmqueue
|
||||||
|
|
||||||
# dangling symlinks
|
# dangling symlinks
|
||||||
touch $RPM_BUILD_ROOT/rootfile
|
|
||||||
root=..
|
root=..
|
||||||
while [ ! -r $RPM_BUILD_ROOT/%{_bindir}/${root}/rootfile ] ; do
|
while [ ! -r $RPM_BUILD_ROOT/%{_bindir}/${root}/rootfile ] ; do
|
||||||
root=${root}/..
|
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
|
mv $RPM_BUILD_ROOT%{_mandir}/man5/aliases.5 $RPM_BUILD_ROOT%{_mandir}/man5/aliases.sendmail.5
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
|
rm -rf $RPM_BUILD_ROOT/rootfile
|
||||||
|
|
||||||
%clean
|
%clean
|
||||||
rm -rf $RPM_BUILD_ROOT
|
rm -rf $RPM_BUILD_ROOT
|
||||||
|
|
||||||
@ -484,6 +487,22 @@ exit 0
|
|||||||
%{_docdir}/sendmail
|
%{_docdir}/sendmail
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Tue Nov 12 2002 Nalin Dahyabhai <nalin@redhat.com>
|
||||||
|
- 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 <Florian.LaRoche@redhat.de>
|
||||||
|
- fix mailman alias #75129
|
||||||
|
|
||||||
|
* Sat Nov 02 2002 Florian La Roche <Florian.LaRoche@redhat.de>
|
||||||
|
- update to 8.12.6
|
||||||
|
|
||||||
|
* Fri Oct 04 2002 Phil Knirsch <pknirsch@redhat.com> 8.12.5-7.2
|
||||||
|
- Drop optflags to default to build correctly on s390(x).
|
||||||
|
|
||||||
|
* Thu Sep 12 2002 Than Ngo <than@redhat.com> 8.12.5-7.1
|
||||||
|
- Added fix to build on x86_64
|
||||||
|
|
||||||
* Thu Aug 29 2002 Florian La Roche <Florian.LaRoche@redhat.de>
|
* Thu Aug 29 2002 Florian La Roche <Florian.LaRoche@redhat.de>
|
||||||
- clean up some specfile cruft
|
- clean up some specfile cruft
|
||||||
- add more pseudo accounts to /etc/aliases
|
- add more pseudo accounts to /etc/aliases
|
||||||
|
Loading…
Reference in New Issue
Block a user