postfix-vl.spec 39 KB

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