pull <des.h> and use our own libdes

This commit is contained in:
pvalchev 2002-06-16 20:02:19 +00:00
parent 14826902b7
commit 98edb320fa
2 changed files with 37 additions and 8 deletions

View File

@ -1,6 +1,6 @@
$OpenBSD: patch-configure,v 1.3 2001/10/11 19:16:19 danh Exp $
--- configure.orig Mon Oct 8 14:33:57 2001
+++ configure Thu Oct 11 13:33:42 2001
$OpenBSD: patch-configure,v 1.4 2002/06/16 20:02:19 pvalchev Exp $
--- configure.orig Thu Nov 29 15:21:53 2001
+++ configure Sun Jun 16 13:54:56 2002
@@ -2114,6 +2114,16 @@ newos6*)
lt_cv_file_magic_test_file=/usr/lib/libnls.so
;;
@ -126,23 +126,41 @@ $OpenBSD: patch-configure,v 1.3 2001/10/11 19:16:19 danh Exp $
SNMPLIBPATH=""
tmpset="$libdir/snmp"
while test "x$tmpset" != "x$SNMPLIBPATH"; do
@@ -7344,6 +7369,7 @@ echo "configure:7344: checking for TCP w
@@ -7345,6 +7370,7 @@ echo "configure:7345: checking for TCP w
cat > conftest.$ac_ext <<EOF
#line 7346 "configure"
#line 7347 "configure"
#include "confdefs.h"
+#include <sys/types.h>
#include <tcpd.h>
int allow_severity = 0;
int deny_severity = 0;
@@ -7468,6 +7494,7 @@ echo "configure:7468: checking for TCP w
@@ -7469,6 +7495,7 @@ echo "configure:7469: checking for TCP w
cat > conftest.$ac_ext <<EOF
#line 7470 "configure"
#line 7471 "configure"
#include "confdefs.h"
+#include <sys/types.h>
#include <tcpd.h>
int allow_severity = 0;
int deny_severity = 0;
@@ -15153,6 +15180,7 @@ s%@AUTOCONF@%$AUTOCONF%g
@@ -8185,7 +8212,7 @@ if eval "test \"`echo '$''{'ac_cv_lib_$a
echo $ac_n "(cached) $ac_c" 1>&6
else
ac_save_LIBS="$LIBS"
-LIBS="-lcrypto $LIBS"
+LIBS="-lcrypto -ldes $LIBS"
cat > conftest.$ac_ext <<EOF
#line 8191 "configure"
#include "confdefs.h"
@@ -8219,7 +8246,7 @@ if eval "test \"`echo '$ac_cv_lib_'$ac_l
#define $ac_tr_lib 1
EOF
- LIBS="-lcrypto $LIBS"
+ LIBS="-lcrypto -ldes $LIBS"
else
echo "$ac_t""no" 1>&6
@@ -15237,6 +15264,7 @@ s%@AUTOCONF@%$AUTOCONF%g
s%@AUTOHEADER@%$AUTOHEADER%g
s%@UNAMEPROG@%$UNAMEPROG%g
s%@VERSION@%$VERSION%g

View File

@ -0,0 +1,11 @@
$OpenBSD: patch-snmplib_scapi_c,v 1.1 2002/06/16 20:02:19 pvalchev Exp $
--- snmplib/scapi.c.orig Sun Jun 16 13:48:32 2002
+++ snmplib/scapi.c Sun Jun 16 13:48:55 2002
@@ -56,6 +56,7 @@
#include <openssl/hmac.h>
#include <openssl/evp.h>
#include <openssl/rand.h>
+#include <des.h>
#endif
#ifdef QUITFUN