source: projects/specs/trunk/s/sendmail/sendmail-vl.spec @ 2261

Revision 2261, 34.9 KB checked in by tomop, 13 years ago (diff)

new upstream release.

Line 
1# Build options
2%define with_ldap 0
3%define with_sasl 0
4%define with_sasl2 1
5%define with_tls 1
6
7%define initdir /etc/rc.d/init.d
8
9Summary: A widely used Mail Transport Agent (MTA).
10Summary(ja): 広く使用されているメール配送エージェント (MTA)。
11Name: sendmail
12Version: 8.14.4
13Release: 1%{?_dist_release}
14URL: http://www.sendmail.org/
15License: Sendmail
16Group: System Environment/Daemons
17Provides: smtpdaemon
18Source0: ftp://ftp.sendmail.org/pub/sendmail/sendmail.%{version}.tar.gz
19Source1: sendmail.init
20Source2: site.config.m4.vine
21Source3: sendmail.aliases
22Source4: sendmail.sysconfig
23Source5: sendmail.etc-mail-Makefile
24Source6: sendmail-vine.mc
25Source7: Sendmail-sasl.conf
26Source8: sendmail.pam
27Source9: sendmail-8.12.5-newconfig.readme
28Source10: makecert.sh
29Source11: Sendmail-sasl2.conf
30#Patch: sendmail-8.12.2-makemapman.patch
31#Patch1: sendmail-8.12.11-smrsh-paths.patch
32Patch2: sendmail-8.12.10-movefiles.patch
33Patch3: sendmail-8.13.7-pid.vine.patch
34Patch4: sendmail-8.12.7-manpage.patch
35#Patch5: sendmail-8.13.0-dynamic.patch
36Patch6: sendmail-8.13.0-cyrus.patch
37#Patch7: sendmail-8.13.1-parseaddr.c.cataddr.8.379.patch
38Buildroot: %{_tmppath}/%{name}-%{version}-root
39BuildRequires: db4-devel, tcp_wrappers
40#Provides: %{_sbindir}/sendmail %{_bindir}/mailq %{_bindir}/newaliases
41#Provides: %{_bindir}/rmail %{_mandir}/man1/mailq.1.gz
42#Provides: %{_mandir}/man1/newaliases.1.gz %{_mandir}/man5/aliases.5.gz
43Requires(pre): /sbin/chkconfig /usr/sbin/useradd /bin/mktemp fileutils gawk sed sh-utils
44Conflicts: postfix exim
45Requires: procmail, bash >= 2.0
46
47%if %{with_ldap}
48BuildRequires: openldap-devel openssl-devel
49Requires(pre): openldap openssl
50%endif
51
52%if %{with_sasl} || %{with_sasl2}
53BuildRequires: cyrus-sasl-devel openssl-devel
54Requires(pre): cyrus-sasl openssl
55%endif
56
57%if %{with_tls}
58BuildRequires: openssl-devel
59Requires(pre): openssl
60%endif
61
62Vendor: Project Vine
63Distribution: Vine Linux
64
65%description
66The Sendmail program is a very widely used Mail Transport Agent (MTA).
67MTAs send mail from one machine to another. Sendmail is not a client
68program, which you use to read your email. Sendmail is a
69behind-the-scenes program which actually moves your email over
70networks or the Internet to where you want it to go.
71
72If you ever need to reconfigure Sendmail, you will also need to have
73the sendmail.cf package installed. If you need documentation on
74Sendmail, you can install the sendmail-doc package.
75
76%description -l ja
77Sendmailプログラムはとても広く使われているメール配送エージェント (MTA)
78です。MTAはメールをマシンから別のマシンに送ります。 Sendmailはメールを
79読む時に使うクライアントプログラムではありません。Sendmailはメールをネ
80ットワークやインターネット経由で送りたい所に実際に送っている裏方のプロ
81グラムです。
82
83Sendmailを再設定する必要がある場合には sendmail.cfパッケージもインスト
84ールされている必要があります。Sendmailに関するドキュメントが必要な場合
85はsendmail-docパッケージをインストールして下さい。
86
87%package doc
88Summary: Documentation about the Sendmail Mail Transport Agent program.
89Summary(ja): Sendmailメール配送エージェントプログラムに関するドキュメント。
90Group: Applications/Documentation
91
92%description doc
93The sendmail-doc package contains documentation about the Sendmail
94Mail Transport Agent (MTA) program, including release notes, the
95Sendmail FAQ, and a few papers written about Sendmail. The papers are
96provided in PostScript(TM) and troff formats.
97
98%description doc -l ja
99sendmail-docパッケージはSendmailメール配送エージェント (MTA)プログラム
100に関するドキュメントです。 リリースノート、Sendmailに関するFAQ、そして
101いくつかのSendmailに関する文書を含んでいます。この文書はPostScript(TM)
102とtroff形式で提供されています。
103
104%package devel
105Summary: Extra development include files and development files.
106Summary(ja): 特別な開発のためのインクルードファイルと開発のためのファイル。
107Group: Development/Libraries
108
109%description devel
110Include files and devel libraries for e.g. the milter addons as part
111of sendmail.
112
113%description devel -l ja
114開発のためのインクルードファイルとライブラリです。例をあげればmilterは
115sendmailの一部として追加されています。
116
117%package cf
118Summary: The files needed to reconfigure Sendmail.
119Summary(ja): Sendmailの再設定に必要なファイル
120Group: System Environment/Daemons
121Requires: m4
122
123%description cf
124This package includes the configuration files you need to generate the
125sendmail.cf file distributed with the sendmail package. You will need
126the sendmail-cf package if you ever need to reconfigure and rebuild
127your sendmail.cf file.
128
129%description cf -l ja
130このパッケージはsendmailパッケージと共に配布されている sendmail.cfファ
131イルの生成に必要な設定ファイルを含んでいます。 sendmail.cfファイルを再
132設定し生成する必要がある場合、sendmail-cfパッケージが必要になります。
133
134%prep
135%setup -q
136#%patch -p1 -b .makemapman
137#%patch1 -p1 -b .smrsh_paths
138%patch2 -p1 -b .movestuff
139%patch3 -p1 -b .pid
140%patch4 -p1 -b .manpage
141#%patch5 -p1 -b .dynamic
142%patch6 -p1 -b .cyrus
143#%patch7 -p1 -b .cataddr
144
145perl -pi -e 's|/usr/share/sendmail-cf/m4|../m4|' ./cf/cf/submit.mc
146
147%build
148cp %{SOURCE2} devtools/Site/site.config.m4
149
150cat >> devtools/Site/site.config.m4 << EOF
151APPENDDEF(\`confENVDEF', \`-DNEWDB')dnl
152APPENDDEF(\`confLIBS', \`-ldb')dnl
153EOF
154
155%if %{with_ldap}
156cat >> devtools/Site/site.config.m4 << EOF
157APPENDDEF(\`confMAPDEF', \`-DLDAPMAP')dnl
158APPENDDEF(\`confENVDEF', \`-DSM_CONF_LDAP_MEMFREE=1')dnl
159APPENDDEF(\`confLIBS', \`-lldap -llber -lssl -lcrypto')dnl
160EOF
161%endif
162
163%if %{with_sasl2}
164cat >> devtools/Site/site.config.m4 << EOF
165APPENDDEF(\`confENVDEF', \`-DSASL=2 -D_FFR_UNSAFE_SASL')dnl
166APPENDDEF(\`confLIBS', \`-lsasl2 -lcrypto')dnl
167EOF
168%elseif %{with_sasl}
169cat >> devtools/Site/site.config.m4 << EOF
170APPENDDEF(\`confENVDEF', \`-DSASL=1 -D_FFR_UNSAFE_SASL')dnl
171APPENDDEF(\`confLIBS', \`-lsasl -lcrypto')dnl
172EOF
173%endif
174
175%if %{with_tls}
176cat >> devtools/Site/site.config.m4 << EOF
177APPENDDEF(\`conf_sendmail_ENVDEF', \`-DSTARTTLS')dnl
178APPENDDEF(\`conf_sendmail_LIBS', \`-lssl -lcrypto')dnl
179EOF
180%endif
181
182for i in libmilter libsmutil sendmail mailstats rmail praliases \
183    smrsh makemap ; do
184        pushd $i
185        sh Build
186        popd
187done
188
189%install
190[ -n "$RPM_BUILD_ROOT" -a "$RPM_BUILD_ROOT" != / ] && rm -rf $RPM_BUILD_ROOT
191mkdir -p $RPM_BUILD_ROOT
192
193cd $RPM_BUILD_ROOT
194mkdir -p etc/sysconfig .%{initdir} etc/pam.d
195mkdir -p usr/bin usr/include/libmilter usr/lib .%{_mandir}/man{1,5,8}
196mkdir -p usr/sbin var/log var/spool .%{_datadir}/sendmail-cf
197cd -
198
199OBJDIR=obj.$(uname -s).$(uname -r).$(uname -m)
200nameuser=`id -nu`
201namegroup=`id -ng`
202
203Make() {
204    make $@ \
205        DESTDIR=$RPM_BUILD_ROOT \
206        MANROOT=%{_mandir}/man \
207        SBINOWN=${nameuser} SBINGRP=${namegroup} \
208        UBINOWN=${nameuser} UBINGRP=${namegroup} \
209        MANOWN=${nameuser}  MANGRP=${namegroup} \
210        INCOWN=${nameuser}  INCGRP=${namegroup} \
211        LIBOWN=${nameuser}  LIBGRP=${namegroup} \
212        GBINOWN=${nameuser} GBINGRP=${namegroup} \
213        CFOWN=${nameuser}   CFGRP=${namegroup} \
214        MSPQOWN=${nameuser}
215}
216
217Make install -C $OBJDIR/libmilter
218Make install -C $OBJDIR/libsmutil
219Make install -C $OBJDIR/sendmail
220Make install -C $OBJDIR/mailstats
221Make force-install -C $OBJDIR/rmail
222Make install -C $OBJDIR/praliases
223Make install -C $OBJDIR/smrsh
224Make install -C $OBJDIR/makemap
225
226touch $RPM_BUILD_ROOT/rootfile
227root=..
228while [ ! -r $RPM_BUILD_ROOT%{_bindir}/${root}/rootfile ]; do
229    root=${root}/..
230done
231ln -sf ${root}%{_sbindir}/makemap $RPM_BUILD_ROOT%{_bindir}/makemap
232
233# Install docs by hand for the sendmail-doc package.
234DOC=$RPM_BUILD_ROOT%{_docdir}/sendmail
235mkdir -p $DOC
236cp -ar FAQ LICENSE KNOWNBUGS README RELEASE_NOTES doc $DOC
237cp sendmail/README   $DOC/README.sendmail
238cp sendmail/SECURITY $DOC/SECURITY
239cp smrsh/README      $DOC/README.smrsh
240cp libmilter/README  $DOC/README.libmilter
241cp cf/README         $DOC/README.cf
242cp %{SOURCE9}        $DOC/README.vine
243cp %{SOURCE10}       $DOC/makecert.sh
244
245# Install the cf files for the sendmail-cf package.
246cp -ar cf/* $RPM_BUILD_ROOT%{_datadir}/sendmail-cf
247
248install -d -m 755 $RPM_BUILD_ROOT/etc/mail
249
250sed -e 's|@@PATH@@|%{_datadir}/sendmail-cf|' < %{SOURCE6} > $RPM_BUILD_ROOT/etc/mail/sendmail.mc
251sed -e 's|%{_datadir}/sendmail-cf|\.\.|' < $RPM_BUILD_ROOT/etc/mail/sendmail.mc > cf/cf/vine.mc
252(cd cf/cf && m4 vine.mc > vine.cf)
253install -m 644 cf/cf/vine.cf $RPM_BUILD_ROOT/etc/mail/sendmail.cf
254install -m 644 cf/cf/submit.mc $RPM_BUILD_ROOT/etc/mail/submit.mc
255
256echo "# local-host-names - include all aliases for your machine here." \
257    > $RPM_BUILD_ROOT/etc/mail/local-host-names
258( echo "# trusted-users - users that can send mail as others without a warning"
259echo "# apache, mailman, majordomo, uucp, are good candidates" ) \
260    > $RPM_BUILD_ROOT/etc/mail/trusted-users
261
262#touch $RPM_BUILD_ROOT/rootfile
263#root=..
264#while [ ! -r $RPM_BUILD_ROOT%{_libdir}/${root}/rootfile ]; do
265#    root=${root}/..
266#done
267#ln -sf ${root}%{_sbindir}/sendmail $RPM_BUILD_ROOT%{_libdir}/sendmail
268install -m 755 -d $RPM_BUILD_ROOT%{_libdir}
269ln -sf ../sbin/sendmail $RPM_BUILD_ROOT%{_libdir}/sendmail
270install -d -m 775 $RPM_BUILD_ROOT/var/spool/mqueue
271install -d -m 755 $RPM_BUILD_ROOT/var/spool/clientmqueue
272
273# dangling symlinks
274touch $RPM_BUILD_ROOT/rootfile
275root=..
276while [ ! -r $RPM_BUILD_ROOT%{_bindir}/${root}/rootfile ]; do
277    root=${root}/..
278done
279for f in hoststat mailq newaliases purgestat ; do
280    ln -sf ${root}%{_sbindir}/sendmail $RPM_BUILD_ROOT%{_bindir}/${f}
281done
282install -d -m 755 $RPM_BUILD_ROOT/etc/smrsh
283
284cat <<EOF > $RPM_BUILD_ROOT/etc/mail/access
285# Check the /usr/share/doc/sendmail/README.cf file for a description
286# of the format of this file. (search for access_db in that file)
287# The /usr/share/doc/sendmail/README.cf is part of the sendmail-doc
288# package.
289#
290# by default we allow relaying from localhost...
291localhost.localdomain           RELAY
292localhost                       RELAY
293127.0.0.1                       RELAY
294
295EOF
296for map in virtusertable access domaintable mailertable ; do
297    touch $RPM_BUILD_ROOT/etc/mail/${map}
298    chmod 0644 $RPM_BUILD_ROOT/etc/mail/${map}
299    $RPM_BUILD_ROOT%{_bindir}/makemap -C $RPM_BUILD_ROOT/etc/mail/sendmail.cf hash $RPM_BUILD_ROOT/etc/mail/${map}.db < $RPM_BUILD_ROOT/etc/mail/${map}
300    chmod 0644 $RPM_BUILD_ROOT/etc/mail/${map}.db
301done
302install -m 644 %{SOURCE3} $RPM_BUILD_ROOT/etc/aliases
303$RPM_BUILD_ROOT/usr/bin/makemap -C $RPM_BUILD_ROOT/etc/mail/sendmail.cf hash $RPM_BUILD_ROOT/etc/aliases.db < %{SOURCE3}
304
305install -m 644 %{SOURCE4} $RPM_BUILD_ROOT/etc/sysconfig/sendmail
306install -m 755 %{SOURCE1} $RPM_BUILD_ROOT%{initdir}/sendmail
307
308install -m 644 %{SOURCE5} $RPM_BUILD_ROOT/etc/mail/Makefile
309
310chmod u+w $RPM_BUILD_ROOT/usr/sbin/{mailstats,praliases}
311chmod u+w $RPM_BUILD_ROOT/usr/bin/rmail
312
313%if %{with_sasl2}
314install -m 755 -d $RPM_BUILD_ROOT%{_libdir}/sasl2
315install -m 644 %{SOURCE11} $RPM_BUILD_ROOT%{_libdir}/sasl2/Sendmail.conf
316%elseif %{with_sasl}
317install -m 755 -d $RPM_BUILD_ROOT%{_libdir}/sasl
318install -m 644 %{SOURCE7} $RPM_BUILD_ROOT%{_libdir}/sasl/Sendmail.conf
319%endif
320
321install -m 644 %{SOURCE8} $RPM_BUILD_ROOT/etc/pam.d/smtp
322
323install -m 755 -d $RPM_BUILD_ROOT%{_libdir}
324install -m 644 $OBJDIR/libmilter/libmilter.a $RPM_BUILD_ROOT%{_libdir}
325install -m 644 $OBJDIR/libsmutil/libsmutil.a $RPM_BUILD_ROOT%{_libdir}
326install -m 644 $OBJDIR/libsm/libsm.a         $RPM_BUILD_ROOT%{_libdir}
327
328%clean
329[ -n "$RPM_BUILD_ROOT" -a "$RPM_BUILD_ROOT" != / ] && rm -rf $RPM_BUILD_ROOT
330
331%pre
332/usr/sbin/useradd -u 47 -d /var/spool/mqueue -r -s /sbin/nologin mailnull >/dev/null 2>&1
333/usr/sbin/useradd -u 51 -d /var/spool/mqueue -r -s /sbin/nologin smmsp >/dev/null 2>&1
334exit 0
335
336%postun
337if [ "$1" -ge "1" ]; then
338    %{initdir}/sendmail condrestart >/dev/null 2>&1
339fi
340exit 0
341
342%post
343#
344# Convert old format to new
345#
346if [ -f /etc/mail/deny ]; then
347    cat /etc/mail/deny | \
348        awk 'BEGIN{ print "# Entries from obsoleted /etc/mail/deny"} \
349        {print $1" REJECT"}' >> /etc/mail/access
350    cp /etc/mail/deny /etc/mail/deny.rpmorig
351fi
352for oldfile in relay_allow ip_allow name_allow ; do
353    if [ -f /etc/mail/$oldfile ]; then
354        cat /etc/mail/$oldfile | \
355            awk "BEGIN { print \"# Entries from obsoleted /etc/mail/$oldfile\" ;} \
356            { print \$1\" RELAY\" }" >> /etc/mail/access
357        cp /etc/mail/$oldfile /etc/mail/$oldfile.rpmorig
358    fi
359done
360
361#
362# Remove deprecated config flags which are probably harmless to remove
363#
364cf=`/bin/mktemp /etc/mail/sendmail.cf.XXXXXX`
365if [ "$cf" != "" ]; then
366    sed 's/^O AutoRebuildAliases$/#&/g' /etc/mail/sendmail.cf > ${cf} && \
367        cat ${cf} > /etc/mail/sendmail.cf
368    rm ${cf}
369fi
370
371/sbin/chkconfig --add sendmail
372
373#
374# Oops, these files moved
375#
376if [ -f /etc/sendmail.cw ]; then
377    cat /etc/sendmail.cw  | \
378        awk 'BEGIN { print "# Entries from obsoleted /etc/sendmail.cw" ;} \
379        { print $1 }' >> /etc/mail/local-host-names
380    cp /etc/sendmail.cw /etc/sendmail.cw.rpmorig
381fi
382
383#
384# Rebuild maps (next reboot will rebuild also)
385#
386{
387    chown root /etc/aliases.db /etc/mail/access.db /etc/mail/mailertable.db \
388        /etc/mail/domaintable.db  /etc/mail/virtusertable.db
389    /usr/bin/newaliases
390    for map in virtusertable access domaintable mailertable ; do
391        if [ -f /etc/mail/${map} ]; then
392            /usr/bin/makemap hash /etc/mail/${map} < /etc/mail/${map}
393        fi
394    done
395} > /dev/null 2>&1
396
397%preun
398if [ $1 = 0 ]; then
399    %{initdir}/sendmail stop >/dev/null 2>&1
400    /sbin/chkconfig --del sendmail
401fi
402exit 0
403
404%triggerpostun -- sendmail < 8.10.0
405/sbin/chkconfig --add sendmail
406
407%files
408%defattr(-,root,root)
409%{_bindir}/hoststat
410%{_bindir}/makemap
411%{_bindir}/purgestat
412%{_sbindir}/mailstats
413%{_sbindir}/makemap
414%{_sbindir}/praliases
415%attr(2755,root,smmsp) %{_sbindir}/sendmail
416%{_bindir}/rmail
417%{_bindir}/newaliases
418%{_bindir}/mailq
419%{_sbindir}/smrsh
420%{_libdir}/sendmail
421
422%{_mandir}/man8/rmail.8*
423%{_mandir}/man8/praliases.8*
424%{_mandir}/man8/mailstats.8*
425%{_mandir}/man8/makemap.8*
426%{_mandir}/man8/sendmail.8*
427%{_mandir}/man8/smrsh.8*
428%{_mandir}/man5/aliases.5*
429%{_mandir}/man1/newaliases.1*
430%{_mandir}/man1/mailq.1*
431
432%config(noreplace)              /etc/mail/statistics
433%config(noreplace)              /etc/mail/sendmail.cf
434%config(noreplace)              /etc/mail/submit.cf
435%attr(0644,root,root) %config(noreplace)        /etc/mail/sendmail.mc
436%attr(0644,root,root) %config(noreplace)        /etc/mail/submit.mc
437%config(noreplace)              /etc/mail/local-host-names
438%config(noreplace)              /etc/aliases
439%attr(0644,root,root) %ghost    /etc/aliases.db
440%attr(0770,smmsp,smmsp) %dir    /var/spool/clientmqueue
441%attr(0700,root,mail) %dir      /var/spool/mqueue
442%dir /etc/smrsh
443%dir /etc/mail
444
445%config /etc/mail/Makefile
446%attr(0644,root,root) %ghost                    /etc/mail/virtusertable.db
447%attr(0644,root,root) %config(noreplace)        /etc/mail/virtusertable
448
449%attr(0644,root,root) %ghost                    /etc/mail/access.db
450%attr(0644,root,root) %config(noreplace)        /etc/mail/access
451
452%attr(0644,root,root) %ghost                    /etc/mail/domaintable.db
453%attr(0644,root,root) %config(noreplace)        /etc/mail/domaintable
454
455%attr(0644,root,root) %ghost                    /etc/mail/mailertable.db
456%attr(0644,root,root) %config(noreplace)        /etc/mail/mailertable
457
458%attr(0644,root,root) %config(noreplace)        /etc/mail/helpfile
459%attr(0644,root,root) %config(noreplace)        /etc/mail/trusted-users
460
461%config(noreplace) /etc/sysconfig/sendmail
462
463%config %{initdir}/sendmail
464/etc/pam.d/smtp
465%if %{with_sasl2}
466%config %{_libdir}/sasl2/Sendmail.conf
467%elseif %{with_sasl}
468%config %{_libdir}/sasl/Sendmail.conf
469%endif
470
471%files cf
472%defattr(-,root,root)
473%{_datadir}/sendmail-cf
474
475%files devel
476%defattr(-,root,root)
477%{_includedir}/libmilter/*.h
478%{_libdir}/libmilter.a
479%{_libdir}/libsmutil.a
480%{_libdir}/libsm.a
481
482%files doc
483%defattr(-,root,root)
484%{_docdir}/sendmail
485
486%changelog
487* Tue Nov 16 2010 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 8.14.4-1
488- new upstream release.
489- fixed %%files for x86_64 architecture.
490- forced using db4.
491
492* Sat Jun 21 2008 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 8.14.2-1
493- rebuilt against db4-4.6.21
494- new versioning policy with spec in UTF-8
495
496* Thu Nov 15 2007 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 8.14.2-0vl3
497- rebuilt 8.14.2-0vl1 for VineSeed
498
499* Thu Nov 15 2007 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 8.14.2-0vl2
500- rebuilt 8.14.2-0vl1 for VinePlus/4.0
501  * Tue Nov 13 2007 yamamoto <yamamoto@yu.vinelinux.org> 8.14.2-0vl1
502  - update to 8.14.2
503
504* Sun Aug  5 2007 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 8.14.1-0vl2
505- rebuilt for VinePlus/4.x
506- changed doc Group to Applications/Documentation
507- changed devel Group to Development/Libraries
508
509* Sun Jun 10 2007 yamamoto <yamamoto@yu.vinelinux.org> 8.14.1-0vl1
510- update to 8.14.1
511
512* Wed Sep  6 2006 yamamoto <yamamoto@yu.vinelinux.org> 8.13.8-0vl1
513- update to 8.13.8
514
515* Sat Jul  1 2006 yamamoto <yamamoto@yu.vinelinux.org> 8.13.7-0vl1
516- update to 8.13.7
517
518* Sun Apr  9 2006 yamamoto <yamamoto@yu.vinelinux.org> 8.13.6-0vl1
519- update to 8.13.6
520
521* Sun Feb  5 2006 yamamoto <yamamoto@yu.vinelinux.org> 8.13.5-0vl1
522- update to 8.13.5
523
524* Sun May 15 2005 yamamoto <yamamoto@yu.vinelinux.org> 8.13.4-0vl1
525- update to 8.13.4
526
527* Mon Sep 13 2004 Masaki Suzuki <masaki@btree.org> 8.13.1-0vl3
528- rebuild for Vine 3.0
529
530* Mon Sep 13 2004 Masaki Suzuki <masaki@btree.org> 8.13.1-0vl2
531- add parseaddr.c.cataddr.8.379 patch
532
533* Mon Aug 16 2004 Masaki Suzuki <masaki@btree.org> 8.13.1-0vl1
534- update to 8.13.1
535
536* Sat Jul 24 2004 Masaki Suzuki <masaki@btree.org> 8.13.0-0vl2
537- rebuild for Vine 3.0
538
539* Sat Jul 24 2004 Masaki Suzuki <masaki@btree.org> 8.13.0-0vl1
540- update to 8.13.0
541- add milter.c.8.224 patch
542
543* Wed Feb 25 2004 Masaki Suzuki <masaki@btree.org> 8.12.11-0vl4
544- fix Sendmail.conf for cyrus-sasl-1
545- add build option for SASL2
546- build with cyrus-sasl-2 support
547
548* Sun Feb 22 2004 Masaki Suzuki <masaki@btree.org> 8.12.11-0vl3
549- update site.config.m4.vine
550- some fix sepc file
551
552* Thu Feb 19 2004 Masaki Suzuki <masaki@btree.org> 8.12.11-0vl2
553- rebuild for VineSeed
554- build with cyrus-sasl support
555
556* Tue Feb 17 2004 Masaki Suzuki <masaki@btree.org> 8.12.11-0vl1
557- update to 8.12.11
558- adjust rpm license tag to say "Sendmail"
559- add build options for LDAP, SASL and TLS
560- update sendmail-vine.mc
561- update initscript
562- clean up spec file
563
564* Fri Sep 19 2003 Masaki Suzuki <masaki@btree.org> 8.12.10-0vl1
565- update to 8.12.10
566
567* Thu Apr  3 2003 Masaki Suzuki <masaki@btree.org> 8.12.9-0vl1
568- update to 8.12.9
569
570* Tue Mar  4 2003 Masaki Suzuki <masaki@btree.org> 8.12.8-0vl1
571- update to 8.12.8
572
573* Fri Jan 10 2003 Masaki Suzuki <masaki@btree.org> 8.12.7-0vl2
574- add proto.m4.8.649.2.14 patch
575
576* Tue Dec 31 2002 Masaki Suzuki <masaki@btree.org> 8.12.7-0vl1
577- update to 8.12.7
578
579* Sun Dec  8 2002 Masaki Suzuki <masaki@btree.org> 8.12.6-0vl3
580- fix Summary(ja) and %description -l ja sections in spec file
581
582* Thu Dec  5 2002 Masaki Suzuki <masaki@btree.org> 8.12.6-0vl2
583- add proto.m4.8.649.2.13 patch for access restrictions imposed
584  via check_relay.
585
586* Wed Oct 23 2002 Masaki Suzuki <masaki@btree.org> 8.12.6-0vl1
587- 8.12.6
588- add smrsh-20020924.patch for smrsh bypass vulnerabilities
589- initial RPM for Vine Linux based on 8.12.5-7 of RHL
590
591* Thu Aug 29 2002 Florian La Roche <Florian.LaRoche@redhat.de>
592- clean up some specfile cruft
593- add more pseudo accounts to /etc/aliases
594
595* Thu Jul 25 2002 Phil Knirsch <pknirsch@redhat.com>
596- Only generate new cf files if the /usr/share/sendmail-cf/m4/cf.m4 exists.
597
598* Wed Jul 24 2002 Phil Knirsch <pknirsch@redhat.com>
599- Changed the behaviour in /etc/mail/Makefile to generate the sendmail.cf and
600  submit.cf from the mc files if they changed.
601- Added a small README.redhat that descibed the new mc file behaviour and the
602  split into sendmail.cf and submit.cf.
603
604* Wed Jul 24 2002 Florian La Roche <Florian.LaRoche@redhat.de>
605- suggestions form Stephane Lentz:
606        - add correct include statement into submit.mc (like sendmail.mc)
607        - add commented out further suggestions into submit.mc
608        - disable ident lookups
609
610* Thu Jul 11 2002 Florian La Roche <Florian.LaRoche@redhat.de>
611- fix initscript for the second daemon and pidfile location #67910
612
613* Mon Jul 01 2002 Florian La Roche <Florian.LaRoche@redhat.de>
614- update to 8.12.5
615
616* Thu Jun 27 2002 Florian La Roche <Florian.LaRoche@redhat.de>
617- add further queue runs, slight spec-file cleanups
618
619* Fri Jun 21 2002 Tim Powers <timp@redhat.com>
620- automated rebuild
621
622* Tue Jun 11 2002 Florian La Roche <Florian.LaRoche@redhat.de>
623- update to 8.12.4, adjust smrsh patch
624
625* Thu May 23 2002 Tim Powers <timp@redhat.com>
626- automated rebuild
627
628* Sat Apr 13 2002 Florian La Roche <Florian.LaRoche@redhat.de>
629- update to 8.12.3
630
631* Tue Mar 26 2002 Tim Powers <timp@redhat.com>
632- rebuilt
633
634* Mon Mar 25 2002 Florian La Roche <Florian.LaRoche@redhat.de>
635- fix alternatives --remove  #61737
636- add sendmail/SECURITY as docu #61870, #61545
637
638* Wed Mar 20 2002 Florian La Roche <Florian.LaRoche@redhat.de>
639- add libsm.a    #61270
640- change from /etc/sendmail.cf to /etc/mail/sendmail.cf
641- add milter patch
642
643* Wed Mar 13 2002 Bill Nottingham <notting@redhat.com>
644- ignore DAEMON=no; that configuration no longer functions
645
646* Wed Mar 13 2002 Florian La Roche <Florian.LaRoche@redhat.de>
647- make sure more version information is in the cf file #54418
648- do not use "-b" flag when patching in spec file
649- require newer chkconfig version #61035
650- fix preun script #60880
651- add TMPF to access file creation #60956
652
653* Sat Mar 09 2002 Florian La Roche <Florian.LaRoche@redhat.de>
654- mv include files to /usr/include/libmilter/ #60795
655- do not use "-f" option to virtusertable #60196
656- ad an example smarthost entry to config file #58298
657
658* Fri Mar  8 2002 Bill Nottingham <notting@redhat.com> 8.12.2-5
659- use alternatives --initscript support
660- run chkconfig --add before alternatives
661
662* Thu Feb 28 2002 Bill Nottingham <notting@redhat.com> 8.12.2-3
663- run alternatives --remove in %preun
664- add some prereqs
665
666* Mon Feb 25 2002 Nalin Dahyabhai <nalin@redhat.com> 8.12.2-2
667- fix smmsp useradd invocation in %%pre
668- switch back to db3 for storing db files
669
670* Wed Feb 20 2002 Nalin Dahyabhai <nalin@redhat.com> 8.12.2-1
671- update to 8.12.2 (adds STARTTLS support without need for sfio)
672- don't forcibly strip binaries; let the build root handle it
673- add creation of the smmsp account (51/51) in %%pre
674- enable hesiod map support
675- modify default config to use an MSP
676- comment out 'O AutoRebuildAliases' in %%post, otherwise sendmail will
677  fail to restart on upgrades
678
679* Wed Feb 20 2002 Florian La Roche <Florian.LaRoche@redhat.de>
680- add proper ifdefs around new alternative stuff to also be able
681  to build this for older releases
682
683* Fri Feb  1 2002 Bill Nottingham <notting@redhat.com> 8.11.6-12
684- %triggerpostun on older versions to make sure alternatives work on
685  upgrades
686
687* Thu Jan 31 2002 Bill Nottingham <notting@redhat.com> 8.11.6-11
688- clean up alternatives somewhat, provide /usr/sbin/sendmail & friends
689
690* Thu Jan 31 2002 Bernhard Rosenkraenzer <bero@redhat.com> 8.11.6-10
691- Use alternatives
692
693* Tue Jan 22 2002 Florian La Roche <Florian.LaRoche@redhat.de>
694- fix quotation in spec-file
695
696* Thu Jan 10 2002 Florian La Roche <Florian.LaRoche@redhat.de>
697- integrate ugly logic to compile this src.rpm also on older Red Hat
698  Linux releases
699- clean up spec file and patches a bit
700- add db4 support
701
702* Wed Jan 09 2002 Florian La Roche <Florian.LaRoche@redhat.de>
703- fix another path to correct docu
704- include sendmail/README in the docu
705- compile with -D_FFR_WORKAROUND_BROKEN_NAMESERVERS, but do not
706  enable this at runtime
707- devel subpackage files owned by root now
708
709* Fri Dec 07 2001 Florian La Roche <Florian.LaRoche@redhat.de>
710- change "-q" to "-s" as option to make #57216
711- move milter lib into separate "devel" sub-package
712- add include files to devel sub-package #56064
713- fix pointer in access file to docu #54351
714
715* Mon Sep 10 2001 Florian La Roche <Florian.LaRoche@redhat.de>
716- add libmilter docu
717- add support for userdb to /etc/mail/Makefile
718- use "btree" database files if a userdb is used
719- buildrequires tcp_wrappers
720
721* Fri Aug 31 2001 Florian La Roche <Florian.LaRoche@redhat.de>
722- fix libmilter support
723- fix init script to use /etc/mail/Makefile #52932
724
725* Sat Aug 25 2001 Florian La Roche <Florian.LaRoche@redhat.de>
726- add libmilter library
727
728* Thu Aug 23 2001 Florian La Roche <Florian.LaRoche@redhat.de>
729- update to 8.11.6
730- correctly use /etc/mail/statistics
731
732* Thu Aug 09 2001 Florian La Roche <Florian.LaRoche@redhat.de>
733- change init script back to older conventions #51297
734- remove DoS patch, not needed anymore #51247
735
736* Mon Aug 06 2001 Florian La Roche <Florian.LaRoche@redhat.de>
737- add option '-t' to procmail for local mail delivery
738
739* Tue Jul 24 2001 Florian La Roche <Florian.LaRoche@redhat.de>
740- point to the map files in sendmail.cf as pointed out by
741  David Beveridge <David@beveridge.com>
742
743* Mon Jul 23 2001 Florian La Roche <Florian.LaRoche@redhat.de>
744- add build requires #49695
745- do not call "userdel"
746
747* Tue Jul 10 2001 Florian La Roche <Florian.LaRoche@redhat.de>
748- change sendmail.cf to "noreplace"
749
750* Thu Jun 07 2001 Florian La Roche <Florian.LaRoche@redhat.de>
751- update to 8.11.4
752
753* Wed May 09 2001 Florian La Roche <Florian.LaRoche@redhat.de>
754- update to 8.11.3
755- add "localhost.localdomain" to the list of hostnames accepted
756  for local delivery "Cw" in /etc/mail/sendmail.mc
757- add patches from Pekka Savola <pekkas@netcore.fi>
758        - Enable IPv6 at compile time, patch for glibc 2.2 from PLD
759        - Add a commented-out IPv6 daemon .mc line to sendmail.mc
760        - buildrequire: openldap-devel, cyrus-sasl-devel
761
762* Fri Mar  2 2001 Nalin Dahyabhai <nalin@redhat.com>
763- rebuild in new environment
764
765* Tue Feb 27 2001 Florian La Roche <Florian.LaRoche@redhat.de>
766- add noreplace for /etc/sysconfig/sendmail and /etc/mail/sendmail.mc
767
768* Wed Feb 21 2001 Florian La Roche <Florian.LaRoche@redhat.de>
769- add changes from Christopher McCrory <chrismcc@pricegrabber.com>:
770        - prepare /etc/mail/Makefile for more maps not shipped with this rpm
771        - changed sendmail.mc to include some more commented out options,
772          so that people are directly pointed at important options
773        - add /etc/pam.d/smtp for AUTH
774        - add FEATURE(use_ct_file) and /etc/mail/trusted-users
775
776* Fri Feb 16 2001 Tim Powers <timp@redhat.com>
777- don't obsolete postfix and exim, only conflict (for RHN purposes)
778
779* Thu Feb 15 2001 Trond Eivind Glomsr <teg@redhat.com>
780- obsolete and conflict with exim and postfix
781
782* Wed Feb 14 2001 Florian La Roche <Florian.LaRoche@redhat.de>
783- fix devision by zero bug in #20395
784- mv /usr/lib/sendmail-cf /usr/share/sendmail-cf
785
786* Wed Feb  7 2001 Trond Eivind Glomsr <teg@redhat.com>
787- i18n tweaks to initscript
788
789* Wed Feb 07 2001 Florian La Roche <Florian.LaRoche@redhat.de>
790- aliases.db should be owned by group root
791
792* Wed Jan 24 2001 Florian La Roche <Florian.LaRoche@redhat.de>
793- prepare for startup-script translation
794
795* Tue Jan 23 2001 Florian La Roche <Florian.LaRoche@redhat.de>
796- enable daemon mode again, but only listen to the loopback device
797  instead of all devices.
798- do not include check.tar with old anti-spam rules
799
800* Fri Jan 12 2001 Florian La Roche <Florian.LaRoche@redhat.de>
801- fix configuration of /etc/aliases
802
803* Mon Jan 08 2001 Florian La Roche <Florian.LaRoche@redhat.de>
804- fix interoperation problems with communigate pro
805- disable msa
806
807* Thu Jan 04 2001 Florian La Roche <Florian.LaRoche@redhat.de>
808- update to (security release) 8.11.2
809- build also on RHL 6.x #16061
810- include smrsh man-page #17901
811- use the "-f" flag for makemap to preserve case for virtusertable
812  and userdb in /etc/mail/Makefile - suggested by Harald Hoyer
813- fix /usr/doc -> usr/share/doc in docu #20611
814- wrong path in sendmail.mc #20691
815- tcp-wrapper support wasn't enabled correctly #21642
816- do not expose user "root" when masquerading like in older releases #21643
817- disable the VRFY and EXPN smtp commands #21801
818- disable queue-runs for normal users (restrictqrun privacy flag)
819- fix typo in sendmail.mc #21880, #22682
820- disable daemon mode to see what needs fixing
821
822* Mon Oct 02 2000 Florian La Roche <Florian.LaRoche@redhat.de>
823- update to 8.11.1
824
825* Fri Sep 08 2000 Nalin Dahyabhai <nalin@redhat.com>
826- rebuild in new environment
827
828* Tue Aug 22 2000 Nalin Dahyabhai <nalin@redhat.com>
829- apply fixes for LDAP maps being closed too soon
830
831* Mon Aug 14 2000 Nalin Dahyabhai <nalin@redhat.com>
832- provide /usr/lib/sasl/Sendmail.conf so that people know we can use it (#16064)
833
834* Mon Aug  7 2000 Florian La Roche <Florian.LaRoche@redhat.de>
835- enable listening on the smtp port again
836
837* Fri Aug  4 2000 Nalin Dahyabhai <nalin@redhat.com>
838- fix "missing find_m4.sh" problem by defining M4=/usr/bin/m4 (#14767)
839
840* Mon Jul 31 2000 Nalin Dahyabhai <nalin@redhat.com>
841- okay, enable LDAP support again
842- enable SMTP auth support via Cyrus SASL
843
844* Tue Jul 25 2000 Nalin Dahyabhai <nalin@redhat.com>
845- disable the LDAP support until we can remove the sendmail->OpenLDAP->perl dep
846- fix prereq
847
848* Tue Jul 25 2000 Florian La Roche <Florian.LaRoche@redhat.com>
849- update to sendmail 8.11.0
850- add LDAP support
851
852* Thu Jul 20 2000 Bill Nottingham <notting@redhat.com>
853- move initscript back
854
855* Wed Jul 12 2000 Prospector <bugzilla@redhat.com>
856- automatic rebuild
857
858* Sun Jul  9 2000 Florian La Roche <Florian.LaRoche@redhat.com>
859- require procmail
860- add further aliases
861
862* Sat Jul  8 2000 Florian La Roche <Florian.LaRoche@redhat.com>
863- prereq init.d
864- fix typo
865
866* Tue Jul  4 2000 Florian La Roche <Florian.LaRoche@redhat.com>
867- ignore error from useradd
868
869* Fri Jun 30 2000 Than Ngo <than@redhat.de>
870- FHS fixes
871- /etc/rc.d/init.d -> /etc/init.d
872- fix initscript
873
874* Fri Jun 23 2000 Florian La Roche <Florian.LaRoche@redhat.com>
875- change to /usr/share/man
876
877* Wed Jun 21 2000 Preston Brown <pbrown@redhat.com>
878- turn off daemon behaviour by default
879
880* Mon Jun 18 2000 Bill Nottingham <notting@redhat.com>
881- rebuild, fix dependencies
882
883* Sat Jun 10 2000 Bill Nottingham <notting@redhat.com>
884- prereq /usr/sbin/useradd
885
886* Fri May 19 2000 Florian La Roche <Florian.LaRoche@redhat.com>
887- enable MAP_REGEX
888- enable tcp_wrapper support
889
890* Thu May 18 2000 Florian La Roche <Florian.LaRoche@redhat.com>
891- fix etc/mail/aliases -> /etc/aliases in sendmail-redhat.mc
892
893* Wed May  3 2000 Bill Nottingham <notting@redhat.com>
894- update to 8.10.1
895- fix build without sendmail installed
896- add 'mailnull' user
897
898* Wed Mar 15 2000 Bill Nottingham <notting@redhat.com>
899- update to 8.10.0
900- remove compatiblity chkconfig links
901- add a mailnull user for sendmail to use
902
903* Thu Feb 17 2000 Cristian Gafton <gafton@redhat.com>
904- break the hard link for makemap and create it as a symlnk (#8223)
905
906* Thu Feb 17 2000 Bernhard Rosenkr舅zer <bero@redhat.com>
907- Fix location of mailertable (Bug #6035)
908
909* Sat Feb  5 2000 Bill Nottingham <notting@redhat.com>
910- fixes for non-root builds (#8178)
911
912* Wed Feb  2 2000 Florian La Roche <Florian.LaRoche@redhat.com>
913- change perms on /etc/sysconfig/sendmail from 0755 to 0644
914- allow compressed man-pages
915
916* Thu Dec 02 1999 Cristian Gafton <gafton@redhat.com>
917- add patch to prevent the DoS when rebuilding aliases
918
919* Wed Sep  1 1999 Jeff Johnson <jbj@redhat.com>
920- install man pages, not groff output (#3746).
921- use dnl not '#' in m4 comment (#3749).
922- add FEATURE(mailtertable) to the config -- example file needs this (#4649).
923- use db2 not db1.
924
925* Tue Aug 31 1999 Jeff Johnson <jbj@redhat.com>
926- add 127.0.0.1 to /etc/mail/access to avoid IDENT: relay problem (#3178).
927
928* Tue Aug 31 1999 Bill Nottingham <notting@redhat.com>
929- chkconfig --del in preun, not postun (#3982)
930
931* Mon Aug 16 1999 Bill Nottingham <notting@redhat.com>
932- initscript munging
933
934* Fri Jul 02 1999 Cristian Gafton <gafton@redhat.com>
935- fixed typo bug in comment in the default .mc file (#2812)
936
937* Mon Apr 19 1999 Cristian Gafton <gafton@redhat.com>
938- fox the awk scripts in the postinstall
939- enable FEATURE(accept_unresolvable_domains) by default to make laptop
940  users happy.
941
942* Sun Apr 18 1999 Cristian Gafton <gafton@redhat.com>
943- make the redhat.mc be a separate source files. Sanitize patches that used
944  to touch it.
945- install redhat.mc as /etc/sendmail.mc so that people can easily modify
946  their sendmail.cf configurations.
947
948* Mon Apr 05 1999 Cristian Gafton <gafton@redhat.com>
949- fixed virtusertable patch
950- make smrsh look into /etc/smrsh
951
952* Mon Mar 29 1999 Jeff Johnson <jbj@redhat.com>
953- remove noreplace attr from sednmail.cf.
954
955* Thu Mar 25 1999 Cristian Gafton <gafton@redhat.com>
956- provide a more sane /etc/mail/access default config file
957- use makemap to initializa the empty databases, not touch
958- added a small, but helpful /etc/mail/Makefile
959
960* Mon Mar 22 1999 Jeff Johnson <jbj@redhat.com>
961- correxct dangling symlinks.
962- check for map file existence in %post.
963
964* Sun Mar 21 1999 Cristian Gafton <gafton@redhat.com>
965- auto rebuild in the new build environment (release 3)
966
967* Fri Mar 19 1999 Jeff Johnson <jbj@redhat.com>
968- improved 8.9.3 config from Mike McHenry <mmchen@minn.net>
969
970* Tue Mar 16 1999 Cristian Gafton <gafton@redhat.com>
971- version 8.9.3
972
973* Tue Dec 29 1998 Cristian Gafton <gafton@redhat.com>
974- build for 6.0
975- use the libdb1 stuff correctly
976
977* Mon Sep 21 1998 Michael K. Johnson <johnsonm@redhat.com>
978- Allow empty QUEUE in /etc/sysconfig/sendmail for those who
979  want to run sendmail in daemon mode without processing the
980  queue regularly.
981
982* Thu Sep 17 1998 Michael K. Johnson <johnsonm@redhat.com>
983- /etc/sysconfig/sendmail
984
985* Fri Aug 28 1998 Jeff Johnson <jbj@redhat.com>
986- recompile statically linked binary for 5.2/sparc
987
988* Tue May 05 1998 Prospector System <bugs@redhat.com>
989- translations modified for de, fr, tr
990
991* Sat May 02 1998 Cristian Gafton <gafton@redhat.com>
992- enhanced initscripts
993
994* Fri May 01 1998 Cristian Gafton <gafton@redhat.com>
995- added a rmail patch
996
997* Wed Oct 29 1997 Donnie Barnes <djb@redhat.com>
998- argh!  Fixed some of the db1 handling that had to be added for glibc 2.1
999
1000* Fri Oct 24 1997 Donnie Barnes <djb@redhat.com>
1001- added support for db1 on SPARC
1002
1003* Thu Oct 16 1997 Donnie Barnes <djb@redhat.com>
1004- added chkconfig support
1005- various spec file cleanups
1006- changed group to Networking/Daemons (from Daemons).  Sure, it runs on
1007  non networked systems, but who really *needs* it then?
1008
1009* Wed Oct 08 1997 Donnie Barnes <djb@redhat.com>
1010- made /etc/mail/deny.db a ghost
1011- removed preun that used to remove deny.db (ghost handles that now)
1012- NOTE: upgrading from the sendmail packages in 4.8, 4.8.1, and possibly
1013  4.9 (all Red Hat betas between 4.2 and 5.0) could cause problems.  You
1014  may need to do a makemap in /etc/mail and a newaliases after upgrading
1015  from those packages.  Upgrading from 4.2 or prior should be fine.
1016
1017* Mon Oct 06 1997 Erik Troan <ewt@redhat.com>
1018- made aliases.db a ghost
1019
1020* Tue Sep 23 1997 Donnie Barnes <djb@redhat.com>
1021- fixed preuninstall script to handle aliases.db on upgrades properly
1022
1023* Mon Sep 15 1997 Donnie Barnes <djb@redhat.com>
1024- fixed post-install output and changed /var/spool/mqueue to 755
1025
1026* Thu Sep 11 1997 Donnie Barnes <djb@redhat.com>
1027- fixed /usr/lib/sendmail-cf paths
1028
1029* Tue Sep 09 1997 Donnie Barnes <djb@redhat.com>
1030- updated to 8.8.7
1031- added some spam filtration
1032- combined some makefile patches
1033- added BuildRoot support
1034
1035* Wed Sep 03 1997 Erik Troan <ewt@redhat.com>
1036- marked initscript symlinks as missingok
1037- run newalises after creating /var/spool/mqueue
1038
1039* Thu Jun 12 1997 Erik Troan <ewt@redhat.com>
1040- built against glibc, udated release to -6 (skipped -5!)
1041
1042* Tue Apr 01 1997 Erik Troan <ewt@redhat.com>
1043- Added -nsl on the Alpha (for glibc to provide NIS functions).
1044
1045* Mon Mar 03 1997 Erik Troan <ewt@redhat.com>
1046- Added nis support.
Note: See TracBrowser for help on using the repository browser.