summaryrefslogtreecommitdiff
path: root/net/tinc
diff options
context:
space:
mode:
authorRosen Penev <rosenp@gmail.com>2019-01-05 23:31:25 -0800
committerGitHub <noreply@github.com>2019-01-05 23:31:25 -0800
commit5ef7a05a8a7c704f47cdeec5b5f973b94c331480 (patch)
tree56146378d765a0204cd4220e6bc12baed4991226 /net/tinc
parent7696b4ec63f0f146e5371d2ef119d7a9c95c3746 (diff)
tinc: Fix to actually build without deprecated APIs
The configure script checks for the existence of OpenSSL by checking a deprecated function. This works around it. The other changes have been done previously Signed-off-by: Rosen Penev <rosenp@gmail.com>
Diffstat (limited to 'net/tinc')
-rw-r--r--net/tinc/Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/net/tinc/Makefile b/net/tinc/Makefile
index f1cffbffe..a70f018f9 100644
--- a/net/tinc/Makefile
+++ b/net/tinc/Makefile
@@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=tinc
PKG_VERSION:=1.0.35
-PKG_RELEASE:=2
+PKG_RELEASE:=3
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=https://www.tinc-vpn.org/packages
@@ -42,6 +42,9 @@ CONFIGURE_ARGS += \
--with-zlib="$(STAGING_DIR)/usr" \
--with-lzo-include="$(STAGING_DIR)/usr/include/lzo"
+CONFIGURE_VARS += \
+ ac_cv_have_decl_OpenSSL_add_all_algorithms=yes
+
define Package/tinc/install
$(INSTALL_DIR) $(1)/usr/sbin
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/sbin/tincd $(1)/usr/sbin/