bugzilla down; patch for configure.ac --with-prngd-socket

Dave Dykstra dwd at bell-labs.com
Wed Jan 23 04:32:00 EST 2002


Bugzilla is reporting an internal server error right now so I thought I'd
post this here.

The current portable OpenSSH developer CVS has some non-standard shell syntax
in the --with-prngd-socket case, and the grep "-q" option is not supported
in at least Solaris 2.5.1.  Here's a patch.

Alternatively, the first test could use

    case "$withval" in
	/*) ;;
	*) AC_MSG_ERROR(You must specify an absolute path to the entropy socket) ;;
    esac


- Dave Dykstra

--- configure.ac.O	Tue Jan 22 11:20:41 2002
+++ configure.ac	Tue Jan 22 11:22:39 2002
@@ -915,10 +915,12 @@
 			if test ! -z "$PRNGD_PORT" ; then
 				AC_MSG_ERROR(You may not specify both a PRNGD/EGD port and socket)
 			fi
-			if ! echo "$withval" | grep -q '^/' ; then 
+			if echo "$withval" | grep '^/' >/dev/null; then 
+				:
+			else
 				AC_MSG_ERROR(You must specify an absolute path to the entropy socket)
 			fi			
-			if ! test -r "$withval" ; then
+			if test ! -r "$withval" ; then
 				AC_MSG_WARN(Entropy socket is not readable)
 			fi
 			PRNGD_SOCKET="$withval"



More information about the openssh-unix-dev mailing list