mirror of
https://github.com/coolsnowwolf/packages.git
synced 2025-05-01 02:29:16 +08:00
Merge pull request #928 from Internet1235/tailscale
tailscale: Bump to 1.82.0
This commit is contained in:
commit
c7720addca
@ -8,16 +8,18 @@
|
|||||||
include $(TOPDIR)/rules.mk
|
include $(TOPDIR)/rules.mk
|
||||||
|
|
||||||
PKG_NAME:=tailscale
|
PKG_NAME:=tailscale
|
||||||
PKG_VERSION:=1.80.3
|
PKG_VERSION:=1.82.0
|
||||||
PKG_RELEASE:=1
|
PKG_RELEASE:=1
|
||||||
|
|
||||||
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
|
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
|
||||||
PKG_SOURCE_URL:=https://codeload.github.com/tailscale/tailscale/tar.gz/v$(PKG_VERSION)?
|
PKG_SOURCE_URL:=https://codeload.github.com/tailscale/tailscale/tar.gz/v$(PKG_VERSION)?
|
||||||
PKG_HASH:=4ea7d4c1a4e86905f330f5d5f5288488cb29d6c586d5bcabf9d02c5481ba740d
|
PKG_HASH:=d846c1064dc9fb23559e260c1faf3d36b4bdda5457b1e069dceec3add8bb7e55
|
||||||
|
|
||||||
PKG_MAINTAINER:=Jan Pavlinec <jan.pavlinec1@gmail.com>
|
PKG_MAINTAINER:=Zephyr Lykos <self@mochaa.ws>, \
|
||||||
|
Sandro Jäckel <sandro.jaeckel@gmail.com>
|
||||||
PKG_LICENSE:=BSD-3-Clause
|
PKG_LICENSE:=BSD-3-Clause
|
||||||
PKG_LICENSE_FILES:=LICENSE
|
PKG_LICENSE_FILES:=LICENSE
|
||||||
|
PKG_CPE_ID:=cpe:/a:tailscale:tailscale
|
||||||
|
|
||||||
PKG_BUILD_DIR:=$(BUILD_DIR)/tailscale-$(PKG_VERSION)
|
PKG_BUILD_DIR:=$(BUILD_DIR)/tailscale-$(PKG_VERSION)
|
||||||
PKG_BUILD_DEPENDS:=golang/host
|
PKG_BUILD_DEPENDS:=golang/host
|
||||||
@ -28,7 +30,7 @@ GO_PKG:=\
|
|||||||
tailscale.com/cmd/tailscaled
|
tailscale.com/cmd/tailscaled
|
||||||
GO_PKG_LDFLAGS:=-X 'tailscale.com/version.longStamp=$(PKG_VERSION)-$(PKG_RELEASE) (OpenWrt)'
|
GO_PKG_LDFLAGS:=-X 'tailscale.com/version.longStamp=$(PKG_VERSION)-$(PKG_RELEASE) (OpenWrt)'
|
||||||
GO_PKG_LDFLAGS_X:=tailscale.com/version.shortStamp=$(PKG_VERSION)
|
GO_PKG_LDFLAGS_X:=tailscale.com/version.shortStamp=$(PKG_VERSION)
|
||||||
GO_PKG_TAGS:=ts_include_cli
|
GO_PKG_TAGS:=ts_include_cli,ts_omit_aws,ts_omit_bird,ts_omit_tap,ts_omit_kube,ts_omit_completion
|
||||||
|
|
||||||
include $(INCLUDE_DIR)/package.mk
|
include $(INCLUDE_DIR)/package.mk
|
||||||
include ../../lang/golang/golang-package.mk
|
include ../../lang/golang/golang-package.mk
|
||||||
@ -49,6 +51,7 @@ define Package/tailscale/description
|
|||||||
endef
|
endef
|
||||||
|
|
||||||
define Package/tailscale/conffiles
|
define Package/tailscale/conffiles
|
||||||
|
/etc/config/tailscale
|
||||||
/etc/tailscale/
|
/etc/tailscale/
|
||||||
endef
|
endef
|
||||||
|
|
||||||
@ -56,6 +59,8 @@ define Package/tailscale/install
|
|||||||
$(INSTALL_DIR) $(1)/usr/sbin $(1)/etc/init.d $(1)/etc/config
|
$(INSTALL_DIR) $(1)/usr/sbin $(1)/etc/init.d $(1)/etc/config
|
||||||
$(INSTALL_BIN) $(GO_PKG_BUILD_BIN_DIR)/tailscaled $(1)/usr/sbin
|
$(INSTALL_BIN) $(GO_PKG_BUILD_BIN_DIR)/tailscaled $(1)/usr/sbin
|
||||||
$(LN) tailscaled $(1)/usr/sbin/tailscale
|
$(LN) tailscaled $(1)/usr/sbin/tailscale
|
||||||
|
$(INSTALL_BIN) ./files//tailscale.init $(1)/etc/init.d/tailscale
|
||||||
|
$(INSTALL_DATA) ./files//tailscale.conf $(1)/etc/config/tailscale
|
||||||
endef
|
endef
|
||||||
|
|
||||||
$(eval $(call BuildPackage,tailscale))
|
$(eval $(call BuildPackage,tailscale))
|
||||||
|
@ -1,13 +1,6 @@
|
|||||||
# Tailscale
|
# Tailscale
|
||||||
This readme should help you with tailscale client setup.
|
This readme should help you with tailscale client setup.
|
||||||
|
|
||||||
## Install
|
|
||||||
There are two packages related to tailscale. Tailscaled (daemon which has to run every time you want to be connected to VPN) and tailscale (package with a utility which is necessary for registering device).
|
|
||||||
|
|
||||||
To install them run
|
|
||||||
```
|
|
||||||
opkg install tailscale tailscaled
|
|
||||||
```
|
|
||||||
> [!NOTE]
|
> [!NOTE]
|
||||||
> By default this package will use nftables. If you wish to use iptables, the config file `/etc/config/tailscale` can be modfied, changing the line `fw_mode 'nftables'` to `fw_mode 'iptables'`. You can then run `/etc/init.d/tailscale restart` to restart tailscale using your chosen method
|
> By default this package will use nftables. If you wish to use iptables, the config file `/etc/config/tailscale` can be modfied, changing the line `fw_mode 'nftables'` to `fw_mode 'iptables'`. You can then run `/etc/init.d/tailscale restart` to restart tailscale using your chosen method
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user