From 7dadd12850400277de582c0c2d4b7277114e1e9c Mon Sep 17 00:00:00 2001 From: Jo-Philipp Wich Date: Mon, 28 Dec 2015 16:16:56 +0100 Subject: [PATCH] freeradius2: completely disable runtime OpenSSL version checks Whenever we ship fixed libopenssl binaries in DD, the Freeradius daemon fails at startup because it detects a mismatch of the build time and runtime OpenSSL version. Since our OpenSSL updates for DD are ABI compatible we do not need or even want this superflous check. Removing it saves us the effort to rebuild Freeradius after every OpenSSL version bump. Signed-off-by: Jo-Philipp Wich --- net/freeradius2/Makefile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/net/freeradius2/Makefile b/net/freeradius2/Makefile index d116dba492..0cce17f313 100644 --- a/net/freeradius2/Makefile +++ b/net/freeradius2/Makefile @@ -1,5 +1,5 @@ # -# Copyright (C) 2008-2014 OpenWrt.org +# Copyright (C) 2008-2015 OpenWrt.org # # This is free software, licensed under the GNU General Public License v2. # See /LICENSE for more information. @@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=freeradius2 PKG_VERSION:=2.2.8 -PKG_RELEASE:=1 +PKG_RELEASE:=2 PKG_SOURCE:=freeradius-server-$(PKG_VERSION).tar.bz2 PKG_SOURCE_URL:=\ @@ -350,6 +350,7 @@ CONFIGURE_ARGS+= \ $(if $(CONFIG_FREERADIUS_OPENSSL),--with,--without)-openssl \ $(if $(CONFIG_FREERADIUS_OPENSSL),--with-openssl-includes="$(STAGING_DIR)/usr/include",) \ $(if $(CONFIG_FREERADIUS_OPENSSL),--with-openssl-libraries="$(STAGING_DIR)/usr/lib",) \ + $(if $(CONFIG_FREERADIUS_OPENSSL),--disable-openssl-version-check,) \ --with-system-libtool \ --with-system-libltdl \ --enable-strict-dependencies \ -- 2.30.2