[dovecot-cvs] dovecot dovecot.spec.in,NONE,1.1 configure.in,1.119,1.120 Makefile.am,1.2,1.3 TODO,1.39,1.40 NEWS,1.19,1.20

cras at procontrol.fi cras at procontrol.fi
Sat May 3 22:32:23 EEST 2003


Update of /home/cvs/dovecot
In directory danu:/tmp/cvs-serv3781

Modified Files:
	configure.in Makefile.am TODO NEWS 
Added Files:
	dovecot.spec.in 
Log Message:
0.99.9.1 released. Added redhat spec file.



--- NEW FILE: dovecot.spec.in ---
# DarContact: Timo Sirainen <tss at 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 at 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 at wieers.com> - 0.99.9-0
- Updated to release 0.99.9.

* Mon Apr 14 2003 Dag Wieers <dag at wieers.com> - 0.99.8.1-1
- Improved dovecot.sysv script.

* Thu Mar 13 2003 Dag Wieers <dag at wieers.com> - 0.99.8.1-0
- Updated to release 0.99.8.1.

* Fri Feb 28 2003 Dag Wieers <dag at wieers.com> - 0.99.8-0
- Initial package. (using DAR)

Index: configure.in
===================================================================
RCS file: /home/cvs/dovecot/configure.in,v
retrieving revision 1.119
retrieving revision 1.120
diff -u -d -r1.119 -r1.120
--- configure.in	28 Apr 2003 16:33:34 -0000	1.119
+++ configure.in	3 May 2003 18:32:21 -0000	1.120
@@ -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/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/master/Makefile
 src/pop3/Makefile
 src/pop3-login/Makefile
-stamp.h)
+stamp.h
+dovecot.spec)
 
 dnl **
 dnl ** register the storage classes

Index: Makefile.am
===================================================================
RCS file: /home/cvs/dovecot/Makefile.am,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- Makefile.am	4 Apr 2003 12:33:58 -0000	1.2
+++ Makefile.am	3 May 2003 18:32:21 -0000	1.3
@@ -5,5 +5,6 @@
 
 EXTRA_DIST = \
 	config.rpath \
+	dovecot.spec.in \
 	COPYING.LGPL \
 	$(conf_DATA)

Index: TODO
===================================================================
RCS file: /home/cvs/dovecot/TODO,v
retrieving revision 1.39
retrieving revision 1.40
diff -u -d -r1.39 -r1.40
--- TODO	28 Apr 2003 16:33:34 -0000	1.39
+++ TODO	3 May 2003 18:32:21 -0000	1.40
@@ -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: NEWS
===================================================================
RCS file: /home/cvs/dovecot/NEWS,v
retrieving revision 1.19
retrieving revision 1.20
diff -u -d -r1.19 -r1.20
--- NEWS	28 Apr 2003 16:33:34 -0000	1.19
+++ NEWS	3 May 2003 18:32:21 -0000	1.20
@@ -1,3 +1,14 @@
+v0.99.9.1 2003-05-03  Timo Sirainen <tss at 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 at iki.fi>
 
 	* WARNING: mbox rewriting works now faster, but it's less likely to




More information about the dovecot-cvs mailing list