X-Git-Url: http://git.pld-linux.org/?a=blobdiff_plain;f=sendmail.spec;h=741be7ca8915a3cd0f3cdc25f19e4d94b965fca1;hb=2747c047802ff7ef52cd166e479c159c611f7fb5;hp=441135f67a9a126a67e907de70efced2f32a28cf;hpb=552a507c649707fa11fb458b59a80377f188f1fb;p=packages%2Fsendmail.git diff --git a/sendmail.spec b/sendmail.spec index 441135f..741be7c 100644 --- a/sendmail.spec +++ b/sendmail.spec @@ -1,73 +1,119 @@ -Summary: Sendmail -- mail transport agent -Summary(pl): Sendmail -- aplikacja do obs³ugi poczty elektronicznej +# +# Conditional build: +# _without_ldap without LDAP support +# _without_tls without TLS (SSL) support + +Summary: A widely used Mail Transport Agent (MTA) +Summary(de): sendmail-Mail-Übertragungsagent +Summary(fr): Agent de transport de courrier sendmail +Summary(pl): Sendmail - serwer poczty elektronicznej +Summary(ru): ðÏÞÔÏ×ÙÊ ÔÒÁÎÓÐÏÒÔÎÙÊ ÁÇÅÎÔ sendmail +Summary(tr): Elektronik posta hizmetleri sunucusu +Summary(uk): ðÏÛÔÏ×ÉÊ ÔÒÁÎÓÐÏÒÔÎÉÊ ÁÇÅÎÔ sendmail Name: sendmail -Version: 8.9.2 -Release: 3d -Copyright: distributable (similar to, but not quite BSD) +Version: 8.12.3 +Release: 3 +License: BSD Group: Networking/Daemons -Group(pl): Sieci/Demony -URL: http://www.sendmail.org Source0: ftp://ftp.sendmail.org/pub/sendmail/%{name}.%{version}.tar.gz -Source1: site.Linux.m4 -Source2: aliases -Source3: %{name}.init -Source4: site.Linux.ppc.m4 -Patch0: %{name}-ip6.patch -Patch1: %{name}-telnet.patch -Patch2: %{name}-path.patch -Patch3: %{name}-rmail.patch -Patch4: %{name}-pld.mc.patch -Patch5: %{name}-DoS.patch -Patch6: %{name}-redirect.patch +Source1: %{name}.init +Source2: http://www.informatik.uni-kiel.de/~ca/email/rules/check.tar +Source3: %{name}.aliases +Source4: %{name}.sysconfig +Source5: %{name}-etc-mail-Makefile +Source6: %{name}.mc +Source7: %{name}-config.m4 +Source8: %{name}.sasl +Source9: %{name}.access +Source10: %{name}.mailertable +Source11: %{name}.virtusertable +Source12: %{name}.domaintable +Source13: %{name}-smtp.pamd +# From http://doc.phpauction.org/sendmail/examples/ +Source14: %{name}-examples.tar.bz2 +Patch0: %{name}-makemapman.patch +Patch1: %{name}-smrsh-paths.patch +Patch2: %{name}-rmail.patch +Patch3: %{name}-os-paths.patch +Patch4: %{name}-m4path.patch +Patch5: %{name}-redirect.patch +Patch6: %{name}-hprescan-dos.patch +BuildRequires: cyrus-sasl-devel +BuildRequires: db3-devel +%{!?_without_ldap:BuildRequires: openldap-devel} +%{!?_without_tls:BuildRequires: openssl-devel} +Requires: m4 +Requires: procmail +PreReq: /sbin/chkconfig +Requires(pre): /bin/id +Requires(pre): /usr/bin/getgid +Requires(pre): /usr/sbin/groupadd +Requires(pre): /usr/sbin/useradd +Requires(post): awk +Requires(post): textutils +Requires(postun): /usr/sbin/groupdel +Requires(postun): /usr/sbin/userdel Provides: smtpdaemon +BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) Obsoletes: smtpdaemon -Prereq: /sbin/chkconfig -BuildRoot: /tmp/%{name}-%{version}-root - -%description -Sendmail is a Mail Transport Agent, which is the program -that moves mail from one machine to another. Sendmail implements a -general internetwork mail routing facility, featuring aliasing and -forwarding, automatic routing to network gateways, and flexible -configuration. - -If you need the ability to send and receive mail via the internet -you'll need sendmail. +Obsoletes: exim +Obsoletes: masqmail +Obsoletes: omta +Obsoletes: postfix +Obsoletes: qmail +Obsoletes: sendmail-cf +Obsoletes: sendmail-doc +Obsoletes: smail +Obsoletes: zmailer + +%define _sysconfdir /etc/mail + +%description +The Sendmail program is a very widely used Mail Transport Agent (MTA). +MTAs send mail from one machine to another. Sendmail is not a client +program, which you use to read your e-mail. Sendmail is a +behind-the-scenes program which actually moves your e-mail over +networks or the Internet to where you want it to go. + +%description -l de +Sendmail überträgt Mails zwischen Rechnern. Es implementiert eine +allgemeine Mail-Routing-Funktion über das Netzwerk mit Aliasing und +Weiterleiten von Nachrichten, automatischem Routing an +Netzwerk-Gateways und flexible Konfiguration. Wenn Sie E-Mails über +das Internet senden und empfangen möchten, brauchen Sie sendmail. + +%description -l fr +Sendmail est un agent de transport de courrier, qui est le programme +transférent le courrier d'une machine à l'autre. Sendmail implémente +une facilité générale de routage de courrier entre les réseaux, permet +l'\"aliasing\" et le \"forwarding\", un routage automatique sur les +passerelles du réseau, et une configuration flexible. %description -l pl Sendmail jest programem umo¿liwiaj±cym wymianê poczty elektronicznej -miêdzy komputerami w sieci Internet. Zajmuje siê przekazywaniem poczty -elektronicznej miêdzy bramkami pocztowymi i dostarczaniem przesy³ek na -konta docelowe. Bardzo dobrze obs³uguje aliasy pocztowe a jego dodatkowym -atutem jest prosta konfiguracja. Dziêki rozbudowanym mo¿liwo¶ciom -konfiguracyjnym jest w stanie dostarczaæ przesy³ki za po¶rednictwem -protoko³ów: SMTP, ESMTP, UUCP, X.400 i innych. - -Je¿eli masz zamiar korzystaæ z poczty elektronicznej w sieci Internet -oraz 6bone to zainstaluj ten pakiet. - -%package cf -Summary: Sendmail configuration files and m4 macros -Summary(pl): Pliki konfiguracyjne oraz makra m4 dla sendmaila -Group: Daemons -Group(pl): Demony -Requires: %{name} = %{version} - -%description cf -This package contains all the configuration files used to generate -the sendmail.cf file distributed with the base sendmail package. -You'll want this package if you need to reconfigure and rebuild -your sendmail.cf file. For example, the default sendmail.cf is -not configured for UUCP. If you need to send and receive mail -over UUCP, you may need this package to help you reconfigure sendmail. - -%description -l pl cf -Pakiet ten zawiera wszystkie pliki konfiguracyjne u¿ywane do gene- -rowania pliku sendmail.cf, znajduj±cego siê w pakiecie bazowym. -Bêdziesz potrzebowa³ tego pakietu je¿eli chcesz zmieniæ i przebudowaæ -konfiguracjê swojego sendmaila. Na przyk³ad, standardowy plik konfigu- -racyjny nie zawiera wspomagania dla poczty po UUCP. Je¿eli chcesz wy- -sy³aæ i odbieraæ pocztê po UUCP bêdziesz potrzebowa³ tego pakietu. +miêdzy komputerami w sieci (MTA). Zajmuje siê przekazywaniem poczty +elektronicznej miêdzy bramkami pocztowymi i dostarczaniem przesy³ek na +konta docelowe. Bardzo dobrze obs³uguje aliasy pocztowe a jego +dodatkowym atutem jest prosta konfiguracja. Dziêki rozbudowanym +mo¿liwo¶ciom konfiguracyjnym jest w stanie dostarczaæ przesy³ki za +po¶rednictwem protoko³ów: SMTP, ESMTP, UUCP, X.400 i innych. + +%description -l ru +Sendmail - ÜÔÏ Mail Transport Agent, ÐÒÏÇÒÁÍÍÁ ÐÅÒÅÓÙÌÁÀÝÁÑ ÐÏÞÔÕ Ó +ÍÁÛÉÎÙ ÎÁ ÍÁÛÉÎÕ. Sendmail ÐÒÅÄÏÓÔÁ×ÌÑÅÔ ÓÔÁÎÄÁÒÔÎÙÅ ÓÒÅÄÓÔ×Á +ÍÅÖÓÅÔÅ×ÏÊ ÍÁÒÛÒÕÔÉÚÁÃÉÉ ÐÏÞÔÙ, aliasing, forwarding, Á×ÔÏÍÁÔÉÞÅÓËÕÀ +ÍÁÒÛÒÕÔÉÚÁÃÉÀ ÄÌÑ ÓÅÔÅ×ÙÈ ÛÌÀÚÏ× É ÇÉÂËÉÊ ÍÅÈÁÎÉÚÍ ËÏÎÆÉÇÕÒÁÃÉÉ. + +%description -l tr +Sendmail, bir mektubu bir makineden diðerine taþýr. Pek çok davranýþý +ayarlanabilir. Internet üzerinden mektup almak veya göndermek +istiyorsanýz bu pakete gereksiniminiz olacaktýr. + +%description -l uk +Sendmail - ÃÅ Mail Transport Agent, ÐÒÏÇÒÁÍÁ ÝÏ ÐÅÒÅÓÉÌÁ¤ ÐÏÛÔÕ Ú +ÍÁÛÉÎÉ ÎÁ ÍÁÛÉÎÕ. Sendmail ÎÁÄÁ¤ ÓÔÁÎÄÁÒÔΦ ÚÁÓÏÂÉ Í¦ÖÍÅÒÅÖÅ×ϧ +ÍÁÒÛÒÕÔÉÚÁæ§ ÐÏÛÔÉ, aliasing, forwarding, Á×ÔÏÍÁÔÉÞÎÕ ÍÁÒÛÒÕÔÉÚÁæÀ +ÄÌÑ ÍÅÒÅÖÅ×ÉÈ ÛÌÀÚ¦× ÔÁ ÇÎÕÞËÉÊ ÍÅÈÁΦÚÍ ÍÁÒÛÒÕÔÉÚÁæ§. %prep %setup -q @@ -79,207 +125,269 @@ sy %patch5 -p1 %patch6 -p1 -ID="`id -u`" -GID="`id -g`" -OPT=$RPM_OPT_FLAGS +# seems to be obsoleted... +#tar xf %{SOURCE2} -C cf -cat %{SOURCE1} |sed s/gid/"$GID"/g | sort | sed s/id/"$ID"/g | sort | \ -sed s/opt/"$OPT"/g > BuildTools/Site/site.Linux.m4 +sed -e 's|@@PATH@@|\.\.|' < %{SOURCE6} > cf/cf/pld.mc + +install %{SOURCE7} config.m4 %build -cd src -./makesendmail -cd ../ -make makemap mail.local mailstats praliases rmail -make smrsh LDOPTS="-s -static" -( -cd cf/cf -/usr/bin/m4 pld.mc >> ./sendmail.cf -) +echo "define(\`confCC', \`%{__cc}')" >> config.m4 +echo "define(\`confOPTIMIZE', \`%{rpmcflags} -DUSE_VENDOR_CF_PATH=1 -DNETINET6')" >> config.m4 +%if %{?debug:0}%{!?debug:1} +echo "define(\`confLDOPTS', \`-s')" >> config.m4 +%endif +%if %{?_without_ldap:0}%{!?_without_ldap:1} +echo "APPENDDEF(\`confMAPDEF', \`-DLDAPMAP')" >> config.m4 +echo "APPENDDEF(\`confLIBS', \`-lldap -llber')" >> config.m4 +%endif +%if %{?_without_tls:0}%{!?_without_tls:1} +echo "APPENDDEF(\`confENVDEF', \`-DSTARTTLS')" >> config.m4 +echo "APPENDDEF(\`confLIBS', \`-lssl -lcrypto')" >> config.m4 +%endif + +cd sendmail && sh Build -f ../config.m4 +cd ../mailstats && sh Build -f ../config.m4 +cd ../rmail && sh Build -f ../config.m4 +cd ../makemap && sh Build -f ../config.m4 +cd ../praliases && sh Build -f ../config.m4 +cd ../smrsh && sh Build -f ../config.m4 +cd ../cf/cf +m4 pld.mc > pld.cf %install rm -rf $RPM_BUILD_ROOT - -install -d $RPM_BUILD_ROOT/etc/{mail,rc.d/init.d} -install -d $RPM_BUILD_ROOT/usr/{bin,sbin,lib/sendmail-cf,libexec} -install -d $RPM_BUILD_ROOT%{_mandir}/man{1,5,8} -install -d $RPM_BUILD_ROOT/var/{run,spool/{mqueue,mail}} - -install %{SOURCE2} $RPM_BUILD_ROOT/etc/mail/aliases -touch $RPM_BUILD_ROOT/etc/mail/{sendmail.{ct,cw},relay-domains} - -for i in aliases access domaintable genericstable mailertable majordomo \ -virtusertable -do touch $RPM_BUILD_ROOT/etc/mail/$i{,.db} +install -d $RPM_BUILD_ROOT{%{_sysconfdir},/etc/{rc.d/init.d,sysconfig,sasl,smrsh}} \ + $RPM_BUILD_ROOT%{_bindir} $RPM_BUILD_ROOT%{_sbindir} $RPM_BUILD_ROOT%{_libdir} \ + $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) + +IDNU=`id -nu` +IDNG=`id -ng` +SMINSTOPT="DESTDIR=$RPM_BUILD_ROOT SBINOWN=$IDNU SBINGRP=$IDNG \ + UBINOWN=$IDNU UBINGRP=$IDNG MANOWN=$IDNU MANGRP=$IDNG \ + CFOWN=$IDNU CFGRP=$IDNG MSPQOWN=$IDNU GBINGRP=$IDNG GBINOWN=$IDNU \ + BINOWN=$IDNU BINGRP=$IDNG" +%{__make} $SMINSTOPT install -C $OBJDIR/sendmail +%{__make} $SMINSTOPT install -C $OBJDIR/mailstats +%{__make} $SMINSTOPT install -C $OBJDIR/praliases +%{__make} $SMINSTOPT force-install -C $OBJDIR/rmail +%{__make} $SMINSTOPT install -C $OBJDIR/makemap +ln -sf ../sbin/makemap $RPM_BUILD_ROOT%{_bindir}/makemap +%{__make} $SMINSTOPT install -C $OBJDIR/smrsh + +# install the cf files +cd cf +rm -f cf/{Build,Makefile} feature/*~ +cp -ar * $RPM_BUILD_ROOT%{_libdir}/sendmail-cf +cd - + +# sendmail.{cf,mc} +install cf/cf/pld.cf $RPM_BUILD_ROOT%{_sysconfdir}/sendmail.cf +sed -e 's|@@PATH@@|%{_libdir}/sendmail-cf|' < %{SOURCE6} \ + > $RPM_BUILD_ROOT%{_sysconfdir}/sendmail.mc + +# submit.mc (submit.cf is installed automatically) +install cf/cf/submit.mc $RPM_BUILD_ROOT%{_sysconfdir} + +echo "# local-host-names - include all aliases for your machine here." \ + > $RPM_BUILD_ROOT%{_sysconfdir}/local-host-names + +ln -sf ../sbin/sendmail $RPM_BUILD_ROOT%{_libdir}/sendmail + +# dangling symlinks +for f in hoststat mailq newaliases purgestat ; do + ln -sf ../sbin/sendmail $RPM_BUILD_ROOT%{_bindir}/${f} done -install %{SOURCE3} $RPM_BUILD_ROOT/etc/rc.d/init.d/sendmail -make DESTDIR=$RPM_BUILD_ROOT install -make DESTDIR=$RPM_BUILD_ROOT OPTIONS=force-install rmail mail.local - -for i in hoststat mailq newaliases purgestat - do ln -sf ../sbin/sendmail $RPM_BUILD_ROOT/usr/bin/$i +for map in virtusertable access domaintable mailertable ; do + touch $RPM_BUILD_ROOT%{_sysconfdir}/${map} + $RPM_BUILD_ROOT%{_bindir}/makemap -C $RPM_BUILD_ROOT%{_sysconfdir}/sendmail.cf hash \ + $RPM_BUILD_ROOT%{_sysconfdir}/${map}.db < $RPM_BUILD_ROOT%{_sysconfdir}/${map} done -ln -sf /usr/sbin/sendmail $RPM_BUILD_ROOT%{_libdir}/sendmail - -install cf/cf/sendmail.cf $RPM_BUILD_ROOT/etc/mail -cp cf/* $RPM_BUILD_ROOT%{_libdir}/sendmail-cf/ -a +install %{SOURCE3} $RPM_BUILD_ROOT%{_sysconfdir}/aliases +$RPM_BUILD_ROOT%{_bindir}/makemap -C $RPM_BUILD_ROOT%{_sysconfdir}/sendmail.cf hash \ + $RPM_BUILD_ROOT%{_sysconfdir}/aliases.db < %{SOURCE3} -cp smrsh/README smrsh/SMRSH.txt +install %{SOURCE4} $RPM_BUILD_ROOT/etc/sysconfig/sendmail +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 +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 -gzip -9nf $RPM_BUILD_ROOT%{_mandir}/{man1/*,man5/*,man8/*} -gzip -9nf README KNOWNBUGS RELEASE_NOTES smrsh/SMRSH.txt +#cp -f %{SOURCE9} ./access.sample +#cp -f %{SOURCE10} ./mailertable.sample +#cp -f %{SOURCE11} ./virtusertable.sample +#cp -f %{SOURCE12} ./domaintable.sample -%post -/sbin/chkconfig --add sendmail +mv -f smrsh/README README.smrsh +mv -f cf/README README.cf +mv -f doc/op/op.me . -%preun -if [ -e /var/lock/sybsys/sendmail ]; then - /etc/rc.d/init.d/sendmail stop || : -fi +bzip2 -d %{SOURCE14} | tar xf - -if [ $1 = 0 ]; then - /sbin/chkconfig --del sendmail -fi +gzip -9nf FAQ KNOWNBUGS README* op.me RELEASE_NOTES %clean rm -rf $RPM_BUILD_ROOT -%files -%defattr(644,root,root,755) -%doc README.gz KNOWNBUGS.gz RELEASE_NOTES.gz smrsh/SMRSH.txt.gz - -%attr(711,root,root) /usr/bin/hoststat -%attr(711,root,root) /usr/bin/mailq -%attr(711,root,root) /usr/bin/newaliases -%attr(711,root,root) /usr/bin/purgestat -%attr(755,root,root) /usr/bin/rmail - -%attr(755,root,root) /usr/sbin/mailstats -%attr(755,root,root) /usr/sbin/makemap -%attr(755,root,root) /usr/sbin/praliases +%pre +if [ -n "`/usr/bin/getgid smmsp`" ]; then + if [ "`/usr/bin/getgid smmsp`" != "25" ]; then + echo "Warning: group smmsp haven't gid=25. Correct this before installing sendmail." 1>&2 + exit 1 + fi +else + /usr/sbin/groupadd -g 25 -r -f smmsp +fi +if [ -n "`/bin/id -u smmsp 2>/dev/null`" ]; then + if [ "`/bin/id -u smmsp`" != "25" ]; then + echo "Warning: user smmsp haven't uid=25. Correct this before installing sendmail." 1>&2 + exit 1 + fi +else + /usr/sbin/useradd -u 25 -r -d /var/spool/clientqueue -s /bin/false -c "Sendmail Message Submission Program" -g smmsp smmsp 1>&2 +fi -%attr(4711,root,root) /usr/sbin/sendmail +%post +# +# Convert old format to new +# +if [ -f /etc/mail/deny ] ; then + cat /etc/mail/deny | \ + awk 'BEGIN{ print "# Entries from obsoleted /etc/mail/deny"} \ + {print $1" REJECT"}' >> /etc/mail/access + mv -f /etc/mail/deny /etc/mail/deny.rpmorig +fi +for oldfile in relay_allow ip_allow name_allow ; do + if [ -f /etc/mail/$oldfile ] ; then + cat /etc/mail/$oldfile | \ + awk "BEGIN { print \"# Entries from obsoleted /etc/mail/$oldfile\" ;} \ + { print $1\" RELAY\" }" >> /etc/mail/access + mv -f /etc/mail/$oldfile /etc/mail/$oldfile.rpmorig + fi +done -%attr(711,root,root) %{_libdir}/sendmail -%attr(755,root,root) /usr/libexec/mail.local -%attr(755,root,root) /usr/libexec/smrsh +# +# Oops, these files moved +# +if [ -f /etc/sendmail.cw ] ; then + cat /etc/sendmail.cw | \ + awk 'BEGIN { print "# Entries from obsoleted /etc/sendmail.cw" ;} \ + { print $1 }' >> /etc/mail/local-host-names + mv -f /etc/sendmail.cw /etc/sendmail.cw.rpmorig +fi +# +# Rebuild maps (next reboot will rebuild also) +# +{ /usr/bin/newaliases + for map in virtusertable access domaintable mailertable; do + if [ -f /etc/mail/${map} ] ; then + /usr/bin/makemap hash /etc/mail/${map} < /etc/mail/${map} + sleep 1 + fi + done +} > /dev/null 2>&1 -%{_mandir}/man[158]/* +/sbin/chkconfig --add sendmail +if [ -f /var/lock/subsys/sendmail ]; then + /etc/rc.d/init.d/sendmail restart >&2 +else + echo "Run \"/etc/rc.d/init.d/sendmail start\" to start sendmail daemon." >&2 +fi -%attr(640,root,root) %config %verify(not size mtime md5) /var/run/sendmail.st +%preun +if [ "$1" = "0" ]; then + if [ -f /var/lock/subsys/sendmail ]; then + /etc/rc.d/init.d/sendmail stop >&2 + fi + /sbin/chkconfig --del sendmail +fi -%attr(750,root,mail) %dir /var/spool/mqueue +%postun +if [ "$1" = "0" ]; then + /usr/sbin/userdel smmsp 2>/dev/null + /usr/sbin/groupdel smmsp 2>/dev/null +fi -%attr(700,root,root) %config %verify(not size mtime md5) /etc/rc.d/init.d/* +# removal of compatibility links +%triggerpostun -- sendmail < 8.10.1 +/sbin/chkconfig --add sendmail -%files cf +%files %defattr(644,root,root,755) - -%{_libdir}/sendmail-cf - -%attr(640,root,root) %config(noreplace) %verify(not size mtime md5) /etc/mail/* - -%changelog -* Thu Feb 10 1999 Micha³ Kuratczyk - [8.9.2-3d] -- "Obsoletes: smtpdaemon" instead a lot of obsoletes -- simplification in %files -- gzipping instead bzipping - -* Fri Jan 22 1999 Wojtek ¦lusarczyk -[8.9.2-3d] -- fixed group && owner ELF bineries, -- fixed init script, -- fixed %preun. - -* Sun Jan 17 1999 Wojtek ¦lusarczyk -[8.9.2-2d] -- fixed sendmail.init script, -- compressed man pages && documentation, - by Micha³ Zalewski -- added patch against DoS ;) -- added %{name}-redirect.patch - -* Thu Sep 10 1998 Wojtek ¦lusarczyk -[8.9.1-1d] -- updated to 8.9.1a && build for PLD Tornado, -- build with IPv6 support - (patches was prepared by John Kennedy ), -- build with Detect-Telnet support, -- removed subpackage doc. - -* Thu Jul 30 1998 Wojtek Slusarczyk -[8.8.8-1d] -- build against glibc-2.1, -- updated to 8.8.8, -- added IPv6 support, -- translation modified for pl, -- moved configfiles to /etc/mail, -- changed permissions of all binaries to 711, -- moved %changelog at the end of spec, -- build from non root's account. - -* Tue May 05 1998 Prospector System - -- translations modified for de, fr, tr - -* Sat May 02 1998 Cristian Gafton -- enhanced initscripts - -* Fri May 01 1998 Cristian Gafton -- added a rmail patch - -* Wed Oct 29 1997 Donnie Barnes -- argh! Fixed some of the db1 handling that had to be added for glibc 2.1 - -* Fri Oct 24 1997 Donnie Barnes -- added support for db1 on SPARC - -* Thu Oct 16 1997 Donnie Barnes -- added chkconfig support -- various spec file cleanups -- changed group to Networking/Daemons (from Daemons). Sure, it runs on - non networked systems, but who really *needs* it then? - -* Wed Oct 08 1997 Donnie Barnes -- made /etc/mail/deny.db a ghost -- removed preun that used to remove deny.db (ghost handles that now) -- NOTE: upgrading from the sendmail packages in 4.8, 4.8.1, and possibly - 4.9 (all Red Hat betas between 4.2 and 5.0) could cause problems. You - may need to do a makemap in /etc/mail and a newaliases after upgrading - from those packages. Upgrading from 4.2 or prior should be fine. - -* Mon Oct 06 1997 Erik Troan -- made aliases.db a ghost - -* Tue Sep 23 1997 Donnie Barnes -- fixed preuninstall script to handle aliases.db on upgrades properly - -* Mon Sep 15 1997 Donnie Barnes -- fixed post-install output and changed /var/spool/mqueue to 755 - -* Thu Sep 11 1997 Donnie Barnes -- fixed /usr/lib/sendmail-cf paths - -* Tue Sep 09 1997 Donnie Barnes -- updated to 8.8.7 -- added some spam filtration -- combined some makefile patches -- added BuildRoot support - -* Wed Sep 03 1997 Erik Troan -- marked initscript symlinks as missingok -- run newalises after creating /var/spool/mqueue - -* Thu Jun 12 1997 Erik Troan -- built against glibc, udated release to -6 (skipped -5!) - -* Tue Apr 01 1997 Erik Troan -- Added -nsl on the Alpha (for glibc to provide NIS functions). - -* Mon Mar 03 1997 Erik Troan -- Added nis support. - +%doc *.gz examples/ +%attr(755,root,root) %{_sbindir}/mailstats +%attr(755,root,root) %{_sbindir}/praliases +%attr(755,root,root) %{_bindir}/hoststat +%attr(755,root,root) %{_bindir}/purgestat +%attr(755,root,root) %{_bindir}/rmail +%attr(755,root,root) %{_bindir}/makemap +%attr(755,root,root) %{_sbindir}/makemap +%attr(2755,root,smmsp) %{_sbindir}/sendmail +%attr(755,root,root) %{_bindir}/newaliases +%attr(755,root,root) %{_bindir}/mailq +%attr(755,root,root) %{_sbindir}/smrsh +%{_libdir}/sendmail + +%{_mandir}/man8/rmail.8* +%{_mandir}/man8/praliases.8* +%{_mandir}/man8/mailstats.8* +%{_mandir}/man8/makemap.8* +%{_mandir}/man8/sendmail.8* +%{_mandir}/man5/aliases.5* +%{_mandir}/man1/newaliases.1* +%{_mandir}/man1/mailq.1* + +%dir /etc/smrsh +%dir %{_sysconfdir} +/var/log/statistics +%config(noreplace) %verify(not md5 size mtime) %{_sysconfdir}/sendmail.cf +%config(noreplace) %verify(not md5 size mtime) %{_sysconfdir}/sendmail.mc +%config(noreplace) %verify(not md5 size mtime) %{_sysconfdir}/submit.cf +%config(noreplace) %verify(not md5 size mtime) %{_sysconfdir}/submit.mc +%config(noreplace) %verify(not md5 size mtime) %{_sysconfdir}/local-host-names +%config(noreplace) %verify(not md5 size mtime) %{_sysconfdir}/aliases +%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 +%ghost %{_sysconfdir}/access.db +%config(noreplace) %verify(not md5 size mtime) %{_sysconfdir}/domaintable +%ghost %{_sysconfdir}/domaintable.db +%config(noreplace) %verify(not md5 size mtime) %{_sysconfdir}/mailertable +%ghost %{_sysconfdir}/mailertable.db +%config(noreplace) %verify(not md5 size mtime) %{_sysconfdir}/virtusertable +%ghost %{_sysconfdir}/virtusertable.db +%config(noreplace) %{_sysconfdir}/helpfile + +%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 +%{_libdir}/sendmail-cf/cf/pld.mc +%{_libdir}/sendmail-cf/feature +%{_libdir}/sendmail-cf/m4 +%{_libdir}/sendmail-cf/mailer +%dir %{_libdir}/sendmail-cf/ostype +%{_libdir}/sendmail-cf/ostype/linux.m4 +%dir %{_libdir}/sendmail-cf/sh +%{_libdir}/sendmail-cf/sh/makeinfo.sh +%{_libdir}/sendmail-cf/siteconfig