postfix-vl.spec 36 KB

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