freeradius2: completely disable runtime OpenSSL version checks 2196/head
authorJo-Philipp Wich <jow@openwrt.org>
Mon, 28 Dec 2015 15:16:56 +0000 (16:16 +0100)
committerJo-Philipp Wich <jow@openwrt.org>
Mon, 28 Dec 2015 15:25:58 +0000 (16:25 +0100)
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>
net/freeradius2/Makefile

index d116dba492cd7ef687f6534d9e3d5dd346b176bd..0cce17f313c46b01dff61046734eacf828756a40 100644 (file)
@@ -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 \