postfix-vl.spec 38 KB

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