changeset 4068:1f319d46f0dd HEAD

Removed dovecot.spec. It's not being kept up-to-date anyway and it's probably broken for half the rpm based distributions.
author Timo Sirainen <tss@iki.fi>
date Sat, 25 Feb 2006 12:58:35 +0200
parents 96ae9c096bde
children d6c15318e730
files configure.in dovecot.spec.in
diffstat 2 files changed, 0 insertions(+), 181 deletions(-) [+]
line wrap: on
line diff
--- a/configure.in	Sat Feb 25 12:19:18 2006 +0200
+++ b/configure.in	Sat Feb 25 12:58:35 2006 +0200
@@ -1744,7 +1744,6 @@
 src/plugins/trash/Makefile
 src/plugins/zlib/Makefile
 stamp.h
-dovecot.spec
 dovecot-config])
 
 AC_OUTPUT
--- a/dovecot.spec.in	Sat Feb 25 12:19:18 2006 +0200
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,180 +0,0 @@
-# DarContact: Timo Sirainen <tss@iki.fi>
-%define uid 96
-%define gid 96
-
-Summary: Dovecot secure IMAP server.
-Name: dovecot
-Version: @VERSION@
-Release: 1
-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} gettext
-
-%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.
-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: 345 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
-
-%{__cat} <<EOF >dovecot.pam
-#%PAM-1.0
-auth       required     pam_nologin.so
-auth       required     pam_stack.so service=system-auth
-account    required     pam_stack.so service=system-auth
-session    required     pam_stack.so service=system-auth
-EOF
-
-%build
-export CPPFLAGS="`pkg-config --cflags-only-I openssl`"
-export LDFLAGS="`pkg-config --libs-only-L openssl`"
-%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}/%{name}
-%{__install} -d -m0755 %{buildroot}%{_sysconfdir}/pam.d
-%{__install} -m0644 dovecot.pam %{buildroot}%{_sysconfdir}/pam.d/imap
-%{__install} -m0644 dovecot.pam %{buildroot}%{_sysconfdir}/pam.d/imaps
-%{__install} -m0644 dovecot.pam %{buildroot}%{_sysconfdir}/pam.d/pop3
-%{__install} -m0644 dovecot.pam %{buildroot}%{_sysconfdir}/pam.d/pop3s
-%{__mv} -f %{buildroot}%{_sysconfdir}/dovecot-example.conf %{buildroot}%{_sysconfdir}/dovecot.conf
-
-### Clean up buildroot
-%{__rm} -rf %{buildroot}%{_datadir}/doc/%{name}/
-
-%pre
-# Add the dovecot user and group if not found
-/usr/sbin/groupadd -g %{gid} -r %{name} &>/dev/null || :
-/usr/sbin/useradd -d /var/run/%{name} -s /bin/false -g %{name} -M -r -u %{uid} %{name} &>/dev/null || :
-
-%post
-/sbin/chkconfig --add dovecot
-
-%preun
-if [ $1 -eq 0 ]; then
-	/sbin/service %{name} stop &>/dev/null || :
-	/sbin/chkconfig --del dovecot
-fi
-
-%postun
-/sbin/service %{name} 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}/%{name}
-%config %{_sysconfdir}/pam.d/*
-%{_sbindir}/*
-%dir %{_libexecdir}/%{name}
-%{_libexecdir}/%{name}/
-
-%changelog
-* Mon May 5 2003 Levente Farkas <lfarkas@lfarkas.org>
-- update a few things in the spec file
-
-* 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)