]> git.ipfire.org Git - thirdparty/dovecot/core.git/commitdiff
0.99.9.1 released. Added redhat spec file.
authorTimo Sirainen <tss@iki.fi>
Sat, 3 May 2003 18:32:21 +0000 (21:32 +0300)
committerTimo Sirainen <tss@iki.fi>
Sat, 3 May 2003 18:32:21 +0000 (21:32 +0300)
--HG--
branch : HEAD

Makefile.am
NEWS
TODO
configure.in
dovecot.spec.in [new file with mode: 0644]

index 57250309c1d67a7ccc19ae5217b297079aa72e9a..555cbd6741600a46cfdcc1e9321f57df9578d213 100644 (file)
@@ -5,5 +5,6 @@ conf_DATA = dovecot-example.conf
 
 EXTRA_DIST = \
        config.rpath \
+       dovecot.spec.in \
        COPYING.LGPL \
        $(conf_DATA)
diff --git a/NEWS b/NEWS
index 8f04be7f19d8bd2de0a240e519384001796ae3d6..b3ed69c33bd21068e3dd986e0108d12ebf0b14fe 100644 (file)
--- a/NEWS
+++ b/NEWS
@@ -1,3 +1,14 @@
+v0.99.9.1 2003-05-03  Timo Sirainen <tss@iki.fi>
+
+       - Messages having lines longer than 8192 bytes caused problems.
+       - There was some problems when opening a mbox first time that had been
+         empty for a while.
+       - Didn't compile with OpenBSD.
+       - POP3 server crashed sometimes instead of printing error message.
+       - If cached IMAP envelope contained literals, SEARCHing in it wrote
+         errors to log file. For example if subject contained highascii, '"'
+         or '\' characters this happened.
+
 v0.99.9 2003-04-28  Timo Sirainen <tss@iki.fi>
 
        * WARNING: mbox rewriting works now faster, but it's less likely to
diff --git a/TODO b/TODO
index 302826961f2fb8d18d10f4c9e64d3c771837505d..24ed3077ae41881a2587f42df8a62779cefb2b00 100644 (file)
--- a/TODO
+++ b/TODO
@@ -1,3 +1,9 @@
+ - fix SSL for RedHat 9. Use pkg-config.
+ - PAM waits for two seconds on wrong passwords. dovecot-auth is completely
+   stuck at that time. maybe fork() new PAM checkers?
+ - mailbox_check_interval: we shouldn't send anything if write() returns
+   EAGAIN. not all clients are reading input all the time and there's no point
+   in sending updates when no-one is reading them.
  - mbox: we don't notice external flag changes if they don't change file size
     - Create new X-IMAPlog header which Dovecot uses internally to store
       changes. If change is in the log header, we don't have to reparse the
index 725a426d8b564f78c812bffaeeaf0a15a74a1822..1680e7d19e6fc8a162fa9d627b2321e8540a1ba9 100644 (file)
@@ -1,7 +1,6 @@
 AC_INIT(src)
 
-AM_CONFIG_HEADER(config.h)
-AM_INIT_AUTOMAKE(dovecot, 0.99.9)
+AM_INIT_AUTOMAKE(dovecot, 0.99.9.1)
 
 AM_MAINTAINER_MODE
 
@@ -1004,6 +1003,7 @@ src/lib-storage/index/Makefile
 src/lib-storage/index/maildir/Makefile
 src/lib-storage/index/mbox/Makefile
 src/lib-storage/subscription-file/Makefile
+src/lib-storage/oracle/Makefile
 src/lib-storage/register/Makefile
 src/auth/Makefile
 src/imap/Makefile
@@ -1012,7 +1012,8 @@ src/login-common/Makefile
 src/master/Makefile
 src/pop3/Makefile
 src/pop3-login/Makefile
-stamp.h)
+stamp.h
+dovecot.spec)
 
 dnl **
 dnl ** register the storage classes
