postfix-vl.spec 39 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209
  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.7.3
  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 Oct 12 2022 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 3.7.3-1
  505. - new upstream release.
  506. * Fri Apr 29 2022 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 3.7.2-1
  507. - new upstream release.
  508. * Mon Feb 07 2022 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 3.7.0-1
  509. - new upstream release.
  510. - built with pcre2.
  511. * Wed Jan 19 2022 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 3.6.4-1
  512. - new upstream release.
  513. * Tue Nov 09 2021 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 3.6.3-1
  514. - new upstream release.
  515. * Fri Oct 29 2021 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 3.6.2-3
  516. - rebuilt with icu-70.1.
  517. * Tue Oct 05 2021 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 3.6.2-2
  518. - rebuilt with openssl-3.0.0.
  519. - imported Patch201-203 from rawhide.
  520. * Mon Jul 26 2021 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 3.6.2-1
  521. - new upstream release.
  522. * Tue Jun 15 2021 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 3.6.1-1
  523. - new upstream release.
  524. * Mon May 17 2021 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 3.6.0-1
  525. - new upstream release.
  526. * Tue Apr 13 2021 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 3.5.10-1
  527. - new upstream release.
  528. * Thu Apr 08 2021 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 3.5.9-2
  529. - rebuilt with icu69.
  530. * Mon Jan 18 2021 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 3.5.9-1
  531. - new upstream release.
  532. * Mon Nov 09 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 3.5.8-1
  533. - new upstream release.
  534. * Tue Sep 01 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 3.5.7-1
  535. - new upstream release.
  536. * Mon Jul 27 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 3.5.6-1
  537. - new upstream release.
  538. * Sun Jun 28 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 3.5.4-1
  539. - new upstream release.
  540. * Mon May 18 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 3.5.2-1
  541. - new upstream release.
  542. * Fri Apr 24 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 3.5.1-2
  543. - rebuilt with icu67.
  544. * Tue Apr 21 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 3.5.1-1
  545. - new upstream release.
  546. - added systemd support (disabled as default).
  547. * Thu Mar 19 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 3.5.0-1
  548. - new upstream release.
  549. - dropped Patch300: fixed in upstream.
  550. * Sun Oct 13 2019 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 3.4.7-1
  551. - new upstream release.
  552. - built with icu65.
  553. - imported Patch300 from ubuntu to build with glibc-2.30.
  554. * Sun Aug 25 2019 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 3.4.6-1
  555. - new upstream release.
  556. * Mon May 06 2019 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 3.4.5-1
  557. - new upstream release.
  558. * Tue Nov 06 2018 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 3.3.1-1
  559. - new upstream release.
  560. - updated Patch200.
  561. * Mon Jan 08 2018 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 3.2.4-2
  562. - rebuilt with libicu-60.2.
  563. * Fri Dec 22 2017 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 3.2.4-1
  564. - new upstream release.
  565. * Sun May 22 2016 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 3.1.1-1
  566. - new upstream release.
  567. * Sun May 8 2016 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 3.1.0-1
  568. - new upstream release.
  569. * Mon Mar 14 2016 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 3.0.4-1
  570. - new upstream release.
  571. * Thu Mar 10 2016 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 3.0.3-4
  572. - rebuilt with openssl 1.0.2g
  573. * Thu Nov 05 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.0.3-3
  574. - rebuild with icu-56.1
  575. * Mon Nov 2 2015 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 3.0.3-2
  576. - fixed dependency.
  577. * Sun Nov 1 2015 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 3.0.3-1
  578. - new upstream release.
  579. - updated patch200.
  580. - dropped patch100 and 101.
  581. * Sat Sep 5 2015 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 2.11.6-1
  582. - new upstream release.
  583. * Sun Jul 20 2014 Daisuke SUZUKI <daisuke@vinelinux.org> 2.11.1-2
  584. - fix BR/R for current environment
  585. * Sun Jun 15 2014 Daisuke SUZUKI <daisuke@vinelinux.org> 2.11.1-1
  586. - update to 2.11.1
  587. - build with libpq-devel and libmysqlclient-devel (vl7)
  588. * Sat Jan 18 2014 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 2.10.3-1
  589. - new upstream release.
  590. * Mon Oct 28 2013 Daisuke SUZUKI <daisuke@linux.or.jp> 2.10.2-1
  591. - update to 2.10.2
  592. * Sun Dec 09 2012 Daisuke SUZUKI <daisuke@linux.or.jp> 2.9.4-3
  593. - add -DHAS_DLOPEN to CCARGS instead of patch102.
  594. - use postfix-install in %%install (to prepare main.cf)
  595. - change postfix uid/gid to fixed id. (89 for postfix, 90 for postdrop)
  596. - run postalias on %%post
  597. * Fri Nov 30 2012 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 2.9.4-2
  598. - added patch102.
  599. * Sun Nov 25 2012 Daisuke SUZUKI <daisuke@linux.or.jp> 2.9.4-1
  600. - update to 2.9.4
  601. - update dynamicmaps patches
  602. - add sqite3 map support, add postfix-sqlite subpackage.
  603. - drop unneeded patches
  604. * Wed Oct 24 2012 Daisuke SUZUKI <daisuke@linux.or.jp> 2.8.12-1
  605. - update to 2.8.12
  606. - rebuild with pcre-8.31
  607. * Tue May 01 2012 Daisuke SUZUKI <daisuke@linux.or.jp> 2.8.10-1
  608. - update to 2.8.10
  609. * Sun Mar 04 2012 Daisuke SUZUKI <daisuke@linux.or.jp> 2.8.9-1
  610. - update to 2.8.9
  611. * Thu May 12 2011 Daisuke SUZUKI <daisuke@linux.or.jp> 2.8.3-1
  612. - update to 2.8.3
  613. * Wed Apr 13 2011 Daisuke SUZUKI <daisuke@linux.or.jp> 2.8.2-1
  614. - update to 2.8.2
  615. - update dynamicmaps patch
  616. * Tue Apr 12 2011 Shu KONNO <owa@bg.wakwak.com> 2.6.8-5
  617. - rebuilt with postgresql-9.0.3
  618. * Sun Jan 9 2011 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 2.6.8-4
  619. - rebuilt with openssl 1.0.0c
  620. - fix changelog typo..
  621. * Wed Dec 01 2010 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 2.6.8-3
  622. - new upstream release.
  623. - updated %%patch100 and %%patch210.
  624. * Sat Feb 20 2010 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 2.6.5-2
  625. - removed MySQL-shared from "Requires:" and "BuildRequires:".
  626. - replaced "Prereq:" with "Requires(pre):".
  627. - replaced "BuildPrereq:" with "BuildRequires:".
  628. * Tue Feb 02 2010 Daisuke SUZUKI <daisuke@linux.or.jp> 2.6.5-1
  629. - new upstream release
  630. - rebuild with db4-4.8.0
  631. * Sun Aug 16 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 2.6.3-2
  632. - change /var/spool/postfix/pid owner and permission
  633. (0700,postfix,postfix -> 0755,root,root)
  634. * Mon Aug 3 2009 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 2.6.3-1
  635. - new upstream release
  636. * Sat Jun 6 2009 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 2.6.2-1
  637. - new upstream release.
  638. * Sat May 30 2009 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 2.6.1-2
  639. - added a missing file.
  640. * Sat May 30 2009 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 2.6.1-1
  641. - new upstream release.
  642. - updated dynamicmaps patch.
  643. * Fri May 22 2009 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 2.5.7-2
  644. - made to build -mysql and -pgsql as default.
  645. - rebuilt with MySQL-5.1.34.
  646. * Wed May 13 2009 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 2.5.7-1
  647. - new upstream release
  648. - update Patch200 from fc10
  649. * Sun Mar 01 2009 NAKAMURA Kenta <kenta@vinelinux.org> 2.5.6-2
  650. - rebuilt with openldap-2.4.11
  651. * Mon Jan 12 2009 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 2.5.6-1
  652. - new upstream release
  653. * Sun Oct 12 2008 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 2.5.5-4
  654. - add patch200/patch210 from fedora
  655. * Sun Oct 12 2008 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 2.5.5-3
  656. - add Requires cyrus-sasl-md5, cyrus-sasl-plain for smtp auth
  657. - add Japanese description into sub packages
  658. * Sat Oct 11 2008 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 2.5.5-2
  659. - update patch100/101 to fix libxsasl build issue
  660. - remove smp flag in build section to solve build error
  661. - add _data_dir
  662. * Fri Oct 10 2008 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 2.5.5-1
  663. - new upstream release
  664. - update patch100/101 to fit 2.5.5 (from suse)
  665. - add %exclude dict_{my,pg}sql.so to %%files to avoid unneeded dependancy
  666. when option "--with XXsql" is specified. (from Vine 4.x update package)
  667. - remove HAS_DLOPEN macro.
  668. * Sat Sep 06 2008 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 2.4.9-1
  669. - new upstream release with security fix
  670. * Sat Aug 30 2008 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 2.4.8-2
  671. - add %%if %%build_mysql and %%if %%mysql from BuildRequires section again
  672. - remove unnessary dependency
  673. * Thu Aug 28 2008 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 2.4.8-1
  674. - new upstream release with security fix
  675. * Mon Aug 11 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 2.4.7-4
  676. - spec in UTF-8
  677. * Fri Jun 20 2008 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 2.4.7-3
  678. - rebuilt against db4-4.6.21
  679. * Tue Apr 15 2008 Tomohiro 'Tomo-p' KATO <tomop@teamgedoh.net> 2.4.7-2
  680. - add HAS_DLOPEN macro.
  681. - add USE_CYRUS_SASL macro.
  682. - modify dynamicmaps.cf (/usr/lib -> %%{_libdir}).
  683. * Tue Mar 25 2008 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 2.4.7-1
  684. - new upstream release
  685. - update patch100 (it is based from mdk 2008.0)
  686. - add smp_mflags in make section
  687. - build under new versioning policy
  688. * Thu Sep 20 2007 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.2.10-0vl10
  689. - rebuilt with postgresql-devel 8.2.5
  690. - updated Source20, 30 and 40
  691. * Fri May 18 2007 Daisuke SUZUKI <daisuke@linux.or.jp> 2.2.10-0vl9
  692. - rebuild with new openssl
  693. * Wed May 09 2007 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 2.2.10-0vl8
  694. - rebuilt with new toolchain and db4-4.3.x
  695. * Fri Apr 13 2007 KANEKO Seiji <giraffe@m2.pbc.ne.jp> 2.2.10-0vl7
  696. - <BTS:493> fix typo in %%if statement for %%files mysql section.
  697. - remove %%if %%build_mysql and %%if %%mysql from BuildRequires section,
  698. (Patch100 always builds dict_mysql.o and dict_pgsql.o)
  699. * Fri Oct 27 2006 Daisuke SUZUKI <daisuke@linux.or.jp> 2.2.10-0vl6
  700. - disable MySQL, PostgreSQL support by default.
  701. use "--with {mysql|pgsql}" to build them.
  702. * Mon Sep 18 2006 NAKAMURA Kenta <kenta@vinelinux.org> 2.2.10-0vl5
  703. - add lib64 patch to correct daemon_directory on x86_64 architecture
  704. * Wed Sep 13 2006 Daisuke SUZUKI <daisuke@linux.or.jp> 2.2.10-0vl4
  705. - remove duplicated entry from aliases. (<BTS:170>)
  706. * Wed Sep 13 2006 Daisuke SUZUKI <daisuke@linux.or.jp> 2.2.10-0vl3
  707. - add some pseudo accounts to aliases. (<BTS:170>)
  708. - add BuildPreReq: MySQL-shared
  709. * Sun Aug 27 2006 NAKAMURA Kenta <kenta@vinelinux.org> 2.2.10-0vl2
  710. - rebuilt with openldap-2.3.27-0vl1
  711. * Sun Apr 23 2006 Daisuke SUZUKI <daisuke@linux.or.jp> 2.2.10-0vl1
  712. - new upstream release
  713. * Thu Jan 12 2006 Daisuke SUZUKI <daisuke@linux.or.jp> 2.2.8-0vl1
  714. - new upstream release
  715. * Fri Sep 30 2005 Daisuke SUZUKI <daisuke@linux.or.jp> 2.2.5-0vl1
  716. - new upstream release
  717. - update to 2.2.5
  718. - update dynamicmaps from debian package
  719. - update Japaese manpages and jconf
  720. - add jhtml and jreadme
  721. - enable TLS/SSL
  722. * Mon Jan 31 2005 Daisuke SUZUKI <daisuke@linux.or.jp> 2.1.5-0vl1
  723. - new upstream release
  724. - update all patches
  725. - link sasl2 instead of sasl1
  726. * Mon Jan 24 2005 Tomohiro 'Tomo-p' KATO <tomop@teamgedoh.net> 2.0.20-0vl6
  727. - enable cyrus-sasl.
  728. - add TLS/IPv6 patch.
  729. - modify main.cf to disable IPv6 as default.
  730. * Thu Oct 28 2004 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 2.0.20-0vl5
  731. - add PreReq: db4 >= 4.2.52
  732. (to avoid errors when upgrading from db40-linked version)
  733. * Mon Oct 11 2004 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 2.0.20-0vl4
  734. - rebuilt with db4-4.2.52
  735. * Tue Jun 8 2004 Daisuke SUZUKI <daisuke@linux.or.jp> 2.0.20-0vl3
  736. - fix first installation time bugs...
  737. - remove aliases.db from %%files again
  738. - add 'touch aliases.db' in %%post script
  739. - update default main.cf to use /etc/postfix/aliases as default alias_database
  740. * Mon Jun 7 2004 Daisuke SUZUKI <daisuke@linux.or.jp> 2.0.20-0vl2
  741. - add /etc/postfix/aliases.db to %%files
  742. * Sat May 8 2004 Daisuke SUZUKI <daisuke@linux.or.jp> 2.0.20-0vl1
  743. - new upstream release
  744. * Tue Apr 13 2004 Daisuke SUZUKI <daisuke@linux.or.jp> 2.0.19-0vl1
  745. - new upstream release
  746. - build with new postgresql
  747. * Fri Sep 19 2003 Daisuke SUZUKI <daisuke@linux.or.jp> 2.0.16-0vl1
  748. - new upstream release
  749. - update jconf/jman/jhtml
  750. * Fri Jul 4 2003 Daisuke SUZUKI <daisuke@linux.or.jp> 2.0.13-0vl1
  751. - new upstream release
  752. - update jman/jhtml/jreadme
  753. * Mon Jun 16 2003 Daisuke SUZUKI <daisuke@linux.or.jp> 2.0.12-0vl1
  754. - new upstream release
  755. - update jconf/jman/jhtml/jreadme
  756. * Tue Jun 03 2003 Daisuke SUZUKI <daisuke@linux.or.jp> 2.0.10-0vl1
  757. - new upstream release
  758. * Fri May 23 2003 Satoshi MACHINO <machino@vinelinux.org> 2.0.9-0vl5
  759. - rebuild by new cyrus-sasl(2.1.13-3vl1)
  760. * Sat Apr 26 2003 Daisuke SUZUKI <daisuke@linux.or.jp> 2.0.9-0vl4
  761. - add more BuildPreReq, Requires
  762. - fix some typo
  763. - add missing files to %%files.
  764. * Sat Apr 26 2003 Daisuke SUZUKI <daisuke@linux.or.jp> 2.0.9-0vl3
  765. - rebuild
  766. * Sat Apr 26 2003 Daisuke SUZUKI <daisuke@linux.or.jp> 2.0.9-0vl2
  767. - add debian's dynamic map patch.
  768. some additional feature is divided to sub package.
  769. - postfix-ldap, postfix-mysql, postfix-pgsql, postfix-pcre
  770. - split common postfix libraries as shared libs.
  771. - libpostfix-{master,global,util,dns}.so.1
  772. - use cyrus-sasl for SMTP-AUTH
  773. * Wed Apr 23 2003 Daisuke SUZUKI <daisuke@linux.or.jp> 2.0.9-0vl1
  774. - new upstream release 2.0.9
  775. - update jman/jhtml/jconf to 2.0.8
  776. * Wed Apr 9 2003 IWAI Masaharu <iwai@alib.jp> 2.0.7-0vl1
  777. - new upstream version
  778. - update documents
  779. - jman (source4)
  780. - jconf (Source5)
  781. - faq.html (Source6)
  782. - INSTALL.jp (Source7)
  783. - jhtml (Source12)
  784. * Sun Jan 19 2003 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 1.1.12-0vl3
  785. - rebuilt against db4
  786. * Wed Dec 18 2002 Daisuke SUZUKI <daisuke@linux.or.jp> 1.1.12-0vl2
  787. - rebuild to remove unnecessary dependancy.
  788. * Sat Nov 23 2002 Daisuke SUZUKI <daisuke@linux.or.jp> 1.1.12-0vl1
  789. - new upstream version
  790. - modified /etc/init.d/postfix
  791. * Sun Oct 06 2002 Daisuke SUZUKI <daisuke@linux.or.jp> 1.1.11-0vl3
  792. - fixed brainless mistakes...
  793. update main.cf again.
  794. * Thu Oct 03 2002 Daisuke SUZUKI <daisuke@linux.or.jp> 1.1.11-0vl2
  795. - update main.cf patch
  796. - do not use procmail for local mailer.
  797. - do not show version and OS name for smtpd greeting banner.
  798. * Tue Jun 04 2002 Daisuke SUZUKI <daisuke@linux.or.jp> 1.1.11-0vl1
  799. - new upstream release
  800. - update jman, jconf, jhtml
  801. * Tue May 28 2002 IWAI Masaharu <iwaim@cc.mbn.or.jp> 1.1.10-0vl2
  802. - updated main.cf patch ( Patch0 )
  803. undefine myhostname
  804. * Fri May 24 2002 IWAI Masaharu <iwaim@cc.mbn.or.jp> 1.1.10-0vl1
  805. - changed %%{_var}/spool/postfix/private directory permission (0700 -> 0710)
  806. Thanks Mr. Daisuke SUZUKI ([VineSeed:06454])
  807. * Thu May 23 2002 IWAI Masaharu <iwaim@cc.mbn.or.jp> 1.1.10-0vl0
  808. - upstream release
  809. - updated japanese documents Source4-9
  810. ( and the unofficial Japanese Web Site moved. )
  811. - added japanese documents Source10-12
  812. - updated main.cf patch ( Patch0 )
  813. - added postdrop group
  814. - added some directories in %%{_var}/spool/postfix/
  815. active, corrupt, deferred, incoming, pid, public, bounce,
  816. defer,flush,private and saved directories
  817. * Mon Feb 18 2002 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 0.0.20010228pl08-0vl3
  818. - not stop in %%pre
  819. - not start but restart in %%post
  820. * Mon Dec 31 2001 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 0.0.20010228pl08-0vl2
  821. - added BuildPreReq: db3-devel
  822. * Sat Nov 24 2001 Daisuke SUZUKI <daisuke@linux.or.jp> 0.0.20010228pl08-0vl1
  823. - updated to 20010228-pl08
  824. * Fri Nov 9 2001 Daisuke SUZUKI <daisuke@linux.or.jp> 0.0.20010228pl06-0vl1
  825. - updated to 20010228-pl06
  826. * Sun Sep 23 2001 Daisuke SUZUKI <daisuke@linux.or.jp> 0.0.20010228pl05-0vl1
  827. - updated to 20010228-pl05
  828. * Wed Aug 1 2001 Daisuke SUZUKI <daisuke@linux.or.jp> 0.0.20010228pl04-0vl1
  829. - updated to 20010228-pl04
  830. * Wed Jun 27 2001 Daisuke SUZUKI <daisuke@linux.or.jp> 0.0.20010228pl03-0vl2
  831. - update Japanese documents and manpages
  832. * Sun May 27 2001 Daisuke SUZUKI <daisuke@linux.or.jp> 0.0.20010228pl03-0vl1
  833. - updated to 20010228-pl03
  834. * Mon May 21 2001 MATSUBAYASHI 'Shaolin' Kohji <shaolin@vinelinux.org>
  835. - 0.0.20010228pl02-0vl3
  836. - modified %%preun script again
  837. (to check whether %%{_sysconfidir}/rc.d/init.d/postfix already exists)
  838. * Wed May 02 2001 MATSUBAYASHI 'Shaolin' Kohji <shaolin@vinelinux.org>
  839. - 0.0.20010228pl02-0vl2
  840. - fixed incorrect %%preun script :-P
  841. * Tue May 1 2001 Daisuke SUZUKI <daisuke@linux.or.jp> 0.0.20010228pl02-0vl1
  842. - updated to 20010228-pl02
  843. * Wed Apr 11 2001 Daisuke SUZUKI <daisuke@linux.or.jp> 0.0.20010228pl01-0vl4
  844. - add {pcre,regexp}_table to %files
  845. - don't replace config files
  846. - start postfix after install/upgrade
  847. * Mon Apr 09 2001 Daisuke SUZUKI <daisuke@linux.or.jp> 0.0.20010228pl01-0vl2
  848. - updated jman pages and translations.
  849. - added japanese sample config files.
  850. * Sat Mar 31 2001 Daisuke SUZUKI <daisuke@linux.or.jp> 0.0.20010228pl01-0vl1
  851. - updated to 20010228-pl01
  852. * Thu Mar 1 2001 Daisuke SUZUKI <daisuke@linux.or.jp> 0.0.20010228-0vl2
  853. - fixed file location
  854. * Thu Mar 1 2001 Daisuke SUZUKI <daisuke@linux.or.jp> 0.0.20010228-0vl1
  855. - updated to 20010228
  856. * Tue Dec 26 2000 Tomoya TAKA <tomoya@olive.plala.or.jp> 0.0.199912310pl13-0vl2
  857. - fixed about mandir
  858. * Thu Nov 23 2000 Daisuke SUZUKI <daisuke@linux.or.jp> 0.0.199912310pl13-0vl1
  859. - updated to 19991231-pl13
  860. - use rpm macros in spec
  861. * Thu Nov 23 2000 Daisuke SUZUKI <daisuke@linux.or.jp> 0.0.199912310pl11-0vl1
  862. - updated to 19991231-pl11
  863. * Thu Nov 9 2000 Daisuke SUZUKI <daisuke@linux.or.jp> 0.0.199912310pl10-0vl1
  864. - updated to 19991231-pl10
  865. * Thu Oct 12 2000 Yoshihiro Kajiki <kajiki@ylug.org>
  866. - fix newaliases problem by adding slink
  867. * Mon Oct 2 2000 Daisuke SUZUKI <daisuke@linux.or.jp>
  868. - add japanese man pages
  869. * Sun Oct 1 2000 Jun Nishii <jun@vinelinux.org>
  870. - updates to 19991231-pl09-0vl2
  871. - fixed Group
  872. * Fri Sep 22 2000 Daisuke SUZUKI <daisuke@linux.or.jp>
  873. - updates to 19991231-pl09
  874. * Wed Aug 09 2000 MACHINO, Satoshi <mac@netfort.gr.jp>
  875. - %build, removed bzip2 -9 and strip
  876. - fixed %files section to handle compressed man page
  877. * Wed Jun 21 2000 Daisuke SUZUKI <daisuke@linux.or.jp>
  878. - Version name changes to 0.0.version
  879. - updates to 19991231-pl08
  880. + Major changes with postfix-19991231-pl08:
  881. Specify "body_checks = regexp:%{_sysconfdir}/postfix/body_checks" for a quick
  882. and dirty emergency content filter that looks at non-header lines
  883. one line at a time (including MIME headers inside the message body).
  884. Details in conf/sample-filter.cf.
  885. + Incompatible changes with postfix-19991231-pl07:
  886. As required by RFC 822, Postfix now inserts a generic destination
  887. message header when no destination header is present. The text is
  888. specified via the undisclosed_recipients_header configuration
  889. parameter (default: "To: undisclosed-recipients:;").
  890. * Thu Apr 6 2000 Daisuke SUZUKI <daisuke@linux.or.jp>
  891. - updates to 19991231-pl06
  892. - added percent hack to main.cf
  893. * Sun Feb 20 2000 Daisuke SUZUKI <daisuke@linux.or.jp>
  894. - adopted to Vine Linux
  895. * Mon Jan 3 2000 Jean-Michel Dault <jmdault@netrevolution.com>
  896. - updated to 19991231
  897. - added postfix group
  898. - corrected aliases.db bug
  899. * Mon Dec 27 1999 Jerome Dumonteil <jd@mandrakesoft.com>
  900. - Add postfix check in post to create sub dirs in spool
  901. * Mon Dec 20 1999 Chmouel Boudjnah <chmouel@mandrakesoft.com>
  902. - Add -a $DOMAIN -d $LOGNAME to procmail (philippe).
  903. - New banner.
  904. * Wed Nov 10 1999 Chmouel Boudjnah <chmouel@mandrakesoft.com>
  905. - fix if conflicts with sendmail.
  906. * Sat Jun 5 1999 Axalon Bloodstone <axalon@linux-mandrake.com>
  907. - install bins from libexec/
  908. * Sat Jun 5 1999 Bernhard Rosenkr舅zer <bero@mandrakesoft.com>
  909. - 19990601
  910. - .spec cleanup for easier updates
  911. * Wed May 26 1999 Axalon Bloodstone <axalon@linux-mandrake.com>
  912. - created link from %{_sbindir}/sendmail to %{_libdir}/sendmail
  913. so it doesn't bug out when i rpm -e sendmail
  914. - Now removes %{_var}/lock/subsys/postfix like a good little prog
  915. upon rpm -e
  916. * Fri Apr 23 1999 Chmouel Boudjnah <chmouel@mandrakesoft.com>
  917. - Mandrake adptations.
  918. * Tue Apr 13 1999 Arne Coucheron <arneco@online.no>
  919. [19990317-pl04-1]
  920. * Tue Mar 30 1999 Arne Coucheron <arneco@online.no>
  921. [19990317-pl03-2]
  922. - Castro, Castro, pay attention my friend. You're making it very hard
  923. maintaining the package if you don't follow the flow of the releases
  924. * Thu Mar 25 1999 Arne Coucheron <arneco@online.no>
  925. [19990317-pl02-1]
  926. * Tue Mar 23 1999 Arne Coucheron <arneco@online.no>
  927. [19990317-3]
  928. - added bugfix patch01
  929. * Sat Mar 20 1999 Arne Coucheron <arneco@online.no>
  930. [19990317-2]
  931. - removed the mynetworks line in main.cf, let postfix figure it out
  932. - striping of the files in %{_sbindir}
  933. - alias database moved to %{_sysconfdir}/postfix and made a symlink to it in %{_sysconfdir}
  934. - enabled procmail support in main.cf and added it to Requires:
  935. - check status on master instead of postfix in the init script
  936. - obsoletes postfix-beta
  937. - had to move some of my latest changelog entries up here since Edgard Castro
  938. didn't follow my releases
  939. * Thu Mar 18 1999 Edgard Castro <castro@usmatrix.net>
  940. [19990317]
  941. * Tue Mar 16 1999 Edgard Castro <castro@usmatrix.net>
  942. [alpha-19990315]
  943. * Tue Mar 9 1999 Edgard Castro <castro@usmatrix.net>
  944. [19990122-pl01-2]
  945. - shell and gecho information changed to complie with Red Hat stardand
  946. - changed the name of the rpm package to postfix, instead of postfix-beta
  947. * Tue Feb 16 1999 Edgard Castro <castro@usmatrix.net>
  948. [19990122-pl01-1]
  949. * Sun Jan 24 1999 Arne Coucheron <arneco@online.no>
  950. [19990122-1]
  951. - shell for postfix user changed to /bin/true to avoid logins to the account
  952. - files in %{_libdir}exec/postfix moved to %{_libdir}/postfix since this complies
  953. more with the Red Hat standard
  954. * Wed Jan 06 1999 Arne Coucheron <arneco@online.no>
  955. [19981230-2]
  956. - added URL for the source
  957. - added a cron job for daily check of errors
  958. - sample config files moved from /etc/postfix/sample to the docdir
  959. - dropped making of symlinks in %{_sbindir} and instead installing the real
  960. files there
  961. - because of the previous they're not needed anymore in %{_libdir}exec/postfix,
  962. so they are removed from that place
  963. * Fri Jan 01 1999 Arne Coucheron <arneco@online.no>
  964. [19981230-1]
  965. * Tue Dec 29 1998 Arne Coucheron <arneco@online.no>
  966. [19981222-1]
  967. - first build of rpm version