source: projects/specs/trunk/d/dovecot/dovecot-vl.spec @ 8161

Revision 8161, 33.5 KB checked in by iwamoto, 10 years ago (diff)

dovecot: new upstream release 2.2.10

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