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

Revision 8761, 33.9 KB checked in by tomop, 10 years ago (diff)

dovecot-2.2.13-2

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