Summary(uk): ðÏÛÔÏ×ÉÊ ÔÒÁÎÓÐÏÒÔÎÉÊ ÁÇÅÎÔ sendmail
Name: sendmail
Version: 8.12.3
-Release: 2
+Release: 3
License: BSD
Group: Networking/Daemons
Source0: ftp://ftp.sendmail.org/pub/sendmail/%{name}.%{version}.tar.gz
Source1: %{name}.init
Source2: http://www.informatik.uni-kiel.de/~ca/email/rules/check.tar
-Source3: aliases
+Source3: %{name}.aliases
Source4: %{name}.sysconfig
Source5: %{name}-etc-mail-Makefile
Source6: %{name}.mc
Source7: %{name}-config.m4
Source8: %{name}.sasl
+Source9: %{name}-access-sample
+Source10: %{name}-mailertable-sample
+Source11: %{name}-virtusertable-sample
+Source12: %{name}-domaintable-sample
+Source13: %{name}-smtp.pamd
Patch0: %{name}-makemapman.patch
Patch1: %{name}-smrsh-paths.patch
Patch2: %{name}-rmail.patch
$RPM_BUILD_ROOT%{_mandir}/man{1,5,8} \
$RPM_BUILD_ROOT/var/log $RPM_BUILD_ROOT/var/spool/mqueue \
$RPM_BUILD_ROOT%{_libdir}/sendmail-cf \
+ $RPM_BUILD_ROOT/etc/pam.d \
OBJDIR=obj.$(uname -s).$(uname -r).$(arch)
install %{SOURCE1} $RPM_BUILD_ROOT/etc/rc.d/init.d/sendmail
install %{SOURCE5} $RPM_BUILD_ROOT%{_sysconfdir}/Makefile
install %{SOURCE8} $RPM_BUILD_ROOT/etc/sasl/Sendmail.conf
+install %{SOURCE13} $RPM_BUILD_ROOT/etc/pam.d/smtp
+
+cp -f %{SOURCE9} ./access.sample
+cp -f %{SOURCE10} ./mailertable.sample
+cp -f %{SOURCE11} ./virtusertable.sample
+cp -f %{SOURCE12} ./domaintable.sample
mv -f smrsh/README README.smrsh
mv -f cf/README README.cf
%files
%defattr(644,root,root,755)
-%doc *.gz
+%doc *.gz *.sample
%attr(755,root,root) %{_sbindir}/mailstats
%attr(755,root,root) %{_sbindir}/praliases
%attr(755,root,root) %{_bindir}/hoststat
%attr(0644,root,mail) %ghost %{_sysconfdir}/aliases.db
%attr(0770,root,smmsp) %dir /var/spool/clientmqueue
%attr(0750,root,mail) %dir /var/spool/mqueue
+%attr(0755,root,root) %dir /etc/pam.d
%config %{_sysconfdir}/Makefile
%config(noreplace) %verify(not md5 size mtime) %{_sysconfdir}/access
%attr(754,root,root) /etc/rc.d/init.d/sendmail
%config(noreplace) %verify(not md5 size mtime) /etc/sysconfig/sendmail
%config(noreplace) %verify(not md5 size mtime) /etc/sasl/Sendmail.conf
+%config(noreplace) %verify(not md5 size mtime) /etc/pam.d/smtp
%dir %{_libdir}/sendmail-cf
%dir %{_libdir}/sendmail-cf/cf