Browse Source

Merge pull request #9391 from mwarning/zerotier

zerotier: keep configuration file on update
lilik-openwrt-22.03
Rosen Penev 5 years ago
committed by GitHub
parent
commit
fbc16be02f
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 8 additions and 4 deletions
  1. +8
    -4
      net/zerotier/Makefile

+ 8
- 4
net/zerotier/Makefile View File

@ -7,15 +7,16 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=zerotier PKG_NAME:=zerotier
PKG_VERSION:=1.2.12 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_URL:=https://codeload.github.com/zerotier/ZeroTierOne/tar.gz/$(PKG_VERSION)?
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
PKG_HASH:=212799bfaeb5e7dff20f2cd83f15742c8e13b8e9535606cfb85abcfb5fb6fed4 PKG_HASH:=212799bfaeb5e7dff20f2cd83f15742c8e13b8e9535606cfb85abcfb5fb6fed4
PKG_BUILD_DIR:=$(BUILD_DIR)/ZeroTierOne-$(PKG_VERSION) PKG_BUILD_DIR:=$(BUILD_DIR)/ZeroTierOne-$(PKG_VERSION)
PKG_MAINTAINER:=Moritz Warning <moritzwarning@web.de>
PKG_LICENSE:=GPL-3.0-or-later
PKG_LICENSE_FILES:=LICENSE.txt
PKG_BUILD_PARALLEL:=1 PKG_BUILD_PARALLEL:=1
include $(INCLUDE_DIR)/package.mk include $(INCLUDE_DIR)/package.mk
@ -27,7 +28,6 @@ define Package/zerotier
TITLE:=Create flat virtual Ethernet networks of almost unlimited size TITLE:=Create flat virtual Ethernet networks of almost unlimited size
URL:=https://www.zerotier.com URL:=https://www.zerotier.com
SUBMENU:=VPN SUBMENU:=VPN
MAINTAINER:=Moritz Warning <moritzwarning@web.de>
endef endef
define Package/zerotier/description define Package/zerotier/description
@ -56,6 +56,10 @@ endef
TARGET_CFLAGS += -ffunction-sections -fdata-sections TARGET_CFLAGS += -ffunction-sections -fdata-sections
TARGET_LDFLAGS += -Wl,--gc-sections TARGET_LDFLAGS += -Wl,--gc-sections
define Package/zerotier/conffiles
/etc/config/zerotier
endef
define Package/zerotier/install define Package/zerotier/install
$(INSTALL_DIR) $(1)/usr/bin $(INSTALL_DIR) $(1)/usr/bin
$(INSTALL_BIN) $(PKG_BUILD_DIR)/zerotier-one $(1)/usr/bin/ $(INSTALL_BIN) $(PKG_BUILD_DIR)/zerotier-one $(1)/usr/bin/


Loading…
Cancel
Save