From 03a28958ab6da86aa0dd27e86181e4f5b224d2c9 Mon Sep 17 00:00:00 2001 From: Internet1235 <135099493+Internet1235@users.noreply.github.com> Date: Tue, 22 Apr 2025 12:30:35 +0800 Subject: [PATCH] tailscale: Bump to 1.82.0 --- net/tailscale/Makefile | 13 +++++++++---- net/tailscale/README.md | 7 ------- 2 files changed, 9 insertions(+), 11 deletions(-) diff --git a/net/tailscale/Makefile b/net/tailscale/Makefile index 22aa2aa0..12d0593e 100644 --- a/net/tailscale/Makefile +++ b/net/tailscale/Makefile @@ -8,16 +8,18 @@ include $(TOPDIR)/rules.mk PKG_NAME:=tailscale -PKG_VERSION:=1.80.3 +PKG_VERSION:=1.82.0 PKG_RELEASE:=1 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz PKG_SOURCE_URL:=https://codeload.github.com/tailscale/tailscale/tar.gz/v$(PKG_VERSION)? -PKG_HASH:=4ea7d4c1a4e86905f330f5d5f5288488cb29d6c586d5bcabf9d02c5481ba740d +PKG_HASH:=d846c1064dc9fb23559e260c1faf3d36b4bdda5457b1e069dceec3add8bb7e55 -PKG_MAINTAINER:=Jan Pavlinec +PKG_MAINTAINER:=Zephyr Lykos , \ + Sandro Jäckel PKG_LICENSE:=BSD-3-Clause PKG_LICENSE_FILES:=LICENSE +PKG_CPE_ID:=cpe:/a:tailscale:tailscale PKG_BUILD_DIR:=$(BUILD_DIR)/tailscale-$(PKG_VERSION) PKG_BUILD_DEPENDS:=golang/host @@ -28,7 +30,7 @@ GO_PKG:=\ tailscale.com/cmd/tailscaled 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_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 ../../lang/golang/golang-package.mk @@ -49,6 +51,7 @@ define Package/tailscale/description endef define Package/tailscale/conffiles +/etc/config/tailscale /etc/tailscale/ endef @@ -56,6 +59,8 @@ define Package/tailscale/install $(INSTALL_DIR) $(1)/usr/sbin $(1)/etc/init.d $(1)/etc/config $(INSTALL_BIN) $(GO_PKG_BUILD_BIN_DIR)/tailscaled $(1)/usr/sbin $(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 $(eval $(call BuildPackage,tailscale)) diff --git a/net/tailscale/README.md b/net/tailscale/README.md index 7bad0a3c..e53dfb77 100644 --- a/net/tailscale/README.md +++ b/net/tailscale/README.md @@ -1,13 +1,6 @@ # Tailscale 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] > 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