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

Revision 9782, 33.8 KB checked in by tomop, 9 years ago (diff)

postfix-3.0.3-2

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