summaryrefslogtreecommitdiff
path: root/mail/courier-imap/patches/patch-ah
diff options
context:
space:
mode:
Diffstat (limited to 'mail/courier-imap/patches/patch-ah')
-rw-r--r--mail/courier-imap/patches/patch-ah41
1 files changed, 19 insertions, 22 deletions
diff --git a/mail/courier-imap/patches/patch-ah b/mail/courier-imap/patches/patch-ah
index 012a50a5cf7..2cf54bc3c1b 100644
--- a/mail/courier-imap/patches/patch-ah
+++ b/mail/courier-imap/patches/patch-ah
@@ -1,29 +1,26 @@
-$NetBSD: patch-ah,v 1.4 2004/07/14 20:07:17 jlam Exp $
+$NetBSD: patch-ah,v 1.5 2005/02/18 22:12:46 jlam Exp $
---- pop3d.rc.in.orig Tue Jul 13 03:41:28 2004
-+++ pop3d.rc.in Tue Jul 13 03:41:41 2004
-@@ -33,12 +33,7 @@
- LIBAUTHMODULES="$LIBAUTHMODULES @libexecdir@/authlib/$f"
- done
+--- pop3d.rc.in.orig 2004-10-20 20:45:46.000000000 -0400
++++ pop3d.rc.in
+@@ -9,6 +9,7 @@ prefix=@prefix@
+ exec_prefix=@exec_prefix@
+ bindir=@bindir@
+ libexecdir=@libexecdir@
++sbindir=@sbindir@
-- if test -x ${libexecdir}/authlib/authdaemond
-- then
-- @SETENV@ - DEBUG_LOGIN="$DEBUG_LOGIN" ${libexecdir}/authlib/authdaemond start
-- fi
--
+ if test ! -f @sysconfdir@/pop3d
+ then
+@@ -27,11 +28,12 @@ fi
+
+ case $1 in
+ start)
- @SETENV@ - @SHELL@ -c " set -a ;
+ @SETENV@ -i @SHELL@ -c " set -a ;
prefix=@prefix@ ;
exec_prefix=@exec_prefix@ ;
bindir=@bindir@ ;
-@@ -57,10 +52,6 @@
- ;;
- stop)
- @libexecdir@/couriertcpd -pid=$PIDFILE -stop
-- if test -x ${libexecdir}/authlib/authdaemond
-- then
-- ${libexecdir}/authlib/authdaemond stop
-- fi
- ;;
- esac
- exit 0
+ libexecdir=@libexecdir@ ;
++ sbindir=@sbindir@ ;
+ . @sysconfdir@/pop3d ; \
+ . @sysconfdir@/pop3d-ssl ; \
+ TLS_PROTOCOL=$TLS_STARTTLS_PROTOCOL ; \