sendmail-vl.spec 38 KB

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