freeradius2: update to 2.2.3
The new OpenSSL check want to compile a file and run it which does not work when cross compiling, just remove that test. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> git-svn-id: svn://svn.openwrt.org/openwrt/packages@39515 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
38
net/freeradius2/patches/010-disbale-openssl-check.patch
Normal file
38
net/freeradius2/patches/010-disbale-openssl-check.patch
Normal file
@ -0,0 +1,38 @@
|
||||
--- a/configure.in
|
||||
+++ b/configure.in
|
||||
@@ -831,35 +831,6 @@ if test "x$WITH_OPENSSL" = xyes; then
|
||||
OPENSSL_INCLUDE="-DOPENSSL_NO_KRB5"
|
||||
fi
|
||||
|
||||
- dnl #
|
||||
- dnl # Now check that the header versions match the library
|
||||
- dnl #
|
||||
- AC_MSG_CHECKING([OpenSSL library and header version consistency])
|
||||
- AC_RUN_IFELSE(
|
||||
- [AC_LANG_PROGRAM(
|
||||
- [[
|
||||
- #include <stdio.h>
|
||||
- #include <openssl/opensslv.h>
|
||||
- #include <openssl/crypto.h>
|
||||
- ]],
|
||||
- [[
|
||||
- if (SSLeay() == OPENSSL_VERSION_NUMBER) {
|
||||
- return 0;
|
||||
- } else {
|
||||
- printf("library: %lx header: %lx... ", (unsigned long) SSLeay(), (unsigned long) OPENSSL_VERSION_NUMBER);
|
||||
- return 1;
|
||||
- }
|
||||
- ]]
|
||||
- )],
|
||||
- [
|
||||
- AC_MSG_RESULT(yes)
|
||||
- ],
|
||||
- [
|
||||
- AC_MSG_RESULT(no)
|
||||
- AC_MSG_FAILURE([OpenSSL library version does not match header version])
|
||||
- ]
|
||||
- )
|
||||
-
|
||||
if test "x$OPENSSL_LIBS" = x; then
|
||||
LIBS=$old_LIBS
|
||||
LDFLAGS="$old_LDFLAGS"
|
Reference in New Issue
Block a user