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

Revision 5823, 32.2 KB checked in by daisuke, 12 years ago (diff)

update to 2.8.9

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