source: projects/specs/branches/6/p/postfix/postfix-vl.spec @ 3842

Revision 3842, 32.1 KB checked in by daisuke, 13 years ago (diff)

postfix: update to 2.8.3

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