summaryrefslogtreecommitdiff
path: root/package/freeradius-server/patches
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2014-04-24 18:44:22 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2014-04-26 09:55:59 +0200
commit7c618090e705f960334a98d31194dee673686801 (patch)
treeed94a5e09da90cb51d03e0e7000b46014ce50b3e /package/freeradius-server/patches
parent7cb4ddde8b4f0ab05bc8f6b6df56fdd5ef0d8e73 (diff)
update to latest version
Diffstat (limited to 'package/freeradius-server/patches')
-rw-r--r--package/freeradius-server/patches/patch-configure_ac38
-rw-r--r--package/freeradius-server/patches/patch-ltmain_sh11
-rw-r--r--package/freeradius-server/patches/patch-scripts_libtool_mk11
-rw-r--r--package/freeradius-server/patches/patch-src_main_event_c21
-rw-r--r--package/freeradius-server/patches/patch-src_main_modules_c11
-rw-r--r--package/freeradius-server/patches/patch-src_modules_rlm_eap_Makefile_in11
6 files changed, 49 insertions, 54 deletions
diff --git a/package/freeradius-server/patches/patch-configure_ac b/package/freeradius-server/patches/patch-configure_ac
new file mode 100644
index 000000000..c3901ee32
--- /dev/null
+++ b/package/freeradius-server/patches/patch-configure_ac
@@ -0,0 +1,38 @@
+--- freeradius-server-3.0.2.orig/configure.ac 2014-03-21 13:27:25.000000000 +0100
++++ freeradius-server-3.0.2/configure.ac 2014-04-24 13:10:35.000000000 +0200
+@@ -932,35 +932,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"
diff --git a/package/freeradius-server/patches/patch-ltmain_sh b/package/freeradius-server/patches/patch-ltmain_sh
deleted file mode 100644
index 2730428cd..000000000
--- a/package/freeradius-server/patches/patch-ltmain_sh
+++ /dev/null
@@ -1,11 +0,0 @@
---- freeradius-server-2.1.8.orig/ltmain.sh 2009-12-30 16:44:35.000000000 +0100
-+++ freeradius-server-2.1.8/ltmain.sh 2011-01-15 13:13:33.000000000 +0100
-@@ -1623,7 +1623,7 @@ EOF
- # -pg pass through profiling flag for GCC
- # @file GCC response files
- -64|-mips[0-9]|-r[0-9][0-9]*|-xarch=*|-xtarget=*|+DA*|+DD*|-q*|-m*|-pg| \
-- -t[45]*|-txscale*|@*)
-+ -t[45]*|-txscale*|@*|-fstack-protector*|-flto)
-
- # Unknown arguments in both finalize_command and compile_command need
- # to be aesthetically quoted because they are evaled later.
diff --git a/package/freeradius-server/patches/patch-scripts_libtool_mk b/package/freeradius-server/patches/patch-scripts_libtool_mk
new file mode 100644
index 000000000..957397302
--- /dev/null
+++ b/package/freeradius-server/patches/patch-scripts_libtool_mk
@@ -0,0 +1,11 @@
+--- freeradius-server-3.0.2.orig/scripts/libtool.mk 2014-03-21 13:27:25.000000000 +0100
++++ freeradius-server-3.0.2/scripts/libtool.mk 2014-04-24 15:58:56.000000000 +0200
+@@ -33,7 +33,7 @@ ifeq "${LIBTOOL}" "JLIBTOOL"
+ ${JLIBTOOL}: ${top_makedir}/jlibtool.c
+ $(Q)mkdir -p $(dir $@)
+ $(Q)echo CC jlibtool.c
+- $(Q)${CC} $< -o $@ ${DARWIN_CFLAGS}
++ $(Q)${CC_FOR_BUILD} $< -o $@ ${CFLAGS_FOR_BUILD}
+
+ clean: jlibtool_clean
+
diff --git a/package/freeradius-server/patches/patch-src_main_event_c b/package/freeradius-server/patches/patch-src_main_event_c
deleted file mode 100644
index 1750f53d5..000000000
--- a/package/freeradius-server/patches/patch-src_main_event_c
+++ /dev/null
@@ -1,21 +0,0 @@
---- freeradius-server-2.1.8.orig/src/main/event.c 2009-12-30 16:44:35.000000000 +0100
-+++ freeradius-server-2.1.8/src/main/event.c 2010-02-05 19:43:55.803074411 +0100
-@@ -1177,7 +1177,7 @@ static void wait_a_bit(void *ctx)
- }
-
- stop_processing:
--#if defined(HAVE_PTHREAD_H) || defined(WITH_PROXY)
-+#if defined(HAVE_PTHREAD_H)
- /*
- * A child thread MAY still be running on the
- * request. Ask the thread to stop working on
-@@ -1646,7 +1646,9 @@ static int originated_coa_request(REQUES
- */
- request->num_proxied_requests = 1;
- request->num_proxied_responses = 0;
-+#ifdef HAVE_PTHREAD_H
- request->child_pid = NO_SUCH_CHILD_PID;
-+#endif
-
- update_event_timestamp(request->proxy, request->proxy_when.tv_sec);
-
diff --git a/package/freeradius-server/patches/patch-src_main_modules_c b/package/freeradius-server/patches/patch-src_main_modules_c
deleted file mode 100644
index c72807f5c..000000000
--- a/package/freeradius-server/patches/patch-src_main_modules_c
+++ /dev/null
@@ -1,11 +0,0 @@
---- freeradius-server-2.1.8.orig/src/main/modules.c 2009-12-30 16:44:35.000000000 +0100
-+++ freeradius-server-2.1.8/src/main/modules.c 2010-02-05 20:05:22.174324929 +0100
-@@ -22,6 +22,8 @@
- * Copyright 2000 Alan Curry <pacman@world.std.com>
- */
-
-+#define lt__PROGRAM__LTX_preloaded_symbols lt_libltdl_LTX_preloaded_symbols
-+
- #include <freeradius-devel/ident.h>
- RCSID("$Id$")
-
diff --git a/package/freeradius-server/patches/patch-src_modules_rlm_eap_Makefile_in b/package/freeradius-server/patches/patch-src_modules_rlm_eap_Makefile_in
deleted file mode 100644
index da95c44c1..000000000
--- a/package/freeradius-server/patches/patch-src_modules_rlm_eap_Makefile_in
+++ /dev/null
@@ -1,11 +0,0 @@
---- freeradius-server-2.1.8.orig/src/modules/rlm_eap/Makefile.in 2009-12-30 16:44:35.000000000 +0100
-+++ freeradius-server-2.1.8/src/modules/rlm_eap/Makefile.in 2010-02-05 20:33:01.401922559 +0100
-@@ -37,7 +37,7 @@ radeapclient.lo: radeapclient.c $(HEADER
-
- install-subdirs:
- @$(MAKE) $(MFLAGS) WHAT_TO_MAKE=install common
-- $(LIBTOOL) --mode=install $(INSTALL) -m 755 $(INSTALLSTRIP) radeapclient$(EXEEXT) $(R)$(bindir)
-+ #$(LIBTOOL) --mode=install $(INSTALL) -m 755 $(INSTALLSTRIP) radeapclient$(EXEEXT) $(R)$(bindir)
-
- common:
- @for dir in $(RLM_SUBDIRS); do \