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

Revision 2260, 31.6 KB checked in by tomop, 14 years ago (diff)

new upstream release.

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