From 24c2e25bc9f0f25c01ea3c2e67994cca668cdf4d Mon Sep 17 00:00:00 2001 From: "David E. O'Brien" Date: Fri, 29 May 1998 08:30:27 +0000 Subject: make S/Key support actually work --- security/sudo/files/patch-aa | 45 ++++++++++++++++++++++++++------------------ 1 file changed, 27 insertions(+), 18 deletions(-) (limited to 'security/sudo') diff --git a/security/sudo/files/patch-aa b/security/sudo/files/patch-aa index 95030a594418..e31695f3f34c 100644 --- a/security/sudo/files/patch-aa +++ b/security/sudo/files/patch-aa @@ -1,6 +1,6 @@ ---- configure.orig Sun Aug 25 12:32:03 1996 -+++ configure Thu Aug 29 10:26:50 1996 -@@ -37,6 +37,8 @@ +--- configure.orig Mon Jan 12 20:45:09 1998 ++++ configure Fri May 29 01:31:07 1998 +@@ -39,6 +39,8 @@ --with-libraries additional libraries to link with" ac_help="$ac_help --with-csops add CSOps standard options" @@ -9,7 +9,7 @@ # Initialize some variables set by options. # The variables have the same names as the options, with -@@ -557,8 +559,8 @@ +@@ -565,8 +567,8 @@ test "$mandir" = '${prefix}/man' && mandir='$(prefix)/man' test "$bindir" = '${exec_prefix}/bin' && bindir='$(exec_prefix)/bin' @@ -20,17 +20,10 @@ # Check whether --with-CC or --without-CC was given. -@@ -784,6 +786,20 @@ - yes) OPTIONS="${OPTIONS} -DIGNORE_DOT_PATH -DUSE_INSULTS -DCLASSIC_INSULTS -DCSOPS_INSULTS -DENV_EDITOR" - sbindir='$(exec_prefix)/sbin' - echo 'CSOps--adding options: IGNORE_DOT_PATH USE_INSULTS CLASSIC_INSULTS CSOPS_INSULTS ENV_EDITOR' -+ ;; -+ no) ;; -+ *) echo "Ignoring unknown argument to --with-csops: $with_csops" -+ ;; -+esac -+fi -+ +@@ -816,6 +818,20 @@ + esac + fi + +# Check whether --with-fbsdops or --without-fbsdops was given. +if test "${with_fbsdops+set}" = set; then + withval="$with_fbsdops" @@ -38,6 +31,22 @@ + yes) OPTIONS="${OPTIONS} -DIGNORE_DOT_PATH -DENV_EDITOR -DUSE_TTY_TICKETS" + sbindir='$(exec_prefix)/sbin' + echo 'fbsdops--adding options: IGNORE_DOT_PATH ENV_EDITOR USE_TTY_TICKETS' - ;; - no) ;; - *) echo "Ignoring unknown argument to --with-csops: $with_csops" ++ ;; ++ no) ;; ++ *) echo "Ignoring unknown argument to --with-csops: $with_csops" ++ ;; ++esac ++fi ++ + + # Extract the first word of "egrep", so it can be a program name with args. + set dummy egrep; ac_word=$2 +@@ -4557,7 +4573,7 @@ + fi + + if test "$with_skey" = "yes"; then +- SUDO_LIBS="${SUDO_LIBS} -lskey" ++ SUDO_LIBS="${SUDO_LIBS} -lskey /usr/lib/libmd.a" + if test -f /usr/include/skey.h -a -f /usr/lib/libskey.a; then + : + elif test -f /usr/local/include/skey.h; then -- cgit v1.2.3