diff --git a/dovecot.spec.in b/dovecot.spec.in
new file mode 100644 (file)
index 0000000..8d8d0a6
--- /dev/null
@@ -0,0 +1,160 @@
+# DarContact: Timo Sirainen <tss@iki.fi>
+
+Summary: Dovecot secure IMAP server.
+Name: dovecot
+Version: @VERSION@
+Release: 0
+License: GPL
+Group: System Environment/Daemons
+URL: http://dovecot.procontrol.fi/
+
+Packager: Dag Wieers <dag@wieers.com>
+Vendor: Dag Apt Repository, http://dag.wieers.com/home-made/apt/
+
+Source: http://dovecot.procontrol.fi/%{name}-%{version}.tar.gz
+BuildRoot: %{_tmppath}/root-%{name}-%{version}
+Prefix: %{_prefix}
+
+Prereq: /usr/sbin/useradd, /usr/sbin/usermod
+BuildRequires: openssl-devel %{!?rh62:, pam-devel} %{?rh62: pam}
+
+%description
+Dovecot is an IMAP server for Linux/UNIX-like systems, written with
+security primarily in mind. Although it's written with C, it uses
+several coding techniques to avoid most of the common pitfalls. Next
+release will also contain a small POP3 server.
+
+Dovecot can work with standard mbox and maildir formats and it's fully
+compatible with UW-IMAP and Courier IMAP servers as well as mail
+clients accessing the mailboxes directly.
+
+%prep
+%setup
+
+%{__cat} <<EOF >dovecot.sysv
+#!/bin/bash
+#
+# Init file for Dovecot IMAP daemon
+#
+# chkconfig: - 54 46
+# description: Dovecot IMAP Daemon
+#
+# processname: dovecot
+# config: %{_sysconfdir}/dovecot.conf
+# pidfile: %{_localstatedir}/run/dovecot
+
+# source function library
+. %{_initrddir}/functions
+
+[ -x %{_sbindir}/dovecot ] || exit 1
+[ -r %{_sysconfdir}/dovecot.conf ] || exit 1
+
+RETVAL=0
+prog="dovecot"
+
+start() {
+       echo -n \$"Starting \$prog: "
+       daemon \$prog
+       RETVAL=\$?
+       echo
+       [ \$RETVAL -eq 0 ] && touch %{_localstatedir}/lock/subsys/\$prog
+       return \$RETVAL
+}
+
+stop() {
+       echo -n \$"Shutting down \$prog: "
+       killproc \$prog
+       RETVAL=\$?
+       echo
+       [ \$RETVAL -eq 0 ] && rm -f %{_localstatedir}/lock/subsys/\$prog
+       return \$RETVAL
+}
+
+restart(){
+       stop
+       start
+}
+
+case "\$1" in
+  start)
+       start
+       ;;
+  stop)
+       stop
+       ;;
+  restart|reload)
+       restart
+       ;;
+  condrestart)
+       [ -e %{_localstatedir}/lock/subsys/\$prog ] && restart
+       RETVAL=\$?
+       ;;
+  status)
+       status \$prog
+       RETVAL=\$?
+       ;;
+  *)
+       echo \$"Usage: \$0 {start|stop|restart|condrestart|status}"
+       RETVAL=1
+esac
+
+exit \$RETVAL
+EOF
+
+%build
+export CPPFLAGS="-I/usr/kerberos/include"
+%configure \
+       --with-ssl="openssl" \
+       --with-ssldir="%{_sysconfdir}/ssl"
+%{__make} %{?_smp_mflags}
+
+%install
+%{__rm} -rf %{buildroot}
+%makeinstall
+%{__install} -d -m0755 %{buildroot}%{_initrddir}
+%{__install} -m0755 dovecot.sysv %{buildroot}%{_initrddir}/dovecot
+%{__mv} -f %{buildroot}%{_sysconfdir}/dovecot-example.conf %{buildroot}%{_sysconfdir}/dovecot.conf
+
+### Clean up buildroot
+%{__rm} -rf %{buildroot}%{_datadir}/doc/dovecot/
+
+%pre
+/usr/sbin/useradd -M -s /sbin/nologin -r dovecot &>/dev/null || :
+/usr/sbin/usermod -s /sbin/nologin dovecot &>/dev/null || :
+
+%post
+/sbin/chkconfig --add dovecot
+
+%preun
+if [ $1 -eq 0 ]; then
+       /sbin/service dovecot stop &>/dev/null || :
+       /sbin/chkconfig --del dovecot
+fi
+
+%postun
+/sbin/service dovecot condrestart &>/dev/null || :
+
+%clean
+%{__rm} -rf %{buildroot}
+
+%files
+%defattr(-, root, root, 0755)
+%doc AUTHORS ChangeLog COPYING* NEWS README TODO
+%doc doc/*.conf doc/*.sh doc/*.txt
+%config %{_sysconfdir}/dovecot.conf
+%config %{_initrddir}/dovecot
+%{_sbindir}/*
+%{_libexecdir}/dovecot/
+
+%changelog
+* Tue Apr 29 2003 Dag Wieers <dag@wieers.com> - 0.99.9-0
+- Updated to release 0.99.9.
+
+* Mon Apr 14 2003 Dag Wieers <dag@wieers.com> - 0.99.8.1-1
+- Improved dovecot.sysv script.
+
+* Thu Mar 13 2003 Dag Wieers <dag@wieers.com> - 0.99.8.1-0
+- Updated to release 0.99.8.1.
+
+* Fri Feb 28 2003 Dag Wieers <dag@wieers.com> - 0.99.8-0
+- Initial package. (using DAR)