SOURCES: net-snmp-acfix.patch - added fix for kerberos detection
baggins
baggins at pld-linux.org
Sun Apr 1 22:16:46 CEST 2007
Author: baggins Date: Sun Apr 1 20:16:46 2007 GMT
Module: SOURCES Tag: HEAD
---- Log message:
- added fix for kerberos detection
---- Files affected:
SOURCES:
net-snmp-acfix.patch (1.9 -> 1.10)
---- Diffs:
================================================================
Index: SOURCES/net-snmp-acfix.patch
diff -u SOURCES/net-snmp-acfix.patch:1.9 SOURCES/net-snmp-acfix.patch:1.10
--- SOURCES/net-snmp-acfix.patch:1.9 Thu Dec 21 01:51:59 2006
+++ SOURCES/net-snmp-acfix.patch Sun Apr 1 22:16:41 2007
@@ -14,6 +14,27 @@
if test no = $trykrb5; then
AC_MSG_NOTICE([configured not to use krb5. disabling ksm])
continue
+@@ -1763,15 +1763,13 @@
+
+ AC_MSG_CHECKING([to see which crypto API we need to use])
+ AC_CHECK_FUNC(krb5_c_encrypt,[
+- AC_CACHE_VAL(ac_cv_NETSNMP_USE_KERBEROS_MIT,
+- AC_CHECK_LIB(k5crypto, krb5_init_context,
+- ac_cv_NETSNMP_USE_KERBEROS_MIT=yes, ac_cv_MIT_NEW_CRYPTo=no
+- )
+- )
++ AC_CHECK_LIB(k5crypto, krb5_init_context,
++ ac_cv_MIT_NEW_CRYPTo=yes, ac_cv_MIT_NEW_CRYPTo=no
++ )
+
+- if test yes = $ac_cv_NETSNMP_USE_KERBEROS_MIT; then
++ AC_DEFINE(NETSNMP_USE_KERBEROS_MIT)
++ if test yes = $ac_cv_MIT_NEW_CRYPTo; then
+ AC_MSG_RESULT(new MIT crypto API)
+- AC_DEFINE(NETSNMP_USE_KERBEROS_MIT)
+ if test no = $krb5_config; then
+ LIBS="$LIBS -lk5crypto"
+ fi
@@ -2661,23 +2661,6 @@
LIBS="${LIBS} -ladm"
AGENTLIBS="${AGENTLIBS} -ladm"))
================================================================
---- CVS-web:
http://cvs.pld-linux.org/SOURCES/net-snmp-acfix.patch?r1=1.9&r2=1.10&f=u
More information about the pld-cvs-commit
mailing list