postfix-vl.spec 37 KB

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