From 2756e72598189a34ba801fb914fb52e6e7c81a76 Mon Sep 17 00:00:00 2001 From: Rosen Penev Date: Thu, 17 Dec 2020 16:31:29 -0800 Subject: [PATCH] openvpn-easy-rsa: use relative symlinks Fixes dead symlinks under InstallDev. Signed-off-by: Rosen Penev --- net/openvpn-easy-rsa/Makefile | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/net/openvpn-easy-rsa/Makefile b/net/openvpn-easy-rsa/Makefile index 464002b7d..56d5b3382 100644 --- a/net/openvpn-easy-rsa/Makefile +++ b/net/openvpn-easy-rsa/Makefile @@ -10,7 +10,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=openvpn-easy-rsa PKG_VERSION:=3.0.8 -PKG_RELEASE:=1 +PKG_RELEASE:=2 PKG_SOURCE_URL:=https://codeload.github.com/OpenVPN/easy-rsa/tar.gz/v$(PKG_VERSION)? PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz PKG_HASH:=fd6b67d867c3b8afd53efa2ca015477f6658a02323e1799432083472ac0dd200 @@ -63,14 +63,14 @@ define Package/openvpn-easy-rsa/install $(INSTALL_BIN) $(PKG_BUILD_DIR)/dist-staging/unix/EasyRSA-$(PKG_VERSION)/easyrsa $(1)/usr/lib/easy-rsa/ $(INSTALL_DIR) $(1)/usr/bin - $(LN) /usr/lib/easy-rsa/easyrsa $(1)/usr/bin/easyrsa + $(LN) ../lib/easy-rsa/easyrsa $(1)/usr/bin/easyrsa $(INSTALL_DIR) $(1)/etc/easy-rsa $(INSTALL_DATA) $(PKG_BUILD_DIR)/dist-staging/unix/EasyRSA-$(PKG_VERSION)/openssl-easyrsa.cnf $(1)/etc/easy-rsa/openssl-1.0.cnf - $(LN) /etc/easy-rsa/openssl-1.0.cnf $(1)/etc/easy-rsa/openssl-easyrsa.cnf - $(LN) /etc/easy-rsa/openssl-easyrsa.cnf $(1)/usr/lib/easy-rsa/openssl-easyrsa.cnf + $(LN) openssl-1.0.cnf $(1)/etc/easy-rsa/openssl-easyrsa.cnf + $(LN) ../../../etc/easy-rsa/openssl-easyrsa.cnf $(1)/usr/lib/easy-rsa/openssl-easyrsa.cnf $(INSTALL_DATA) $(PKG_BUILD_DIR)/dist-staging/unix/EasyRSA-$(PKG_VERSION)/vars.example $(1)/etc/easy-rsa/vars - $(LN) /etc/easy-rsa/vars $(1)/usr/lib/easy-rsa/vars + $(LN) ../../../etc/easy-rsa/vars $(1)/usr/lib/easy-rsa/vars $(INSTALL_DIR) $(1)/etc/easy-rsa/pki chmod 700 $(1)/etc/easy-rsa/pki @@ -81,7 +81,7 @@ define Package/openvpn-easy-rsa/install $(INSTALL_DIR) $(1)/etc/easy-rsa/x509-types $(INSTALL_DATA) $(PKG_BUILD_DIR)/dist-staging/unix/EasyRSA-$(PKG_VERSION)/x509-types/* $(1)/etc/easy-rsa/x509-types/ - $(LN) /etc/easy-rsa/x509-types $(1)/usr/lib/easy-rsa/x509-types + $(LN) ../../../etc/easy-rsa/x509-types $(1)/usr/lib/easy-rsa/x509-types $(INSTALL_DIR) $(1)/lib/upgrade/keep.d $(INSTALL_DATA) files/openvpn-easy-rsa.upgrade $(1)/lib/upgrade/keep.d/$(PKG_NAME)