Commit accf908a authored by Ivan Mazhukin's avatar Ivan Mazhukin Committed by Vitaly Lipatov

epm play: add tailscale (eterbug #18275)

parent 68b2d29b
#!/bin/sh
PKGNAME=tailscale
SUPPORTEDARCHES="x86_64"
VERSION="$2"
DESCRIPTION="The easiest, most secure way to use WireGuard and 2FA"
URL="https://tailscale.com/"
. $(dirname $0)/common.sh
warn_version_is_not_supported
PKGURL=$(eget --list --latest "https://dl.fedoraproject.org/pub/fedora/linux/releases/42/Everything/x86_64/os/Packages/t/" "tailscale*.rpm")
install_pkgurl
#!/bin/sh -x
# It will run with two args: buildroot spec
BUILDROOT="$1"
SPEC="$2"
PRODUCT=tailscale
PRODUCTDIR=/opt/$PRODUCT
. $(dirname $0)/common.sh
#opt and bin parts
move_to_opt /usr/bin
add_bin_exec_command
add_bin_exec_command tailscaled
#cleanup
remove_dir /var/cache
remove_dir /usr/lib/.build-id
add_libs_requires
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment