source: projects/specs/trunk/p/postfix/postfix-vl.spec @ 7942

Revision 7942, 32.3 KB checked in by daisuke, 11 years ago (diff)

postfix: update to 2.10.2

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