summaryrefslogtreecommitdiff
path: root/mail/courier-imap/patches
diff options
context:
space:
mode:
authorjlam <jlam>2002-01-22 22:08:48 +0000
committerjlam <jlam>2002-01-22 22:08:48 +0000
commit58e98d3f02c46d94472e6e1d1cdec289891a2fc4 (patch)
treed2d27f5346c22f726d3515d98761baea28b3adce /mail/courier-imap/patches
parentcca3c7cfffaeb7d736d9427c64d643832dbd8aa3 (diff)
downloadpkgsrc-58e98d3f02c46d94472e6e1d1cdec289891a2fc4.tar.gz
Update mail/courier-imap to 1.4.2. Changes from version 1.4.0 include minor
bug fixes, plus the major change of moving the authentication modules into a separate package (courier-auth). The authentication modules are to be shared with a forthcoming sqwebmail package.
Diffstat (limited to 'mail/courier-imap/patches')
-rw-r--r--mail/courier-imap/patches/patch-aa80
-rw-r--r--mail/courier-imap/patches/patch-ab34
-rw-r--r--mail/courier-imap/patches/patch-ac174
-rw-r--r--mail/courier-imap/patches/patch-ad21
-rw-r--r--mail/courier-imap/patches/patch-ae36
-rw-r--r--mail/courier-imap/patches/patch-af37
-rw-r--r--mail/courier-imap/patches/patch-ag35
-rw-r--r--mail/courier-imap/patches/patch-ah27
8 files changed, 207 insertions, 237 deletions
diff --git a/mail/courier-imap/patches/patch-aa b/mail/courier-imap/patches/patch-aa
index 1f12a5fd84e..0887afb16bf 100644
--- a/mail/courier-imap/patches/patch-aa
+++ b/mail/courier-imap/patches/patch-aa
@@ -1,40 +1,56 @@
-$NetBSD: patch-aa,v 1.5 2002/01/02 22:51:20 jlam Exp $
+$NetBSD: patch-aa,v 1.6 2002/01/22 22:08:53 jlam Exp $
---- Makefile.in.orig Wed Dec 5 08:26:31 2001
+--- Makefile.in.orig Fri Jan 18 22:19:33 2002
+++ Makefile.in
@@ -30,3 +30,3 @@
datadir = @datadir@
-sysconfdir = @sysconfdir@
+sysconfdir = ${prefix}/share/examples/courier
sharedstatedir = @sharedstatedir@
-@@ -95,5 +95,5 @@
+@@ -93,7 +93,7 @@
+ databindir = $(datadir)
+-databin_SCRIPTS = mkimapdcert mkpop3dcert vchkpw2userdb makeuserdb pw2userdb
++databin_SCRIPTS = mkimapdcert mkpop3dcert
-bin_PROGRAMS = imapd pop3d maildirmake
-+bin_PROGRAMS = imapd pop3d imapd.maildirmake
- sbin_PROGRAMS = imaplogin pop3login userdbpw
--man_MANS = makeuserdb.8 userdb.8 userdbpw.8 couriertcpd.8 deliverquota.8 maildirmake.1 imapd.8 mkimapdcert.8 mkpop3dcert.8
-+man_MANS = makeuserdb.8 userdb.8 userdbpw.8 couriertcpd.8 deliverquota.8 imapd.maildirmake.1 courier-imapd.8 mkimapdcert.8 mkpop3dcert.8
+-sbin_PROGRAMS = imaplogin pop3login userdbpw
+-man_MANS = makeuserdb.8 userdb.8 userdbpw.8 couriertcpd.1 deliverquota.8 maildirmake.1 imapd.8 mkimapdcert.8 mkpop3dcert.8
++bin_PROGRAMS = imapd pop3d
++sbin_PROGRAMS = imaplogin pop3login
++man_MANS = couriertcpd.1 courier-imapd.8 mkimapdcert.8 mkpop3dcert.8
-@@ -758,4 +758,4 @@
+@@ -112,3 +112,3 @@
+ libexec_SCRIPTS = imapd.rc imapd-ssl.rc pop3d.rc pop3d-ssl.rc
+-libexec_PROGRAMS = makedatprog couriertcpd deliverquota logger
++libexec_PROGRAMS = couriertcpd logger
--maildirmake: maildir/maildirmake
-- cp maildir/maildirmake .
-+imapd.maildirmake: maildir/maildirmake
-+ cp maildir/maildirmake ./imapd.maildirmake
-
-@@ -789,7 +789,7 @@
-
--maildirmake.1: maildir/maildirmake.1
-- cp maildir/maildirmake.1 .
-+imapd.maildirmake.1: maildir/maildirmake.1
-+ cp maildir/maildirmake.1 ./imapd.maildirmake.1
+@@ -791,4 +791,4 @@
-imapd.8: imap/imapd.8
- cp imap/imapd.8 .
+courier-imapd.8: imap/imapd.8
-+ cp imap/imapd.8 ./courier-imapd.8
++ cp imap/imapd.8 $@
-@@ -843,11 +843,2 @@
+@@ -818,13 +818,2 @@
+ install-exec-local:
+- $(mkinstalldirs) $(DESTDIR)$(libexecdir)/authlib
+- for f in `cat authlib/installlist` dummy ; do \
+- test "$$f" = "dummy" && continue ; \
+- $(INSTALL_PROGRAM) $(INSTALL_STRIP_FLAG) authlib/$$f \
+- $(DESTDIR)$(libexecdir)/authlib/$$f ; done
+- for f in `cat authlib/installlist.sh` dummy ; do \
+- test "$$f" = "dummy" && continue ; \
+- $(INSTALL_SCRIPT) authlib/$$f \
+- $(DESTDIR)$(libexecdir)/authlib/$$f ; done
+- $(mkinstalldirs) $(DESTDIR)$(datadir)
+- $(INSTALL_SCRIPT) userdb/userdb.pl $(DESTDIR)$(datadir)/userdb
+ test ! -x tcpd/couriertls || $(INSTALL_PROGRAM) $(INSTALL_STRIP_FLAG) \
+@@ -832,3 +821,3 @@
+ $(mkinstalldirs) $(DESTDIR)$(sbindir)
+- for f in mkimapdcert mkpop3dcert vchkpw2userdb makeuserdb pw2userdb userdb ; \
++ for f in mkimapdcert mkpop3dcert ; \
+ do rm -f $(DESTDIR)$(sbindir)/$$f ; \
+@@ -842,30 +831,6 @@
install-data-local: install-man
- for f in `cat authlib/modulelist ; . authlib/authdaemonrc ; echo $$authmodulelist ` ; do \
- test "$$f" = "authpam" || continue ; \
@@ -45,4 +61,24 @@ $NetBSD: patch-aa,v 1.5 2002/01/02 22:51:20 jlam Exp $
- $(INSTALL_DATA) $(srcdir)/imap/pop3d.pam \
- $(DESTDIR)/etc/pam.d/pop3 || exit 1 ;\
- done
- rm -f $(DESTDIR)$(man8dir)/pw2userdb.8
+- rm -f $(DESTDIR)$(man8dir)/pw2userdb.8
+- rm -f $(DESTDIR)$(man8dir)/vchkpw2userdb.8
+- $(LN_S) makeuserdb.8 $(DESTDIR)$(man8dir)/pw2userdb.8
+- $(LN_S) makeuserdb.8 $(DESTDIR)$(man8dir)/vchkpw2userdb.8
+- . authlib/authdaemonrc ; test "$$authdaemonvar" = "" && exit 0; \
+- $(mkinstalldirs) $(DESTDIR)$$authdaemonvar ; \
+- chmod 700 $(DESTDIR)$$authdaemonvar
+- for f in $(man_MANS); do chmod a+r $(DESTDIR)$(mandir)/*/$$f; done
+- @cat authlib/authdaemon.msg
+- @echo "Do not forget to run make install-configure"
+
+ uninstall-local:
+- rm -f $(DESTDIR)$(man8dir)/pw2userdb.8
+- rm -f $(DESTDIR)$(man8dir)/vchkpw2userdb.8
+- rm -f $(DESTDIR)$(datadir)/userdb
+- for f in userdb mkimapdcert mkpop3dcert vchkpw2userdb makeuserdb pw2userdb ; \
++ for f in mkimapdcert mkpop3dcert ; \
+ do rm -f $(DESTDIR)$(sbindir)/$$f ; done
+- for f in `cat authlib/installlist authlib/installlist.sh` ; do \
+- rm -f $(DESTDIR)$(libexecdir)/authlib/$$f ; done
+ rm -f $(DESTDIR)$(bindir)/couriertls
diff --git a/mail/courier-imap/patches/patch-ab b/mail/courier-imap/patches/patch-ab
index 9089d67c2d7..9a32829e6cc 100644
--- a/mail/courier-imap/patches/patch-ab
+++ b/mail/courier-imap/patches/patch-ab
@@ -1,12 +1,30 @@
-$NetBSD: patch-ab,v 1.2 2002/01/02 22:19:40 jlam Exp $
+$NetBSD: patch-ab,v 1.3 2002/01/22 22:08:54 jlam Exp $
---- authlib/Makefile.in.orig Wed Dec 5 08:26:53 2001
+--- authlib/Makefile.in.orig Fri Jan 18 22:19:41 2002
+++ authlib/Makefile.in
-@@ -2067,7 +2067,6 @@
- for f in $(man_LINKS) "" ; do \
- test "$$f" = "" && continue ; \
- rm -f $$f; $(LN_S) authlib.7 $$f ; \
+@@ -2057,23 +2057,9 @@
+
+ # automake still a bit stupid...
+
+-install-data-local: install-authldaprc install-authdaemonrc install-authmysqlrc install-authpgsqlrc
+- test "$(man_LINKS)" = "" && exit 0; \
+- $(mkinstalldirs) $(DESTDIR)$(man7dir) ; \
+- for f in $(man_MANS) "" ; do \
+- test "$$f" = "" && continue ; \
+- $(INSTALL_DATA) $$f $(DESTDIR)$(man7dir) ; done ; \
+- cd $(DESTDIR)$(man7dir) || exit 1 ; \
+- for f in $(man_LINKS) "" ; do \
+- test "$$f" = "" && continue ; \
+- rm -f $$f; $(LN_S) authlib.7 $$f ; \
- test -w /etc && chown bin $$f && chgrp bin $$f ; \
- done ; exit 0
+- done ; exit 0
++install-data-local:
+
+-uninstall-local: uninstall-authldaprc uninstall-authdaemonrc uninstall-authmysqlrc uninstall-authpgsqlrc
+- cd $(DESTDIR)$(man7dir) 2>/dev/null || exit 0 ; \
+- test "$(man_LINKS)" = "" && exit 0; \
+- rm -f $(man_LINKS) $(man_MANS)
++uninstall-local:
- uninstall-local: uninstall-authldaprc uninstall-authdaemonrc uninstall-authmysqlrc uninstall-authpgsqlrc
+ authlib.html: authlib.html.in
+ CONFIG_FILES=authlib.html CONFIG_HEADERS= $(SHELL) ./config.status
diff --git a/mail/courier-imap/patches/patch-ac b/mail/courier-imap/patches/patch-ac
index e02ba0cfdba..1132cb9fb7c 100644
--- a/mail/courier-imap/patches/patch-ac
+++ b/mail/courier-imap/patches/patch-ac
@@ -1,166 +1,12 @@
-$NetBSD: patch-ac,v 1.3 2002/01/02 22:19:40 jlam Exp $
+$NetBSD: patch-ac,v 1.4 2002/01/22 22:08:54 jlam Exp $
---- authlib/authldaplib.c.orig Wed Nov 28 22:52:51 2001
-+++ authlib/authldaplib.c
-@@ -26,6 +26,17 @@
- */
-
- /*
-+ * Modified 28/11/2001 Iustin Pop <iusty@intensit.de>
-+ * There was a bug regarding the LDAP_TLS option: if both LDAP_TLS
-+ * and was LDAP_AUTHBIND were enabled, the ldap_start_tls function
-+ * was called only for the first connection, resulting in the fact
-+ * that the bind for checking the password was done without TLS,
-+ * sending the password in clear text over the network. Detected
-+ * when using OpenLDAP with "security ssf=128" (which disalows any
-+ * clear-text communication).
-+*/
-+
-+/*
- Modified 01/21/2000 James Golovich <james@wwnet.net>
-
- 1. If LDAP_AUTHBIND is set in the config file, then the ldap server will
-@@ -467,6 +478,53 @@
- return (rc);
- }
-
-+/* This function takes a ldap connection and
-+ * tries to enable TLS on it.
-+*/
-+static int enable_tls_on(LDAP *conn) {
-+#if HAVE_LDAP_TLS
-+ int version;
-+ int ldrc;
-+
-+ if (ldaperror(ldrc=ldap_get_option (conn,
-+ LDAP_OPT_PROTOCOL_VERSION,
-+ &version))
-+ != LDAP_SUCCESS)
-+ {
-+ const char *s=ldap_err2string(ldrc);
-+
-+#if HAVE_SYSLOG_H
-+ syslog(LOG_DAEMON|LOG_CRIT,
-+ "ldap_get_option failed: %s", s);
-+#endif
-+ return (-1);
-+ }
-+
-+ if (version < LDAP_VERSION3)
-+ {
-+ version = LDAP_VERSION3;
-+ (void)ldap_set_option (conn,
-+ LDAP_OPT_PROTOCOL_VERSION,
-+ &version);
-+ }
-+
-+ if (ldaperror(ldrc=ldap_start_tls_s(conn, NULL, NULL))
-+ != LDAP_SUCCESS)
-+ {
-+ const char *s=ldap_err2string(ldrc);
-+
-+#if HAVE_SYSLOG_H
-+ syslog(LOG_DAEMON|LOG_CRIT,
-+ "ldap_start_tls_s failed: %s", s);
-+#endif
-+ return (-1);
-+ }
-+ return 0;
-+#else
-+ return (-1);
-+#endif
-+}
-+
- static LDAP *ldapconnect()
- {
- LDAP *p;
-@@ -518,47 +576,11 @@
- }
-
- #if HAVE_LDAP_TLS
-- if (my_ldap.tls)
-+ if (my_ldap.tls && enable_tls_on(my_ldap_fp))
- {
-- int version;
--
-- if (ldaperror(ldrc=ldap_get_option (my_ldap_fp,
-- LDAP_OPT_PROTOCOL_VERSION,
-- &version))
-- != LDAP_SUCCESS)
-- {
-- const char *s=ldap_err2string(ldrc);
--
--#if HAVE_SYSLOG_H
-- syslog(LOG_DAEMON|LOG_CRIT,
-- "ldap_get_option failed: %s", s);
--#endif
-- authldapclose();
-- ldapconnfailure();
-- return (-1);
-- }
--
-- if (version < LDAP_VERSION3)
-- {
-- version = LDAP_VERSION3;
-- (void)ldap_set_option (my_ldap_fp,
-- LDAP_OPT_PROTOCOL_VERSION,
-- &version);
-- }
--
-- if (ldaperror(ldrc=ldap_start_tls_s(my_ldap_fp, NULL, NULL))
-- != LDAP_SUCCESS)
-- {
-- const char *s=ldap_err2string(ldrc);
--
--#if HAVE_SYSLOG_H
-- syslog(LOG_DAEMON|LOG_CRIT,
-- "ldap_start_tls_s failed: %s", s);
--#endif
-- authldapclose();
-- ldapconnfailure();
-- return (-1);
-- }
-+ authldapclose();
-+ ldapconnfailure();
-+ return (-1);
- }
+--- authlib/cryptpassword.c.orig Wed Jun 20 21:44:04 2001
++++ authlib/cryptpassword.c
+@@ -6,6 +6,7 @@
+ #if HAVE_CONFIG_H
+ #include "config.h"
#endif
-
-@@ -828,17 +850,28 @@
- rc=1;
- else
- {
-- switch (ldap_simple_bind_s(bindp, dn, (char *)pass))
-- {
-- case LDAP_SUCCESS:
-- break;
-- case LDAP_INVALID_CREDENTIALS:
-- rc = -1;
-- break;
-- default:
-+#if HAVE_LDAP_TLS
-+ if(my_ldap.tls && enable_tls_on(bindp)) {
-+#if HAVE_SYSLOG_H
-+ syslog(LOG_DAEMON|LOG_CRIT, "authlib: LDAP_TLS enabled but I'm unable to start tls, check your config\n");
-+#endif
- rc = 1;
-- break;
-+ } else {
-+#endif
-+ switch (ldap_simple_bind_s(bindp, dn, (char *)pass))
-+ {
-+ case LDAP_SUCCESS:
-+ break;
-+ case LDAP_INVALID_CREDENTIALS:
-+ rc = -1;
-+ break;
-+ default:
-+ rc = 1;
-+ break;
-+ }
-+#if HAVE_LDAP_TLS
- }
-+#endif
- ldap_unbind(bindp);
- }
- if (rc == 0 && newpass)
++#include <stdlib.h>
+ #include <string.h>
+ #if HAVE_UNISTD_H
+ #include <unistd.h>
diff --git a/mail/courier-imap/patches/patch-ad b/mail/courier-imap/patches/patch-ad
index 1a5c0aacffb..1bd6b85598d 100644
--- a/mail/courier-imap/patches/patch-ad
+++ b/mail/courier-imap/patches/patch-ad
@@ -1,13 +1,14 @@
-$NetBSD: patch-ad,v 1.1 2002/01/02 22:19:41 jlam Exp $
+$NetBSD: patch-ad,v 1.2 2002/01/22 22:08:54 jlam Exp $
---- authlib/configure.in.orig Sat Nov 24 14:39:03 2001
-+++ authlib/configure.in
-@@ -411,8 +411,6 @@
- STATIC_LIST="authldap_info $STATIC_LIST"
- LIBAUTH="$LIBAUTH libauth-authldap.a"
- echo authldaprc.dist >>authconfiglist
--else
-- authldaprc=""
+--- configure.orig Tue Jan 22 14:53:01 2002
++++ configure
+@@ -1719,9 +1719,6 @@
fi
- AC_SUBST(LDAPLIBS)
+
+-INSTALL_DATA='${INSTALL} -m 0600'
+-INSTALL_SCRIPT='${INSTALL}'
+-
+ #
+ # autoconf bug
+ #
diff --git a/mail/courier-imap/patches/patch-ae b/mail/courier-imap/patches/patch-ae
index aa946f2cfea..250ff0d431e 100644
--- a/mail/courier-imap/patches/patch-ae
+++ b/mail/courier-imap/patches/patch-ae
@@ -1,13 +1,27 @@
-$NetBSD: patch-ae,v 1.1 2002/01/02 22:19:41 jlam Exp $
+$NetBSD: patch-ae,v 1.2 2002/01/22 22:08:54 jlam Exp $
---- authlib/configure.orig Sat Nov 24 14:39:36 2001
-+++ authlib/configure
-@@ -2689,8 +2689,6 @@
- STATIC_LIST="authldap_info $STATIC_LIST"
- LIBAUTH="$LIBAUTH libauth-authldap.a"
- echo authldaprc.dist >>authconfiglist
--else
-- authldaprc=""
- fi
-
+--- imapd-ssl.rc.in.orig Thu Mar 15 22:36:47 2001
++++ imapd-ssl.rc.in
+@@ -21,11 +21,6 @@
+ LIBAUTHMODULES="$LIBAUTHMODULES @libexecdir@/authlib/$f"
+ done
+- if test -x ${libexecdir}/authlib/authdaemond
+- then
+- @SETENV@ - ${libexecdir}/authlib/authdaemond start
+- fi
+-
+ ulimit -d $IMAP_ULIMITD
+ @SETENV@ - @SHELL@ -c " . @sysconfdir@/imapd ; \
+ . @sysconfdir@/imapd-ssl ; \
+@@ -45,10 +40,6 @@
+ ;;
+ stop)
+ @libexecdir@/couriertcpd -pid=$SSLPIDFILE -stop
+- if test -x ${libexecdir}/authlib/authdaemond
+- then
+- ${libexecdir}/authlib/authdaemond stop
+- fi
+ ;;
+ esac
+ exit 0
diff --git a/mail/courier-imap/patches/patch-af b/mail/courier-imap/patches/patch-af
index 52f0ba5217e..cef07ec990f 100644
--- a/mail/courier-imap/patches/patch-af
+++ b/mail/courier-imap/patches/patch-af
@@ -1,12 +1,27 @@
-$NetBSD: patch-af,v 1.1 2002/01/02 22:19:41 jlam Exp $
+$NetBSD: patch-af,v 1.2 2002/01/22 22:08:54 jlam Exp $
---- authlib/cryptpassword.c.orig Wed Jun 20 21:44:04 2001
-+++ authlib/cryptpassword.c
-@@ -6,6 +6,7 @@
- #if HAVE_CONFIG_H
- #include "config.h"
- #endif
-+#include <stdlib.h>
- #include <string.h>
- #if HAVE_UNISTD_H
- #include <unistd.h>
+--- imapd.rc.in.orig Sun Jul 29 20:02:32 2001
++++ imapd.rc.in
+@@ -21,11 +21,6 @@
+ LIBAUTHMODULES="$LIBAUTHMODULES @libexecdir@/authlib/$f"
+ done
+
+- if test -x ${libexecdir}/authlib/authdaemond
+- then
+- @SETENV@ - ${libexecdir}/authlib/authdaemond start
+- fi
+-
+ ulimit -d $IMAP_ULIMITD
+ @SETENV@ - @SHELL@ -c " . @sysconfdir@/imapd ; \
+ . @sysconfdir@/imapd-ssl ; \
+@@ -45,10 +40,6 @@
+ ;;
+ stop)
+ @libexecdir@/couriertcpd -pid=$PIDFILE -stop
+- if test -x ${libexecdir}/authlib/authdaemond
+- then
+- ${libexecdir}/authlib/authdaemond stop
+- fi
+ ;;
+ esac
+ exit 0
diff --git a/mail/courier-imap/patches/patch-ag b/mail/courier-imap/patches/patch-ag
index b9b473708dd..f51c4e66cf7 100644
--- a/mail/courier-imap/patches/patch-ag
+++ b/mail/courier-imap/patches/patch-ag
@@ -1,14 +1,27 @@
-$NetBSD: patch-ag,v 1.1 2002/01/02 22:19:42 jlam Exp $
+$NetBSD: patch-ag,v 1.2 2002/01/22 22:08:55 jlam Exp $
---- configure.in.orig Wed Dec 5 08:16:41 2001
-+++ configure.in
-@@ -162,9 +162,6 @@
- AC_ARG_WITH(authchangepwdir, [], ,
- ac_configure_args="$ac_configure_args --with-authchangepwdir=/var/tmp/dev/null")
+--- pop3d-ssl.rc.in.orig Sun Jan 28 13:52:49 2001
++++ pop3d-ssl.rc.in
+@@ -21,11 +21,6 @@
+ LIBAUTHMODULES="$LIBAUTHMODULES @libexecdir@/authlib/$f"
+ done
--INSTALL_DATA='${INSTALL} -m 0600'
--INSTALL_SCRIPT='${INSTALL}'
+- if test -x ${libexecdir}/authlib/authdaemond
+- then
+- @SETENV@ - ${libexecdir}/authlib/authdaemond start
+- fi
-
- #
- # autoconf bug
- #
+ @SETENV@ - @SHELL@ -c " . @sysconfdir@/pop3d ; \
+ . @sysconfdir@/pop3d-ssl ; \
+ POP3_TLS=1; export POP3_TLS; \
+@@ -44,10 +39,6 @@
+ ;;
+ stop)
+ @libexecdir@/couriertcpd -pid=$SSLPIDFILE -stop
+- if test -x ${libexecdir}/authlib/authdaemond
+- then
+- ${libexecdir}/authlib/authdaemond stop
+- fi
+ ;;
+ esac
+ exit 0
diff --git a/mail/courier-imap/patches/patch-ah b/mail/courier-imap/patches/patch-ah
new file mode 100644
index 00000000000..5f4b342c810
--- /dev/null
+++ b/mail/courier-imap/patches/patch-ah
@@ -0,0 +1,27 @@
+$NetBSD: patch-ah,v 1.1 2002/01/22 22:08:55 jlam Exp $
+
+--- pop3d.rc.in.orig Sun Jul 29 20:02:32 2001
++++ pop3d.rc.in
+@@ -21,11 +21,6 @@
+ LIBAUTHMODULES="$LIBAUTHMODULES @libexecdir@/authlib/$f"
+ done
+
+- if test -x ${libexecdir}/authlib/authdaemond
+- then
+- @SETENV@ - ${libexecdir}/authlib/authdaemond start
+- fi
+-
+ @SETENV@ - @SHELL@ -c " . @sysconfdir@/pop3d ; \
+ . @sysconfdir@/pop3d-ssl ; \
+ POP3_STARTTLS=$POP3DSTARTTLS ; export POP3_STARTTLS ; \
+@@ -44,10 +39,6 @@
+ ;;
+ stop)
+ @libexecdir@/couriertcpd -pid=$PIDFILE -stop
+- if test -x ${libexecdir}/authlib/authdaemond
+- then
+- ${libexecdir}/authlib/authdaemond stop
+- fi
+ ;;
+ esac
+ exit 0