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

Revision 7209, 32.2 KB checked in by daisuke, 11 years ago (diff)

postfix:

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