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

Revision 3427, 32.0 KB checked in by daisuke, 13 years ago (diff)

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