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

Revision 8849, 32.8 KB checked in by daisuke, 10 years ago (diff)

postfix: adjust R/BR for current environment

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