From: Jo-Philipp Wich Date: Mon, 28 Dec 2015 15:16:56 +0000 (+0100) Subject: freeradius2: completely disable runtime OpenSSL version checks X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=refs%2Fpull%2F2195%2Fhead;p=feed%2Fpackages.git freeradius2: completely disable runtime OpenSSL version checks Whenever we ship fixed libopenssl binaries in CC, the Freeradius daemon fails at startup because it detects a mismatch of the build time and runtime OpenSSL version. Since our OpenSSL updates for CC 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 --- 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 \