postfix-vl.spec 36 KB

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