Merge pull request #7887 from neheb/patch-8

tinc: Fix to actually build without deprecated APIs
This commit is contained in:
Saverio Proto 2019-01-08 11:10:35 +01:00 committed by GitHub
commit 0551b498e4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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/