source: projects/specs/branches/6/d/dovecot/dovecot-vl.spec @ 8463

Revision 8463, 33.2 KB checked in by iwamoto, 10 years ago (diff)

dovecot: fix CVE-2014-3430

Line 
1Summary: Dovecot Secure imap server
2Summary(ja): Dovecot セキュア IMAP サーバ
3Name: dovecot
4Version: 2.0.21
5Release: 3%{?_dist_release}
6#dovecot itself is MIT, a few sources are PD, pigeonhole is LGPLv2
7License: MIT and LGPLv2 and BSD with advertising
8Group: System Environment/Daemons
9
10%define build_postgres 1
11%define build_mysql 1
12%define build_sqlite 1
13%define build_ldap 1
14
15# pigeonhole
16%define build_pigeonhole 1
17%define pigeonholever 0.2.6
18
19# pop before smtp (drac)
20%define build_drac 1
21
22URL: http://www.dovecot.org/
23
24Source: http://www.dovecot.org/releases/2.0/%{name}-%{version}.tar.gz
25Source1: dovecot.init
26Source2: dovecot.pam
27Source8: http://www.rename-it.nl/dovecot/2.0/dovecot-2.0-pigeonhole-%{pigeonholever}.tar.gz
28Source9: dovecot.sysconfig
29Source10: dovecot.tmpfilesd
30
31#our own
32Source14: dovecot.conf.5
33
34# drac plugin (pop before smtp)
35# Source100: http://www.dovecot.org/patches/1.1/drac.c
36Source100: http://sourceforge.jp/projects/dovecot2-drac/downloads/53176/dovecot2-drac-0.1.tar.gz
37Source110: README.plugin-drac
38
39Patch1: dovecot-2.0-defaultconfig.patch
40Patch2: dovecot-1.0.beta2-mkcert-permissions.patch
41# local filesystem rules
42Patch3: dovecot-1.0.rc7-mkcert-paths.patch
43
44# security fix
45Patch10: dovecot-2.0_CVE-2014-3430.patch
46
47Packager: iwamoto
48Vendor: Project Vine
49Distribution: Vine Linux
50
51Buildroot: %{_tmppath}/%{name}-%{version}-%{release}-root
52BuildRequires: openssl-devel, pam-devel, zlib-devel
53BuildRequires: bzip2-devel, libcap-devel
54BuildRequires: libtool autoconf automake, gettext-devel
55BuildRequires: pkgconfig
56BuildRequires: krb5-devel
57
58# Package includes an initscript service file,
59# needs to require initscripts package
60Requires: initscripts
61Requires(pre): /usr/sbin/useradd
62Requires(post): /sbin/chkconfig, /usr/sbin/useradd, /sbin/chkconfig
63Requires(preun): /usr/sbin/userdel, /usr/sbin/groupdel
64Requires(preun): /sbin/chkconfig, /sbin/service
65Requires(postun): /sbin/service
66
67%if %{build_postgres}
68BuildRequires: postgresql-devel
69%endif
70
71%if %{build_mysql}
72BuildRequires: mysql-devel
73%endif
74
75%if %{build_sqlite}
76BuildRequires: sqlite3-devel
77%endif
78
79%if %{build_ldap}
80BuildRequires: openldap-devel
81%endif
82
83%if %{build_drac}
84BuildRequires: dracd
85%endif
86
87%define docdir %{_docdir}/%{name}
88%define ssldir %{_sysconfdir}/pki/%{name}
89
90%description
91Dovecot is an IMAP server for Linux/UNIX-like systems, written with security
92primarily in mind.  It also contains a small POP3 server.  It supports mail
93in either of maildir or mbox formats.
94
95The SQL drivers and authentication plugins are in their subpackages.
96
97
98%if %{build_pigeonhole}
99%package pigeonhole
100Requires: %{name} = %{version}-%{release}
101Obsoletes: dovecot-sieve
102Summary: Sieve and managesieve plug-in for dovecot
103Group: System Environment/Daemons
104License: MIT and LGPLv2
105
106%description pigeonhole
107This package provides sieve and managesieve plug-in for dovecot LDA.
108
109%endif
110
111%if %{build_postgres}
112%package pgsql
113Requires: %{name} = %{version}-%{release}
114Summary: Postgres SQL backend for dovecot
115Group: System Environment/Daemons
116%description pgsql
117This package provides the Postgres SQL backend for dovecot-auth etc.
118%endif
119
120%if %{build_mysql}
121%package mysql
122Requires: %{name} = %{version}-%{release}
123Summary: MySQL backend for dovecot
124Group: System Environment/Daemons
125%description mysql
126This package provides the MySQL backend for dovecot-auth etc.
127%endif
128
129%if %{build_sqlite}
130%package sqlite
131Requires: %{name} = %{version}-%{release}
132Summary: SQLite backend for dovecot
133Group: System Environment/Daemons
134%description sqlite
135This package provides the SQLite backend for dovecot-auth etc.
136%endif
137
138%if %{build_ldap}
139%package ldap
140Requires: %{name} = %{version}-%{release}
141Summary: LDAP auth plugin for dovecot
142Group: System Environment/Daemons
143%description ldap
144This package provides the LDAP auth plugin for dovecot-auth etc.
145%endif
146
147%if %{build_drac}
148%package drac
149Summary: Dovecot plugin module for support drac (POP before SMTP)
150Group: System Environment/Daemons
151Requires: %{name} = %{version}-%{release}
152Requires: dracd
153Obsoletes: %{name}-plugin-drac < %{version}-%{release}
154
155%description drac
156Dovecot plugin module for support drac (POP before SMTP)
157%endif
158
159%package devel
160Requires: %{name} = %{version}-%{release}
161Summary: Development files dor dovecot
162Group: Development/Libraries
163%description devel
164This package provides the development files for dovecot.
165
166
167%prep
168
169%setup -q
170
171%patch1 -p1 -b .default-settings
172%patch2 -p1 -b .mkcert-permissions
173%patch3 -p1 -b .mkcert-paths
174
175# security fix
176%patch10 -p1 -b .CVE-2014-3430
177
178%if %{build_drac}
179%setup -T -D -q -a 100
180mv dovecot2-drac/README README.dovecot2-drac
181mv dovecot2-drac/README.j README.dovecot2-drac.jp
182cp %{SOURCE110} .
183%endif
184
185%if %{build_pigeonhole}
186%setup -q -D -T -a 8
187%endif
188
189%build
190# rm -f ./configure
191# autoreconf -i -f
192%configure                           \
193    INSTALL_DATA="install -c -p -m644" \
194    --enable-header-install      \
195    --disable-static             \
196%if %{build_postgres}
197    --with-pgsql                 \
198%endif
199%if %{build_mysql}
200    --with-mysql                 \
201%endif
202%if %{build_sqlite}
203    --with-sqlite                \
204%endif
205    --with-sql=plugin            \
206    --with-sql-drivers           \
207    --with-ssl=openssl           \
208    --with-ssldir=%{ssldir}      \
209    --with-libcap                \
210    --with-zlib                  \
211%if %{build_ldap}
212    --with-ldap=plugin
213%endif
214
215sed -i 's|/etc/ssl|/etc/pki/dovecot|' doc/mkcert.sh doc/example-config/conf.d/10-ssl.conf
216
217make %{?_smp_mflags}
218
219%if %{build_pigeonhole}
220#pigeonhole
221pushd dovecot-2.0-pigeonhole-%{pigeonholever}
222autoreconf -fiv
223%configure                             \
224    INSTALL_DATA="install -c -p -m644" \
225    --disable-static                   \
226    --with-dovecot=../                 \
227    --without-unfinished-features
228
229make %{?_smp_mflags}
230popd
231%endif
232
233%if %{build_drac}
234pushd dovecot2-drac
235make DOVDIR=../
236popd
237%endif
238
239%install
240rm -rf $RPM_BUILD_ROOT
241make install DESTDIR=$RPM_BUILD_ROOT
242rm -rf $RPM_BUILD_ROOT%{_datadir}/%{name}
243
244%if %{build_pigeonhole}
245pushd dovecot-2.0-pigeonhole-%{pigeonholever}
246make install DESTDIR=$RPM_BUILD_ROOT
247popd
248%endif
249
250%if %{build_drac}
251pushd dovecot2-drac
252install -m 755 drac_plugin.so $RPM_BUILD_ROOT/%{_libdir}/dovecot/
253mkdir -p $RPM_BUILD_ROOT/%{_libdir}/dovecot/imap/
254mkdir -p $RPM_BUILD_ROOT/%{_libdir}/dovecot/pop3/
255ln -s ../drac_plugin.so $RPM_BUILD_ROOT/%{_libdir}/dovecot/imap/
256ln -s ../drac_plugin.so $RPM_BUILD_ROOT/%{_libdir}/dovecot/pop3/
257popd
258%endif
259
260# install -p -m 755 src/plugins/convert/convert-tool $RPM_BUILD_ROOT%{_libexecdir}/%{name}
261
262mkdir -p $RPM_BUILD_ROOT%{_initrddir}
263install -p -m 755 %{SOURCE1} $RPM_BUILD_ROOT%{_initrddir}/dovecot
264
265mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/pam.d
266install -p -m 644 %{SOURCE2} $RPM_BUILD_ROOT%{_sysconfdir}/pam.d/dovecot
267
268mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/sysconfig
269install -p -m 600 %{SOURCE9} $RPM_BUILD_ROOT%{_sysconfdir}/sysconfig/dovecot
270
271#install man pages
272install -p -D -m 644 %{SOURCE14} $RPM_BUILD_ROOT%{_mandir}/man5/dovecot.conf.5
273
274# generate ghost .pem file
275mkdir -p $RPM_BUILD_ROOT%{ssldir}/certs
276mkdir -p $RPM_BUILD_ROOT%{ssldir}/private
277touch $RPM_BUILD_ROOT%{ssldir}/certs/dovecot.pem
278chmod 600 $RPM_BUILD_ROOT%{ssldir}/certs/dovecot.pem
279touch $RPM_BUILD_ROOT%{ssldir}/private/dovecot.pem
280chmod 600 $RPM_BUILD_ROOT%{ssldir}/private/dovecot.pem
281
282mkdir -p $RPM_BUILD_ROOT/var/run/dovecot/login
283chmod 755 $RPM_BUILD_ROOT/var/run/dovecot
284chmod 700 $RPM_BUILD_ROOT/var/run/dovecot/login
285       
286# Install dovecot.conf and dovecot-openssl.cnf
287mkdir -p $RPM_BUILD_ROOT%{ssldir}
288mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/dovecot/conf.d
289install -p -m 644 doc/example-config/dovecot.conf $RPM_BUILD_ROOT%{_sysconfdir}/dovecot
290install -p -m 644 doc/example-config/conf.d/*.conf $RPM_BUILD_ROOT%{_sysconfdir}/dovecot/conf.d
291install -p -m 644 doc/example-config/conf.d/*.conf.ext $RPM_BUILD_ROOT%{_sysconfdir}/dovecot/conf.d
292install -p -m 644 doc/dovecot-openssl.cnf $RPM_BUILD_ROOT%{ssldir}/dovecot-openssl.cnf
293
294# Install pigeonhole conf
295pushd dovecot-2.0-pigeonhole-%{pigeonholever}
296install -p -m 644 doc/example-config/conf.d/*.conf $RPM_BUILD_ROOT%{_sysconfdir}/dovecot/conf.d
297popd
298
299# Install some of our own documentation
300# install -p -m644 %{SOURCE7} $RPM_BUILD_ROOT%{docdir}/REDHAT-FAQ.txt
301
302# Install the licensing files into the documentation area
303install -p -m644 COPYING* $RPM_BUILD_ROOT%{docdir}
304
305mkdir -p $RPM_BUILD_ROOT%{docdir}/examples/
306install -p -m755 doc/mkcert.sh $RPM_BUILD_ROOT%{_libexecdir}/%{name}/mkcert.sh
307# for f in `cd doc; echo *.conf`; do
308#      install -p -m644 doc/$f $RPM_BUILD_ROOT%{docdir}/examples/$f;
309# done
310
311mv $RPM_BUILD_ROOT%{docdir} $RPM_BUILD_ROOT%{docdir}-%{version}
312mkdir -p $RPM_BUILD_ROOT/var/lib/dovecot
313
314#remove the libtool archives
315find $RPM_BUILD_ROOT%{_libdir}/%{name}/ -name '*.la' | xargs rm -f
316
317#prepare the filelist
318(
319    find ${RPM_BUILD_ROOT}%{_libdir}/%{name} -type d | sed -e "s|^|%dir |";
320    find ${RPM_BUILD_ROOT}%{_libdir}/%{name} -! -type d | \
321        grep -v 'dovecot-config\|lib90_cmusieve_plugin\.so\|libdriver_.*\.so\|libauthdb_.*\.so\|libmech_.*\.so\|drac\.so';
322) | sed -e "s|$RPM_BUILD_ROOT||" >libs.filelist
323
324#remove what we don't want
325rm -f $RPM_BUILD_ROOT%{_sysconfdir}/dovecot/README
326pushd doc
327#rm -f securecoding.txt thread-refs.txt
328popd
329
330%clean
331rm -rf $RPM_BUILD_ROOT
332
333
334%pre
335getent group dovecot >/dev/null || groupadd -r dovecot
336getent passwd dovecot >/dev/null || \
337useradd -r -g dovecot -d /usr/libexec/dovecot -s /sbin/nologin -c "Dovecot IMAP server" dovecot
338getent group dovenull >/dev/null || groupadd -r dovenull
339getent passwd dovenull >/dev/null || \
340useradd -r -g dovenull -d /usr/libexec/dovecot -s /sbin/nologin -c "Dovecot's unauthorized user" dovenull
341exit 0
342
343%post
344/sbin/chkconfig --add %{name}
345# generate the ssl certificates
346if [ ! -f %{ssldir}/certs/%{name}.pem ]; then
347    SSLDIR=%{ssldir} OPENSSLCONFIG=%{ssldir}/dovecot-openssl.cnf \
348         %{_libexecdir}/%{name}/mkcert.sh &> /dev/null
349fi
350
351if ! test -f /var/run/dovecot/login/ssl-parameters.dat; then
352    dovecot --build-ssl-parameters &>/dev/null
353fi
354exit 0
355
356%preun
357if [ $1 = 0 ]; then
358    /sbin/service %{name} stop > /dev/null 2>&1 || :
359    /sbin/chkconfig --del %{name} || :
360fi
361
362%postun
363if [ "$1" -ge "1" ]; then
364    /sbin/service %{name} condrestart 2>/dev/null || :
365fi
366
367%check
368make check
369cd dovecot-2.0-pigeonhole-%{pigeonholever}
370make check
371
372%files -f libs.filelist
373%defattr(-,root,root,-)
374%doc doc/* AUTHORS ChangeLog COPYING COPYING.LGPL COPYING.MIT NEWS README
375# %doc AUTHORS ChangeLog NEWS README doc/*.txt
376
377%dir %{_sysconfdir}/dovecot
378%dir %{_sysconfdir}/dovecot/conf.d
379%config(noreplace) %{_sysconfdir}/dovecot/dovecot.conf
380%config(noreplace) %{_sysconfdir}/dovecot/conf.d/*.conf
381%config(noreplace) %{_sysconfdir}/dovecot/conf.d/*.conf.ext
382# %config(noreplace) %{_sysconfdir}/dovecot.conf
383
384%attr(0600,root,root) %config(noreplace) %{_sysconfdir}/sysconfig/dovecot
385%{_initrddir}/dovecot
386%config(noreplace) %{_sysconfdir}/pam.d/dovecot
387%dir %{ssldir}
388%dir %{ssldir}/certs
389%dir %{ssldir}/private
390%config(noreplace) %{ssldir}/dovecot-openssl.cnf
391%attr(0600,root,root) %ghost %config(missingok,noreplace) %verify(not md5 size mtime) %{ssldir}/certs/dovecot.pem
392%attr(0600,root,root) %ghost %config(missingok,noreplace) %verify(not md5 size mtime) %{ssldir}/private/dovecot.pem
393
394%{_libexecdir}/%{name}
395%{_sbindir}/dovecot
396# %{_sbindir}/dovecotpw
397%{_bindir}/doveadm
398%{_bindir}/doveconf
399%{_bindir}/dsync
400
401%attr(0755,root,dovecot) %dir /var/run/dovecot
402%attr(0750,root,dovenull) %dir /var/run/dovecot/login
403# %attr(0755,root,dovecot) %{_libexecdir}/%{name}/mkcert.sh
404%attr(0750,dovecot,dovecot) %dir /var/lib/dovecot
405
406%{_mandir}/man1/deliver.1.gz
407%{_mandir}/man1/doveadm*.1.gz
408%{_mandir}/man1/doveconf.1.gz
409%{_mandir}/man1/dovecot*.1.gz
410%{_mandir}/man1/dsync.1.gz
411%{_mandir}/man5/dovecot.conf.5.gz
412%{_mandir}/man7/doveadm-search-query.7.gz
413
414%if %{build_pigeonhole}
415%files pigeonhole
416%defattr(-,root,root,-)
417%{_bindir}/sieve-dump
418%{_bindir}/sieve-test
419%{_bindir}/sievec
420%config(noreplace) %{_sysconfdir}/dovecot/conf.d/90-sieve.conf
421%config(noreplace) %{_sysconfdir}/dovecot/conf.d/20-managesieve.conf
422%{_libexecdir}/%{name}/managesieve
423%{_libexecdir}/%{name}/managesieve-login
424
425%dir %{_libdir}/dovecot/settings
426%{_libdir}/dovecot/settings/libmanagesieve_*.so
427
428%{_mandir}/man1/sieve-test.1.gz
429%{_mandir}/man1/sieve-dump.1.gz
430%{_mandir}/man1/sievec.1.gz
431%{_mandir}/man1/sieved.1.gz
432%{_mandir}/man7/pigeonhole.7.gz
433%endif
434
435%if %{build_mysql}
436%files mysql
437%defattr(-,root,root,-)
438%{_libdir}/%{name}/libdriver_mysql.so
439%{_libdir}/%{name}/auth/libdriver_mysql.so
440%{_libdir}/%{name}/dict/libdriver_mysql.so
441%endif
442
443%if %{build_postgres}
444%files pgsql
445%defattr(-,root,root,-)
446%{_libdir}/%{name}/libdriver_pgsql.so
447%{_libdir}/%{name}/auth/libdriver_pgsql.so
448%{_libdir}/%{name}/dict/libdriver_pgsql.so
449%endif
450
451%if %{build_sqlite}
452%files sqlite
453%defattr(-,root,root,-)
454%{_libdir}/%{name}/libdriver_sqlite.so
455%{_libdir}/%{name}/auth/libdriver_sqlite.so
456%{_libdir}/%{name}/dict/libdriver_sqlite.so
457%endif
458
459%if %{build_ldap}
460%files ldap
461%defattr(-,root,root,-)
462%{_libdir}/%{name}/auth/libauthdb_ldap.so
463%endif
464
465%if %{build_drac}
466%files drac
467%defattr(-,root,root)
468%{_libdir}/%{name}/drac_plugin.so
469%{_libdir}/%{name}/imap/drac_plugin.so
470%{_libdir}/%{name}/pop3/drac_plugin.so
471%doc README.plugin-drac
472%endif
473
474%files devel
475%defattr(-,root,root,-)
476%{_includedir}/%{name}
477%{_libdir}/%{name}/dovecot-config
478%{_datadir}/aclocal/dovecot.m4
479
480%changelog
481* Tue May 20 2014 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 2.0.21-3
482- add patch10 for fix CVE-2014-3430 (ssl conection close)
483
484* Tue Jul 31 2012 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 2.0.21-2
485- fix default ssl path (10-ssl.conf and etc)
486
487* Sat Jun 16 2012 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 2.0.21-1
488- new upstream release
489- new upstream release pigeonhole 0.2.6
490
491* Mon Oct 31 2011 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 2.0.15-1
492- new upstream release
493
494* Tue Sep 28 2011 Masanobu HAGANE <masanobu@hagane.jp> 2.0.13-2
495- revival drac_plugin.so (POP bedore SMTP) support
496- use DRAC plugin for Dovecot-2.x
497-  (get from http://sourceforge.jp/projects/dovecot2-drac/releases/)
498
499* Sat May 21 2011 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 2.0.13-1
500- new upstream release
501
502* Sun Apr 17 2011 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 2.0.12-1
503- new upstream release
504- new upstream release pigeonholever 0.2.3
505
506* Tue Apr 12 2011 Shu KONNO <owa@bg.wakwak.com> 2.0.9-6
507- rebuilt with postgresql-9.0.3
508
509* Mon Feb 14 2011 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 2.0.9-5
510- fix pigeonhole R: (remove epoch)
511
512* Mon Jan 24 2011 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 2.0.9-4
513- fix source url
514
515* Wed Jan 19 2011 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 2.0.9-3
516- disable drac sub package (drac plugin not work with dovecot 2.x)
517
518* Mon Jan 17 2011 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 2.0.9-2
519- fix config file path in dovecot.init
520- fix group of /var/run/dovecot/login
521
522* Sun Jan 16 2011 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 2.0.9-1
523- new upstream release 2.0.x
524
525* Tue Jan 11 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.2.15-2
526- rebuild with openssl-1.0.0c
527
528* Sat Oct  9 2010 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 1.2.15-1
529- new upstream release with security fixes (CVE-2010-3780,3779,3707,3706)
530- add BR: pkgconfig
531
532* Thu Mar 11 2010 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 1.2.11-1
533- new upstream release with mbox DoS fix
534
535* Mon Jan 25 2010 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 1.2.10-2
536- fix drac.so in libs.files
537
538* Mon Jan 25 2010 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 1.2.10-1
539- new upstream release
540
541* Fri Jan  8 2010 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 1.2.9-1
542- new upstream release
543- update to dovecot sieve 1.1.8
544
545* Thu Sep 17 2009 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 1.2.3-2
546- update to dovecot sieve 1.1.7 to fix BoF
547- add BR: bzip2-devel, libcap-devel
548
549* Mon Aug 10 2009 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 1.2.3-1
550- new upstream release
551
552* Wed Jul 29 2009 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 1.2.2-1
553- new upstream release 
554
555* Sun Jul 12 2009 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 1.2.1-1
556- new upstream release
557
558* Tue Jul  7 2009 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 1.2.0-1
559- new upstream 1.2.x release
560- update Patch1 to fit new release
561- README.plugin-drac in UTF-8
562
563* Tue Jun  2 2009 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 1.1.16-1
564- new upstream release
565
566* Fri May 22 2009 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.1.15-3
567- rebuilt with MySQL-5.1.34.
568
569* Tue May 19 2009 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 1.1.15-2
570- add BuildRequires gettext-devel instead of gettext
571
572* Tue May 19 2009 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 1.1.15-1
573- new upstream release
574- update patch1 to fix new release
575
576* Mon Apr 27 2009 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 1.1.14-1
577- new upstream release
578
579* Sun Mar 22 2009 NAKAMURA Kenta <kenta@vinelinux.org> 1.1.13-2
580- rebuilt with openldap-2.4.11
581
582* Sun Mar 22 2009 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 1.1.13-1
583- new upstream release
584
585* Sat Feb 07 2009 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 1.1.11-1
586- new upstream release
587
588* Sun Feb 01 2009 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 1.1.10-1
589- new upstream release
590
591* Sun Jan 12 2009 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 1.1.8-1
592- new upstream release
593
594* Sat Nov 01 2008 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 1.1.6-1
595- new upstream release
596
597* Tue Oct 21 2008 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 1.1.4-2
598- change BuildRequires sqlite-devel -> sqlite3-devel
599
600* Mon Oct 20 2008 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 1.1.4-1
601- new upstream release
602
603* Fri Sep 05 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 1.1.3-1
604- new upstream release
605
606* Sun Aug 17 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 1.1.2-1
607- new upstream release
608- split ldap plugin to subpackage
609- split sql plugins to subpackages
610- add -devel subpackage
611- update drac module, rename to -drac from -plugin-drac
612- add dovecot-sieve
613
614* Mon Mar 10 2008 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 1.0.13-0vl2
615- build for VineSeed (0vl1 is for VinePlus 4.x)
616- new upstream release
617
618* Mon Jan 07 2008 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 1.0.10-0vl2
619- build for VineSeed (0vl1 is for VinePlus 4.x)
620- new upstream release with security fix (CVE-2007-6598)
621- turn on daemon stop massage (Already start message is on)
622
623* Sat Dec 15 2007 Daisuke SUZUKI <daisuke@linux.or.jp> 1.0.9-0vl1
624- new upstream source
625
626* Wed Nov 21 2007 NAKAMURA Kenta <kenta@vinelinux.org> 1.0.7-0vl4
627- updated %%install section to support lib64 architecture
628
629* Sun Nov 04 2007 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 1.0.7-0vl3
630- rebuild for VineSeed (from VinePlus 4.x)
631
632  * Thu Sep 20 2007 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.0.5-0vl1
633  - new upstream release
634  - rebuilt with postgresql-devel 8.2.5
635
636  * Sun Aug  5 2007 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.0.3-0vl1
637  - new upstream release
638
639  * Sun May 20 2007 Daisuke SUZUKI <daisuke@linux.or.jp> 1.0.0-0vl1
640  - new upstream release
641
642* Sat Nov 03 2007 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 1.0.7-0vl2
643- add Require dracd tag in plugin-drac
644
645* Sat Nov 03 2007 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 1.0.7-0vl1
646- new upstream release
647
648* Fri Oct 12 2007 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 1.0.5-0vl4
649- fix drac plugin make method
650- change drac.so install method (use sym link)
651- add README.plugin-drac
652
653* Fri Oct 12 2007 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 1.0.5-0vl3
654- add dovecot-openssl.cnf install to doc
655- daemon restart message turn on when package is upgraded
656
657* Tue Oct 09 2007 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 1.0.5-0vl2
658- add drac.so (POP bedore SMTP) support
659
660* Mon Oct 08 2007 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 1.0.5-0vl1
661- new upstream release
662- drop patch500 (it is included in new release)
663- move Mysql buildreq tag to "if build_mysql" section
664- add Requires: postgresql-libs and Requires: MySQL-shared in "if-endif"
665- add Requires: openldap
666
667* Wed Aug 29 2007 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 1.0-0.rc17.0vl2
668- add Patch500 to fix directory traversal vulnerability (CVE-2007-2231)
669  note that version 1.0.rc29 and up have been already fixed in upstream
670
671* Mon Jan 08 2007 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 1.0-0.rc17.0vl1
672- new upstream RC release
673
674* Sun Jan 07 2007 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 1.0-0.rc16.0vl1
675- new upstream RC release
676
677* Thu Dec 21 2006 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 1.0-0.rc15.0vl2
678- add Vendor/Distribution tag
679
680* Sun Dec 10 2006 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 1.0-0.rc15.0vl1
681- new upstream RC release
682- add BuildRequires: MySQL-shared, MySQL-devel
683- update patch100
684
685* Mon Oct 30 2006 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.0-0.rc7.1vl2
686- rebuilt with MySQL 5.0.27
687
688* Mon Aug 28 2006 IWAI, Masaharu <iwai@alib.jp> 1.0-0.rc7.1vl1
689- new upstream release
690- update default settings patch (Patch100)
691- build with openldap-2.3.24
692
693* Tue Aug  1 2006 IWAI, Masaharu <iwai@alib.jp> 1.0-0.rc2.1vl1
694- first release for Vine Linux
695
696* Mon Jul 17 2006 Petr Rockai <prockai@redhat.com> - 1.0-0.rc2.1
697- reenable inotify and see what happens
698
699* Thu Jul 13 2006 Petr Rockai <prockai@redhat.com> - 1.0-0.rc2
700- update to latest upstream release candidate
701- disable inotify for now, doesn't build -- this needs fixing though
702
703* Wed Jul 12 2006 Jesse Keating <jkeating@redhat.com> - 1.0-0.beta8.2.1
704- rebuild
705
706* Thu Jun 08 2006 Petr Rockai <prockai@redhat.com> - 1.0-0.beta8.2
707- put back pop3_uidl_format default that got lost
708  in the beta2->beta7 upgrade (would cause pop3 to not work
709  at all in many situations)
710
711* Thu May 04 2006 Petr Rockai <prockai@redhat.com> - 1.0-0.beta8.1
712- upgrade to latest upstream beta release (beta8)
713- contains a security fix in mbox handling
714
715* Thu May 04 2006 Petr Rockai <prockai@redhat.com> - 1.0-0.beta7.1
716- upgrade to latest upstream beta release
717- fixed BR 173048
718
719* Fri Mar 17 2006 Petr Rockai <prockai@redhat.com> - 1.0-0.beta2.8
720- fix sqlite detection in upstream configure checks, second part
721  of #182240
722
723* Wed Mar  8 2006 Bill Nottingham <notting@redhat.com> - 1.0-0.beta2.7
724- fix scriplet noise some more
725
726* Mon Mar  6 2006 Jeremy Katz <katzj@redhat.com> - 1.0-0.beta2.6
727- fix scriptlet error (mitr, #184151)
728
729* Mon Feb 27 2006 Petr Rockai <prockai@redhat.com> - 1.0-0.beta2.5
730- fix #182240 by looking in lib64 for libs first and then lib
731- fix comment #1 in #182240 by copying over the example config files
732  to documentation directory
733
734* Fri Feb 10 2006 Jesse Keating <jkeating@redhat.com> - 1.0-0.beta2.4.1
735- bump again for double-long bug on ppc(64)
736
737* Thu Feb 09 2006 Petr Rockai <prockai@redhat.com> - 1.0-0.beta2.4
738- enable inotify as it should work now (#179431)
739
740* Tue Feb 07 2006 Jesse Keating <jkeating@redhat.com> - 1.0-0.beta2.3.1
741- rebuilt for new gcc4.1 snapshot and glibc changes
742
743* Thu Feb 02 2006 Petr Rockai <prockai@redhat.com> - 1.0-0.beta2.3
744- change the compiled-in defaults and adjust the default's configfile
745  commented-out example settings to match compiled-in defaults,
746  instead of changing the defaults only in the configfile, as per #179432
747- fix #179574 by providing a default uidl_format for pop3
748- half-fix #179620 by having plaintext auth enabled by default... this
749  needs more thinking (which one we really want) and documentation
750  either way
751
752* Tue Jan 31 2006 Petr Rockai <prockai@redhat.com> - 1.0-0.beta2.2
753- update URL in description
754- call dovecot --build-ssl-parameters in postinst as per #179430
755
756* Mon Jan 30 2006 Petr Rockai <prockai@redhat.com> - 1.0-0.beta2.1
757- fix spec to work with BUILD_DIR != SOURCE_DIR
758- forward-port and split pam-nocred patch
759
760* Mon Jan 23 2006 Petr Rockai <prockai@redhat.com> - 1.0-0.beta2
761- new upstream version, hopefully fixes #173928, #163550
762- fix #168866, use install -p to install documentation
763
764* Fri Dec 09 2005 Jesse Keating <jkeating@redhat.com>
765- rebuilt
766
767* Sat Nov 12 2005 Tom Lane <tgl@redhat.com> - 0.99.14-10.fc5
768- Rebuild due to mysql update.
769
770* Wed Nov  9 2005 Tomas Mraz <tmraz@redhat.com> - 0.99.14-9.fc5
771- rebuilt with new openssl
772
773* Fri Sep 30 2005 Tomas Mraz <tmraz@redhat.com> - 0.99.14-8.fc5
774- use include instead of pam_stack in pam config
775
776* Wed Jul 27 2005 John Dennis <jdennis@redhat.com> - 0.99.14-7.fc5
777- fix bug #150888, log authenication failures with ip address
778
779* Fri Jul 22 2005 John Dennis <jdennis@redhat.com> - 0.99.14-6.fc5
780- fix bug #149673, add dummy PAM_TTY
781
782* Thu Apr 28 2005 John Dennis <jdennis@redhat.com> - 0.99.14-5.fc4
783- fix bug #156159 insecure location of restart flag file
784
785* Fri Apr 22 2005 John Dennis <jdennis@redhat.com> - 0.99.14-4.fc4
786- openssl moved its certs, CA, etc. from /usr/share/ssl to /etc/pki
787
788* Tue Apr 12 2005 Tom Lane <tgl@redhat.com> 0.99.14-3.fc4
789- Rebuild for Postgres 8.0.2 (new libpq major version).
790
791* Mon Mar  7 2005 John Dennis <jdennis@redhat.com> 0.99.14-2.fc4
792- bump rev for gcc4 build
793
794* Mon Feb 14 2005 John Dennis <jdennis@redhat.com> - 0.99.14-1.fc4
795- fix bug #147874, update to 0.99.14 release
796  v0.99.14 2005-02-11  Timo Sirainen <tss at iki.fi>
797  - Message address fields are now parsed differently, fixing some
798    issues with spaces. Affects only clients which use FETCH ENVELOPE
799    command.
800  - Message MIME parser was somewhat broken with missing MIME boundaries
801  - mbox: Don't allow X-UID headers in mails to override the UIDs we
802    would otherwise set. Too large values can break some clients and
803    cause other trouble.
804  - passwd-file userdb wasn't working
805  - PAM crashed with 64bit systems
806  - non-SSL inetd startup wasn't working
807  - If UID FETCH notices and skips an expunged message, don't return
808    a NO reply. It's not needed and only makes clients give error
809    messages.
810
811* Wed Feb  2 2005 John Dennis <jdennis@redhat.com> - 0.99.13-4.devel
812- fix bug #146198, clean up temp kerberos tickets
813
814* Mon Jan 17 2005 John Dennis <jdennis@redhat.com> 0.99.13-3.devel
815- fix bug #145214, force mbox_locks to fcntl only
816- fix bug #145241, remove prereq on postgres and mysql, allow rpm auto
817  dependency generator to pick up client lib dependency if needed.
818
819* Thu Jan 13 2005 John Dennis <jdennis@redhat.com> 0.99.13-2.devel
820- make postgres & mysql conditional build
821- remove execute bit on migration example scripts so rpm does not pull
822  in additional dependences on perl and perl modules that are not present
823  in dovecot proper.
824- add REDHAT-FAQ.txt to doc directory
825
826* Thu Jan  6 2005 John Dennis <jdennis@redhat.com> 0.99.13-1.devel
827- bring up to date with latest upstream, 0.99.13, bug #143707
828  also fix bug #14462, bad dovecot-uid macro name
829
830* Thu Jan  6 2005 John Dennis <jdennis@redhat.com> 0.99.11-10.devel
831- fix bug #133618, removed LITERAL+ capability from capability string
832
833* Wed Jan  5 2005 John Dennis <jdennis@redhat.com> 0.99.11-9.devel
834- fix bug #134325, stop dovecot during installation
835
836* Wed Jan  5 2005 John Dennis <jdennis@redhat.com> 0.99.11-8.devel
837- fix bug #129539, dovecot starts too early,
838  set chkconfig to 65 35 to match cyrus-imapd
839- also delete some old commented out code from SSL certificate creation
840
841* Thu Dec 23 2004 John Dennis <jdennis@redhat.com> 0.99.11-7.devel
842- add UW to Dovecot migration documentation and scripts, bug #139954
843  fix SSL documentation and scripts, add missing documentation, bug #139276
844
845* Thu Nov 15 2004 Warren Togami <wtogami@redhat.com> 0.99.11-2.FC4.1
846- rebuild against MySQL4
847
848* Thu Oct 21 2004 John Dennis <jdennis@redhat.com>
849- fix bug #136623
850  Change License field from GPL to LGPL to reflect actual license
851
852* Thu Sep 30 2004 John Dennis <jdennis@redhat.com> 0.99.11-1.FC3.3
853- fix bug #124786, listen to ipv6 as well as ipv4
854
855* Wed Sep  8 2004 John Dennis <jdennis@redhat.com> 0.99.11-1.FC3.1
856- bring up to latest upstream,
857  comments from Timo Sirainen <tss at iki.fi> on release v0.99.11 2004-09-04 
858  + 127.* and ::1 IP addresses are treated as secured with
859    disable_plaintext_auth = yes
860  + auth_debug setting for extra authentication debugging
861  + Some documentation and error message updates
862  + Create PID file in /var/run/dovecot/master.pid
863  + home setting is now optional in static userdb
864  + Added mail setting to static userdb
865  - After APPENDing to selected mailbox Dovecot didn't always notice the
866    new mail immediately which broke some clients
867  - THREAD and SORT commands crashed with some mails
868  - If APPENDed mail ended with CR character, Dovecot aborted the saving
869  - Output streams sometimes sent data duplicated and lost part of it.
870    This could have caused various strange problems, but looks like in
871    practise it rarely caused real problems.
872
873* Wed Aug  4 2004 John Dennis <jdennis@redhat.com>
874- change release field separator from comma to dot, bump build number
875
876* Mon Aug  2 2004 John Dennis <jdennis@redhat.com> 0.99.10.9-1,FC3,1
877- bring up to date with latest upstream, fixes include:
878- LDAP support compiles now with Solaris LDAP library
879- IMAP BODY and BODYSTRUCTURE replies were wrong for MIME parts which
880  didn't contain Content-Type header.
881- MySQL and PostgreSQL auth didn't reconnect if connection was lost
882  to SQL server
883- Linking fixes for dovecot-auth with some systems
884- Last fix for disconnecting client when downloading mail longer than
885  30 seconds actually made it never disconnect client. Now it works
886  properly: disconnect when client hasn't read _any_ data for 30
887  seconds.
888- MySQL compiling got broken in last release
889- More PostgreSQL reconnection fixing
890
891
892* Mon Jul 26 2004 John Dennis <jdennis@redhat.com> 0.99.10.7-1,FC3,1
893- enable postgres and mySQL in build
894- fix configure to look for mysql in alternate locations
895- nuke configure script in tar file, recreate from configure.in using autoconf
896
897- bring up to latest upstream, which included:
898- Added outlook-pop3-no-nuls workaround to fix Outlook hang in mails with NULs.
899- Config file lines can now contain quoted strings ("value ")
900- If client didn't finish downloading a single mail in 30 seconds,
901  Dovecot closed the connection. This was supposed to work so that
902  if client hasn't read data at all in 30 seconds, it's disconnected.
903- Maildir: LIST now doesn't skip symlinks
904
905
906* Wed Jun 30 2004 John Dennis <jdennis@redhat.com>
907- bump rev for build
908- change rev for FC3 build
909
910* Fri Jun 25 2004 John Dennis <jdennis@redhat.com> - 0.99.10.6-1
911- bring up to date with upstream,
912  recent change log comments from Timo Sirainen were:
913  SHA1 password support using OpenSSL crypto library
914  mail_extra_groups setting
915  maildir_stat_dirs setting
916  Added NAMESPACE capability and command
917  Autocreate missing maildirs (instead of crashing)
918  Fixed occational crash in maildir synchronization
919  Fixed occational assertion crash in ioloop.c
920  Fixed FreeBSD compiling issue
921  Fixed issues with 64bit Solaris binary
922
923* Tue Jun 15 2004 Elliot Lee <sopwith@redhat.com>
924- rebuilt
925
926* Thu May 27 2004 David Woodhouse <dwmw2@redhat.com> 0.99.10.5-1
927- Update to 0.99.10.5 to fix maildir segfaults (#123022)
928
929* Fri May 07 2004 Warren Togami <wtogami@redhat.com> 0.99.10.4-4
930- default auth config that is actually usable
931- Timo Sirainen (author) suggested functionality fixes
932  maildir, imap-fetch-body-section, customflags-fix
933
934* Mon Feb 23 2004 Tim Waugh <twaugh@redhat.com>
935- Use ':' instead of '.' as separator for chown.
936
937* Tue Feb 17 2004 Jeremy Katz <katzj@redhat.com> - 0.99.10.4-3
938- restart properly if it dies (#115594)
939
940* Fri Feb 13 2004 Elliot Lee <sopwith@redhat.com>
941- rebuilt
942
943* Mon Nov 24 2003 Jeremy Katz <katzj@redhat.com> 0.99.10.4-1
944- update to 0.99.10.4
945
946* Mon Oct  6 2003 Jeremy Katz <katzj@redhat.com> 0.99.10-7
947- another patch from upstream to fix returning invalid data on partial
948  BODY[part] fetches
949- patch to avoid confusion of draft/deleted in indexes
950
951* Tue Sep 23 2003 Jeremy Katz <katzj@redhat.com> 0.99.10-6
952- add some patches from upstream (#104288)
953
954* Thu Sep  4 2003 Jeremy Katz <katzj@redhat.com> 0.99.10-5
955- fix startup with 2.6 with patch from upstream (#103801)
956
957* Tue Sep  2 2003 Jeremy Katz <katzj@redhat.com> 0.99.10-4
958- fix assert in search code (#103383)
959
960* Tue Jul 22 2003 Nalin Dahyabhai <nalin@redhat.com> 0.99.10-3
961- rebuild
962
963* Thu Jul 17 2003 Bill Nottingham <notting@redhat.com> 0.99.10-2
964- don't run by default
965
966* Thu Jun 26 2003 Jeremy Katz <katzj@redhat.com> 0.99.10-1
967- 0.99.10
968
969* Mon Jun 23 2003 Jeremy Katz <katzj@redhat.com> 0.99.10-0.2
970- 0.99.10-rc2 (includes ssl detection fix)
971- a few tweaks from fedora
972  - noreplace the config file
973  - configure --with-ldap to get LDAP enabled
974
975* Mon Jun 23 2003 Jeremy Katz <katzj@redhat.com> 0.99.10-0.1
976- 0.99.10-rc1
977- add fix for ssl detection
978- add zlib-devel to BuildRequires
979- change pam service name to dovecot
980- include pam config
981
982* Thu May  8 2003 Jeremy Katz <katzj@redhat.com> 0.99.9.1-1
983- update to 0.99.9.1
984- add patch from upstream to fix potential bug when fetching with
985  CR+LF linefeeds
986- tweak some things in the initscript and config file noticed by the
987  fedora folks
988
989* Sun Mar 16 2003 Jeremy Katz <katzj@redhat.com> 0.99.8.1-2
990- fix ssl dir
991- own /var/run/dovecot/login with the correct perms
992- fix chmod/chown in post
993
994* Fri Mar 14 2003 Jeremy Katz <katzj@redhat.com> 0.99.8.1-1
995- update to 0.99.8.1
996
997* Tue Mar 11 2003 Jeremy Katz <katzj@redhat.com> 0.99.8-2
998- add a patch to fix quoting problem from CVS
999
1000* Mon Mar 10 2003 Jeremy Katz <katzj@redhat.com> 0.99.8-1
1001- 0.99.8
1002- add some buildrequires
1003- fixup to build with openssl 0.9.7
1004- now includes a pop3 daemon (off by default)
1005- clean up description and %%preun
1006- add dovecot user (uid/gid of 97)
1007- add some buildrequires
1008- move the ssl cert to %{_datadir}/ssl/certs
1009- create a dummy ssl cert in %post
1010- own /var/run/dovecot
1011- make the config file a source so we get default mbox locks of fcntl
1012
1013* Sun Dec  1 2002 Seth Vidal <skvidal@phy.duke.edu>
1014- 0.99.4 and fix startup so it starts imap-master not vsftpd :)
1015
1016* Tue Nov 26 2002 Seth Vidal <skvidal@phy.duke.edu>
1017- first build
Note: See TracBrowser for help on using the repository browser.