lede-packages-rs

git clone git://archive.git.mtrnord.blog/MTRNord/lede-packages-rs.git
Log | Files | Refs | README | LICENSE

commit 7dadd12850400277de582c0c2d4b7277114e1e9c
parent a4d4477c58916b63b7d179bcd2ee074a6166a6b2
Author: Jo-Philipp Wich <jow@openwrt.org>
Date:   Mon, 28 Dec 2015 16:16:56 +0100

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 <jow@openwrt.org>

Diffstat:
Mnet/freeradius2/Makefile | 5+++--
1 file changed, 3 insertions(+), 2 deletions(-)

diff --git 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 \