%bcond_with systemd %define build_postgres 1 %define build_mysql 1 %define build_sqlite 1 %define build_ldap 1 # pigeonhole %define build_pigeonhole 1 %define pigeonholever 0.5.21.1 %global restart_flag /run/%{name}/%{name}-restart-after-rpm-install Summary: Dovecot Secure imap server Summary(ja): Dovecot セキュア IMAP サーバ Name: dovecot Version: 2.3.21.1 Release: 1%{?_dist_release}%{?with_systemd:.systemd} Group: servers Vendor: Project Vine Distribution: Vine Linux Packager: iwamoto #dovecot itself is MIT, a few sources are PD, pigeonhole is LGPLv2 License: MIT and LGPLv2 and BSD with advertising URL: https://www.dovecot.org/ %global shortver %(echo "%{version}" | cut -d . -f 1,2) Source: https://dovecot.org/releases/%{shortver}/%{name}-%{version}.tar.gz Source1: dovecot.init Source2: dovecot.pam Source8: https://pigeonhole.dovecot.org/releases/%{shortver}/dovecot-%{shortver}-pigeonhole-%{pigeonholever}.tar.gz Source9: dovecot.sysconfig Source10: dovecot.tmpfilesd Source14: dovecot.conf.5 Source16: dovecot.sysusers Patch1: dovecot-2.0-defaultconfig.patch Patch2: dovecot-1.0.beta2-mkcert-permissions.patch # local filesystem rules Patch3: dovecot-1.0.rc7-mkcert-paths.patch Patch4: dovecot-2.2-mkcert-10years.patch Patch5: dovecot-2.1.10-waitonline.patch Patch22: dovecot-configure-c99.patch Patch100: dovecot-2.3.14-opensslv3.patch # Fix assert-crash after "Process .. is ignoring idle SIGINT" error # https://github.com/dovecot/core/commit/5dbe5119f3a0b7782d8c2ce67c35f0df2fc61747 Patch101: 5dbe5119f3a0b7782d8c2ce67c35f0df2fc61747.patch Buildroot: %{_tmppath}/%{name}-%{version}-%{release}-root BuildRequires: openssl-devel, pam-devel, pkgconfig(zlib) BuildRequires: bzip2-devel, libcap-devel BuildRequires: libtool autoconf automake, gettext-devel BuildRequires: pkgconfig BuildRequires: krb5-devel BuildRequires: tcp_wrappers BuildRequires: libxcrypt-devel # Package includes an initscript service file, # needs to require initscripts package Requires: initscripts Requires(pre): /usr/sbin/useradd Requires(post): /usr/sbin/useradd Requires(preun): /usr/sbin/userdel, /usr/sbin/groupdel %if %{with systemd} %{?systemd_requires} %else Requires(post): /sbin/chkconfig, /sbin/chkconfig Requires(preun): /sbin/chkconfig, /sbin/service Requires(postun): /sbin/service %endif %if %{build_postgres} BuildRequires: libpq-devel %endif %if %{build_mysql} BuildRequires: libmariadb-devel %endif %if %{build_sqlite} BuildRequires: sqlite3-devel %endif %if %{build_ldap} BuildRequires: openldap-devel %endif %global __provides_exclude_from %{_docdir} %global __requires_exclude_from %{_docdir} %define docdir %{_docdir}/%{name} %define ssldir %{_sysconfdir}/pki/%{name} %description Dovecot is an IMAP server for Linux/UNIX-like systems, written with security primarily in mind. It also contains a small POP3 server. It supports mail in either of maildir or mbox formats. The SQL drivers and authentication plugins are in their subpackages. %if %{build_pigeonhole} %package pigeonhole Requires: %{name} = %{version}-%{release} Obsoletes: dovecot-sieve Summary: Sieve and managesieve plug-in for dovecot Group: servers License: MIT and LGPLv2 %description pigeonhole This package provides sieve and managesieve plug-in for dovecot LDA. %endif %if %{build_postgres} %package pgsql Requires: %{name} = %{version}-%{release} Summary: Postgres SQL backend for dovecot Group: servers %description pgsql This package provides the Postgres SQL backend for dovecot-auth etc. %endif %if %{build_mysql} %package mysql Requires: %{name} = %{version}-%{release} Summary: MySQL backend for dovecot Group: servers %description mysql This package provides the MySQL backend for dovecot-auth etc. %endif %if %{build_sqlite} %package sqlite Requires: %{name} = %{version}-%{release} Summary: SQLite backend for dovecot Group: servers %description sqlite This package provides the SQLite backend for dovecot-auth etc. %endif %if %{build_ldap} %package ldap Requires: %{name} = %{version}-%{release} Summary: LDAP auth plugin for dovecot Group: servers %description ldap This package provides the LDAP auth plugin for dovecot-auth etc. %endif %package devel Requires: %{name} = %{version}-%{release} Summary: Development files dor dovecot Group: programming %description devel This package provides the development files for dovecot. %debug_package %prep %setup -q %autopatch -p1 %if %{build_pigeonhole} %setup -q -D -T -a 8 %endif %build export CFLAGS="%{__global_cflags} -fno-strict-aliasing -fstack-reuse=none" export LDFLAGS="-Wl,-z,now -Wl,-z,relro %{?__global_ldflags}" # rm -f ./configure # autoreconf -i -f %configure \ INSTALL_DATA="install -c -p -m644" \ --with-rundir=%{_rundir}/%{name} \ --docdir=%{_docdir}/%{name} \ --disable-static \ --disable-rpath \ %if %{build_postgres} --with-pgsql \ %endif %if %{build_mysql} --with-mysql \ %endif %if %{build_sqlite} --with-sqlite \ %endif --with-sql=plugin \ --with-gssapi=plugin \ --with-ssl=openssl \ --with-ssldir=%{ssldir} \ --with-libcap \ --with-libwrap \ --with-zlib \ %if %{build_ldap} --with-ldap=plugin \ %endif %if %{with systemd} --with-systemd \ --with-systemdsystemunitdir=%{_unitdir} \ %endif --with-docs sed -i 's|/etc/ssl|/etc/pki/dovecot|' doc/mkcert.sh doc/example-config/conf.d/10-ssl.conf sed -i -e 's/^#define CLIENT_PROGRESS_TIMEOUT.*$/#define CLIENT_PROGRESS_TIMEOUT 30/' src/lib-http/test-http-payload.c make %{?_smp_mflags} %if %{build_pigeonhole} #pigeonhole pushd dovecot-2.3-pigeonhole-%{pigeonholever} autoreconf -fiv %configure \ INSTALL_DATA="install -c -p -m644" \ --disable-static \ --with-dovecot=../ \ --without-unfinished-features make %{?_smp_mflags} popd %endif %install rm -rf $RPM_BUILD_ROOT make install DESTDIR=$RPM_BUILD_ROOT rm -rf $RPM_BUILD_ROOT%{_datadir}/%{name} %if %{build_pigeonhole} pushd dovecot-2.3-pigeonhole-%{pigeonholever} make install DESTDIR=$RPM_BUILD_ROOT popd %endif rm -rf pkgdoc mkdir -p pkgdoc mv -f %{buildroot}%{_pkgdocdir}/* pkgdoc/ # install -p -m 755 src/plugins/convert/convert-tool $RPM_BUILD_ROOT%{_libexecdir}/%{name} %if %{with systemd} install -p -D -m 644 %{SOURCE10} $RPM_BUILD_ROOT%{_tmpfilesdir}/dovecot.conf install -p -D -m 0644 %{SOURCE16} $RPM_BUILD_ROOT%{_sysusersdir}/dovecot.sysusers %else mkdir -p $RPM_BUILD_ROOT%{_initrddir} install -p -m 755 %{SOURCE1} $RPM_BUILD_ROOT%{_initrddir}/dovecot %endif mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/pam.d install -p -m 644 %{SOURCE2} $RPM_BUILD_ROOT%{_sysconfdir}/pam.d/dovecot mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/sysconfig install -p -m 600 %{SOURCE9} $RPM_BUILD_ROOT%{_sysconfdir}/sysconfig/dovecot #install man pages install -p -D -m 644 %{SOURCE14} $RPM_BUILD_ROOT%{_mandir}/man5/dovecot.conf.5 # generate ghost .pem file mkdir -p $RPM_BUILD_ROOT%{ssldir}/certs mkdir -p $RPM_BUILD_ROOT%{ssldir}/private touch $RPM_BUILD_ROOT%{ssldir}/certs/dovecot.pem chmod 600 $RPM_BUILD_ROOT%{ssldir}/certs/dovecot.pem touch $RPM_BUILD_ROOT%{ssldir}/private/dovecot.pem chmod 600 $RPM_BUILD_ROOT%{ssldir}/private/dovecot.pem mkdir -p $RPM_BUILD_ROOT/var/run/dovecot/login chmod 755 $RPM_BUILD_ROOT/var/run/dovecot chmod 700 $RPM_BUILD_ROOT/var/run/dovecot/login # Install dovecot.conf and dovecot-openssl.cnf mkdir -p $RPM_BUILD_ROOT%{ssldir} mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/dovecot/conf.d install -p -m 644 doc/example-config/dovecot.conf $RPM_BUILD_ROOT%{_sysconfdir}/dovecot install -p -m 644 doc/example-config/conf.d/*.conf $RPM_BUILD_ROOT%{_sysconfdir}/dovecot/conf.d install -p -m 644 doc/example-config/conf.d/*.conf.ext $RPM_BUILD_ROOT%{_sysconfdir}/dovecot/conf.d install -p -m 644 doc/dovecot-openssl.cnf $RPM_BUILD_ROOT%{ssldir}/dovecot-openssl.cnf # Install pigeonhole conf pushd dovecot-2.3-pigeonhole-%{pigeonholever} install -p -m 644 doc/example-config/conf.d/*.conf $RPM_BUILD_ROOT%{_sysconfdir}/dovecot/conf.d popd install -p -m755 doc/mkcert.sh $RPM_BUILD_ROOT%{_libexecdir}/%{name}/mkcert.sh #mkdir -p pkgdoc/examples/ # for f in `cd doc; echo *.conf`; do # install -p -m644 doc/$f pkgdoc/examples/$f; # done mkdir -p $RPM_BUILD_ROOT/var/lib/dovecot #remove the libtool archives find $RPM_BUILD_ROOT%{_libdir}/%{name}/ -name '*.la' | xargs rm -f #prepare the filelist ( find ${RPM_BUILD_ROOT}%{_libdir}/%{name} -type d | sed -e "s|^|%dir |"; find ${RPM_BUILD_ROOT}%{_libdir}/%{name} -! -type d | \ grep -v 'dovecot-config\|lib90_cmusieve_plugin\.so\|libdriver_.*\.so\|libauthdb_.*\.so\|libmech_.*\.so'; ) | sed -e "s|$RPM_BUILD_ROOT||" >libs.filelist #remove what we don't want rm -f $RPM_BUILD_ROOT%{_sysconfdir}/dovecot/README pushd doc #rm -f securecoding.txt thread-refs.txt popd %check %ifnarch %{ix86} make check cd dovecot-2.3-pigeonhole-%{pigeonholever} make check %endif %clean rm -rf $RPM_BUILD_ROOT %pre %if %{with systemd} %sysusers_create_compat %{SOURCE16} # do not let dovecot run during upgrade rhbz#134325 if [ "$1" = "2" ]; then rm -f %restart_flag /bin/systemctl is-active %{name}.service >/dev/null 2>&1 && touch %restart_flag ||: /bin/systemctl stop %{name}.service >/dev/null 2>&1 fi %else getent group dovecot >/dev/null || groupadd -r dovecot getent passwd dovecot >/dev/null || \ useradd -r -g dovecot -d /usr/libexec/dovecot -s /sbin/nologin -c "Dovecot IMAP server" dovecot getent group dovenull >/dev/null || groupadd -r dovenull getent passwd dovenull >/dev/null || \ useradd -r -g dovenull -d /usr/libexec/dovecot -s /sbin/nologin -c "Dovecot's unauthorized user" dovenull if [ "$1" = "2" ]; then install -d -m 0755 -g dovecot -d /run/dovecot >/dev/null 2>&1 ||: rm -f %restart_flag /sbin/service dovecot status >/dev/null 2>&1 && touch %restart_flag ||: /sbin/service dovecot stop 2>/dev/null ||: fi %endif exit 0 %post %if %{with systemd} %systemd_post dovecot.service install -d -m 0755 -g dovecot -d /run/dovecot install -d -m 0755 -d /run/dovecot/empty install -d -m 0750 -g dovenull -d /run/dovecot/login install -d -m 0750 -g dovenull -d /run/dovecot/token-login %else /sbin/chkconfig --add %{name} %endif # generate the ssl certificates if [ ! -f %{ssldir}/certs/%{name}.pem ]; then SSLDIR=%{ssldir} OPENSSLCONFIG=%{ssldir}/dovecot-openssl.cnf \ %{_libexecdir}/%{name}/mkcert.sh &> /dev/null fi if ! test -f /var/run/dovecot/login/ssl-parameters.dat; then dovecot --build-ssl-parameters &>/dev/null fi exit 0 %preun %if %{with systemd} %systemd_preun dovecot.service dovecot.socket %else if [ $1 = 0 -o -x /bin/systemctl ]; then /sbin/service %{name} stop > /dev/null 2>&1 || : /sbin/chkconfig --del %{name} || : fi %endif %postun %if %{with systemd} /usr/bin/systemctl daemon-reload >/dev/null 2>&1 || : if [ "$1" -ge "1" -a -e %restart_flag ]; then /usr/bin/systemctl start dovecot.service >/dev/null 2>&1 || : rm -f %restart_flag fi %else if [ "$1" -ge "1" -a -e %restart_flag ]; then /sbin/service %{name} start 2>/dev/null ||: fi %endif %posttrans %if %{with systemd} # dovecot should be started again in %%postun, but it's not executed on reinstall # if it was already started, restart_flag won't be here, so it's ok to test it again if [ -e %restart_flag ]; then /usr/bin/systemctl start dovecot.service >/dev/null 2>&1 || : rm -f %restart_flag fi %else if [ -e %restart_flag ]; then /sbin/service %{name} start 2>/dev/null ||: rm -f %restart_flag fi %endif %files -f libs.filelist %defattr(-,root,root,-) %license COPYING COPYING.LGPL COPYING.MIT %doc AUTHORS ChangeLog NEWS README %doc pkgdoc/* %dir %{_sysconfdir}/dovecot %dir %{_sysconfdir}/dovecot/conf.d %config(noreplace) %{_sysconfdir}/dovecot/dovecot.conf %config(noreplace) %{_sysconfdir}/dovecot/conf.d/*.conf %config(noreplace) %{_sysconfdir}/dovecot/conf.d/*.conf.ext # %config(noreplace) %{_sysconfdir}/dovecot.conf %attr(0600,root,root) %config(noreplace) %{_sysconfdir}/sysconfig/dovecot %if %{with systemd} %{_unitdir}/dovecot.service %{_unitdir}/dovecot.socket %{_tmpfilesdir}/dovecot.conf %{_sysusersdir}/dovecot.sysusers %else %{_initrddir}/dovecot %endif %config(noreplace) %{_sysconfdir}/pam.d/dovecot %dir %{ssldir} %dir %{ssldir}/certs %dir %{ssldir}/private %config(noreplace) %{ssldir}/dovecot-openssl.cnf %attr(0600,root,root) %ghost %config(missingok,noreplace) %verify(not md5 size mtime) %{ssldir}/certs/dovecot.pem %attr(0600,root,root) %ghost %config(missingok,noreplace) %verify(not md5 size mtime) %{ssldir}/private/dovecot.pem %{_libexecdir}/%{name} %{_libdir}/dovecot/auth/libauthdb_imap.so %{_libdir}/dovecot/auth/libmech_gssapi.so %{_sbindir}/dovecot # %{_sbindir}/dovecotpw %{_bindir}/doveadm %{_bindir}/doveconf %{_bindir}/dovecot-sysreport %{_bindir}/dsync %attr(0755,root,dovecot) %dir /var/run/dovecot %attr(0750,root,dovenull) %dir /var/run/dovecot/login # %attr(0755,root,dovecot) %{_libexecdir}/%{name}/mkcert.sh %attr(0750,dovecot,dovecot) %dir /var/lib/dovecot %{_mandir}/man1/deliver.1.gz %{_mandir}/man1/doveadm*.1.gz %{_mandir}/man1/doveconf.1.gz %{_mandir}/man1/dovecot*.1.gz %{_mandir}/man1/dsync.1.gz %{_mandir}/man5/dovecot.conf.5.gz %{_mandir}/man7/doveadm-search-query.7.gz %if %{build_pigeonhole} %files pigeonhole %defattr(-,root,root,-) %{_bindir}/sieve-dump %{_bindir}/sieve-filter %{_bindir}/sieve-test %{_bindir}/sievec %config(noreplace) %{_sysconfdir}/dovecot/conf.d/90-sieve.conf %config(noreplace) %{_sysconfdir}/dovecot/conf.d/20-managesieve.conf %{_libexecdir}/%{name}/managesieve %{_libexecdir}/%{name}/managesieve-login %dir %{_libdir}/dovecot/settings %{_libdir}/dovecot/settings/libmanagesieve_*.so %{_mandir}/man1/sieve-dump.1.gz %{_mandir}/man1/sieve-filter.1.gz %{_mandir}/man1/sieve-test.1.gz %{_mandir}/man1/sievec.1.gz %{_mandir}/man1/sieved.1.gz %{_mandir}/man7/pigeonhole.7.gz %endif %if %{build_mysql} %files mysql %defattr(-,root,root,-) %{_libdir}/%{name}/libdriver_mysql.so %{_libdir}/%{name}/auth/libdriver_mysql.so %{_libdir}/%{name}/dict/libdriver_mysql.so %endif %if %{build_postgres} %files pgsql %defattr(-,root,root,-) %{_libdir}/%{name}/libdriver_pgsql.so %{_libdir}/%{name}/auth/libdriver_pgsql.so %{_libdir}/%{name}/dict/libdriver_pgsql.so %endif %if %{build_sqlite} %files sqlite %defattr(-,root,root,-) %{_libdir}/%{name}/libdriver_sqlite.so %{_libdir}/%{name}/auth/libdriver_sqlite.so %{_libdir}/%{name}/dict/libdriver_sqlite.so %endif %if %{build_ldap} %files ldap %defattr(-,root,root,-) %{_libdir}/%{name}/auth/libauthdb_ldap.so %endif %files devel %defattr(-,root,root,-) %{_includedir}/%{name} %{_libdir}/%{name}/dovecot-config %{_datadir}/aclocal/dovecot.m4 %if %{build_pigeonhole} %{_datadir}/aclocal/dovecot-pigeonhole.m4 %endif %changelog * Wed Aug 14 2024 Tomohiro "Tomo-p" KATO 2.3.31.1-1 - new upstream release. * Sun Aug 04 2024 Tomohiro "Tomo-p" KATO 2.3.21-2 - fixed assert-crash after "Process .. is ignoring idle SIGINT" error. * Fri Sep 15 2023 Tomohiro "Tomo-p" KATO 2.3.21-1 - new upstream release. * Fri Dec 23 2022 Tomohiro "Tomo-p" KATO 2.3.20-1 - new upstream release. * Mon Nov 14 2022 Tomohiro "Tomo-p" KATO 2.3.19.1-2 - rebuilt with openldap-2.6.3. * Wed Jun 15 2022 Tomohiro "Tomo-p" KATO 2.3.19.1-1 - new upstream release. * Tue May 10 2022 Tomohiro "Tomo-p" KATO 2.3.19-1 - new upstream release. * Thu Feb 03 2022 Tomohiro "Tomo-p" KATO 2.3.18-1 - new upstream release. * Tue Dec 07 2021 Tomohiro "Tomo-p" KATO 2.3.17.1-1 - new upstream release. * Fri Oct 29 2021 Tomohiro "Tomo-p" KATO 2.3.17-1 - new upstream release. * Tue Oct 05 2021 Tomohiro "Tomo-p" KATO 2.3.16-2 - rebuilt with openssl-3.0.0. - dropped Patch10 and 11. - imported Patch100 from rawhide. * Fri Aug 06 2021 Tomohiro "Tomo-p" KATO 2.3.16-1 - new upstream release. * Tue Jun 22 2021 Tomohiro "Tomo-p" KATO 2.3.15-1 - new upstream release. * Thu Mar 04 2021 Tomohiro "Tomo-p" KATO 2.3.14-1 - new upstream release. * Tue Jan 05 2021 Tomohiro "Tomo-p" KATO 2.3.13-1 - new upstream release. * Tue Aug 18 2020 Tomohiro "Tomo-p" KATO 2.3.11.3-2 - enabled debuginfo. * Tue Aug 18 2020 Tomohiro "Tomo-p" KATO 2.3.11.3-1 - new upstream release. - updated pigeonhole to 0.5.11. * Mon May 18 2020 Tomohiro "Tomo-p" KATO 2.3.10.1-1 - new upstream release. - added systemd support (disabled as default). * Sat Mar 07 2020 Tomohiro "Tomo-p" KATO 2.3.10-1 - new upstream release. - updated pigeonhole to 0.5.10. * Wed Feb 12 2020 Tomohiro "Tomo-p" KATO 2.3.9.3-1 - new upstream release. * Tue Dec 17 2019 Tomohiro "Tomo-p" KATO 2.3.9.2-1 - new upstream release. - updated pigeonhole to 0.5.9. * Thu Aug 29 2019 Tomohiro "Tomo-p" KATO 2.3.7.2-1 - new upstream release. - updated pigeonhole to 0.5.7.2. * Sun Aug 25 2019 Tomohiro "Tomo-p" KATO 2.3.7.1-1 - new upstream release. - updated pigeonhole to 0.5.7.1. * Mon May 06 2019 Tomohiro "Tomo-p" KATO 2.3.6-1 - updated to the 2.3.x series. - updated pigeonhole to 0.5.6. - imported Patch10 and 11. * Tue Nov 06 2018 Tomohiro "Tomo-p" KATO 2.2.36-1 - new upstream release. - updated pigeonhole to 0.4.24. * Fri Mar 23 2018 Tomohiro "Tomo-p" KATO 2.2.35-1 - new upstream release. - updated pigeonhole to 0.4.23. * Wed Feb 28 2018 Tomohiro "Tomo-p" KATO 2.2.33.2-1 - new upstream release. - updated pigeonhole to 0.4.21. * Sun May 22 2016 Tomohiro "Tomo-p" KATO 2.2.24-1 - new upstream release. - updated pigeonhole to 0.4.14. - added dovecot-pigeonhole.m4 to dovecot-devel. * Thu Mar 10 2016 Satoshi IWAMOTO 2.2.21-1 - new upstream release. - updated pigeonhole to 0.4.10. - built with openssl 1.0.2g * Mon Nov 2 2015 Tomohiro "Tomo-p" KATO 2.2.19-1 - new upstream release. - updated pigeonhole to 0.4.9. * Tue Jul 8 2014 Tomohiro "Tomo-p" KATO 2.2.13-2 - replaced "BR:mysql-devel" to "BR:libmysqlclient-devel". - enabled libwrap. * Sat Jun 14 2014 Satoshi IWAMOTO 2.2.13-1 - new upstream release 2.2.13, pigeonhole 0.4.3 - replace BR: libpq-devel from postgresql-devel * Thu Jan 9 2014 Satoshi IWAMOTO 2.2.10-1 - new upstream release 2.2.10, pigeonhole 0.4.2 - drop drac (Pop Before Smtp) support - add patch4 * Thu Oct 25 2012 Satoshi IWAMOTO 2.1.10-1 - new upstream release 2.1.10 - new upstream release pigeonhole 0.3.3 - change configure options to fit new release - change file list to fit new release - fix openssl key location in defalut config files * Sat Jun 16 2012 Satoshi IWAMOTO 2.0.21-1 - new upstream release - new upstream release pigeonhole 0.2.6 * Mon Oct 31 2011 Satoshi IWAMOTO 2.0.15-1 - new upstream release * Wed Sep 28 2011 Masanobu HAGANE 2.0.13-2 - revival drac_plugin.so (POP bedore SMTP) support - use DRAC plugin for Dovecot-2.x - (get from http://sourceforge.jp/projects/dovecot2-drac/releases/) * Sat May 21 2011 Satoshi IWAMOTO 2.0.13-1 - new upstream release * Sun Apr 17 2011 Satoshi IWAMOTO 2.0.12-1 - new upstream release - new upstream release pigeonholever 0.2.3 * Tue Apr 12 2011 Shu KONNO 2.0.9-6 - rebuilt with postgresql-9.0.3 * Mon Feb 14 2011 Satoshi IWAMOTO 2.0.9-5 - fix pigeonhole R: (remove epoch) * Mon Jan 24 2011 Satoshi IWAMOTO 2.0.9-4 - fix source url * Wed Jan 19 2011 Satoshi IWAMOTO 2.0.9-3 - disable drac sub package (drac plugin not work with dovecot 2.x) * Mon Jan 17 2011 Satoshi IWAMOTO 2.0.9-2 - fix config file path in dovecot.init - fix group of /var/run/dovecot/login * Sun Jan 16 2011 Satoshi IWAMOTO 2.0.9-1 - new upstream release 2.0.x * Tue Jan 11 2011 Yoji TOYODA 1.2.15-2 - rebuild with openssl-1.0.0c * Sat Oct 9 2010 Satoshi IWAMOTO 1.2.15-1 - new upstream release with security fixes (CVE-2010-3780,3779,3707,3706) - add BR: pkgconfig * Thu Mar 11 2010 Satoshi IWAMOTO 1.2.11-1 - new upstream release with mbox DoS fix * Mon Jan 25 2010 Satoshi IWAMOTO 1.2.10-2 - fix drac.so in libs.files * Mon Jan 25 2010 Satoshi IWAMOTO 1.2.10-1 - new upstream release * Fri Jan 8 2010 Satoshi IWAMOTO 1.2.9-1 - new upstream release - update to dovecot sieve 1.1.8 * Thu Sep 17 2009 Satoshi IWAMOTO 1.2.3-2 - update to dovecot sieve 1.1.7 to fix BoF - add BR: bzip2-devel, libcap-devel * Mon Aug 10 2009 Satoshi IWAMOTO 1.2.3-1 - new upstream release * Wed Jul 29 2009 Satoshi IWAMOTO 1.2.2-1 - new upstream release * Sun Jul 12 2009 Satoshi IWAMOTO 1.2.1-1 - new upstream release * Tue Jul 7 2009 Satoshi IWAMOTO 1.2.0-1 - new upstream 1.2.x release - update Patch1 to fit new release - README.plugin-drac in UTF-8 * Tue Jun 2 2009 Satoshi IWAMOTO 1.1.16-1 - new upstream release * Fri May 22 2009 Tomohiro "Tomo-p" KATO 1.1.15-3 - rebuilt with MySQL-5.1.34. * Tue May 19 2009 Satoshi IWAMOTO 1.1.15-2 - add BuildRequires gettext-devel instead of gettext * Tue May 19 2009 Satoshi IWAMOTO 1.1.15-1 - new upstream release - update patch1 to fix new release * Mon Apr 27 2009 Satoshi IWAMOTO 1.1.14-1 - new upstream release * Sun Mar 22 2009 NAKAMURA Kenta 1.1.13-2 - rebuilt with openldap-2.4.11 * Sun Mar 22 2009 Satoshi IWAMOTO 1.1.13-1 - new upstream release * Sat Feb 07 2009 Satoshi IWAMOTO 1.1.11-1 - new upstream release * Sun Feb 01 2009 Satoshi IWAMOTO 1.1.10-1 - new upstream release * Mon Jan 12 2009 Satoshi IWAMOTO 1.1.8-1 - new upstream release * Sat Nov 01 2008 Satoshi IWAMOTO 1.1.6-1 - new upstream release * Tue Oct 21 2008 Satoshi IWAMOTO 1.1.4-2 - change BuildRequires sqlite-devel -> sqlite3-devel * Mon Oct 20 2008 Satoshi IWAMOTO 1.1.4-1 - new upstream release * Fri Sep 05 2008 Daisuke SUZUKI 1.1.3-1 - new upstream release * Sun Aug 17 2008 Daisuke SUZUKI 1.1.2-1 - new upstream release - split ldap plugin to subpackage - split sql plugins to subpackages - add -devel subpackage - update drac module, rename to -drac from -plugin-drac - add dovecot-sieve * Mon Mar 10 2008 Satoshi IWAMOTO 1.0.13-0vl2 - build for VineSeed (0vl1 is for VinePlus 4.x) - new upstream release * Mon Jan 07 2008 Satoshi IWAMOTO 1.0.10-0vl2 - build for VineSeed (0vl1 is for VinePlus 4.x) - new upstream release with security fix (CVE-2007-6598) - turn on daemon stop massage (Already start message is on) * Sat Dec 15 2007 Daisuke SUZUKI 1.0.9-0vl1 - new upstream source * Wed Nov 21 2007 NAKAMURA Kenta 1.0.7-0vl4 - updated %%install section to support lib64 architecture * Sun Nov 04 2007 Satoshi IWAMOTO 1.0.7-0vl3 - rebuild for VineSeed (from VinePlus 4.x) * Thu Sep 20 2007 Ryoichi INAGAKI 1.0.5-0vl1 - new upstream release - rebuilt with postgresql-devel 8.2.5 * Sun Aug 5 2007 Ryoichi INAGAKI 1.0.3-0vl1 - new upstream release * Sun May 20 2007 Daisuke SUZUKI 1.0.0-0vl1 - new upstream release * Sat Nov 03 2007 Satoshi IWAMOTO 1.0.7-0vl2 - add Require dracd tag in plugin-drac * Sat Nov 03 2007 Satoshi IWAMOTO 1.0.7-0vl1 - new upstream release * Fri Oct 12 2007 Satoshi IWAMOTO 1.0.5-0vl4 - fix drac plugin make method - change drac.so install method (use sym link) - add README.plugin-drac * Fri Oct 12 2007 Satoshi IWAMOTO 1.0.5-0vl3 - add dovecot-openssl.cnf install to doc - daemon restart message turn on when package is upgraded * Tue Oct 09 2007 Satoshi IWAMOTO 1.0.5-0vl2 - add drac.so (POP bedore SMTP) support * Mon Oct 08 2007 Satoshi IWAMOTO 1.0.5-0vl1 - new upstream release - drop patch500 (it is included in new release) - move Mysql buildreq tag to "if build_mysql" section - add Requires: postgresql-libs and Requires: MySQL-shared in "if-endif" - add Requires: openldap * Wed Aug 29 2007 MATSUBAYASHI Kohji 1.0-0.rc17.0vl2 - add Patch500 to fix directory traversal vulnerability (CVE-2007-2231) note that version 1.0.rc29 and up have been already fixed in upstream * Mon Jan 08 2007 Satoshi IWAMOTO 1.0-0.rc17.0vl1 - new upstream RC release * Sun Jan 07 2007 Satoshi IWAMOTO 1.0-0.rc16.0vl1 - new upstream RC release * Thu Dec 21 2006 Satoshi IWAMOTO 1.0-0.rc15.0vl2 - add Vendor/Distribution tag * Sun Dec 10 2006 Satoshi IWAMOTO 1.0-0.rc15.0vl1 - new upstream RC release - add BuildRequires: MySQL-shared, MySQL-devel - update patch100 * Mon Oct 30 2006 Ryoichi INAGAKI 1.0-0.rc7.1vl2 - rebuilt with MySQL 5.0.27 * Mon Aug 28 2006 IWAI, Masaharu 1.0-0.rc7.1vl1 - new upstream release - update default settings patch (Patch100) - build with openldap-2.3.24 * Tue Aug 1 2006 IWAI, Masaharu 1.0-0.rc2.1vl1 - first release for Vine Linux * Mon Jul 17 2006 Petr Rockai - 1.0-0.rc2.1 - reenable inotify and see what happens * Thu Jul 13 2006 Petr Rockai - 1.0-0.rc2 - update to latest upstream release candidate - disable inotify for now, doesn't build -- this needs fixing though * Wed Jul 12 2006 Jesse Keating - 1.0-0.beta8.2.1 - rebuild * Thu Jun 08 2006 Petr Rockai - 1.0-0.beta8.2 - put back pop3_uidl_format default that got lost in the beta2->beta7 upgrade (would cause pop3 to not work at all in many situations) * Thu May 04 2006 Petr Rockai - 1.0-0.beta8.1 - upgrade to latest upstream beta release (beta8) - contains a security fix in mbox handling * Thu May 04 2006 Petr Rockai - 1.0-0.beta7.1 - upgrade to latest upstream beta release - fixed BR 173048 * Fri Mar 17 2006 Petr Rockai - 1.0-0.beta2.8 - fix sqlite detection in upstream configure checks, second part of #182240 * Wed Mar 8 2006 Bill Nottingham - 1.0-0.beta2.7 - fix scriplet noise some more * Mon Mar 6 2006 Jeremy Katz - 1.0-0.beta2.6 - fix scriptlet error (mitr, #184151) * Mon Feb 27 2006 Petr Rockai - 1.0-0.beta2.5 - fix #182240 by looking in lib64 for libs first and then lib - fix comment #1 in #182240 by copying over the example config files to documentation directory * Fri Feb 10 2006 Jesse Keating - 1.0-0.beta2.4.1 - bump again for double-long bug on ppc(64) * Thu Feb 09 2006 Petr Rockai - 1.0-0.beta2.4 - enable inotify as it should work now (#179431) * Tue Feb 07 2006 Jesse Keating - 1.0-0.beta2.3.1 - rebuilt for new gcc4.1 snapshot and glibc changes * Thu Feb 02 2006 Petr Rockai - 1.0-0.beta2.3 - change the compiled-in defaults and adjust the default's configfile commented-out example settings to match compiled-in defaults, instead of changing the defaults only in the configfile, as per #179432 - fix #179574 by providing a default uidl_format for pop3 - half-fix #179620 by having plaintext auth enabled by default... this needs more thinking (which one we really want) and documentation either way * Tue Jan 31 2006 Petr Rockai - 1.0-0.beta2.2 - update URL in description - call dovecot --build-ssl-parameters in postinst as per #179430 * Mon Jan 30 2006 Petr Rockai - 1.0-0.beta2.1 - fix spec to work with BUILD_DIR != SOURCE_DIR - forward-port and split pam-nocred patch * Mon Jan 23 2006 Petr Rockai - 1.0-0.beta2 - new upstream version, hopefully fixes #173928, #163550 - fix #168866, use install -p to install documentation * Fri Dec 09 2005 Jesse Keating - rebuilt * Sat Nov 12 2005 Tom Lane - 0.99.14-10.fc5 - Rebuild due to mysql update. * Wed Nov 9 2005 Tomas Mraz - 0.99.14-9.fc5 - rebuilt with new openssl * Fri Sep 30 2005 Tomas Mraz - 0.99.14-8.fc5 - use include instead of pam_stack in pam config * Wed Jul 27 2005 John Dennis - 0.99.14-7.fc5 - fix bug #150888, log authenication failures with ip address * Fri Jul 22 2005 John Dennis - 0.99.14-6.fc5 - fix bug #149673, add dummy PAM_TTY * Thu Apr 28 2005 John Dennis - 0.99.14-5.fc4 - fix bug #156159 insecure location of restart flag file * Fri Apr 22 2005 John Dennis - 0.99.14-4.fc4 - openssl moved its certs, CA, etc. from /usr/share/ssl to /etc/pki * Tue Apr 12 2005 Tom Lane 0.99.14-3.fc4 - Rebuild for Postgres 8.0.2 (new libpq major version). * Mon Mar 7 2005 John Dennis 0.99.14-2.fc4 - bump rev for gcc4 build * Mon Feb 14 2005 John Dennis - 0.99.14-1.fc4 - fix bug #147874, update to 0.99.14 release v0.99.14 2005-02-11 Timo Sirainen - Message address fields are now parsed differently, fixing some issues with spaces. Affects only clients which use FETCH ENVELOPE command. - Message MIME parser was somewhat broken with missing MIME boundaries - mbox: Don't allow X-UID headers in mails to override the UIDs we would otherwise set. Too large values can break some clients and cause other trouble. - passwd-file userdb wasn't working - PAM crashed with 64bit systems - non-SSL inetd startup wasn't working - If UID FETCH notices and skips an expunged message, don't return a NO reply. It's not needed and only makes clients give error messages. * Wed Feb 2 2005 John Dennis - 0.99.13-4.devel - fix bug #146198, clean up temp kerberos tickets * Mon Jan 17 2005 John Dennis 0.99.13-3.devel - fix bug #145214, force mbox_locks to fcntl only - fix bug #145241, remove prereq on postgres and mysql, allow rpm auto dependency generator to pick up client lib dependency if needed. * Thu Jan 13 2005 John Dennis 0.99.13-2.devel - make postgres & mysql conditional build - remove execute bit on migration example scripts so rpm does not pull in additional dependences on perl and perl modules that are not present in dovecot proper. - add REDHAT-FAQ.txt to doc directory * Thu Jan 6 2005 John Dennis 0.99.13-1.devel - bring up to date with latest upstream, 0.99.13, bug #143707 also fix bug #14462, bad dovecot-uid macro name * Thu Jan 6 2005 John Dennis 0.99.11-10.devel - fix bug #133618, removed LITERAL+ capability from capability string * Wed Jan 5 2005 John Dennis 0.99.11-9.devel - fix bug #134325, stop dovecot during installation * Wed Jan 5 2005 John Dennis 0.99.11-8.devel - fix bug #129539, dovecot starts too early, set chkconfig to 65 35 to match cyrus-imapd - also delete some old commented out code from SSL certificate creation * Thu Dec 23 2004 John Dennis 0.99.11-7.devel - add UW to Dovecot migration documentation and scripts, bug #139954 fix SSL documentation and scripts, add missing documentation, bug #139276 * Mon Nov 15 2004 Warren Togami 0.99.11-2.FC4.1 - rebuild against MySQL4 * Thu Oct 21 2004 John Dennis - fix bug #136623 Change License field from GPL to LGPL to reflect actual license * Thu Sep 30 2004 John Dennis 0.99.11-1.FC3.3 - fix bug #124786, listen to ipv6 as well as ipv4 * Wed Sep 8 2004 John Dennis 0.99.11-1.FC3.1 - bring up to latest upstream, comments from Timo Sirainen on release v0.99.11 2004-09-04 + 127.* and ::1 IP addresses are treated as secured with disable_plaintext_auth = yes + auth_debug setting for extra authentication debugging + Some documentation and error message updates + Create PID file in /var/run/dovecot/master.pid + home setting is now optional in static userdb + Added mail setting to static userdb - After APPENDing to selected mailbox Dovecot didn't always notice the new mail immediately which broke some clients - THREAD and SORT commands crashed with some mails - If APPENDed mail ended with CR character, Dovecot aborted the saving - Output streams sometimes sent data duplicated and lost part of it. This could have caused various strange problems, but looks like in practise it rarely caused real problems. * Wed Aug 4 2004 John Dennis - change release field separator from comma to dot, bump build number * Mon Aug 2 2004 John Dennis 0.99.10.9-1,FC3,1 - bring up to date with latest upstream, fixes include: - LDAP support compiles now with Solaris LDAP library - IMAP BODY and BODYSTRUCTURE replies were wrong for MIME parts which didn't contain Content-Type header. - MySQL and PostgreSQL auth didn't reconnect if connection was lost to SQL server - Linking fixes for dovecot-auth with some systems - Last fix for disconnecting client when downloading mail longer than 30 seconds actually made it never disconnect client. Now it works properly: disconnect when client hasn't read _any_ data for 30 seconds. - MySQL compiling got broken in last release - More PostgreSQL reconnection fixing * Mon Jul 26 2004 John Dennis 0.99.10.7-1,FC3,1 - enable postgres and mySQL in build - fix configure to look for mysql in alternate locations - nuke configure script in tar file, recreate from configure.in using autoconf - bring up to latest upstream, which included: - Added outlook-pop3-no-nuls workaround to fix Outlook hang in mails with NULs. - Config file lines can now contain quoted strings ("value ") - If client didn't finish downloading a single mail in 30 seconds, Dovecot closed the connection. This was supposed to work so that if client hasn't read data at all in 30 seconds, it's disconnected. - Maildir: LIST now doesn't skip symlinks * Wed Jun 30 2004 John Dennis - bump rev for build - change rev for FC3 build * Fri Jun 25 2004 John Dennis - 0.99.10.6-1 - bring up to date with upstream, recent change log comments from Timo Sirainen were: SHA1 password support using OpenSSL crypto library mail_extra_groups setting maildir_stat_dirs setting Added NAMESPACE capability and command Autocreate missing maildirs (instead of crashing) Fixed occational crash in maildir synchronization Fixed occational assertion crash in ioloop.c Fixed FreeBSD compiling issue Fixed issues with 64bit Solaris binary * Tue Jun 15 2004 Elliot Lee - rebuilt * Thu May 27 2004 David Woodhouse 0.99.10.5-1 - Update to 0.99.10.5 to fix maildir segfaults (#123022) * Fri May 07 2004 Warren Togami 0.99.10.4-4 - default auth config that is actually usable - Timo Sirainen (author) suggested functionality fixes maildir, imap-fetch-body-section, customflags-fix * Mon Feb 23 2004 Tim Waugh - Use ':' instead of '.' as separator for chown. * Tue Feb 17 2004 Jeremy Katz - 0.99.10.4-3 - restart properly if it dies (#115594) * Fri Feb 13 2004 Elliot Lee - rebuilt * Mon Nov 24 2003 Jeremy Katz 0.99.10.4-1 - update to 0.99.10.4 * Mon Oct 6 2003 Jeremy Katz 0.99.10-7 - another patch from upstream to fix returning invalid data on partial BODY[part] fetches - patch to avoid confusion of draft/deleted in indexes * Tue Sep 23 2003 Jeremy Katz 0.99.10-6 - add some patches from upstream (#104288) * Thu Sep 4 2003 Jeremy Katz 0.99.10-5 - fix startup with 2.6 with patch from upstream (#103801) * Tue Sep 2 2003 Jeremy Katz 0.99.10-4 - fix assert in search code (#103383) * Tue Jul 22 2003 Nalin Dahyabhai 0.99.10-3 - rebuild * Thu Jul 17 2003 Bill Nottingham 0.99.10-2 - don't run by default * Thu Jun 26 2003 Jeremy Katz 0.99.10-1 - 0.99.10 * Mon Jun 23 2003 Jeremy Katz 0.99.10-0.2 - 0.99.10-rc2 (includes ssl detection fix) - a few tweaks from fedora - noreplace the config file - configure --with-ldap to get LDAP enabled * Mon Jun 23 2003 Jeremy Katz 0.99.10-0.1 - 0.99.10-rc1 - add fix for ssl detection - add zlib-devel to BuildRequires - change pam service name to dovecot - include pam config * Thu May 8 2003 Jeremy Katz 0.99.9.1-1 - update to 0.99.9.1 - add patch from upstream to fix potential bug when fetching with CR+LF linefeeds - tweak some things in the initscript and config file noticed by the fedora folks * Sun Mar 16 2003 Jeremy Katz 0.99.8.1-2 - fix ssl dir - own /var/run/dovecot/login with the correct perms - fix chmod/chown in post * Fri Mar 14 2003 Jeremy Katz 0.99.8.1-1 - update to 0.99.8.1 * Tue Mar 11 2003 Jeremy Katz 0.99.8-2 - add a patch to fix quoting problem from CVS * Mon Mar 10 2003 Jeremy Katz 0.99.8-1 - 0.99.8 - add some buildrequires - fixup to build with openssl 0.9.7 - now includes a pop3 daemon (off by default) - clean up description and %%preun - add dovecot user (uid/gid of 97) - add some buildrequires - move the ssl cert to %{_datadir}/ssl/certs - create a dummy ssl cert in %post - own /var/run/dovecot - make the config file a source so we get default mbox locks of fcntl * Sun Dec 1 2002 Seth Vidal - 0.99.4 and fix startup so it starts imap-master not vsftpd :) * Tue Nov 26 2002 Seth Vidal - first build