postfix-vl.spec 37 KB

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