Compare commits
No commits in common. "rawhide" and "epel9" have entirely different histories.
5 changed files with 253 additions and 378 deletions
6
.gitignore
vendored
6
.gitignore
vendored
|
|
@ -1,7 +1 @@
|
|||
/tailscale-1.58.2-vendored.tar.xz
|
||||
/tailscale-1.68.1-vendored.tar.xz
|
||||
/tailscale-1.68.2-vendored.tar.xz
|
||||
/tailscale-1.70.0-vendored.tar.xz
|
||||
/tailscale-1.76.6-vendored.tar.xz
|
||||
/tailscale-1.78.3-vendored.tar.xz
|
||||
/tailscale-1.84.1-vendored.tar.xz
|
||||
|
|
|
|||
|
|
@ -70,32 +70,15 @@ if $do_license; then
|
|||
VERSION=$(echo -n $dep | awk -F ';' '{ printf "%s", $2 }')
|
||||
VERSION_SPEC=$(echo $VERSION | sed 's/-/~/g')
|
||||
CURL_OUT=$(curl -s https://api.deps.dev/v3/systems/go/packages/$GO_MOD_PATH_URLENCODE/versions/$VERSION)
|
||||
LICENSES=$(echo -n $CURL_OUT | jq -r '.licenses | join(" OR ")' 2> /dev/null)
|
||||
LICENSES=$(echo -n $CURL_OUT | jq -r '.licenses | join(" OR ")')
|
||||
if [ ! -z "$LICENSES" ]; then
|
||||
if echo "$LICENSES" | grep -q " OR "; then
|
||||
LICENSE_ASSOC_ARR["($LICENSES)"]=1
|
||||
else
|
||||
LICENSE_ASSOC_ARR["$LICENSES"]=1
|
||||
fi
|
||||
else
|
||||
# if we couldn't match a license on the exact version, try the default version
|
||||
CURL_OUT=$(curl -s https://api.deps.dev/v3/systems/go/packages/$GO_MOD_PATH_URLENCODE)
|
||||
DEFAULT_VERSION=$(echo -n $CURL_OUT | jq -r '.versions.[] | select(.isDefault==true) | .versionKey.version' 2> /dev/null)
|
||||
CURL_OUT=$(curl -s https://api.deps.dev/v3/systems/go/packages/$GO_MOD_PATH_URLENCODE/versions/$DEFAULT_VERSION)
|
||||
LICENSES_2ND=$(echo -n $CURL_OUT | jq -r '.licenses | join(" OR ")' 2> /dev/null)
|
||||
if [ ! -z "$LICENSES_2ND" ]; then
|
||||
if echo "$LICENSES_2ND" | grep -q " OR "; then
|
||||
LICENSE_ASSOC_ARR["($LICENSES_2ND)"]=1
|
||||
else
|
||||
LICENSE_ASSOC_ARR["$LICENSES_2ND"]=1
|
||||
fi
|
||||
fi
|
||||
fi
|
||||
if [ ! -z "$LICENSES" ]; then
|
||||
echo "# $LICENSES"
|
||||
else
|
||||
echo "# $LICENSES_2ND"
|
||||
fi
|
||||
fi
|
||||
echo "# $LICENSES"
|
||||
echo "Provides: bundled(golang($GO_MOD_PATH)) = $VERSION_SPEC"
|
||||
done
|
||||
|
||||
|
|
|
|||
2
sources
2
sources
|
|
@ -1 +1 @@
|
|||
SHA512 (tailscale-1.84.1-vendored.tar.xz) = 0912fd37889b268ef65cf8fa16ca21503697bf74ed7fb3923aa926a80fab1ce80516344328fcf52cbe8fe113f5ec0a2f87d12afecfe27b82e759f491303f7f10
|
||||
SHA512 (tailscale-1.58.2-vendored.tar.xz) = 63075ba2b109f6da971db979036c696693b7d687653566dff02caf97b2d40fe85765ec6300305273b3936a0380543bb32f7970c24aa978b26855d2f148c12ea7
|
||||
|
|
|
|||
596
tailscale.spec
596
tailscale.spec
File diff suppressed because it is too large
Load diff
|
|
@ -10,7 +10,9 @@ After=network-pre.target NetworkManager.service systemd-resolved.service
|
|||
# but you might want to configure this in order to set external firewall
|
||||
# settings.
|
||||
Environment="PORT=41641"
|
||||
ExecStart=/usr/bin/tailscaled --state=/var/lib/tailscale/tailscaled.state --socket=/run/tailscale/tailscaled.sock --port=${PORT}
|
||||
# Extra flags you might want to pass to tailscaled.
|
||||
Environment="FLAGS=''"
|
||||
ExecStart=/usr/bin/tailscaled --state=/var/lib/tailscale/tailscaled.state --socket=/run/tailscale/tailscaled.sock --port=${PORT} $FLAGS
|
||||
ExecStopPost=/usr/bin/tailscaled --cleanup
|
||||
|
||||
Restart=on-failure
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue