postfix-vl.spec 37 KB

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