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

Revision 8555, 32.6 KB checked in by daisuke, 10 years ago (diff)

postfix:

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