postfix-vl.spec 39 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221
  1. %bcond_with systemd
  2. %define _unpackaged_files_terminate_build 1
  3. %define build_mysql 1
  4. %define build_pgsql 1
  5. %define _sysconfdir /etc
  6. %define _data_dir %{_var}/lib/postfix
  7. # postfix user/group
  8. # changed since 2.9.4-3
  9. %define postfix_uid 89
  10. %define postfix_user postfix
  11. %define postfix_gid 89
  12. %define postfix_group postfix
  13. %define maildrop_group postdrop
  14. %define maildrop_gid 90
  15. # install dirs
  16. %define postfix_config_dir %{_sysconfdir}/postfix
  17. %define postfix_shlib_dir %{_libdir}/postfix
  18. %define postfix_daemon_dir %{_libdir}/postfix
  19. %define postfix_command_dir %{_sbindir}
  20. %define postfix_queue_dir %{_var}/spool/postfix
  21. %define postfix_data_dir %{_var}/lib/postfix
  22. %define postfix_doc_dir %{_pkgdocdir}
  23. %define postfix_sample_dir %{postfix_doc_dir}/samples
  24. %define postfix_readme_dir %{postfix_doc_dir}/README_FILES
  25. Summary: Postfix Mail Transport Agent
  26. Summary(ja): Postfix メールトランスポートエージェント
  27. Name: postfix
  28. Version: 3.8.0
  29. Release: 1%{?_dist_release}%{?with_systemd:.systemd}
  30. Group: servers
  31. Vendor: Project Vine
  32. Distribution: Vine Linux
  33. Packager: daisuke
  34. URL: http://www.postfix.org/
  35. License: Distributable - IBM PUBLIC LICENSE VERSION 1.0 - SECURE MAILER
  36. #Source0: http://mirror.postfix.jp/postfix-release/official/%{name}-%{version}.tar.gz
  37. Source0: http://cdn.postfix.johnriley.me/mirrors/postfix-release/official/%{name}-%{version}.tar.gz
  38. Source1: postfix.aliases
  39. Source2: postfix.cron
  40. Source3: postfix.init
  41. Source4: postfix.service
  42. Source5: postfix-prestart.sh
  43. Patch0: postfix-2.9.1-vine.patch
  44. # patches 200-299 are imported from rh/fedora
  45. Patch200: postfix-3.2.0-large-fs.patch
  46. Patch201: postfix-3.4.4-chroot-example-fix.patch
  47. Patch202: postfix-3.6.2-glibc-234-build-fix.patch
  48. Patch203: postfix-3.6.2-whitespace-name-fix.patch
  49. # patches 300-399 are imported from ubuntu
  50. # none
  51. Provides: smtpdaemon
  52. Conflicts: sendmail
  53. BuildRequires: pam-devel
  54. BuildRequires: cyrus-sasl-devel >= 2
  55. BuildRequires: openldap-devel, openssl-devel
  56. BuildRequires: libicu-devel, pcre2-devel
  57. BuildRequires: libnsl2-devel
  58. %if %{with systemd}
  59. %{?systemd_requires}
  60. %else
  61. Requires(post): chkconfig
  62. Requires(preun): chkconfig
  63. %endif
  64. %if "%{_dist_release}" >= "vl7"
  65. BuildRequires: libdb-devel >= 5.3
  66. Requires(post): libdb
  67. %else
  68. BuildRequires: db4-devel >= 4.6.21
  69. Requires(post): db4
  70. %endif
  71. %if %build_mysql
  72. %if "%{_dist_release}" >= "vl7"
  73. BuildRequires: libmariadb-devel
  74. %else
  75. BuildRequires: MySQL-devel
  76. %endif
  77. %endif
  78. %if %build_pgsql
  79. %if "%{_dist_release}" >= "vl7"
  80. BuildRequires: libpq-devel
  81. %else
  82. BuildRequires: postgresql-devel
  83. %endif
  84. %endif
  85. BuildRequires: sqlite3-devel
  86. Requires(pre): chkconfig
  87. Requires: cyrus-sasl >= 2, cyrus-sasl-md5, cyrus-sasl-plain
  88. Requires: pam
  89. Obsoletes: postfix-beta
  90. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  91. %description
  92. Postfix aims to be an alternative to the widely-used sendmail
  93. program. Sendmail is responsible for 70 percent of all e-mail delivered
  94. on the Internet. With an estimated 100 million users, that's an
  95. estimated 10 billion (10^10) messages daily. A stunning number.
  96. Although IBM supported the Postfix development, it abstains from
  97. control over its evolution. The goal is to have Postfix installed
  98. on as many systems as possible. To this end, the software is given
  99. away with no strings attached to it, so that it can evolve with
  100. input from and under control by its users.
  101. #'
  102. %description -l ja
  103. Postfix は現在広く使われている sendmail を置き換える目的で
  104. 開発されています。sendmail は約 70% の E-mail サーバで使用
  105. されています。また、その使用者は 100万人にもおよび、およそ
  106. 一日 1 千万通ものメールを処理しています。
  107. Postfix の開発は IBM によってサポートされており、全世界の
  108. 全てのシステムを postfix にすることを目標としています。
  109. %package sqlite
  110. Summary: SQLite3 map support for Postfix
  111. Group: servers
  112. Requires(pre): postfix = %{version}-%{release}
  113. %description sqlite
  114. This package contains shared lib module which support
  115. SQLite map on Postfix.
  116. %description -l ja sqlite
  117. このパッケージには、Postfix で SQLite map を使うのに
  118. 必要なライブラリが納められています。
  119. %if %build_pgsql
  120. %package pgsql
  121. Summary: PGSQL map support for Postfix
  122. Group: servers
  123. Requires(pre): postfix = %{version}-%{release}
  124. %description pgsql
  125. This package contains shared lib module which support
  126. PostgreSQL map on Postfix.
  127. %description -l ja pgsql
  128. このパッケージには、Postfix で PostgreSQL を使うのに必要な
  129. ライブラリが納められています。
  130. %endif
  131. %if %build_mysql
  132. %package mysql
  133. Summary: MySQL map support for Postfix
  134. Group: servers
  135. Requires(pre): postfix = %{version}-%{release}
  136. %description mysql
  137. This package contains shared lib module which support
  138. MySQL map on Postfix.
  139. %description -l ja mysql
  140. このパッケージには、Postfix で MySQL を使うのに必要な
  141. ライブラリが納められています。
  142. %endif
  143. %package ldap
  144. Summary: LDAP map support for Postfix
  145. Group: servers
  146. Requires(pre): postfix = %{version}-%{release}
  147. %description ldap
  148. This package contains shared lib module which support
  149. OpenLDAP map on Postfix.
  150. %description -l ja ldap
  151. このパッケージには、Postfix で OpenLDAP を使うのに必要な
  152. ライブラリが納められています。
  153. %package pcre
  154. Summary: PCRE map support for Postfix
  155. Group: servers
  156. Requires(pre): postfix = %{version}-%{release}
  157. %description pcre
  158. This package contains shared lib module which support
  159. PCRE map on Postfix.
  160. %description -l ja pcre
  161. このパッケージには、Postfix で PCRE マップを使うのに必要な
  162. ライブラリが納められています。
  163. %debug_package
  164. %prep
  165. # japanese documant for 2.4.x is not ready.
  166. # %setup -q -a 10 -a 20 -a 30 -a 40
  167. %setup -q
  168. %autopatch -p1
  169. %ifarch x86_64
  170. sed -i -e 's|/usr/lib/postfix|/usr/lib64/postfix|g' conf/main.cf
  171. %endif
  172. # Change DEF_SHLIB_DIR according to build host
  173. sed -i \
  174. 's|^\(\s*#define\s\+DEF_SHLIB_DIR\s\+\)"/usr/lib/postfix"|\1"%{_libdir}/postfix" |' \
  175. src/global/mail_params.h
  176. %build
  177. unset AUXLIBS_MYSQL AUXLIBS_PGSQL
  178. CCARGS="-DMAX_DYNAMIC_MAPS \
  179. -DUSE_SASL_AUTH -I/usr/include/sasl \
  180. -DUSE_CYRUS_SASL \
  181. -DHAS_LDAP \
  182. -DLDAP_DEPRECATED=1 -DUSE_LDAP_SASL \
  183. -DHAS_SSL -I/usr/include/openssl \
  184. -DHAS_PCRE=2 `pcre2-config --cflags` \
  185. -DHAS_SQLITE \
  186. `pkg-config --cflags sqlite3` \
  187. -DUSE_TLS"
  188. AUXLIBS="-lsasl2 -lssl -lcrypto"
  189. AUXLIBS_LDAP="-lldap -llber"
  190. AUXLIBS_PCRE="`pcre2-config --libs8`"
  191. AUXLIBS_SQLITE="`pkg-config --libs sqlite3`"
  192. %if %build_mysql
  193. CCARGS="${CCARGS} -DHAS_MYSQL -I/usr/include/mysql"
  194. AUXLIBS_MYSQL="-L%{_libdir}/mysql -lmysqlclient -lm"
  195. %endif
  196. %if %build_pgsql
  197. CCARGS="${CCARGS} -DHAS_PGSQL -I/usr/include/pgsql"
  198. AUXLIBS_PGSQL="-lpq"
  199. %endif
  200. make -f Makefile.init makefiles \
  201. shared=yes dynamicmaps=yes \
  202. CCARGS="${CCARGS}" \
  203. AUXLIBS="${AUXLIBS}" \
  204. AUXLIBS_LDAP="${AUXLIBS_LDAP}" AUXLIBS_PCRE="${AUXLIBS_PCRE}" \
  205. AUXLIBS_MYSQL="${AUXLIBS_MYSQL}" AUXLIBS_PGSQL="${AUXLIBS_PGSQL}" \
  206. AUXLIBS_SQLITE="${AUXLIBS_SQLITE}" \
  207. SHLIB_RPATH="-Wl,-rpath,%{postfix_shlib_dir}" \
  208. OPT="$RPM_OPT_FLAGS" DEBUG=""
  209. # make %{?_smp_mflags} DEBUG="" OPT="$RPM_OPT_FLAGS" \
  210. # LD_LIBRARY_PATH=$(pwd)/lib:${LD_LIBRARY_PATH}
  211. # using _smp_mflags makes build error. why? (2008.10.11)
  212. #make DEBUG="" OPT="$RPM_OPT_FLAGS" \
  213. # LD_LIBRARY_PATH=$(pwd)/lib:${LD_LIBRARY_PATH} CDBSO=""
  214. make %{?_smp_mflags}
  215. %install
  216. rm -rf $RPM_BUILD_ROOT
  217. rm -f html/Makefile.in
  218. rm -f README_FILES/*.*
  219. install -d $RPM_BUILD_ROOT%{_sysconfdir}/cron.daily
  220. install -d $RPM_BUILD_ROOT%{_sysconfdir}/postfix
  221. install -d $RPM_BUILD_ROOT%{_sysconfdir}/rc.d/init.d
  222. install -d $RPM_BUILD_ROOT%{_bindir}
  223. install -d $RPM_BUILD_ROOT%{_libdir}/postfix
  224. install -d $RPM_BUILD_ROOT%{_mandir}/man{1,5,8}
  225. install -d $RPM_BUILD_ROOT%{_mandir}/ja/man{1,5,8}
  226. install -d $RPM_BUILD_ROOT%{_sbindir}
  227. install -d $RPM_BUILD_ROOT%{_var}/spool/postfix
  228. install -d $RPM_BUILD_ROOT%{_var}/spool/postfix/{active,corrupt,deferred,incoming,pid,public}
  229. install -d $RPM_BUILD_ROOT%{_var}/spool/postfix/{bounce,defer,flush,maildrop,private,saved}
  230. LD_LIBRARY_PATH=./lib \
  231. sh postfix-install -non-interactive \
  232. install_root=$RPM_BUILD_ROOT \
  233. config_directory=%{postfix_config_dir} \
  234. meta_directory=%{postfix_config_dir} \
  235. shlib_directory=%{postfix_shlib_dir} \
  236. daemon_directory=%{postfix_daemon_dir} \
  237. command_directory=%{postfix_command_dir} \
  238. queue_directory=%{postfix_queue_dir} \
  239. data_directory=%{postfix_data_dir} \
  240. sendmail_path=%{postfix_command_dir}/sendmail \
  241. newaliases_path=%{_bindir}/newaliases \
  242. mailq_path=%{_bindir}/mailq \
  243. mail_owner=%{postfix_user} \
  244. setgid_group=%{maildrop_group} \
  245. manpage_directory=%{_mandir} \
  246. sample_directory=%{postfix_sample_dir} \
  247. readme_directory=%{postfix_readme_dir} || exit 1
  248. install -m644 conf/postfix-files $RPM_BUILD_ROOT%{_sysconfdir}/postfix
  249. for i in post-install postfix-script
  250. do
  251. install -m755 conf/$i $RPM_BUILD_ROOT%{_sysconfdir}/postfix
  252. done
  253. # install performance benchmark tools by hand
  254. for i in smtp-sink smtp-source qmqp-sink qmqp-source; do
  255. install -c -m 755 bin/$i $RPM_BUILD_ROOT%{postfix_command_dir}/
  256. install -c -m 755 man/man1/$i.1 $RPM_BUILD_ROOT%{_mandir}/man1/
  257. done
  258. install -m644 %{SOURCE1} $RPM_BUILD_ROOT%{_sysconfdir}/postfix/aliases
  259. install -m755 %{SOURCE2} $RPM_BUILD_ROOT%{_sysconfdir}/cron.daily/postfix
  260. %if %{with systemd}
  261. # Systemd
  262. mkdir -p %{buildroot}%{_unitdir}
  263. mkdir -p %{buildroot}%{_libexecdir}/postfix
  264. install -m 644 %{SOURCE4} %{buildroot}%{_unitdir}
  265. install -m 755 %{SOURCE5} %{buildroot}%{_libexecdir}/postfix/postfix-prestart.sh
  266. %else
  267. install -m755 %{SOURCE3} $RPM_BUILD_ROOT%{_sysconfdir}/rc.d/init.d/postfix
  268. %endif
  269. ln -sf postfix/aliases $RPM_BUILD_ROOT%{_sysconfdir}/aliases
  270. ln -sf postfix/aliases.db $RPM_BUILD_ROOT%{_sysconfdir}/aliases.db
  271. # helper for splitting content of dynamicmaps.cf and postfix-files
  272. function split_file
  273. {
  274. # "|| :" to silently skip non existent records
  275. grep "$1" "$3" >> "$3.d/$2" || :
  276. sed -i "\|$1| d" "$3" || :
  277. }
  278. # split global dynamic maps configuration to individual sub-packages
  279. pushd $RPM_BUILD_ROOT%{postfix_config_dir}
  280. for map in sqlite ldap pcre \
  281. %{?build_mysql:mysql} %{?build_pgsql:pgsql}; do
  282. rm -f dynamicmaps.cf.d/"$map" "postfix-files.d/$map"
  283. split_file "^\s*$map\b" "$map" dynamicmaps.cf
  284. sed -i "s|postfix-$map\\.so|%{postfix_shlib_dir}/\\0|" "dynamicmaps.cf.d/$map"
  285. split_file "^\$shlib_directory/postfix-$map\\.so:" "$map" postfix-files
  286. split_file "^\$manpage_directory/man5/${map}_table\\.5" "$map" postfix-files
  287. map_upper=`echo $map | tr '[:lower:]' '[:upper:]'`
  288. split_file "^\$readme_directory/${map_upper}_README:" "$map" postfix-files
  289. done
  290. popd
  291. #( cd $RPM_BUILD_ROOT%{_bindir}
  292. # ln -sf ../sbin/sendmail mailq
  293. # ln -sf ../sbin/sendmail newaliases
  294. #)
  295. ( cd $RPM_BUILD_ROOT%{_libdir}
  296. ln -sf ../sbin/sendmail sendmail
  297. )
  298. # data dir
  299. install -d $RPM_BUILD_ROOT%{_data_dir}
  300. # remove unneeded files
  301. rm -f $RPM_BUILD_ROOT%{postfix_config_dir}/{TLS_,}LICENSE
  302. rm -f $RPM_BUILD_ROOT%{postfix_config_dir}/{main,master}.cf.proto
  303. rm -f $RPM_BUILD_ROOT%{postfix_config_dir}/makedefs.out
  304. %pre
  305. # Add user and groups if necessary
  306. getent group %{maildrop_group} >/dev/null || \
  307. %{_sbindir}/groupadd -g %{maildrop_gid} -r %{maildrop_group} 2>/dev/null
  308. getent group %{postfix_group} >/dev/null || \
  309. %{_sbindir}/groupadd -g %{postfix_gid} -r %{postfix_group} 2>/dev/null
  310. getent group mail >/dev/null || \
  311. %{_sbindir}/groupadd -g 12 -r mail 2>/dev/null
  312. getent passwd %{postfix_user} >/dev/null || \
  313. %{_sbindir}/useradd -d %{postfix_queue_dir} -s /sbin/nologin \
  314. -g %{postfix_group} -G mail -M -r -u %{postfix_uid} %{postfix_user} 2>/dev/null
  315. %if !%{with systemd}
  316. rm -f /tmp/postfix.restart
  317. if [ -f /var/lock/subsys/postfix ]; then
  318. %{_sysconfdir}/rc.d/init.d/postfix stop
  319. touch /tmp/postfix.restart
  320. fi
  321. %endif
  322. exit 0
  323. %post
  324. # upgrade configuration files if necessary
  325. %{_sbindir}/postfix set-permissions upgrade-configuration \
  326. daemon_directory=%{postfix_daemon_dir} \
  327. command_directory=%{postfix_command_dir} \
  328. mail_owner=%{postfix_user} \
  329. setgid_group=%{maildrop_group} \
  330. manpage_directory=%{_mandir} \
  331. sample_directory=%{postfix_sample_dir} \
  332. readme_directory=%{postfix_readme_dir} &> /dev/null
  333. %if %{with systemd}
  334. %systemd_post %{name}.service
  335. %else
  336. /sbin/chkconfig --add postfix
  337. %endif
  338. if [ ! -f %{_sysconfdir}/postfix/aliases.db ]; then
  339. %{_sbindir}/postalias %{_sysconfdir}/postfix/aliases
  340. fi
  341. %{_sbindir}/postalias %{_sysconfdir}/postfix/aliases ||:
  342. if [ ! -e %{_libdir}/sendmail ]; then
  343. ln -sf %{_sbindir}/sendmail %{_libdir}/sendmail
  344. fi
  345. /sbin/chkconfig --del sendmail &> /dev/null ||:
  346. %{_sbindir}/postfix check >/dev/null 2>&1 ||:
  347. %preun
  348. %if %{with systemd}
  349. %systemd_preun %{name}.service
  350. %else
  351. if [ $1 -eq 0 -o -x /bin/systemctl ]; then
  352. if [ -f %{_var}/lock/subsys/postfix -a -f %{_sysconfdir}/rc.d/init.d/postfix ]; then
  353. %{_sysconfdir}/rc.d/init.d/postfix stop
  354. fi
  355. /sbin/chkconfig --del postfix
  356. fi
  357. %endif
  358. %postun
  359. %if %{with systemd}
  360. %systemd_postun_with_restart %{name}.service
  361. %else
  362. if [ $1 -eq 0 ]; then
  363. if [ -f %{_var}/lock/subsys/postfix ]; then
  364. rm -rf %{_var}/lock/subsys/postfix
  365. fi
  366. else
  367. if [ -f /tmp/postfix.restart ]; then
  368. if [ -f %{_sysconfdir}/rc.d/init.d/postfix ]; then
  369. %{_sysconfdir}/rc.d/init.d/postfix start
  370. fi
  371. rm -f /tmp/postfix.restart
  372. fi
  373. fi
  374. %endif
  375. %if !%{with systemd}
  376. %triggerpostun -- postfix < 3.7.1
  377. if [ $2 -gt 0 ]; then
  378. if [ -f /tmp/postfix.restart ]; then
  379. if [ -f %{_sysconfdir}/rc.d/init.d/postfix ]; then
  380. %{_sysconfdir}/rc.d/init.d/postfix start
  381. fi
  382. rm -f /tmp/postfix.restart
  383. fi
  384. fi
  385. %endif
  386. %clean
  387. rm -rf $RPM_BUILD_ROOT
  388. %files
  389. %defattr(-,root,root)
  390. %license TLS_LICENSE LICENSE
  391. %doc COMPATIBILITY COPYRIGHT HISTORY INSTALL PORTING RELEASE_NOTES
  392. # japanese documant for 2.4.x is not ready.
  393. # %doc conf.ja
  394. # %doc html html.ja
  395. # %doc README_FILES README_FILES.ja
  396. %doc README_FILES
  397. # %doc man-%{jmanversion}/readme_ja.txt
  398. %{_sysconfdir}/aliases
  399. %{_sysconfdir}/aliases.db
  400. %config %{_sysconfdir}/cron.daily/postfix
  401. %dir %{_sysconfdir}/postfix
  402. %config %{_sysconfdir}/postfix/main.cf.default
  403. %config(noreplace) %{_sysconfdir}/postfix/master.cf
  404. %config %{_sysconfdir}/postfix/bounce.cf.default
  405. %dir %{_sysconfdir}/postfix/dynamicmaps.cf.d
  406. %dir %{_sysconfdir}/postfix/postfix-files.d
  407. %config(noreplace) %{_sysconfdir}/postfix/aliases
  408. %config(noreplace) %{_sysconfdir}/postfix/access
  409. %config(noreplace) %{_sysconfdir}/postfix/canonical
  410. %config(noreplace) %{_sysconfdir}/postfix/generic
  411. %config(noreplace) %{_sysconfdir}/postfix/header_checks
  412. %config(noreplace) %{_sysconfdir}/postfix/main.cf
  413. %config(noreplace) %{_sysconfdir}/postfix/relocated
  414. %config(noreplace) %{_sysconfdir}/postfix/transport
  415. %config(noreplace) %{_sysconfdir}/postfix/virtual
  416. %config(noreplace) %{_sysconfdir}/postfix/dynamicmaps.cf
  417. %config %{_sysconfdir}/postfix/postfix-files
  418. %config %{_sysconfdir}/postfix/post-install
  419. %config %{_sysconfdir}/postfix/postfix-script
  420. %if %{with systemd}
  421. %{_unitdir}/postfix.service
  422. %{_libexecdir}/postfix/postfix-prestart.sh
  423. %else
  424. %config %{_sysconfdir}/rc.d/init.d/postfix
  425. %endif
  426. %{_bindir}/*
  427. %dir %{_libdir}/postfix
  428. %{_libdir}/postfix/*
  429. %if %{build_pgsql}
  430. %exclude %{_libdir}/postfix/postfix-pgsql.so
  431. %endif
  432. %if %{build_mysql}
  433. %exclude %{_libdir}/postfix/postfix-mysql.so
  434. %endif
  435. %exclude %{_libdir}/postfix/postfix-sqlite.so
  436. %exclude %{_libdir}/postfix/postfix-ldap.so
  437. %exclude %{_libdir}/postfix/postfix-pcre.so
  438. %exclude %{_sysconfdir}/postfix/dynamicmaps.cf.d/*
  439. %exclude %{_sysconfdir}/postfix/postfix-files.d/*
  440. %{_sbindir}/postalias
  441. %{_sbindir}/postcat
  442. %{_sbindir}/postconf
  443. %attr(2755,root,postdrop) %{_sbindir}/postdrop
  444. %{_sbindir}/postfix
  445. %{_sbindir}/postkick
  446. %{_sbindir}/postlock
  447. %{_sbindir}/postlog
  448. %{_sbindir}/postmap
  449. %{_sbindir}/postmulti
  450. %attr(2755,root,postdrop) %{_sbindir}/postqueue
  451. %{_sbindir}/postsuper
  452. %{_sbindir}/qmqp-sink
  453. %{_sbindir}/qmqp-source
  454. %{_sbindir}/sendmail
  455. %{_sbindir}/smtp-sink
  456. %{_sbindir}/smtp-source
  457. %attr(-,root,man) %{_mandir}/man*/*
  458. # %attr(-,root,man) %{_mandir}/ja/man*/*
  459. %dir %{_var}/spool/postfix
  460. %attr(0750,postfix,root) %dir %{_data_dir}
  461. %attr(1733,postfix,postdrop) %dir %{_var}/spool/postfix/maildrop
  462. %attr(0700,postfix,postfix) %dir %{_var}/spool/postfix/active
  463. %attr(0700,postfix,postfix) %dir %{_var}/spool/postfix/corrupt
  464. %attr(0700,postfix,postfix) %dir %{_var}/spool/postfix/deferred
  465. %attr(0700,postfix,postfix) %dir %{_var}/spool/postfix/incoming
  466. %attr(0755,root,root) %dir %{_var}/spool/postfix/pid
  467. %attr(0710,postfix,postdrop) %dir %{_var}/spool/postfix/public
  468. %attr(0700,postfix,postfix) %dir %{_var}/spool/postfix/bounce
  469. %attr(0700,postfix,postfix) %dir %{_var}/spool/postfix/defer
  470. %attr(0700,postfix,postfix) %dir %{_var}/spool/postfix/flush
  471. %attr(0710,postfix,postfix) %dir %{_var}/spool/postfix/private
  472. %attr(0700,postfix,postfix) %dir %{_var}/spool/postfix/saved
  473. %{_libdir}/sendmail
  474. %files sqlite
  475. %defattr(-,root,root)
  476. %{_libdir}/postfix/postfix-sqlite.so
  477. %{_sysconfdir}/postfix/dynamicmaps.cf.d/sqlite
  478. %{_sysconfdir}/postfix/postfix-files.d/sqlite
  479. %if %build_pgsql
  480. %files pgsql
  481. %defattr(-,root,root)
  482. %{_libdir}/postfix/postfix-pgsql.so
  483. %{_sysconfdir}/postfix/dynamicmaps.cf.d/pgsql
  484. %{_sysconfdir}/postfix/postfix-files.d/pgsql
  485. %endif
  486. %if %build_mysql
  487. %files mysql
  488. %defattr(-,root,root)
  489. %{_libdir}/postfix/postfix-mysql.so
  490. %{_sysconfdir}/postfix/dynamicmaps.cf.d/mysql
  491. %{_sysconfdir}/postfix/postfix-files.d/mysql
  492. %endif
  493. %files ldap
  494. %defattr(-,root,root)
  495. %{_libdir}/postfix/postfix-ldap.so
  496. %{_sysconfdir}/postfix/dynamicmaps.cf.d/ldap
  497. %{_sysconfdir}/postfix/postfix-files.d/ldap
  498. %files pcre
  499. %defattr(-,root,root)
  500. %{_libdir}/postfix/postfix-pcre.so
  501. %{_sysconfdir}/postfix/dynamicmaps.cf.d/pcre
  502. %{_sysconfdir}/postfix/postfix-files.d/pcre
  503. %changelog
  504. * Wed Apr 19 2023 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 3.8.0-1
  505. - new upstream release.
  506. * Mon Jan 23 2023 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 3.7.4-1
  507. - new upstream release.
  508. * Sun Nov 13 2022 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 3.7.3-3
  509. - rebuilt with openldap-2.6.3.
  510. * Wed Oct 19 2022 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 3.7.3-2
  511. - rebuilt with libicu72.
  512. * Wed Oct 12 2022 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 3.7.3-1
  513. - new upstream release.
  514. * Fri Apr 29 2022 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 3.7.2-1
  515. - new upstream release.
  516. * Mon Feb 07 2022 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 3.7.0-1
  517. - new upstream release.
  518. - built with pcre2.
  519. * Wed Jan 19 2022 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 3.6.4-1
  520. - new upstream release.
  521. * Tue Nov 09 2021 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 3.6.3-1
  522. - new upstream release.
  523. * Fri Oct 29 2021 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 3.6.2-3
  524. - rebuilt with icu-70.1.
  525. * Tue Oct 05 2021 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 3.6.2-2
  526. - rebuilt with openssl-3.0.0.
  527. - imported Patch201-203 from rawhide.
  528. * Mon Jul 26 2021 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 3.6.2-1
  529. - new upstream release.
  530. * Tue Jun 15 2021 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 3.6.1-1
  531. - new upstream release.
  532. * Mon May 17 2021 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 3.6.0-1
  533. - new upstream release.
  534. * Tue Apr 13 2021 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 3.5.10-1
  535. - new upstream release.
  536. * Thu Apr 08 2021 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 3.5.9-2
  537. - rebuilt with icu69.
  538. * Mon Jan 18 2021 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 3.5.9-1
  539. - new upstream release.
  540. * Mon Nov 09 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 3.5.8-1
  541. - new upstream release.
  542. * Tue Sep 01 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 3.5.7-1
  543. - new upstream release.
  544. * Mon Jul 27 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 3.5.6-1
  545. - new upstream release.
  546. * Sun Jun 28 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 3.5.4-1
  547. - new upstream release.
  548. * Mon May 18 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 3.5.2-1
  549. - new upstream release.
  550. * Fri Apr 24 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 3.5.1-2
  551. - rebuilt with icu67.
  552. * Tue Apr 21 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 3.5.1-1
  553. - new upstream release.
  554. - added systemd support (disabled as default).
  555. * Thu Mar 19 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 3.5.0-1
  556. - new upstream release.
  557. - dropped Patch300: fixed in upstream.
  558. * Sun Oct 13 2019 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 3.4.7-1
  559. - new upstream release.
  560. - built with icu65.
  561. - imported Patch300 from ubuntu to build with glibc-2.30.
  562. * Sun Aug 25 2019 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 3.4.6-1
  563. - new upstream release.
  564. * Mon May 06 2019 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 3.4.5-1
  565. - new upstream release.
  566. * Tue Nov 06 2018 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 3.3.1-1
  567. - new upstream release.
  568. - updated Patch200.
  569. * Mon Jan 08 2018 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 3.2.4-2
  570. - rebuilt with libicu-60.2.
  571. * Fri Dec 22 2017 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 3.2.4-1
  572. - new upstream release.
  573. * Sun May 22 2016 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 3.1.1-1
  574. - new upstream release.
  575. * Sun May 8 2016 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 3.1.0-1
  576. - new upstream release.
  577. * Mon Mar 14 2016 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 3.0.4-1
  578. - new upstream release.
  579. * Thu Mar 10 2016 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 3.0.3-4
  580. - rebuilt with openssl 1.0.2g
  581. * Thu Nov 05 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.0.3-3
  582. - rebuild with icu-56.1
  583. * Mon Nov 2 2015 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 3.0.3-2
  584. - fixed dependency.
  585. * Sun Nov 1 2015 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 3.0.3-1
  586. - new upstream release.
  587. - updated patch200.
  588. - dropped patch100 and 101.
  589. * Sat Sep 5 2015 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 2.11.6-1
  590. - new upstream release.
  591. * Sun Jul 20 2014 Daisuke SUZUKI <daisuke@vinelinux.org> 2.11.1-2
  592. - fix BR/R for current environment
  593. * Sun Jun 15 2014 Daisuke SUZUKI <daisuke@vinelinux.org> 2.11.1-1
  594. - update to 2.11.1
  595. - build with libpq-devel and libmysqlclient-devel (vl7)
  596. * Sat Jan 18 2014 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 2.10.3-1
  597. - new upstream release.
  598. * Mon Oct 28 2013 Daisuke SUZUKI <daisuke@linux.or.jp> 2.10.2-1
  599. - update to 2.10.2
  600. * Sun Dec 09 2012 Daisuke SUZUKI <daisuke@linux.or.jp> 2.9.4-3
  601. - add -DHAS_DLOPEN to CCARGS instead of patch102.
  602. - use postfix-install in %%install (to prepare main.cf)
  603. - change postfix uid/gid to fixed id. (89 for postfix, 90 for postdrop)
  604. - run postalias on %%post
  605. * Fri Nov 30 2012 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 2.9.4-2
  606. - added patch102.
  607. * Sun Nov 25 2012 Daisuke SUZUKI <daisuke@linux.or.jp> 2.9.4-1
  608. - update to 2.9.4
  609. - update dynamicmaps patches
  610. - add sqite3 map support, add postfix-sqlite subpackage.
  611. - drop unneeded patches
  612. * Wed Oct 24 2012 Daisuke SUZUKI <daisuke@linux.or.jp> 2.8.12-1
  613. - update to 2.8.12
  614. - rebuild with pcre-8.31
  615. * Tue May 01 2012 Daisuke SUZUKI <daisuke@linux.or.jp> 2.8.10-1
  616. - update to 2.8.10
  617. * Sun Mar 04 2012 Daisuke SUZUKI <daisuke@linux.or.jp> 2.8.9-1
  618. - update to 2.8.9
  619. * Thu May 12 2011 Daisuke SUZUKI <daisuke@linux.or.jp> 2.8.3-1
  620. - update to 2.8.3
  621. * Wed Apr 13 2011 Daisuke SUZUKI <daisuke@linux.or.jp> 2.8.2-1
  622. - update to 2.8.2
  623. - update dynamicmaps patch
  624. * Tue Apr 12 2011 Shu KONNO <owa@bg.wakwak.com> 2.6.8-5
  625. - rebuilt with postgresql-9.0.3
  626. * Sun Jan 9 2011 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 2.6.8-4
  627. - rebuilt with openssl 1.0.0c
  628. - fix changelog typo..
  629. * Wed Dec 01 2010 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 2.6.8-3
  630. - new upstream release.
  631. - updated %%patch100 and %%patch210.
  632. * Sat Feb 20 2010 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 2.6.5-2
  633. - removed MySQL-shared from "Requires:" and "BuildRequires:".
  634. - replaced "Prereq:" with "Requires(pre):".
  635. - replaced "BuildPrereq:" with "BuildRequires:".
  636. * Tue Feb 02 2010 Daisuke SUZUKI <daisuke@linux.or.jp> 2.6.5-1
  637. - new upstream release
  638. - rebuild with db4-4.8.0
  639. * Sun Aug 16 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 2.6.3-2
  640. - change /var/spool/postfix/pid owner and permission
  641. (0700,postfix,postfix -> 0755,root,root)
  642. * Mon Aug 3 2009 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 2.6.3-1
  643. - new upstream release
  644. * Sat Jun 6 2009 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 2.6.2-1
  645. - new upstream release.
  646. * Sat May 30 2009 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 2.6.1-2
  647. - added a missing file.
  648. * Sat May 30 2009 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 2.6.1-1
  649. - new upstream release.
  650. - updated dynamicmaps patch.
  651. * Fri May 22 2009 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 2.5.7-2
  652. - made to build -mysql and -pgsql as default.
  653. - rebuilt with MySQL-5.1.34.
  654. * Wed May 13 2009 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 2.5.7-1
  655. - new upstream release
  656. - update Patch200 from fc10
  657. * Sun Mar 01 2009 NAKAMURA Kenta <kenta@vinelinux.org> 2.5.6-2
  658. - rebuilt with openldap-2.4.11
  659. * Mon Jan 12 2009 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 2.5.6-1
  660. - new upstream release
  661. * Sun Oct 12 2008 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 2.5.5-4
  662. - add patch200/patch210 from fedora
  663. * Sun Oct 12 2008 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 2.5.5-3
  664. - add Requires cyrus-sasl-md5, cyrus-sasl-plain for smtp auth
  665. - add Japanese description into sub packages
  666. * Sat Oct 11 2008 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 2.5.5-2
  667. - update patch100/101 to fix libxsasl build issue
  668. - remove smp flag in build section to solve build error
  669. - add _data_dir
  670. * Fri Oct 10 2008 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 2.5.5-1
  671. - new upstream release
  672. - update patch100/101 to fit 2.5.5 (from suse)
  673. - add %exclude dict_{my,pg}sql.so to %%files to avoid unneeded dependancy
  674. when option "--with XXsql" is specified. (from Vine 4.x update package)
  675. - remove HAS_DLOPEN macro.
  676. * Sat Sep 06 2008 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 2.4.9-1
  677. - new upstream release with security fix
  678. * Sat Aug 30 2008 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 2.4.8-2
  679. - add %%if %%build_mysql and %%if %%mysql from BuildRequires section again
  680. - remove unnessary dependency
  681. * Thu Aug 28 2008 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 2.4.8-1
  682. - new upstream release with security fix
  683. * Mon Aug 11 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 2.4.7-4
  684. - spec in UTF-8
  685. * Fri Jun 20 2008 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 2.4.7-3
  686. - rebuilt against db4-4.6.21
  687. * Tue Apr 15 2008 Tomohiro 'Tomo-p' KATO <tomop@teamgedoh.net> 2.4.7-2
  688. - add HAS_DLOPEN macro.
  689. - add USE_CYRUS_SASL macro.
  690. - modify dynamicmaps.cf (/usr/lib -> %%{_libdir}).
  691. * Tue Mar 25 2008 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 2.4.7-1
  692. - new upstream release
  693. - update patch100 (it is based from mdk 2008.0)
  694. - add smp_mflags in make section
  695. - build under new versioning policy
  696. * Thu Sep 20 2007 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.2.10-0vl10
  697. - rebuilt with postgresql-devel 8.2.5
  698. - updated Source20, 30 and 40
  699. * Fri May 18 2007 Daisuke SUZUKI <daisuke@linux.or.jp> 2.2.10-0vl9
  700. - rebuild with new openssl
  701. * Wed May 09 2007 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 2.2.10-0vl8
  702. - rebuilt with new toolchain and db4-4.3.x
  703. * Fri Apr 13 2007 KANEKO Seiji <giraffe@m2.pbc.ne.jp> 2.2.10-0vl7
  704. - <BTS:493> fix typo in %%if statement for %%files mysql section.
  705. - remove %%if %%build_mysql and %%if %%mysql from BuildRequires section,
  706. (Patch100 always builds dict_mysql.o and dict_pgsql.o)
  707. * Fri Oct 27 2006 Daisuke SUZUKI <daisuke@linux.or.jp> 2.2.10-0vl6
  708. - disable MySQL, PostgreSQL support by default.
  709. use "--with {mysql|pgsql}" to build them.
  710. * Mon Sep 18 2006 NAKAMURA Kenta <kenta@vinelinux.org> 2.2.10-0vl5
  711. - add lib64 patch to correct daemon_directory on x86_64 architecture
  712. * Wed Sep 13 2006 Daisuke SUZUKI <daisuke@linux.or.jp> 2.2.10-0vl4
  713. - remove duplicated entry from aliases. (<BTS:170>)
  714. * Wed Sep 13 2006 Daisuke SUZUKI <daisuke@linux.or.jp> 2.2.10-0vl3
  715. - add some pseudo accounts to aliases. (<BTS:170>)
  716. - add BuildPreReq: MySQL-shared
  717. * Sun Aug 27 2006 NAKAMURA Kenta <kenta@vinelinux.org> 2.2.10-0vl2
  718. - rebuilt with openldap-2.3.27-0vl1
  719. * Sun Apr 23 2006 Daisuke SUZUKI <daisuke@linux.or.jp> 2.2.10-0vl1
  720. - new upstream release
  721. * Thu Jan 12 2006 Daisuke SUZUKI <daisuke@linux.or.jp> 2.2.8-0vl1
  722. - new upstream release
  723. * Fri Sep 30 2005 Daisuke SUZUKI <daisuke@linux.or.jp> 2.2.5-0vl1
  724. - new upstream release
  725. - update to 2.2.5
  726. - update dynamicmaps from debian package
  727. - update Japaese manpages and jconf
  728. - add jhtml and jreadme
  729. - enable TLS/SSL
  730. * Mon Jan 31 2005 Daisuke SUZUKI <daisuke@linux.or.jp> 2.1.5-0vl1
  731. - new upstream release
  732. - update all patches
  733. - link sasl2 instead of sasl1
  734. * Mon Jan 24 2005 Tomohiro 'Tomo-p' KATO <tomop@teamgedoh.net> 2.0.20-0vl6
  735. - enable cyrus-sasl.
  736. - add TLS/IPv6 patch.
  737. - modify main.cf to disable IPv6 as default.
  738. * Thu Oct 28 2004 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 2.0.20-0vl5
  739. - add PreReq: db4 >= 4.2.52
  740. (to avoid errors when upgrading from db40-linked version)
  741. * Mon Oct 11 2004 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 2.0.20-0vl4
  742. - rebuilt with db4-4.2.52
  743. * Tue Jun 8 2004 Daisuke SUZUKI <daisuke@linux.or.jp> 2.0.20-0vl3
  744. - fix first installation time bugs...
  745. - remove aliases.db from %%files again
  746. - add 'touch aliases.db' in %%post script
  747. - update default main.cf to use /etc/postfix/aliases as default alias_database
  748. * Mon Jun 7 2004 Daisuke SUZUKI <daisuke@linux.or.jp> 2.0.20-0vl2
  749. - add /etc/postfix/aliases.db to %%files
  750. * Sat May 8 2004 Daisuke SUZUKI <daisuke@linux.or.jp> 2.0.20-0vl1
  751. - new upstream release
  752. * Tue Apr 13 2004 Daisuke SUZUKI <daisuke@linux.or.jp> 2.0.19-0vl1
  753. - new upstream release
  754. - build with new postgresql
  755. * Fri Sep 19 2003 Daisuke SUZUKI <daisuke@linux.or.jp> 2.0.16-0vl1
  756. - new upstream release
  757. - update jconf/jman/jhtml
  758. * Fri Jul 4 2003 Daisuke SUZUKI <daisuke@linux.or.jp> 2.0.13-0vl1
  759. - new upstream release
  760. - update jman/jhtml/jreadme
  761. * Mon Jun 16 2003 Daisuke SUZUKI <daisuke@linux.or.jp> 2.0.12-0vl1
  762. - new upstream release
  763. - update jconf/jman/jhtml/jreadme
  764. * Tue Jun 03 2003 Daisuke SUZUKI <daisuke@linux.or.jp> 2.0.10-0vl1
  765. - new upstream release
  766. * Fri May 23 2003 Satoshi MACHINO <machino@vinelinux.org> 2.0.9-0vl5
  767. - rebuild by new cyrus-sasl(2.1.13-3vl1)
  768. * Sat Apr 26 2003 Daisuke SUZUKI <daisuke@linux.or.jp> 2.0.9-0vl4
  769. - add more BuildPreReq, Requires
  770. - fix some typo
  771. - add missing files to %%files.
  772. * Sat Apr 26 2003 Daisuke SUZUKI <daisuke@linux.or.jp> 2.0.9-0vl3
  773. - rebuild
  774. * Sat Apr 26 2003 Daisuke SUZUKI <daisuke@linux.or.jp> 2.0.9-0vl2
  775. - add debian's dynamic map patch.
  776. some additional feature is divided to sub package.
  777. - postfix-ldap, postfix-mysql, postfix-pgsql, postfix-pcre
  778. - split common postfix libraries as shared libs.
  779. - libpostfix-{master,global,util,dns}.so.1
  780. - use cyrus-sasl for SMTP-AUTH
  781. * Wed Apr 23 2003 Daisuke SUZUKI <daisuke@linux.or.jp> 2.0.9-0vl1
  782. - new upstream release 2.0.9
  783. - update jman/jhtml/jconf to 2.0.8
  784. * Wed Apr 9 2003 IWAI Masaharu <iwai@alib.jp> 2.0.7-0vl1
  785. - new upstream version
  786. - update documents
  787. - jman (source4)
  788. - jconf (Source5)
  789. - faq.html (Source6)
  790. - INSTALL.jp (Source7)
  791. - jhtml (Source12)
  792. * Sun Jan 19 2003 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 1.1.12-0vl3
  793. - rebuilt against db4
  794. * Wed Dec 18 2002 Daisuke SUZUKI <daisuke@linux.or.jp> 1.1.12-0vl2
  795. - rebuild to remove unnecessary dependancy.
  796. * Sat Nov 23 2002 Daisuke SUZUKI <daisuke@linux.or.jp> 1.1.12-0vl1
  797. - new upstream version
  798. - modified /etc/init.d/postfix
  799. * Sun Oct 06 2002 Daisuke SUZUKI <daisuke@linux.or.jp> 1.1.11-0vl3
  800. - fixed brainless mistakes...
  801. update main.cf again.
  802. * Thu Oct 03 2002 Daisuke SUZUKI <daisuke@linux.or.jp> 1.1.11-0vl2
  803. - update main.cf patch
  804. - do not use procmail for local mailer.
  805. - do not show version and OS name for smtpd greeting banner.
  806. * Tue Jun 04 2002 Daisuke SUZUKI <daisuke@linux.or.jp> 1.1.11-0vl1
  807. - new upstream release
  808. - update jman, jconf, jhtml
  809. * Tue May 28 2002 IWAI Masaharu <iwaim@cc.mbn.or.jp> 1.1.10-0vl2
  810. - updated main.cf patch ( Patch0 )
  811. undefine myhostname
  812. * Fri May 24 2002 IWAI Masaharu <iwaim@cc.mbn.or.jp> 1.1.10-0vl1
  813. - changed %%{_var}/spool/postfix/private directory permission (0700 -> 0710)
  814. Thanks Mr. Daisuke SUZUKI ([VineSeed:06454])
  815. * Thu May 23 2002 IWAI Masaharu <iwaim@cc.mbn.or.jp> 1.1.10-0vl0
  816. - upstream release
  817. - updated japanese documents Source4-9
  818. ( and the unofficial Japanese Web Site moved. )
  819. - added japanese documents Source10-12
  820. - updated main.cf patch ( Patch0 )
  821. - added postdrop group
  822. - added some directories in %%{_var}/spool/postfix/
  823. active, corrupt, deferred, incoming, pid, public, bounce,
  824. defer,flush,private and saved directories
  825. * Mon Feb 18 2002 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 0.0.20010228pl08-0vl3
  826. - not stop in %%pre
  827. - not start but restart in %%post
  828. * Mon Dec 31 2001 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 0.0.20010228pl08-0vl2
  829. - added BuildPreReq: db3-devel
  830. * Sat Nov 24 2001 Daisuke SUZUKI <daisuke@linux.or.jp> 0.0.20010228pl08-0vl1
  831. - updated to 20010228-pl08
  832. * Fri Nov 9 2001 Daisuke SUZUKI <daisuke@linux.or.jp> 0.0.20010228pl06-0vl1
  833. - updated to 20010228-pl06
  834. * Sun Sep 23 2001 Daisuke SUZUKI <daisuke@linux.or.jp> 0.0.20010228pl05-0vl1
  835. - updated to 20010228-pl05
  836. * Wed Aug 1 2001 Daisuke SUZUKI <daisuke@linux.or.jp> 0.0.20010228pl04-0vl1
  837. - updated to 20010228-pl04
  838. * Wed Jun 27 2001 Daisuke SUZUKI <daisuke@linux.or.jp> 0.0.20010228pl03-0vl2
  839. - update Japanese documents and manpages
  840. * Sun May 27 2001 Daisuke SUZUKI <daisuke@linux.or.jp> 0.0.20010228pl03-0vl1
  841. - updated to 20010228-pl03
  842. * Mon May 21 2001 MATSUBAYASHI 'Shaolin' Kohji <shaolin@vinelinux.org>
  843. - 0.0.20010228pl02-0vl3
  844. - modified %%preun script again
  845. (to check whether %%{_sysconfidir}/rc.d/init.d/postfix already exists)
  846. * Wed May 02 2001 MATSUBAYASHI 'Shaolin' Kohji <shaolin@vinelinux.org>
  847. - 0.0.20010228pl02-0vl2
  848. - fixed incorrect %%preun script :-P
  849. * Tue May 1 2001 Daisuke SUZUKI <daisuke@linux.or.jp> 0.0.20010228pl02-0vl1
  850. - updated to 20010228-pl02
  851. * Wed Apr 11 2001 Daisuke SUZUKI <daisuke@linux.or.jp> 0.0.20010228pl01-0vl4
  852. - add {pcre,regexp}_table to %files
  853. - don't replace config files
  854. - start postfix after install/upgrade
  855. * Mon Apr 09 2001 Daisuke SUZUKI <daisuke@linux.or.jp> 0.0.20010228pl01-0vl2
  856. - updated jman pages and translations.
  857. - added japanese sample config files.
  858. * Sat Mar 31 2001 Daisuke SUZUKI <daisuke@linux.or.jp> 0.0.20010228pl01-0vl1
  859. - updated to 20010228-pl01
  860. * Thu Mar 1 2001 Daisuke SUZUKI <daisuke@linux.or.jp> 0.0.20010228-0vl2
  861. - fixed file location
  862. * Thu Mar 1 2001 Daisuke SUZUKI <daisuke@linux.or.jp> 0.0.20010228-0vl1
  863. - updated to 20010228
  864. * Tue Dec 26 2000 Tomoya TAKA <tomoya@olive.plala.or.jp> 0.0.199912310pl13-0vl2
  865. - fixed about mandir
  866. * Thu Nov 23 2000 Daisuke SUZUKI <daisuke@linux.or.jp> 0.0.199912310pl13-0vl1
  867. - updated to 19991231-pl13
  868. - use rpm macros in spec
  869. * Thu Nov 23 2000 Daisuke SUZUKI <daisuke@linux.or.jp> 0.0.199912310pl11-0vl1
  870. - updated to 19991231-pl11
  871. * Thu Nov 9 2000 Daisuke SUZUKI <daisuke@linux.or.jp> 0.0.199912310pl10-0vl1
  872. - updated to 19991231-pl10
  873. * Thu Oct 12 2000 Yoshihiro Kajiki <kajiki@ylug.org>
  874. - fix newaliases problem by adding slink
  875. * Mon Oct 2 2000 Daisuke SUZUKI <daisuke@linux.or.jp>
  876. - add japanese man pages
  877. * Sun Oct 1 2000 Jun Nishii <jun@vinelinux.org>
  878. - updates to 19991231-pl09-0vl2
  879. - fixed Group
  880. * Fri Sep 22 2000 Daisuke SUZUKI <daisuke@linux.or.jp>
  881. - updates to 19991231-pl09
  882. * Wed Aug 09 2000 MACHINO, Satoshi <mac@netfort.gr.jp>
  883. - %build, removed bzip2 -9 and strip
  884. - fixed %files section to handle compressed man page
  885. * Wed Jun 21 2000 Daisuke SUZUKI <daisuke@linux.or.jp>
  886. - Version name changes to 0.0.version
  887. - updates to 19991231-pl08
  888. + Major changes with postfix-19991231-pl08:
  889. Specify "body_checks = regexp:%{_sysconfdir}/postfix/body_checks" for a quick
  890. and dirty emergency content filter that looks at non-header lines
  891. one line at a time (including MIME headers inside the message body).
  892. Details in conf/sample-filter.cf.
  893. + Incompatible changes with postfix-19991231-pl07:
  894. As required by RFC 822, Postfix now inserts a generic destination
  895. message header when no destination header is present. The text is
  896. specified via the undisclosed_recipients_header configuration
  897. parameter (default: "To: undisclosed-recipients:;").
  898. * Thu Apr 6 2000 Daisuke SUZUKI <daisuke@linux.or.jp>
  899. - updates to 19991231-pl06
  900. - added percent hack to main.cf
  901. * Sun Feb 20 2000 Daisuke SUZUKI <daisuke@linux.or.jp>
  902. - adopted to Vine Linux
  903. * Mon Jan 3 2000 Jean-Michel Dault <jmdault@netrevolution.com>
  904. - updated to 19991231
  905. - added postfix group
  906. - corrected aliases.db bug
  907. * Mon Dec 27 1999 Jerome Dumonteil <jd@mandrakesoft.com>
  908. - Add postfix check in post to create sub dirs in spool
  909. * Mon Dec 20 1999 Chmouel Boudjnah <chmouel@mandrakesoft.com>
  910. - Add -a $DOMAIN -d $LOGNAME to procmail (philippe).
  911. - New banner.
  912. * Wed Nov 10 1999 Chmouel Boudjnah <chmouel@mandrakesoft.com>
  913. - fix if conflicts with sendmail.
  914. * Sat Jun 5 1999 Axalon Bloodstone <axalon@linux-mandrake.com>
  915. - install bins from libexec/
  916. * Sat Jun 5 1999 Bernhard Rosenkr舅zer <bero@mandrakesoft.com>
  917. - 19990601
  918. - .spec cleanup for easier updates
  919. * Wed May 26 1999 Axalon Bloodstone <axalon@linux-mandrake.com>
  920. - created link from %{_sbindir}/sendmail to %{_libdir}/sendmail
  921. so it doesn't bug out when i rpm -e sendmail
  922. - Now removes %{_var}/lock/subsys/postfix like a good little prog
  923. upon rpm -e
  924. * Fri Apr 23 1999 Chmouel Boudjnah <chmouel@mandrakesoft.com>
  925. - Mandrake adptations.
  926. * Tue Apr 13 1999 Arne Coucheron <arneco@online.no>
  927. [19990317-pl04-1]
  928. * Tue Mar 30 1999 Arne Coucheron <arneco@online.no>
  929. [19990317-pl03-2]
  930. - Castro, Castro, pay attention my friend. You're making it very hard
  931. maintaining the package if you don't follow the flow of the releases
  932. * Thu Mar 25 1999 Arne Coucheron <arneco@online.no>
  933. [19990317-pl02-1]
  934. * Tue Mar 23 1999 Arne Coucheron <arneco@online.no>
  935. [19990317-3]
  936. - added bugfix patch01
  937. * Sat Mar 20 1999 Arne Coucheron <arneco@online.no>
  938. [19990317-2]
  939. - removed the mynetworks line in main.cf, let postfix figure it out
  940. - striping of the files in %{_sbindir}
  941. - alias database moved to %{_sysconfdir}/postfix and made a symlink to it in %{_sysconfdir}
  942. - enabled procmail support in main.cf and added it to Requires:
  943. - check status on master instead of postfix in the init script
  944. - obsoletes postfix-beta
  945. - had to move some of my latest changelog entries up here since Edgard Castro
  946. didn't follow my releases
  947. * Thu Mar 18 1999 Edgard Castro <castro@usmatrix.net>
  948. [19990317]
  949. * Tue Mar 16 1999 Edgard Castro <castro@usmatrix.net>
  950. [alpha-19990315]
  951. * Tue Mar 9 1999 Edgard Castro <castro@usmatrix.net>
  952. [19990122-pl01-2]
  953. - shell and gecho information changed to complie with Red Hat stardand
  954. - changed the name of the rpm package to postfix, instead of postfix-beta
  955. * Tue Feb 16 1999 Edgard Castro <castro@usmatrix.net>
  956. [19990122-pl01-1]
  957. * Sun Jan 24 1999 Arne Coucheron <arneco@online.no>
  958. [19990122-1]
  959. - shell for postfix user changed to /bin/true to avoid logins to the account
  960. - files in %{_libdir}exec/postfix moved to %{_libdir}/postfix since this complies
  961. more with the Red Hat standard
  962. * Wed Jan 06 1999 Arne Coucheron <arneco@online.no>
  963. [19981230-2]
  964. - added URL for the source
  965. - added a cron job for daily check of errors
  966. - sample config files moved from /etc/postfix/sample to the docdir
  967. - dropped making of symlinks in %{_sbindir} and instead installing the real
  968. files there
  969. - because of the previous they're not needed anymore in %{_libdir}exec/postfix,
  970. so they are removed from that place
  971. * Fri Jan 01 1999 Arne Coucheron <arneco@online.no>
  972. [19981230-1]
  973. * Tue Dec 29 1998 Arne Coucheron <arneco@online.no>
  974. [19981222-1]
  975. - first build of rpm version