Skip to content

Commit

Permalink
feat: update Tailscale to 1.80.2 (#5)
Browse files Browse the repository at this point in the history
  • Loading branch information
dkaser authored Feb 23, 2025
1 parent 887a52c commit 9b57e1c
Show file tree
Hide file tree
Showing 5 changed files with 43 additions and 27 deletions.
20 changes: 12 additions & 8 deletions plugin/tailscale-preview.plg
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<PLUGIN
name="tailscale"
author="Derek Kaser"
version="2025.01.30"
version="2025.02.23"
pluginURL="https://raw.githubusercontent.com/unraid/unraid-tailscale/preview/plugin/tailscale-preview.plg"
launch="Settings/Tailscale"
support="https://forums.unraid.net/topic/136889-plugin-tailscale/"
Expand All @@ -13,6 +13,10 @@

<CHANGES>
<![CDATA[
###2025.02.23###
- Update Tailscale to 1.80.2
###2025.01.30###
- Update Tailscale to 1.80.0
Expand All @@ -34,9 +38,9 @@ For older releases, see https://github.com/unraid/unraid-tailscale/releases
]]>
</CHANGES>

<FILE Name="/boot/config/plugins/tailscale/tailscale_1.80.0_amd64.tgz">
<URL>https://pkgs.tailscale.com/stable/tailscale_1.80.0_amd64.tgz</URL>
<SHA256>083b1fccbc7c34a6e284ada8b28cb6e832669b9f86cfe1efc31cb2530cff016b</SHA256>
<FILE Name="/boot/config/plugins/tailscale/tailscale_1.80.2_amd64.tgz">
<URL>https://pkgs.tailscale.com/stable/tailscale_1.80.2_amd64.tgz</URL>
<SHA256>24e370743442297e54f7b3eeef1e0644ddfd58fd62e17a45e0b3caf47aa420a0</SHA256>
</FILE>

<FILE Name="/boot/config/plugins/tailscale/unraid-tailscale-utils-2.2.14-noarch-1.txz">
Expand All @@ -57,15 +61,15 @@ fi
upgradepkg --install-new --reinstall /boot/config/plugins/tailscale/unraid-tailscale-utils-2.2.14-noarch-1.txz
mkdir -p /usr/local/emhttp/plugins/tailscale/bin
tar xzf /boot/config/plugins/tailscale/tailscale_1.80.0_amd64.tgz --strip-components 1 -C /usr/local/emhttp/plugins/tailscale/bin
tar xzf /boot/config/plugins/tailscale/tailscale_1.80.2_amd64.tgz --strip-components 1 -C /usr/local/emhttp/plugins/tailscale/bin
echo "state" > /boot/config/plugins/tailscale/.gitignore
ln -s /usr/local/emhttp/plugins/tailscale/bin/tailscale /usr/local/sbin/tailscale
ln -s /usr/local/emhttp/plugins/tailscale/bin/tailscaled /usr/local/sbin/tailscaled
mkdir -p /var/local/emhttp/plugins/tailscale
echo "VERSION=2025.01.30" > /var/local/emhttp/plugins/tailscale/tailscale.ini
echo "VERSION=2025.02.23" > /var/local/emhttp/plugins/tailscale/tailscale.ini
echo "BRANCH=preview" >> /var/local/emhttp/plugins/tailscale/tailscale.ini
# remove other branches (e.g., if switching from main to preview)
Expand All @@ -89,7 +93,7 @@ tailscale completion bash > /etc/bash_completion.d/tailscale
rm -f /boot/config/plugins/tailscale/tailscale-utils-*.txz
rm -f $(ls /boot/config/plugins/tailscale/unraid-tailscale-utils-*.txz 2>/dev/null | grep -v '2.2.14')
rm -f $(ls /boot/config/plugins/tailscale/unraid-plugin-diagnostics-*.txz 2>/dev/null)
rm -f $(ls /boot/config/plugins/tailscale/*.tgz 2>/dev/null | grep -v 'tailscale_1.80.0_amd64')
rm -f $(ls /boot/config/plugins/tailscale/*.tgz 2>/dev/null | grep -v 'tailscale_1.80.2_amd64')
# check to see if the state file has been backed up to Unraid Connect
if [ -d "/boot/.git" ]; then
Expand All @@ -112,7 +116,7 @@ fi
echo ""
echo "----------------------------------------------------"
echo " tailscale has been installed."
echo " Version: 2025.01.30"
echo " Version: 2025.02.23"
echo "----------------------------------------------------"
echo ""
]]>
Expand Down
20 changes: 12 additions & 8 deletions plugin/tailscale-trunk.plg
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<PLUGIN
name="tailscale"
author="Derek Kaser"
version="2025.01.30"
version="2025.02.23"
pluginURL="https://raw.githubusercontent.com/unraid/unraid-tailscale/trunk/plugin/tailscale-trunk.plg"
launch="Settings/Tailscale"
support="https://forums.unraid.net/topic/136889-plugin-tailscale/"
Expand All @@ -13,6 +13,10 @@

<CHANGES>
<![CDATA[
###2025.02.23###
- Update Tailscale to 1.80.2
###2025.01.30###
- Update Tailscale to 1.80.0
Expand All @@ -34,9 +38,9 @@ For older releases, see https://github.com/unraid/unraid-tailscale/releases
]]>
</CHANGES>

<FILE Name="/boot/config/plugins/tailscale/tailscale_1.80.0_amd64.tgz">
<URL>https://pkgs.tailscale.com/stable/tailscale_1.80.0_amd64.tgz</URL>
<SHA256>083b1fccbc7c34a6e284ada8b28cb6e832669b9f86cfe1efc31cb2530cff016b</SHA256>
<FILE Name="/boot/config/plugins/tailscale/tailscale_1.80.2_amd64.tgz">
<URL>https://pkgs.tailscale.com/stable/tailscale_1.80.2_amd64.tgz</URL>
<SHA256>24e370743442297e54f7b3eeef1e0644ddfd58fd62e17a45e0b3caf47aa420a0</SHA256>
</FILE>

<FILE Name="/boot/config/plugins/tailscale/unraid-tailscale-utils-2.2.14-noarch-1.txz">
Expand All @@ -57,15 +61,15 @@ fi
upgradepkg --install-new --reinstall /boot/config/plugins/tailscale/unraid-tailscale-utils-2.2.14-noarch-1.txz
mkdir -p /usr/local/emhttp/plugins/tailscale/bin
tar xzf /boot/config/plugins/tailscale/tailscale_1.80.0_amd64.tgz --strip-components 1 -C /usr/local/emhttp/plugins/tailscale/bin
tar xzf /boot/config/plugins/tailscale/tailscale_1.80.2_amd64.tgz --strip-components 1 -C /usr/local/emhttp/plugins/tailscale/bin
echo "state" > /boot/config/plugins/tailscale/.gitignore
ln -s /usr/local/emhttp/plugins/tailscale/bin/tailscale /usr/local/sbin/tailscale
ln -s /usr/local/emhttp/plugins/tailscale/bin/tailscaled /usr/local/sbin/tailscaled
mkdir -p /var/local/emhttp/plugins/tailscale
echo "VERSION=2025.01.30" > /var/local/emhttp/plugins/tailscale/tailscale.ini
echo "VERSION=2025.02.23" > /var/local/emhttp/plugins/tailscale/tailscale.ini
echo "BRANCH=trunk" >> /var/local/emhttp/plugins/tailscale/tailscale.ini
# remove other branches (e.g., if switching from main to preview)
Expand All @@ -89,7 +93,7 @@ tailscale completion bash > /etc/bash_completion.d/tailscale
rm -f /boot/config/plugins/tailscale/tailscale-utils-*.txz
rm -f $(ls /boot/config/plugins/tailscale/unraid-tailscale-utils-*.txz 2>/dev/null | grep -v '2.2.14')
rm -f $(ls /boot/config/plugins/tailscale/unraid-plugin-diagnostics-*.txz 2>/dev/null)
rm -f $(ls /boot/config/plugins/tailscale/*.tgz 2>/dev/null | grep -v 'tailscale_1.80.0_amd64')
rm -f $(ls /boot/config/plugins/tailscale/*.tgz 2>/dev/null | grep -v 'tailscale_1.80.2_amd64')
# check to see if the state file has been backed up to Unraid Connect
if [ -d "/boot/.git" ]; then
Expand All @@ -112,7 +116,7 @@ fi
echo ""
echo "----------------------------------------------------"
echo " tailscale has been installed."
echo " Version: 2025.01.30"
echo " Version: 2025.02.23"
echo "----------------------------------------------------"
echo ""
]]>
Expand Down
20 changes: 12 additions & 8 deletions plugin/tailscale.plg
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<PLUGIN
name="tailscale"
author="Derek Kaser"
version="2025.01.30"
version="2025.02.23"
pluginURL="https://raw.githubusercontent.com/unraid/unraid-tailscale/main/plugin/tailscale.plg"
launch="Settings/Tailscale"
support="https://forums.unraid.net/topic/136889-plugin-tailscale/"
Expand All @@ -13,6 +13,10 @@

<CHANGES>
<![CDATA[
###2025.02.23###
- Update Tailscale to 1.80.2
###2025.01.30###
- Update Tailscale to 1.80.0
Expand All @@ -34,9 +38,9 @@ For older releases, see https://github.com/unraid/unraid-tailscale/releases
]]>
</CHANGES>

<FILE Name="/boot/config/plugins/tailscale/tailscale_1.80.0_amd64.tgz">
<URL>https://pkgs.tailscale.com/stable/tailscale_1.80.0_amd64.tgz</URL>
<SHA256>083b1fccbc7c34a6e284ada8b28cb6e832669b9f86cfe1efc31cb2530cff016b</SHA256>
<FILE Name="/boot/config/plugins/tailscale/tailscale_1.80.2_amd64.tgz">
<URL>https://pkgs.tailscale.com/stable/tailscale_1.80.2_amd64.tgz</URL>
<SHA256>24e370743442297e54f7b3eeef1e0644ddfd58fd62e17a45e0b3caf47aa420a0</SHA256>
</FILE>

<FILE Name="/boot/config/plugins/tailscale/unraid-tailscale-utils-2.2.14-noarch-1.txz">
Expand All @@ -57,15 +61,15 @@ fi
upgradepkg --install-new --reinstall /boot/config/plugins/tailscale/unraid-tailscale-utils-2.2.14-noarch-1.txz
mkdir -p /usr/local/emhttp/plugins/tailscale/bin
tar xzf /boot/config/plugins/tailscale/tailscale_1.80.0_amd64.tgz --strip-components 1 -C /usr/local/emhttp/plugins/tailscale/bin
tar xzf /boot/config/plugins/tailscale/tailscale_1.80.2_amd64.tgz --strip-components 1 -C /usr/local/emhttp/plugins/tailscale/bin
echo "state" > /boot/config/plugins/tailscale/.gitignore
ln -s /usr/local/emhttp/plugins/tailscale/bin/tailscale /usr/local/sbin/tailscale
ln -s /usr/local/emhttp/plugins/tailscale/bin/tailscaled /usr/local/sbin/tailscaled
mkdir -p /var/local/emhttp/plugins/tailscale
echo "VERSION=2025.01.30" > /var/local/emhttp/plugins/tailscale/tailscale.ini
echo "VERSION=2025.02.23" > /var/local/emhttp/plugins/tailscale/tailscale.ini
echo "BRANCH=main" >> /var/local/emhttp/plugins/tailscale/tailscale.ini
# remove other branches (e.g., if switching from main to preview)
Expand All @@ -87,7 +91,7 @@ tailscale completion bash > /etc/bash_completion.d/tailscale
rm -f /boot/config/plugins/tailscale/tailscale-utils-*.txz
rm -f $(ls /boot/config/plugins/tailscale/unraid-tailscale-utils-*.txz 2>/dev/null | grep -v '2.2.14')
rm -f $(ls /boot/config/plugins/tailscale/unraid-plugin-diagnostics-*.txz 2>/dev/null)
rm -f $(ls /boot/config/plugins/tailscale/*.tgz 2>/dev/null | grep -v 'tailscale_1.80.0_amd64')
rm -f $(ls /boot/config/plugins/tailscale/*.tgz 2>/dev/null | grep -v 'tailscale_1.80.2_amd64')
# check to see if the state file has been backed up to Unraid Connect
if [ -d "/boot/.git" ]; then
Expand All @@ -110,7 +114,7 @@ fi
echo ""
echo "----------------------------------------------------"
echo " tailscale has been installed."
echo " Version: 2025.01.30"
echo " Version: 2025.02.23"
echo "----------------------------------------------------"
echo ""
]]>
Expand Down
4 changes: 4 additions & 0 deletions tools/plugin/files/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
###2025.02.23###

- Update Tailscale to 1.80.2

###2025.01.30###

- Update Tailscale to 1.80.0
Expand Down
6 changes: 3 additions & 3 deletions tools/plugin/tailscale.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@
"name": "tailscale",
"author": "Derek Kaser",
"githubRepository": "unraid/unraid-tailscale",
"version": "2025.01.30",
"tailscaleVersion": "tailscale_1.80.0_amd64",
"tailscaleSHA256": "083b1fccbc7c34a6e284ada8b28cb6e832669b9f86cfe1efc31cb2530cff016b",
"version": "2025.02.23",
"tailscaleVersion": "tailscale_1.80.2_amd64",
"tailscaleSHA256": "24e370743442297e54f7b3eeef1e0644ddfd58fd62e17a45e0b3caf47aa420a0",
"packageVersion": "2.2.14",
"packageSHA256": "d47a1d6bffe133843d185f1955f89d24e416aaca4415226bf3eb12166e987701",
"pluginDirectory": "/usr/local/emhttp/plugins/tailscale",
Expand Down

0 comments on commit 9b57e1c

Please sign in to comment.