From 85292a9f926dddf9a8ae93c1f60c49ec5d5a63c7 Mon Sep 17 00:00:00 2001 From: Moritz Warning Date: Thu, 4 Jul 2019 15:52:09 +0200 Subject: [PATCH] zerotier: keep configuration file on update Signed-off-by: Moritz Warning --- net/zerotier/Makefile | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/net/zerotier/Makefile b/net/zerotier/Makefile index 50a270a87..7cf5a44cb 100644 --- a/net/zerotier/Makefile +++ b/net/zerotier/Makefile @@ -7,15 +7,16 @@ include $(TOPDIR)/rules.mk PKG_NAME:=zerotier PKG_VERSION:=1.2.12 -PKG_RELEASE:=3 - -PKG_LICENSE:=GPL-3.0 +PKG_RELEASE:=4 PKG_SOURCE_URL:=https://codeload.github.com/zerotier/ZeroTierOne/tar.gz/$(PKG_VERSION)? PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz PKG_HASH:=212799bfaeb5e7dff20f2cd83f15742c8e13b8e9535606cfb85abcfb5fb6fed4 PKG_BUILD_DIR:=$(BUILD_DIR)/ZeroTierOne-$(PKG_VERSION) +PKG_MAINTAINER:=Moritz Warning +PKG_LICENSE:=GPL-3.0-or-later +PKG_LICENSE_FILES:=LICENSE.txt PKG_BUILD_PARALLEL:=1 include $(INCLUDE_DIR)/package.mk @@ -27,7 +28,6 @@ define Package/zerotier TITLE:=Create flat virtual Ethernet networks of almost unlimited size URL:=https://www.zerotier.com SUBMENU:=VPN - MAINTAINER:=Moritz Warning endef define Package/zerotier/description @@ -56,6 +56,10 @@ endef TARGET_CFLAGS += -ffunction-sections -fdata-sections TARGET_LDFLAGS += -Wl,--gc-sections +define Package/zerotier/conffiles +/etc/config/zerotier +endef + define Package/zerotier/install $(INSTALL_DIR) $(1)/usr/bin $(INSTALL_BIN) $(PKG_BUILD_DIR)/zerotier-one $(1)/usr/bin/