postfix-vl.spec 31 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967
  1. #%define build_mysql %{?_with_mysql:1}%{!?_with_mysql:0}
  2. #%define build_pgsql %{?_with_pgsql:1}%{!?_with_pgsql:0}
  3. %define build_mysql 1
  4. %define build_pgsql 1
  5. %define _sysconfdir /etc
  6. %define _data_dir %{_var}/lib/postfix
  7. %define origversion 2.9.4
  8. # Macro: %{dynmap_add_cmd <name> [-m]}
  9. %define dynmap_add_cmd(m) FILE=%{_sysconfdir}/postfix/dynamicmaps.cf; if ! grep -q "^%{1}[[:space:]]" ${FILE}; then echo "Adding %{1} map entry to ${FILE}"; printf '%%-8s%%-35s%%-18s%%s\\n' %{1} %{_libdir}/postfix/dict_%{1}.so dict_%{1}_open %{-m:mkmap_%{1}_open} >> ${FILE}; fi;
  10. %define dynmap_rm_cmd() FILE=%{_sysconfdir}/postfix/dynamicmaps.cf; if [ $1 = 0 -a -s $FILE ]; then cp -p ${FILE} ${FILE}.$$; grep -v "^%{1}[[:space:]]" ${FILE}.$$ > ${FILE}; rm -f ${FILE}.$$; fi;
  11. Summary: Postfix Mail Transport Agent
  12. Summary(ja): Postfix メールトランスポートエージェント
  13. Name: postfix
  14. Version: %{origversion}
  15. Release: 2%{?_dist_release}
  16. URL: http://www.postfix.org/
  17. License: Distributable - IBM PUBLIC LICENSE VERSION 1.0 - SECURE MAILER
  18. Group: System Environment/Daemons
  19. Source0: ftp://postfix.cloud9.net/official/%{name}-%{version}.tar.gz
  20. Source1: postfix.aliases
  21. Source2: postfix.cron
  22. Source3: postfix.init
  23. Patch0: postfix-2.9.1-vine.patch
  24. # patches 100-199 are imported from debian package.
  25. # patches 100/101 for postfix 2.8.x are from mdk.
  26. Patch100: postfix-2.9.1-dynamicmaps.diff
  27. Patch101: postfix-2.9.1-dynamicmaps2.diff
  28. # add HAS_DLOPEN to definitions for LINUX3.
  29. Patch102: postfix-2.9.4-dynamicmaps3.diff
  30. # patches 200-299 are imported from rh/fedora
  31. Patch200: postfix-2.5.7-large-fs.patch
  32. Provides: smtpdaemon
  33. Conflicts: sendmail
  34. Requires(pre): chkconfig
  35. BuildRequires: db4-devel >= 4.6.21, pam-devel, gdbm-devel
  36. BuildRequires: cyrus-sasl-devel >= 2
  37. BuildRequires: openldap-devel, openssl-devel
  38. BuildRequires: pcre-devel
  39. %if %build_mysql
  40. BuildRequires: MySQL-devel
  41. %endif
  42. %if %build_pgsql
  43. BuildRequires: postgresql-devel
  44. %endif
  45. BuildRequires: sqlite3-devel
  46. Requires: cyrus-sasl >= 2, cyrus-sasl-md5, cyrus-sasl-plain
  47. Requires: gdbm, pam, openssl
  48. Requires(pre): db4 >= 4.6.21
  49. Obsoletes: postfix-beta
  50. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  51. Vendor: Project Vine
  52. Distribution: Vine Linux
  53. Packager: daisuke
  54. %description
  55. Postfix aims to be an alternative to the widely-used sendmail
  56. program. Sendmail is responsible for 70 percent of all e-mail delivered
  57. on the Internet. With an estimated 100 million users, that's an
  58. estimated 10 billion (10^10) messages daily. A stunning number.
  59. Although IBM supported the Postfix development, it abstains from
  60. control over its evolution. The goal is to have Postfix installed
  61. on as many systems as possible. To this end, the software is given
  62. away with no strings attached to it, so that it can evolve with
  63. input from and under control by its users.
  64. #'
  65. %description -l ja
  66. Postfix は現在広く使われている sendmail を置き換える目的で
  67. 開発されています。sendmail は約 70% の E-mail サーバで使用
  68. されています。また、その使用者は 100万人にもおよび、およそ
  69. 一日 1 千万通ものメールを処理しています。
  70. Postfix の開発は IBM によってサポートされており、全世界の
  71. 全てのシステムを postfix にすることを目標としています。
  72. %package sqlite
  73. Summary: SQLite3 map support for Postfix
  74. Group: System Environment/Daemons
  75. Requires(pre): postfix = %{version}-%{release}
  76. Requires: sqlite3
  77. %description sqlite
  78. This package contains shared lib module which support
  79. SQLite map on Postfix.
  80. %description -l ja sqlite
  81. このパッケージには、Postfix で SQLite map を使うのに
  82. 必要なライブラリが納められています。
  83. %if %build_pgsql
  84. %package pgsql
  85. Summary: PGSQL map support for Postfix
  86. Group: System Environment/Daemons
  87. Requires(pre): postfix = %{version}-%{release}
  88. Requires: postgresql-libs, postgresql
  89. %description pgsql
  90. This package contains shared lib module which support
  91. PostgreSQL map on Postfix.
  92. %description -l ja pgsql
  93. このパッケージには、Postfix で PostgreSQL を使うのに必要な
  94. ライブラリが納められています。
  95. %endif
  96. %if %build_mysql
  97. %package mysql
  98. Summary: MySQL map support for Postfix
  99. Group: System Environment/Daemons
  100. Requires(pre): postfix = %{version}-%{release}
  101. %description mysql
  102. This package contains shared lib module which support
  103. MySQL map on Postfix.
  104. %description -l ja mysql
  105. このパッケージには、Postfix で MySQL を使うのに必要な
  106. ライブラリが納められています。
  107. %endif
  108. %package ldap
  109. Summary: LDAP map support for Postfix
  110. Group: System Environment/Daemons
  111. Requires(pre): postfix = %{version}-%{release}
  112. Requires: openldap
  113. %description ldap
  114. This package contains shared lib module which support
  115. OpenLDAP map on Postfix.
  116. %description -l ja ldap
  117. このパッケージには、Postfix で OpenLDAP を使うのに必要な
  118. ライブラリが納められています。
  119. %package pcre
  120. Summary: PCRE map support for Postfix
  121. Group: System Environment/Daemons
  122. Requires(pre): postfix = %{version}-%{release}
  123. Requires: pcre
  124. %description pcre
  125. This package contains shared lib module which support
  126. PCRE map on Postfix.
  127. %description -l ja pcre
  128. このパッケージには、Postfix で PCRE マップを使うのに必要な
  129. ライブラリが納められています。
  130. %prep
  131. # japanese documant for 2.4.x is not ready.
  132. # %setup -q -a 10 -a 20 -a 30 -a 40
  133. %setup -q
  134. %patch0 -p1 -b .vine
  135. %ifarch x86_64
  136. sed -i -e 's|/usr/lib/postfix|/usr/lib64/postfix|g' conf/main.cf
  137. %endif
  138. %patch100 -p1 -b .dynamicmaps
  139. %patch101 -p1 -b .dynamicmaps2
  140. %patch102 -p0 -b .dynamicmaps3
  141. %patch200 -p1 -b .large-fs
  142. # patching src/global/Makefile to remove dependency
  143. pushd src/global
  144. %if %build_mysql
  145. :
  146. %else
  147. sed -ie "s/ dict_mysql.so/ /" Makefile.in
  148. %endif
  149. %if %build_pgsql
  150. :
  151. %else
  152. sed -ie "s/ dict_pgsql.so/ /" Makefile.in
  153. %endif
  154. popd
  155. %build
  156. make makefiles \
  157. CCARGS="-DMAX_DYNAMIC_MAPS \
  158. -DUSE_SASL_AUTH -I/usr/include/sasl \
  159. -DUSE_CYRUS_SASL \
  160. -DHAS_LDAP \
  161. -DHAS_SSL -I/usr/include/openssl \
  162. -DHAS_PCRE -I/usr/include/pcre \
  163. -DHAS_SQLITE \
  164. %if %build_mysql
  165. -DHAS_MYSQL -I/usr/include/mysql \
  166. %endif
  167. %if %build_pgsql
  168. -DHAS_PGSQL -I/usr/include/pgsql \
  169. %endif
  170. -DUSE_TLS" \
  171. AUXLIBS="-lsasl2 -lssl -lcrypto" \
  172. OPT="$RPM_OPT_FLAGS" DEBUG=""
  173. for libs in master global util dns tls milter xsasl
  174. do
  175. ln -sf lib${libs}.a lib/libpostfix-${libs}.so.1
  176. done
  177. # make %{?_smp_mflags} DEBUG="" OPT="$RPM_OPT_FLAGS" \
  178. # LD_LIBRARY_PATH=$(pwd)/lib:${LD_LIBRARY_PATH}
  179. # using _smp_mflags makes build error. why? (2008.10.11)
  180. make DEBUG="" OPT="$RPM_OPT_FLAGS" \
  181. LD_LIBRARY_PATH=$(pwd)/lib:${LD_LIBRARY_PATH} CDBSO=""
  182. %install
  183. rm -rf $RPM_BUILD_ROOT
  184. rm -f html/Makefile.in
  185. rm -f README_FILES/*.*
  186. install -d $RPM_BUILD_ROOT%{_sysconfdir}/cron.daily
  187. install -d $RPM_BUILD_ROOT%{_sysconfdir}/postfix
  188. install -d $RPM_BUILD_ROOT%{_sysconfdir}/rc.d/init.d
  189. install -d $RPM_BUILD_ROOT%{_bindir}
  190. install -d $RPM_BUILD_ROOT%{_libdir}/postfix
  191. install -d $RPM_BUILD_ROOT%{_mandir}/man{1,5,8}
  192. install -d $RPM_BUILD_ROOT%{_mandir}/ja/man{1,5,8}
  193. install -d $RPM_BUILD_ROOT%{_sbindir}
  194. install -d $RPM_BUILD_ROOT%{_var}/spool/postfix
  195. install -d $RPM_BUILD_ROOT%{_var}/spool/postfix/{active,corrupt,deferred,incoming,pid,public}
  196. install -d $RPM_BUILD_ROOT%{_var}/spool/postfix/{bounce,defer,flush,maildrop,private,saved}
  197. install -m755 bin/* $RPM_BUILD_ROOT%{_sbindir}
  198. install -m755 libexec/* $RPM_BUILD_ROOT%{_libdir}/postfix
  199. #install -m755 lib/dict_* $RPM_BUILD_ROOT%{_libdir}/postfix
  200. install -m755 lib/lib*.so.1 $RPM_BUILD_ROOT%{_libdir}
  201. touch conf/dynamicmaps.cf
  202. for i in main.cf master.cf access aliases canonical header_checks \
  203. main.cf.default post-install postfix-files postfix-script \
  204. relocated transport virtual dynamicmaps.cf
  205. do
  206. install -m644 conf/$i $RPM_BUILD_ROOT%{_sysconfdir}/postfix
  207. done
  208. for i in post-install postfix-script
  209. do
  210. install -m755 conf/$i $RPM_BUILD_ROOT%{_sysconfdir}/postfix
  211. done
  212. install -m644 man/man1/*.1 $RPM_BUILD_ROOT%{_mandir}/man1
  213. install -m644 man/man5/*.5 $RPM_BUILD_ROOT%{_mandir}/man5
  214. install -m644 man/man8/*.8 $RPM_BUILD_ROOT%{_mandir}/man8
  215. install -m644 %{SOURCE1} $RPM_BUILD_ROOT%{_sysconfdir}/postfix/aliases
  216. install -m755 %{SOURCE2} $RPM_BUILD_ROOT%{_sysconfdir}/cron.daily/postfix
  217. install -m755 %{SOURCE3} $RPM_BUILD_ROOT%{_sysconfdir}/rc.d/init.d/postfix
  218. ln -sf postfix/aliases $RPM_BUILD_ROOT%{_sysconfdir}/aliases
  219. ln -sf postfix/aliases.db $RPM_BUILD_ROOT%{_sysconfdir}/aliases.db
  220. ( cd $RPM_BUILD_ROOT%{_bindir}
  221. ln -sf ../sbin/sendmail mailq
  222. ln -sf ../sbin/sendmail newaliases
  223. )
  224. ( cd $RPM_BUILD_ROOT%{_libdir}
  225. ln -sf ../sbin/sendmail sendmail
  226. )
  227. for I in etc/postfix/{aliases,access,canonical,header_check,relocated,transport,virtual}
  228. do
  229. touch $RPM_BUILD_ROOT/$I{,.db}
  230. done
  231. # data dir
  232. install -d $RPM_BUILD_ROOT%{_data_dir}
  233. %pre
  234. if [ `grep postfix %{_sysconfdir}/passwd | wc -l` = 0 ]; then
  235. %{_sbindir}/useradd -M -r -d %{_var}/spool/postfix -s "" \
  236. -c "postfix" postfix || :
  237. fi
  238. if [ `grep postfix %{_sysconfdir}/group | wc -l` = 0 ]; then
  239. %{_sbindir}/groupadd -r postfix
  240. fi
  241. if [ `grep postdrop %{_sysconfdir}/group | wc -l` = 0 ]; then
  242. %{_sbindir}/groupadd -r postdrop
  243. fi
  244. #if [ -f %{_var}/lock/subsys/postfix ]; then
  245. # %{_sysconfdir}/rc.d/init.d/postfix stop
  246. #fi
  247. %post
  248. /sbin/ldconfig
  249. %dynmap_add_cmd tcp
  250. /sbin/chkconfig --add postfix
  251. if [ ! -f %{_sysconfdir}/postfix/aliases.db ]; then
  252. touch %{_sysconfdir}/postfix/aliases.db
  253. fi
  254. %{_sbindir}/postalias %{_sysconfdir}/postfix/aliases ||:
  255. if [ ! -e %{_libdir}/sendmail ]; then
  256. ln -sf %{_sbindir}/sendmail %{_libdir}/sendmail
  257. fi
  258. /sbin/chkconfig --del sendmail &> /dev/null ||:
  259. %{_sbindir}/postfix check >/dev/null 2>&1 ||:
  260. if [ -f %{_var}/lock/subsys/postfix ]; then
  261. %{_sysconfdir}/rc.d/init.d/postfix restart
  262. fi
  263. %preun
  264. if [ $1 = 0 ]; then
  265. if [ -f %{_var}/lock/subsys/postfix -a -f %{_sysconfdir}/rc.d/init.d/postfix ]; then
  266. %{_sysconfdir}/rc.d/init.d/postfix stop
  267. fi
  268. /sbin/chkconfig --del postfix
  269. fi
  270. %postun
  271. /sbin/ldconfig
  272. if [ $1 = 0 ]; then
  273. if [ `grep postfix %{_sysconfdir}/passwd | wc -l` = 1 ]; then
  274. %{_sbindir}/userdel postfix
  275. fi
  276. if [ `grep postfix %{_sysconfdir}/group | wc -l` = 1 ]; then
  277. %{_sbindir}/groupdel postfix
  278. fi
  279. if [ `grep postdrop %{_sysconfdir}/group | wc -l` = 1 ]; then
  280. %{_sbindir}/groupdel postdrop
  281. fi
  282. if ! [ -f %{_var}/lock/subsys/postfix ]; then
  283. rm -rf %{_var}/lock/subsys/postfix
  284. fi
  285. fi
  286. %post sqlite
  287. %dynmap_add_cmd sqlite
  288. %preun sqlite
  289. %dynmap_rm_cmd sqlite
  290. %if %build_pgsql
  291. %post pgsql
  292. %dynmap_add_cmd pgsql
  293. %preun pgsql
  294. %dynmap_rm_cmd pgsql
  295. %endif
  296. %if %build_mysql
  297. %post mysql
  298. %dynmap_add_cmd mysql
  299. %preun mysql
  300. %dynmap_rm_cmd mysql
  301. %endif
  302. %post ldap
  303. %dynmap_add_cmd ldap
  304. %postun ldap
  305. %dynmap_rm_cmd ldap
  306. %post pcre
  307. %dynmap_add_cmd pcre
  308. %postun pcre
  309. %dynmap_rm_cmd pcre
  310. %clean
  311. rm -rf $RPM_BUILD_ROOT
  312. %files
  313. %defattr(-,root,root)
  314. %doc COMPATIBILITY COPYRIGHT HISTORY LICENSE INSTALL PORTING RELEASE_NOTES
  315. # japanese documant for 2.4.x is not ready.
  316. # %doc conf.ja
  317. # %doc html html.ja
  318. # %doc README_FILES README_FILES.ja
  319. %doc README_FILES
  320. # %doc man-%{jmanversion}/readme_ja.txt
  321. %{_sysconfdir}/aliases
  322. %{_sysconfdir}/aliases.db
  323. %config %{_sysconfdir}/cron.daily/postfix
  324. %dir %{_sysconfdir}/postfix
  325. %config %{_sysconfdir}/postfix/main.cf.default
  326. %config %{_sysconfdir}/postfix/master.cf
  327. %config(noreplace) %{_sysconfdir}/postfix/aliases
  328. %config(noreplace) %{_sysconfdir}/postfix/access
  329. %config(noreplace) %{_sysconfdir}/postfix/canonical
  330. %config(noreplace) %{_sysconfdir}/postfix/header_check
  331. %config(noreplace) %{_sysconfdir}/postfix/header_checks
  332. %config(noreplace) %{_sysconfdir}/postfix/main.cf
  333. %config(noreplace) %{_sysconfdir}/postfix/relocated
  334. %config(noreplace) %{_sysconfdir}/postfix/transport
  335. %config(noreplace) %{_sysconfdir}/postfix/virtual
  336. %config(noreplace) %{_sysconfdir}/postfix/dynamicmaps.cf
  337. %config %{_sysconfdir}/postfix/postfix-files
  338. %config %{_sysconfdir}/postfix/post-install
  339. %config %{_sysconfdir}/postfix/postfix-script
  340. %config %{_sysconfdir}/rc.d/init.d/postfix
  341. %{_bindir}/*
  342. %dir %{_libdir}/postfix
  343. %{_libdir}/postfix/*
  344. %if %{build_pgsql}
  345. %exclude %{_libdir}/postfix/dict_pgsql.so
  346. %endif
  347. %if %{build_mysql}
  348. %exclude %{_libdir}/postfix/dict_mysql.so
  349. %endif
  350. %exclude %{_libdir}/postfix/dict_sqlite.so
  351. %exclude %{_libdir}/postfix/dict_ldap.so
  352. %exclude %{_libdir}/postfix/dict_pcre.so
  353. %{_libdir}/lib*.so.1
  354. %{_sbindir}/postalias
  355. %{_sbindir}/postcat
  356. %{_sbindir}/postconf
  357. %attr(2755,root,postdrop) %{_sbindir}/postdrop
  358. %{_sbindir}/postfix
  359. %{_sbindir}/postkick
  360. %{_sbindir}/postlock
  361. %{_sbindir}/postlog
  362. %{_sbindir}/postmap
  363. %{_sbindir}/postmulti
  364. %attr(2755,root,postdrop) %{_sbindir}/postqueue
  365. %{_sbindir}/postsuper
  366. %{_sbindir}/qmqp-sink
  367. %{_sbindir}/qmqp-source
  368. %{_sbindir}/sendmail
  369. %{_sbindir}/smtp-sink
  370. %{_sbindir}/smtp-source
  371. %attr(-,root,man) %{_mandir}/man*/*
  372. # %attr(-,root,man) %{_mandir}/ja/man*/*
  373. %dir %{_var}/spool/postfix
  374. %attr(0750,postfix,root) %dir %{_data_dir}
  375. %attr(1733,postfix,postdrop) %dir %{_var}/spool/postfix/maildrop
  376. %attr(0700,postfix,postfix) %dir %{_var}/spool/postfix/active
  377. %attr(0700,postfix,postfix) %dir %{_var}/spool/postfix/corrupt
  378. %attr(0700,postfix,postfix) %dir %{_var}/spool/postfix/deferred
  379. %attr(0700,postfix,postfix) %dir %{_var}/spool/postfix/incoming
  380. %attr(0755,root,root) %dir %{_var}/spool/postfix/pid
  381. %attr(0710,postfix,postdrop) %dir %{_var}/spool/postfix/public
  382. %attr(0700,postfix,postfix) %dir %{_var}/spool/postfix/bounce
  383. %attr(0700,postfix,postfix) %dir %{_var}/spool/postfix/defer
  384. %attr(0700,postfix,postfix) %dir %{_var}/spool/postfix/flush
  385. %attr(0710,postfix,postfix) %dir %{_var}/spool/postfix/private
  386. %attr(0700,postfix,postfix) %dir %{_var}/spool/postfix/saved
  387. %{_libdir}/sendmail
  388. %files sqlite
  389. %defattr(-,root,root)
  390. %{_libdir}/postfix/dict_sqlite.so
  391. %if %build_pgsql
  392. %files pgsql
  393. %defattr(-,root,root)
  394. %{_libdir}/postfix/dict_pgsql.so
  395. %endif
  396. %if %build_mysql
  397. %files mysql
  398. %defattr(-,root,root)
  399. %{_libdir}/postfix/dict_mysql.so
  400. %endif
  401. %files ldap
  402. %defattr(-,root,root)
  403. %{_libdir}/postfix/dict_ldap.so
  404. %files pcre
  405. %defattr(-,root,root)
  406. %{_libdir}/postfix/dict_pcre.so
  407. %changelog
  408. * Fri Nov 30 2012 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 2.9.4-2
  409. - added patch102.
  410. * Sun Nov 25 2012 Daisuke SUZUKI <daisuke@linux.or.jp> 2.9.4-1
  411. - update to 2.9.4
  412. - update dynamicmaps patches
  413. - add sqite3 map support, add postfix-sqlite subpackage.
  414. - drop unneeded patches
  415. * Wed Oct 24 2012 Daisuke SUZUKI <daisuke@linux.or.jp> 2.8.12-1
  416. - update to 2.8.12
  417. - rebuild with pcre-8.31
  418. * Tue May 01 2012 Daisuke SUZUKI <daisuke@linux.or.jp> 2.8.10-1
  419. - update to 2.8.10
  420. * Sun Mar 04 2012 Daisuke SUZUKI <daisuke@linux.or.jp> 2.8.9-1
  421. - update to 2.8.9
  422. * Thu May 12 2011 Daisuke SUZUKI <daisuke@linux.or.jp> 2.8.3-1
  423. - update to 2.8.3
  424. * Wed Apr 13 2011 Daisuke SUZUKI <daisuke@linux.or.jp> 2.8.2-1
  425. - update to 2.8.2
  426. - update dynamicmaps patch
  427. * Tue Apr 12 2011 Shu KONNO <owa@bg.wakwak.com> 2.6.8-5
  428. - rebuilt with postgresql-9.0.3
  429. * Sun Jan 9 2011 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 2.6.8-4
  430. - rebuilt with openssl 1.0.0c
  431. - fix changelog typo..
  432. * Wed Dec 01 2010 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 2.6.8-3
  433. - new upstream release.
  434. - updated %%patch100 and %%patch210.
  435. * Sat Feb 20 2010 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 2.6.5-2
  436. - removed MySQL-shared from "Requires:" and "BuildRequires:".
  437. - replaced "Prereq:" with "Requires(pre):".
  438. - replaced "BuildPrereq:" with "BuildRequires:".
  439. * Tue Feb 02 2010 Daisuke SUZUKI <daisuke@linux.or.jp> 2.6.5-1
  440. - new upstream release
  441. - rebuild with db4-4.8.0
  442. * Sun Aug 16 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 2.6.3-2
  443. - change /var/spool/postfix/pid owner and permission
  444. (0700,postfix,postfix -> 0755,root,root)
  445. * Mon Aug 3 2009 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 2.6.3-1
  446. - new upstream release
  447. * Sat Jun 6 2009 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 2.6.2-1
  448. - new upstream release.
  449. * Sat May 30 2009 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 2.6.1-2
  450. - added a missing file.
  451. * Sat May 30 2009 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 2.6.1-1
  452. - new upstream release.
  453. - updated dynamicmaps patch.
  454. * Fri May 22 2009 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 2.5.7-2
  455. - made to build -mysql and -pgsql as default.
  456. - rebuilt with MySQL-5.1.34.
  457. * Wed May 13 2009 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 2.5.7-1
  458. - new upstream release
  459. - update Patch200 from fc10
  460. * Sun Mar 01 2009 NAKAMURA Kenta <kenta@vinelinux.org> 2.5.6-2
  461. - rebuilt with openldap-2.4.11
  462. * Mon Jan 12 2009 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 2.5.6-1
  463. - new upstream release
  464. * Sun Oct 12 2008 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 2.5.5-4
  465. - add patch200/patch210 from fedora
  466. * Sun Oct 12 2008 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 2.5.5-3
  467. - add Requires cyrus-sasl-md5, cyrus-sasl-plain for smtp auth
  468. - add Japanese description into sub packages
  469. * Sat Oct 11 2008 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 2.5.5-2
  470. - update patch100/101 to fix libxsasl build issue
  471. - remove smp flag in build section to solve build error
  472. - add _data_dir
  473. * Fri Oct 10 2008 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 2.5.5-1
  474. - new upstream release
  475. - update patch100/101 to fit 2.5.5 (from suse)
  476. - add %exclude dict_{my,pg}sql.so to %%files to avoid unneeded dependancy
  477. when option "--with XXsql" is specified. (from Vine 4.x update package)
  478. - remove HAS_DLOPEN macro.
  479. * Sat Sep 06 2008 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 2.4.9-1
  480. - new upstream release with security fix
  481. * Sat Aug 30 2008 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 2.4.8-2
  482. - add %%if %%build_mysql and %%if %%mysql from BuildRequires section again
  483. - remove unnessary dependency
  484. * Thu Aug 28 2008 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 2.4.8-1
  485. - new upstream release with security fix
  486. * Mon Aug 11 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 2.4.7-4
  487. - spec in UTF-8
  488. * Fri Jun 20 2008 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 2.4.7-3
  489. - rebuilt against db4-4.6.21
  490. * Tue Apr 15 2008 Tomohiro 'Tomo-p' KATO <tomop@teamgedoh.net> 2.4.7-2
  491. - add HAS_DLOPEN macro.
  492. - add USE_CYRUS_SASL macro.
  493. - modify dynamicmaps.cf (/usr/lib -> %%{_libdir}).
  494. * Thu Mar 25 2008 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 2.4.7-1
  495. - new upstream release
  496. - update patch100 (it is based from mdk 2008.0)
  497. - add smp_mflags in make section
  498. - build under new versioning policy
  499. * Thu Sep 20 2007 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.2.10-0vl10
  500. - rebuilt with postgresql-devel 8.2.5
  501. - updated Source20, 30 and 40
  502. * Fri May 18 2007 Daisuke SUZUKI <daisuke@linux.or.jp> 2.2.10-0vl9
  503. - rebuild with new openssl
  504. * Wed May 09 2007 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 2.2.10-0vl8
  505. - rebuilt with new toolchain and db4-4.3.x
  506. * Fri Apr 13 2007 KANEKO Seiji <giraffe@m2.pbc.ne.jp> 2.2.10-0vl7
  507. - <BTS:493> fix typo in %%if statement for %%files mysql section.
  508. - remove %%if %%build_mysql and %%if %%mysql from BuildRequires section,
  509. (Patch100 always builds dict_mysql.o and dict_pgsql.o)
  510. * Fri Oct 27 2006 Daisuke SUZUKI <daisuke@linux.or.jp> 2.2.10-0vl6
  511. - disable MySQL, PostgreSQL support by default.
  512. use "--with {mysql|pgsql}" to build them.
  513. * Mon Sep 18 2006 NAKAMURA Kenta <kenta@vinelinux.org> 2.2.10-0vl5
  514. - add lib64 patch to correct daemon_directory on x86_64 architecture
  515. * Wed Sep 13 2006 Daisuke SUZUKI <daisuke@linux.or.jp> 2.2.10-0vl4
  516. - remove duplicated entry from aliases. (<BTS:170>)
  517. * Wed Sep 13 2006 Daisuke SUZUKI <daisuke@linux.or.jp> 2.2.10-0vl3
  518. - add some pseudo accounts to aliases. (<BTS:170>)
  519. - add BuildPreReq: MySQL-shared
  520. * Sun Aug 27 2006 NAKAMURA Kenta <kenta@vinelinux.org> 2.2.10-0vl2
  521. - rebuilt with openldap-2.3.27-0vl1
  522. * Sun Apr 23 2006 Daisuke SUZUKI <daisuke@linux.or.jp> 2.2.10-0vl1
  523. - new upstream release
  524. * Thu Jan 12 2006 Daisuke SUZUKI <daisuke@linux.or.jp> 2.2.8-0vl1
  525. - new upstream release
  526. * Fri Sep 30 2005 Daisuke SUZUKI <daisuke@linux.or.jp> 2.2.5-0vl1
  527. - new upstream release
  528. - update to 2.2.5
  529. - update dynamicmaps from debian package
  530. - update Japaese manpages and jconf
  531. - add jhtml and jreadme
  532. - enable TLS/SSL
  533. * Mon Jan 31 2005 Daisuke SUZUKI <daisuke@linux.or.jp> 2.1.5-0vl1
  534. - new upstream release
  535. - update all patches
  536. - link sasl2 instead of sasl1
  537. * Mon Jan 24 2005 Tomohiro 'Tomo-p' KATO <tomop@teamgedoh.net> 2.0.20-0vl6
  538. - enable cyrus-sasl.
  539. - add TLS/IPv6 patch.
  540. - modify main.cf to disable IPv6 as default.
  541. * Wed Oct 28 2004 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 2.0.20-0vl5
  542. - add PreReq: db4 >= 4.2.52
  543. (to avoid errors when upgrading from db40-linked version)
  544. * Mon Oct 11 2004 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 2.0.20-0vl4
  545. - rebuilt with db4-4.2.52
  546. * Tue Jun 8 2004 Daisuke SUZUKI <daisuke@linux.or.jp> 2.0.20-0vl3
  547. - fix first installation time bugs...
  548. - remove aliases.db from %%files again
  549. - add 'touch aliases.db' in %%post script
  550. - update default main.cf to use /etc/postfix/aliases as default alias_database
  551. * Mon Jun 7 2004 Daisuke SUZUKI <daisuke@linux.or.jp> 2.0.20-0vl2
  552. - add /etc/postfix/aliases.db to %%files
  553. * Sat May 8 2004 Daisuke SUZUKI <daisuke@linux.or.jp> 2.0.20-0vl1
  554. - new upstream release
  555. * Tue Apr 13 2004 Daisuke SUZUKI <daisuke@linux.or.jp> 2.0.19-0vl1
  556. - new upstream release
  557. - build with new postgresql
  558. * Fri Sep 19 2003 Daisuke SUZUKI <daisuke@linux.or.jp> 2.0.16-0vl1
  559. - new upstream release
  560. - update jconf/jman/jhtml
  561. * Fri Jul 4 2003 Daisuke SUZUKI <daisuke@linux.or.jp> 2.0.13-0vl1
  562. - new upstream release
  563. - update jman/jhtml/jreadme
  564. * Mon Jun 16 2003 Daisuke SUZUKI <daisuke@linux.or.jp> 2.0.12-0vl1
  565. - new upstream release
  566. - update jconf/jman/jhtml/jreadme
  567. * Tue Jun 03 2003 Daisuke SUZUKI <daisuke@linux.or.jp> 2.0.10-0vl1
  568. - new upstream release
  569. * Fri May 23 2003 Satoshi MACHINO <machino@vinelinux.org> 2.0.9-0vl5
  570. - rebuild by new cyrus-sasl(2.1.13-3vl1)
  571. * Sat Apr 26 2003 Daisuke SUZUKI <daisuke@linux.or.jp> 2.0.9-0vl4
  572. - add more BuildPreReq, Requires
  573. - fix some typo
  574. - add missing files to %%files.
  575. * Sat Apr 26 2003 Daisuke SUZUKI <daisuke@linux.or.jp> 2.0.9-0vl3
  576. - rebuild
  577. * Sat Apr 26 2003 Daisuke SUZUKI <daisuke@linux.or.jp> 2.0.9-0vl2
  578. - add debian's dynamic map patch.
  579. some additional feature is divided to sub package.
  580. - postfix-ldap, postfix-mysql, postfix-pgsql, postfix-pcre
  581. - split common postfix libraries as shared libs.
  582. - libpostfix-{master,global,util,dns}.so.1
  583. - use cyrus-sasl for SMTP-AUTH
  584. * Wed Apr 23 2003 Daisuke SUZUKI <daisuke@linux.or.jp> 2.0.9-0vl1
  585. - new upstream release 2.0.9
  586. - update jman/jhtml/jconf to 2.0.8
  587. * Wed Apr 9 2003 IWAI Masaharu <iwai@alib.jp> 2.0.7-0vl1
  588. - new upstream version
  589. - update documents
  590. - jman (source4)
  591. - jconf (Source5)
  592. - faq.html (Source6)
  593. - INSTALL.jp (Source7)
  594. - jhtml (Source12)
  595. * Sun Jan 19 2003 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 1.1.12-0vl3
  596. - rebuilt against db4
  597. * Wed Dec 18 2002 Daisuke SUZUKI <daisuke@linux.or.jp> 1.1.12-0vl2
  598. - rebuild to remove unnecessary dependancy.
  599. * Sat Nov 23 2002 Daisuke SUZUKI <daisuke@linux.or.jp> 1.1.12-0vl1
  600. - new upstream version
  601. - modified /etc/init.d/postfix
  602. * Sun Oct 06 2002 Daisuke SUZUKI <daisuke@linux.or.jp> 1.1.11-0vl3
  603. - fixed brainless mistakes...
  604. update main.cf again.
  605. * Thu Oct 03 2002 Daisuke SUZUKI <daisuke@linux.or.jp> 1.1.11-0vl2
  606. - update main.cf patch
  607. - do not use procmail for local mailer.
  608. - do not show version and OS name for smtpd greeting banner.
  609. * Thu Jun 04 2002 Daisuke SUZUKI <daisuke@linux.or.jp> 1.1.11-0vl1
  610. - new upstream release
  611. - update jman, jconf, jhtml
  612. * Tue May 28 2002 IWAI Masaharu <iwaim@cc.mbn.or.jp> 1.1.10-0vl2
  613. - updated main.cf patch ( Patch0 )
  614. undefine myhostname
  615. * Fri May 24 2002 IWAI Masaharu <iwaim@cc.mbn.or.jp> 1.1.10-0vl1
  616. - changed %%{_var}/spool/postfix/private directory permission (0700 -> 0710)
  617. Thanks Mr. Daisuke SUZUKI ([VineSeed:06454])
  618. * Thu May 23 2002 IWAI Masaharu <iwaim@cc.mbn.or.jp> 1.1.10-0vl0
  619. - upstream release
  620. - updated japanese documents Source4-9
  621. ( and the unofficial Japanese Web Site moved. )
  622. - added japanese documents Source10-12
  623. - updated main.cf patch ( Patch0 )
  624. - added postdrop group
  625. - added some directories in %%{_var}/spool/postfix/
  626. active, corrupt, deferred, incoming, pid, public, bounce,
  627. defer,flush,private and saved directories
  628. * Mon Feb 18 2002 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 0.0.20010228pl08-0vl3
  629. - not stop in %%pre
  630. - not start but restart in %%post
  631. * Mon Dec 31 2001 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 0.0.20010228pl08-0vl2
  632. - added BuildPreReq: db3-devel
  633. * Sat Nov 24 2001 Daisuke SUZUKI <daisuke@linux.or.jp> 0.0.20010228pl08-0vl1
  634. - updated to 20010228-pl08
  635. * Fri Nov 9 2001 Daisuke SUZUKI <daisuke@linux.or.jp> 0.0.20010228pl06-0vl1
  636. - updated to 20010228-pl06
  637. * Sun Sep 23 2001 Daisuke SUZUKI <daisuke@linux.or.jp> 0.0.20010228pl05-0vl1
  638. - updated to 20010228-pl05
  639. * Wed Aug 1 2001 Daisuke SUZUKI <daisuke@linux.or.jp> 0.0.20010228pl04-0vl1
  640. - updated to 20010228-pl04
  641. * Wed Jun 27 2001 Daisuke SUZUKI <daisuke@linux.or.jp> 0.0.20010228pl03-0vl2
  642. - update Japanese documents and manpages
  643. * Sun May 27 2001 Daisuke SUZUKI <daisuke@linux.or.jp> 0.0.20010228pl03-0vl1
  644. - updated to 20010228-pl03
  645. * Mon May 21 2001 MATSUBAYASHI 'Shaolin' Kohji <shaolin@vinelinux.org>
  646. - 0.0.20010228pl02-0vl3
  647. - modified %%preun script again
  648. (to check whether %%{_sysconfidir}/rc.d/init.d/postfix already exists)
  649. * Wed May 02 2001 MATSUBAYASHI 'Shaolin' Kohji <shaolin@vinelinux.org>
  650. - 0.0.20010228pl02-0vl2
  651. - fixed incorrect %%preun script :-P
  652. * Tue May 1 2001 Daisuke SUZUKI <daisuke@linux.or.jp> 0.0.20010228pl02-0vl1
  653. - updated to 20010228-pl02
  654. * Wed Apr 11 2001 Daisuke SUZUKI <daisuke@linux.or.jp> 0.0.20010228pl01-0vl4
  655. - add {pcre,regexp}_table to %files
  656. - don't replace config files
  657. - start postfix after install/upgrade
  658. * Mon Apr 09 2001 Daisuke SUZUKI <daisuke@linux.or.jp> 0.0.20010228pl01-0vl2
  659. - updated jman pages and translations.
  660. - added japanese sample config files.
  661. * Sat Mar 31 2001 Daisuke SUZUKI <daisuke@linux.or.jp> 0.0.20010228pl01-0vl1
  662. - updated to 20010228-pl01
  663. * Thu Mar 1 2001 Daisuke SUZUKI <daisuke@linux.or.jp> 0.0.20010228-0vl2
  664. - fixed file location
  665. * Thu Mar 1 2001 Daisuke SUZUKI <daisuke@linux.or.jp> 0.0.20010228-0vl1
  666. - updated to 20010228
  667. * Tue Dec 26 2000 Tomoya TAKA <tomoya@olive.plala.or.jp> 0.0.199912310pl13-0vl2
  668. - fixed about mandir
  669. * Thu Nov 23 2000 Daisuke SUZUKI <daisuke@linux.or.jp> 0.0.199912310pl13-0vl1
  670. - updated to 19991231-pl13
  671. - use rpm macros in spec
  672. * Thu Nov 23 2000 Daisuke SUZUKI <daisuke@linux.or.jp> 0.0.199912310pl11-0vl1
  673. - updated to 19991231-pl11
  674. * Thu Nov 9 2000 Daisuke SUZUKI <daisuke@linux.or.jp> 0.0.199912310pl10-0vl1
  675. - updated to 19991231-pl10
  676. * Thu Oct 12 2000 Yoshihiro Kajiki <kajiki@ylug.org>
  677. - fix newaliases problem by adding slink
  678. * Sat Oct 2 2000 Daisuke SUZUKI <daisuke@linux.or.jp>
  679. - add japanese man pages
  680. * Sun Oct 1 2000 Jun Nishii <jun@vinelinux.org>
  681. - updates to 19991231-pl09-0vl2
  682. - fixed Group
  683. * Sat Sep 22 2000 Daisuke SUZUKI <daisuke@linux.or.jp>
  684. - updates to 19991231-pl09
  685. * Wed Aug 09 2000 MACHINO, Satoshi <mac@netfort.gr.jp>
  686. - %build, removed bzip2 -9 and strip
  687. - fixed %files section to handle compressed man page
  688. * Wed Jun 21 2000 Daisuke SUZUKI <daisuke@linux.or.jp>
  689. - Version name changes to 0.0.version
  690. - updates to 19991231-pl08
  691. + Major changes with postfix-19991231-pl08:
  692. Specify "body_checks = regexp:%{_sysconfdir}/postfix/body_checks" for a quick
  693. and dirty emergency content filter that looks at non-header lines
  694. one line at a time (including MIME headers inside the message body).
  695. Details in conf/sample-filter.cf.
  696. + Incompatible changes with postfix-19991231-pl07:
  697. As required by RFC 822, Postfix now inserts a generic destination
  698. message header when no destination header is present. The text is
  699. specified via the undisclosed_recipients_header configuration
  700. parameter (default: "To: undisclosed-recipients:;").
  701. * Thu Apr 6 2000 Daisuke SUZUKI <daisuke@linux.or.jp>
  702. - updates to 19991231-pl06
  703. - added percent hack to main.cf
  704. * Sun Feb 20 2000 Daisuke SUZUKI <daisuke@linux.or.jp>
  705. - adopted to Vine Linux
  706. * Mon Jan 3 2000 Jean-Michel Dault <jmdault@netrevolution.com>
  707. - updated to 19991231
  708. - added postfix group
  709. - corrected aliases.db bug
  710. * Mon Dec 27 1999 Jerome Dumonteil <jd@mandrakesoft.com>
  711. - Add postfix check in post to create sub dirs in spool
  712. * Mon Dec 20 1999 Chmouel Boudjnah <chmouel@mandrakesoft.com>
  713. - Add -a $DOMAIN -d $LOGNAME to procmail (philippe).
  714. - New banner.
  715. * Wed Nov 10 1999 Chmouel Boudjnah <chmouel@mandrakesoft.com>
  716. - fix if conflicts with sendmail.
  717. * Sat Jun 5 1999 Axalon Bloodstone <axalon@linux-mandrake.com>
  718. - install bins from libexec/
  719. * Sat Jun 5 1999 Bernhard Rosenkr舅zer <bero@mandrakesoft.com>
  720. - 19990601
  721. - .spec cleanup for easier updates
  722. * Wed May 26 1999 Axalon Bloodstone <axalon@linux-mandrake.com>
  723. - created link from %{_sbindir}/sendmail to %{_libdir}/sendmail
  724. so it doesn't bug out when i rpm -e sendmail
  725. - Now removes %{_var}/lock/subsys/postfix like a good little prog
  726. upon rpm -e
  727. * Fri Apr 23 1999 Chmouel Boudjnah <chmouel@mandrakesoft.com>
  728. - Mandrake adptations.
  729. * Tue Apr 13 1999 Arne Coucheron <arneco@online.no>
  730. [19990317-pl04-1]
  731. * Tue Mar 30 1999 Arne Coucheron <arneco@online.no>
  732. [19990317-pl03-2]
  733. - Castro, Castro, pay attention my friend. You're making it very hard
  734. maintaining the package if you don't follow the flow of the releases
  735. * Thu Mar 25 1999 Arne Coucheron <arneco@online.no>
  736. [19990317-pl02-1]
  737. * Tue Mar 23 1999 Arne Coucheron <arneco@online.no>
  738. [19990317-3]
  739. - added bugfix patch01
  740. * Sat Mar 20 1999 Arne Coucheron <arneco@online.no>
  741. [19990317-2]
  742. - removed the mynetworks line in main.cf, let postfix figure it out
  743. - striping of the files in %{_sbindir}
  744. - alias database moved to %{_sysconfdir}/postfix and made a symlink to it in %{_sysconfdir}
  745. - enabled procmail support in main.cf and added it to Requires:
  746. - check status on master instead of postfix in the init script
  747. - obsoletes postfix-beta
  748. - had to move some of my latest changelog entries up here since Edgard Castro
  749. didn't follow my releases
  750. * Thu Mar 18 1999 Edgard Castro <castro@usmatrix.net>
  751. [19990317]
  752. * Tue Mar 16 1999 Edgard Castro <castro@usmatrix.net>
  753. [alpha-19990315]
  754. * Tue Mar 9 1999 Edgard Castro <castro@usmatrix.net>
  755. [19990122-pl01-2]
  756. - shell and gecho information changed to complie with Red Hat stardand
  757. - changed the name of the rpm package to postfix, instead of postfix-beta
  758. * Tue Feb 16 1999 Edgard Castro <castro@usmatrix.net>
  759. [19990122-pl01-1]
  760. * Sun Jan 24 1999 Arne Coucheron <arneco@online.no>
  761. [19990122-1]
  762. - shell for postfix user changed to /bin/true to avoid logins to the account
  763. - files in %{_libdir}exec/postfix moved to %{_libdir}/postfix since this complies
  764. more with the Red Hat standard
  765. * Wed Jan 06 1999 Arne Coucheron <arneco@online.no>
  766. [19981230-2]
  767. - added URL for the source
  768. - added a cron job for daily check of errors
  769. - sample config files moved from /etc/postfix/sample to the docdir
  770. - dropped making of symlinks in %{_sbindir} and instead installing the real
  771. files there
  772. - because of the previous they're not needed anymore in %{_libdir}exec/postfix,
  773. so they are removed from that place
  774. * Fri Jan 01 1999 Arne Coucheron <arneco@online.no>
  775. [19981230-1]
  776. * Tue Dec 29 1998 Arne Coucheron <arneco@online.no>
  777. [19981222-1]
  778. - first build of rpm version