Skip to content

Commit

Permalink
package/tailscale: new package
Browse files Browse the repository at this point in the history
Signed-off-by: James Hilliard <[email protected]>
  • Loading branch information
jameshilliard authored and paralin committed Aug 20, 2024
1 parent 7cca41e commit eb1f3f5
Show file tree
Hide file tree
Showing 5 changed files with 35 additions and 0 deletions.
1 change: 1 addition & 0 deletions DEVELOPERS
Original file line number Diff line number Diff line change
Expand Up @@ -1529,6 +1529,7 @@ F: package/serd/
F: package/sord/
F: package/sratom/
F: package/stb/
F: package/tailscale/
F: package/zchunk/
F: support/testing/tests/package/sample_python_rtoml.py
F: support/testing/tests/package/test_python_rtoml.py
Expand Down
1 change: 1 addition & 0 deletions package/Config.in
Original file line number Diff line number Diff line change
Expand Up @@ -2640,6 +2640,7 @@ endif
source "package/stunnel/Config.in"
source "package/suricata/Config.in"
source "package/system-config-printer/Config.in"
source "package/tailscale/Config.in"
source "package/tcpdump/Config.in"
source "package/tcping/Config.in"
source "package/tcpreplay/Config.in"
Expand Down
8 changes: 8 additions & 0 deletions package/tailscale/Config.in
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
config BR2_PACKAGE_TAILSCALE
bool "tailscale"
depends on BR2_PACKAGE_HOST_GO_TARGET_ARCH_SUPPORTS
select BR2_PACKAGE_HOST_GO
help
The easiest, most secure way to use WireGuard and 2FA.

https://github.com/tailscale/tailscale
3 changes: 3 additions & 0 deletions package/tailscale/tailscale.hash
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# Locally computed
sha256 2b08140f9391f51e83c0d8b430c33f240d50d1edeac969c124dec59af3e27054 tailscale-1.72.0-go2.tar.gz
sha256 d1ee1c7947d4b2c1963ea214d5324f1d4c89f2f1d0f0224889b4dfb868dad725 LICENSE
22 changes: 22 additions & 0 deletions package/tailscale/tailscale.mk
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
################################################################################
#
# tailscale
#
################################################################################

TAILSCALE_VERSION = 1.72.0
TAILSCALE_SITE = $(call github,tailscale,tailscale,v$(TAILSCALE_VERSION))
TAILSCALE_LICENSE = BSD-3-Clause
TAILSCALE_LICENSE_FILES = LICENSE
TAILSCALE_GOMOD = tailscale.com
TAILSCALE_BUILD_TARGETS = cmd/tailscale cmd/tailscaled
TAILSCALE_INSTALL_BINS = tailscale tailscaled
TAILSCALE_LDFLAGS = \
-X tailscale.com/version.longStamp=$(TAILSCALE_VERSION) \
-X tailscale.com/version.shortStamp=$(TAILSCALE_VERSION)

define TAILSCALE_LINUX_CONFIG_FIXUPS
$(call KCONFIG_ENABLE_OPT,CONFIG_TUN)
endef

$(eval $(golang-package))

0 comments on commit eb1f3f5

Please sign in to comment.