SHA256
1
0
forked from pool/tailscale

70 Commits

Author SHA256 Message Date
4fc563b752 Accepting request 1252354 from network:vpn
- add patch fix-CVE-2025-22869.patch, fixes bsc#1239353 (forwarded request 1252353 from rrahl0)

OBS-URL: https://build.opensuse.org/request/show/1252354
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/tailscale?expand=0&rev=26
2025-03-12 19:13:52 +00:00
Richard Rahl
e301c435ed - add patch fix-CVE-2025-22869.patch, fixes bsc#1239353
OBS-URL: https://build.opensuse.org/package/show/network:vpn/tailscale?expand=0&rev=71
2025-03-12 09:22:16 +00:00
cc303292a9 Accepting request 1250085 from network:vpn
- update to 1.80.3:
  * appc: fix a deadlock in route advertisements
  * client/web: fix CSRF handler order in web UI (forwarded request 1250084 from rrahl0)

OBS-URL: https://build.opensuse.org/request/show/1250085
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/tailscale?expand=0&rev=25
2025-03-04 17:33:44 +00:00
Richard Rahl
91a96b1ce6 - update to 1.80.3:
* appc: fix a deadlock in route advertisements
  * client/web: fix CSRF handler order in web UI

OBS-URL: https://build.opensuse.org/package/show/network:vpn/tailscale?expand=0&rev=69
2025-03-04 13:49:59 +00:00
786d0d5383 Accepting request 1245709 from network:vpn
- update to 1.80.2:
  * Use ip:country as a geolocation device posture attribute (generally available). (forwarded request 1245700 from rrahl0)

OBS-URL: https://build.opensuse.org/request/show/1245709
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/tailscale?expand=0&rev=24
2025-02-13 17:47:55 +00:00
Richard Rahl
66c1141099 - update to 1.80.2:
* Use ip:country as a geolocation device posture attribute (generally available).

OBS-URL: https://build.opensuse.org/package/show/network:vpn/tailscale?expand=0&rev=67
2025-02-13 15:36:34 +00:00
c81f735328 Accepting request 1244263 from network:vpn
- update to 1.80.1:
  * net/netmon: add extra panic guard around ParseRIB (forwarded request 1244262 from rrahl0)

OBS-URL: https://build.opensuse.org/request/show/1244263
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/tailscale?expand=0&rev=23
2025-02-09 19:01:34 +00:00
Richard Rahl
82875da72a - update to 1.80.1:
* net/netmon: add extra panic guard around ParseRIB

OBS-URL: https://build.opensuse.org/package/show/network:vpn/tailscale?expand=0&rev=65
2025-02-07 19:13:40 +00:00
b055a4dece Accepting request 1241760 from network:vpn
OBS-URL: https://build.opensuse.org/request/show/1241760
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/tailscale?expand=0&rev=22
2025-02-03 20:42:23 +00:00
Richard Rahl
aa509b69e0 - update to 1.80.0:
* Hostname system policy is added for overriding the device hostname
    configured by the operating system, using an MDM solution.
  * Web interface displays a Login button instead of the Reauthenticate button
    when adding a new device to your tailnet.
  * Tailscale Funnel configuration on devices displays errors when incoming
    connections are not permitted and connections are disallowed.
  * Connections to a custom coordination server that does not support HTTPS
    will no longer fail when a custom port number is specified.
  * TLS certificate requests from Let’s Encrypt include the device's DNS name
    in the CSR’s SAN extension and set the Common Name field.
  * Tailscale Funnel disabled on a device no longer displays enabled in the
    admin console.
  * GitHub username change automatically updates tailnet name
  * 4via6 subnet routers GA
  * Auto approvers GA
  * Node attributes GA
  * Download invoices GA
  * Fast user switching GA
  * Configuration log streaming integration with S3 buckets GA
  * Network flow log streaming integration with S3 buckets GA
  * NextDNS profiles per device GA
  * GitHub secret scanning
- remove fix-CVE-2024-45337.patch, as it's now included

OBS-URL: https://build.opensuse.org/package/show/network:vpn/tailscale?expand=0&rev=63
2025-01-31 17:27:15 +00:00
938c433b47 Accepting request 1231944 from network:vpn
- add patch fix-CVE-2024-45337.patch, to circumevent a possibility
  of exploiting the golang-x-crypto security hole. (fix #1234506) (forwarded request 1231943 from rrahl0)

OBS-URL: https://build.opensuse.org/request/show/1231944
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/tailscale?expand=0&rev=21
2024-12-18 20:09:08 +00:00
Richard Rahl
a1960b58af - add patch fix-CVE-2024-45337.patch, to circumevent a possibility
of exploiting the golang-x-crypto security hole. (fix #1234506)

OBS-URL: https://build.opensuse.org/package/show/network:vpn/tailscale?expand=0&rev=61
2024-12-18 17:43:39 +00:00
263e5eef59 Accepting request 1230718 from network:vpn
OBS-URL: https://build.opensuse.org/request/show/1230718
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/tailscale?expand=0&rev=20
2024-12-13 21:38:17 +00:00
Richard Rahl
2b5ad6f362 Accepting request 1230717 from home:rrahl0
- update to 1.78.3:
  * cmd/containerboot: fix nil pointer exception
  * hostinfo: fix testing in container

OBS-URL: https://build.opensuse.org/request/show/1230717
OBS-URL: https://build.opensuse.org/package/show/network:vpn/tailscale?expand=0&rev=59
2024-12-13 06:21:17 +00:00
9d3afc6a46 Accepting request 1228636 from network:vpn
(forwarded request 1228635 from rrahl0)

OBS-URL: https://build.opensuse.org/request/show/1228636
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/tailscale?expand=0&rev=19
2024-12-06 13:26:06 +00:00
Richard Rahl
c22a0bd619 OBS-URL: https://build.opensuse.org/package/show/network:vpn/tailscale?expand=0&rev=57 2024-12-06 01:25:57 +00:00
Richard Rahl
f85219504a - update to 1.78.1:
* health: fix TestHealthMetric

OBS-URL: https://build.opensuse.org/package/show/network:vpn/tailscale?expand=0&rev=56
2024-12-06 01:23:23 +00:00
Richard Rahl
d6af84c7b6 - update to 1.78.0:
* Client metrics have been added, to provide insights into Tailscale client
    behavior, health, and performance.
  * tailscale metrics command has been added, to expose and collect client
    metrics for use with third-party monitoring systems.
  * tailscale syspolicy command has been added, to list system policies, reload
    system policies, or view errors related to the system policies configured
    on the device.
  * Tailscale system policies are applied immediately when pushed via mobile
    device management (MDM) or Group Policy, without requiring a client restart.
  * Tailscale SSH session recording detects the disappearance of the recorder
    node sooner. This fix addresses a security vulnerability described
    in TS-2024-013.
  * New scopes for OAuth clients have been added with more granular permissions.
    Existing OAuth clients using the previous set of scopes, and keys generated
    using these clients, are still valid.

OBS-URL: https://build.opensuse.org/package/show/network:vpn/tailscale?expand=0&rev=55
2024-12-05 22:13:03 +00:00
6cfd54f698 Accepting request 1222620 from network:vpn
OBS-URL: https://build.opensuse.org/request/show/1222620
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/tailscale?expand=0&rev=18
2024-11-08 11:01:03 +00:00
Richard Rahl
36177afc8e - update to 1.76.6:
* Logging for when clients move home DERP regions is improved.
  * Tailscale clients no longer move their home DERP server prematurely in 
    response to unusual latency at very specific times.

OBS-URL: https://build.opensuse.org/package/show/network:vpn/tailscale?expand=0&rev=53
2024-11-08 03:52:44 +00:00
67362537a0 Accepting request 1218078 from network:vpn
- update to 1.76.3:
  * no relevant changelog
- update to 1.76.2:
  * no relevant changelog
- switch over to the new %{default_fw_backend} macro
- create old init file only for < leap 16

OBS-URL: https://build.opensuse.org/request/show/1218078
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/tailscale?expand=0&rev=17
2024-10-25 17:19:32 +00:00
Richard Rahl
ad6ad67137 - update to 1.76.3:
* no relevant changelog
- update to 1.76.2:
  * no relevant changelog
- switch over to the new %{default_fw_backend} macro
- create old init file only for < leap 16

OBS-URL: https://build.opensuse.org/package/show/network:vpn/tailscale?expand=0&rev=51
2024-10-24 15:01:48 +00:00
2c42f71626 Accepting request 1208651 from network:vpn
- update to 1.76.1:
  * tailscale netcheck CLI command no longer crashes when performing diagnostics
    on networks lacking UDP connectivity.
  * Improperly formatted SERVFAIL responses no longer cause DNS timeouts when using an exit node.
  * dbus login sessions no longer fail on systems where /bin/login is missing. (forwarded request 1208650 from rrahl0)

OBS-URL: https://build.opensuse.org/request/show/1208651
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/tailscale?expand=0&rev=16
2024-10-17 16:41:04 +00:00
Richard Rahl
e211ce0614 - update to 1.76.1:
* tailscale netcheck CLI command no longer crashes when performing diagnostics
    on networks lacking UDP connectivity.
  * Improperly formatted SERVFAIL responses no longer cause DNS timeouts when using an exit node.
  * dbus login sessions no longer fail on systems where /bin/login is missing.

OBS-URL: https://build.opensuse.org/package/show/network:vpn/tailscale?expand=0&rev=49
2024-10-17 14:19:57 +00:00
d4132497a4 Accepting request 1208074 from network:vpn
OBS-URL: https://build.opensuse.org/request/show/1208074
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/tailscale?expand=0&rev=15
2024-10-15 13:02:21 +00:00
Richard Rahl
8e754bbadc require a fw backend
OBS-URL: https://build.opensuse.org/package/show/network:vpn/tailscale?expand=0&rev=47
2024-10-15 09:09:37 +00:00
aaa9f77fac Accepting request 1207052 from network:vpn
OBS-URL: https://build.opensuse.org/request/show/1207052
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/tailscale?expand=0&rev=14
2024-10-11 15:03:00 +00:00
Richard Rahl
52790f3e74 - update to 1.76.0:
* Clients lacking UDP connectivity no longer skip performing fallback latency
    measurements with DERP servers.
  * Warnings no longer display unnecessarily.
  * Tailscale connectivity on in-flight internet on airplanes (such as Alaska Airlines) no longer fails.
  * Service-related processes no longer run unnecessarily when services are disabled on the tailnet.
  * Error messages include explanations in addition to the HTTP status code.
  * Tailscale SSH supports sending environment variables to hosts. It's also possible to specify
    permitted environment variables using the acceptEnv field.
  * Tailscale SSH no longer breaks some terminal applications by omitting pixel width and height when
    resizing the application window.

OBS-URL: https://build.opensuse.org/package/show/network:vpn/tailscale?expand=0&rev=45
2024-10-11 06:11:52 +00:00
d7157acdb9 Accepting request 1202314 from network:vpn
OBS-URL: https://build.opensuse.org/request/show/1202314
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/tailscale?expand=0&rev=13
2024-09-23 13:19:17 +00:00
Richard Rahl
29c031e93c Fix to zsh completions file path
OBS-URL: https://build.opensuse.org/package/show/network:vpn/tailscale?expand=0&rev=43
2024-09-21 06:46:14 +00:00
4648ba845d Accepting request 1201856 from network:vpn
(forwarded request 1201855 from rrahl0)

OBS-URL: https://build.opensuse.org/request/show/1201856
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/tailscale?expand=0&rev=12
2024-09-19 19:17:13 +00:00
Richard Rahl
4de2c08f5a OBS-URL: https://build.opensuse.org/package/show/network:vpn/tailscale?expand=0&rev=41 2024-09-18 19:48:04 +00:00
Richard Rahl
789db47c2a - update to 1.74.1:
* wgengine/magicsock: disable raw disco by default; add envknob to enable

OBS-URL: https://build.opensuse.org/package/show/network:vpn/tailscale?expand=0&rev=40
2024-09-18 19:45:04 +00:00
cf7e451ca1 Accepting request 1200808 from network:vpn
OBS-URL: https://build.opensuse.org/request/show/1200808
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/tailscale?expand=0&rev=11
2024-09-15 10:35:41 +00:00
Richard Rahl
45a8d4c807 - update to 1.74.0
* AuthKey system policy can be used to authenticate a device with Tailscale using an MDM solution.
  * tailscale dns CLI command is added for accessing Tailscale DNS settings and status.
  * Tailnet Lock long rotation signatures are truncated automatically to avoid excessive growth.
  * Log In option in the client works as expected.
  * TCP generic receive offload (GRO) support is added for improved userspace mode throughput.
  * TCP generic segmentation offload (GSO) is re-introduced for supporting improved userspace mode throughput.
    This was initially introduced in Tailscale v1.72.0 and then rolled back in v1.72.1.
  * Device posture integration with CrowdStrike Falcon can now use MAC addresses to match devices that lack serial numbers.
    When Falcon integration is configured, Device Identity Collection will automatically collect MAC addresses.

OBS-URL: https://build.opensuse.org/package/show/network:vpn/tailscale?expand=0&rev=38
2024-09-13 11:05:19 +00:00
d967e912f2 Accepting request 1195619 from network:vpn
- update to 1.72.1:
  * DNS over TCP failures when querying the Tailscale-internal resolver are fixed. (forwarded request 1195618 from rrahl0)

OBS-URL: https://build.opensuse.org/request/show/1195619
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/tailscale?expand=0&rev=10
2024-08-23 20:26:49 +00:00
2a2c5d5d46 Accepting request 1195170 from network:vpn
- Update to version 1.72.0:
  * posture: deduplicate MAC addresses before returning them
  * health/dns: reduce severity of DNS unavailable warning
  * safeweb: add Server.Close method
  * go.mod.sri: update SRI hash for go.mod changes
  * go.{mod,sum}: migrate from nhooyr.io/websocket to github.com/coder/websocket
  * cmd/viewer: add support for map-like container types
- update golang(API) to 1.23
- export version variables, to circumvent a bug (forwarded request 1195168 from rrahl0)

OBS-URL: https://build.opensuse.org/request/show/1195170
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/tailscale?expand=0&rev=9
2024-08-22 16:13:25 +00:00
a5412847f3 Accepting request 1188315 from network:vpn
- update to 1.70.0:
  * New: Restrict recommended and automatically selected exit nodes using the
    new AllowedSuggestedExitNodes system policy. Applies only to platforms that
    support system policies.
  * Changed: Improved NAT traversal for some uncommon scenarios.
  * Changed: Optimized sending firewall rules to clients more efficiently.
  * Fixed: Exit node suggestion CLI command now prints the hostname.
  * Fixed: Taildrive share paths configured through the CLI resolve relative
    to where you run the tailscale command. (forwarded request 1188314 from rrahl0)

OBS-URL: https://build.opensuse.org/request/show/1188315
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/tailscale?expand=0&rev=8
2024-07-19 13:26:59 +00:00
Richard Rahl
ccc2356f80 - update to 1.70.0:
* New: Restrict recommended and automatically selected exit nodes using the
    new AllowedSuggestedExitNodes system policy. Applies only to platforms that
    support system policies.
  * Changed: Improved NAT traversal for some uncommon scenarios.
  * Changed: Optimized sending firewall rules to clients more efficiently.
  * Fixed: Exit node suggestion CLI command now prints the hostname.
  * Fixed: Taildrive share paths configured through the CLI resolve relative
    to where you run the tailscale command.

OBS-URL: https://build.opensuse.org/package/show/network:vpn/tailscale?expand=0&rev=32
2024-07-18 06:39:12 +00:00
673644643e Accepting request 1185700 from network:vpn
OBS-URL: https://build.opensuse.org/request/show/1185700
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/tailscale?expand=0&rev=7
2024-07-05 17:50:21 +00:00
Richard Rahl
ee6befb779 Accepting request 1185699 from home:rrahl0:upgrades
- update to 1.68.2:
  * Fixed: Tailnet lock validation of rotation signatures now permits multiple nodes
    signed by the same pre-signed reusable auth key.

OBS-URL: https://build.opensuse.org/request/show/1185699
OBS-URL: https://build.opensuse.org/package/show/network:vpn/tailscale?expand=0&rev=30
2024-07-05 00:17:07 +00:00
9ba05860f4 Accepting request 1181177 from network:vpn
OBS-URL: https://build.opensuse.org/request/show/1181177
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/tailscale?expand=0&rev=6
2024-06-17 17:30:02 +00:00
Richard Rahl
2b8a3a8246 Accepting request 1181176 from home:rrahl0:upgrades
- update to 1.68.1:
  * Fixed: 4via6 subnet router advertisement works as expected.
  * Fixed: Tailscale SSH access to Security-Enhanced Linux (SELinux) machines works as expected.
- update to 1.68.0:
  * New: Auto-updates are allowed in containers, but ignore the tailnet-wide default
  * New: Apply auto-updates even if the node is down or disconnected from the coordination server.
  * New: tailscale lock status now prints the node's signature.

OBS-URL: https://build.opensuse.org/request/show/1181176
OBS-URL: https://build.opensuse.org/package/show/network:vpn/tailscale?expand=0&rev=28
2024-06-16 14:02:30 +00:00
9d187e3f86 Accepting request 1175719 from network:vpn
OBS-URL: https://build.opensuse.org/request/show/1175719
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/tailscale?expand=0&rev=5
2024-05-22 19:32:10 +00:00
Richard Rahl
7e88365b18 Accepting request 1175718 from home:rrahl0:upgrades
- update to 1.66.4:
  * Fixed: Restored UDP connectivity through Mullvad exit nodes
  * Stateful filtering is now off by default
- update to 1.66.3:
  * Login URLs did not always appear in the console when running tailscale up
  * Starting with v1.66, the Kubernetes operator must always run the same or later version
    as the proxies it manages.
  * Expose cloud services on cluster network to the tailnet, using Kubernetes ExternalName Services
  * Expose tailnet services that use Tailscale HTTPS to cluster workloads
  * Cluster workloads can now refer to Tailscale Ingress resources by their MagicDNS names
  * Configure environment variables for Tailscale Kubernetes operator proxies using ProxyClass CRD
  * Expose tailscaled metrics endpoint for Tailscale Kubernetes operator proxies through ProxyClass CRD
  * Configure labels for the Kubernetes operator Pods with Helm chart values
  * Configure affinity rules for Kubernetes operator proxy Pods with ProxyClass
  * Kubernetes operator proxy init container no longer attempts to enable IPv6 forwarding on systems
    that don't have IPv6 module loaded
  * Tailscale containers running on Kubernetes no longer error if an empty Kubernetes Secret is
    pre-created for the tailscaled state
  * Improved the ambiguous error messages when Tailscale running on Kubernetes does not have the right
    permissions to perform actions against the tailscaled state Secret

OBS-URL: https://build.opensuse.org/request/show/1175718
OBS-URL: https://build.opensuse.org/package/show/network:vpn/tailscale?expand=0&rev=26
2024-05-22 08:53:26 +00:00
3af4b2639c Accepting request 1173205 from network:vpn
OBS-URL: https://build.opensuse.org/request/show/1173205
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/tailscale?expand=0&rev=4
2024-05-11 16:21:13 +00:00
Richard Rahl
f80c1963ae Accepting request 1173203 from home:rrahl0:upgrades
- update to 1.66.1:
  * Resolved issues with nftables rules for stateful filtering,
    introduced in v1.66.0.
  * tailscale set command flags --netfilter-mode, --snat-subnet-routes,
     and --stateful-filtering are added.
- update to 1.66.0:
  * Implemented client-side quarantining for shared-in exit nodes,
    as a mitigation for a security vulnerability described in TS-2024-005.
  * Use the --stateful-filtering flag for the tailscale up to enable stateful filtering for
    subnet routers and exit nodes, as a mitigation for a security vulnerability described
    in TS-2024-005. 
  * Added tab completions
  * Use the tailscale exit-node suggest command to automatically pick an available exit node
    that is likely to perform best.
  * Site-to-site networking now also requires --stateful-filtering=false in addition to
    --snat-subnet-routes=false on new subnet routers. Existing subnet routers with --snat-subnet-routes=false
    will default to --stateful-filtering=false.
- update to 1.64.2:
  * nothing relevant for linux
- update to 1.64.1:
  * nothing relevant for linux
- update to 1.64.0:
  * New: tailscale configure kubeconfig now respects KUBECONFIG environment variable.
  * Fixed: tailscale configure kubeconfig now works with partially empty kubeconfig.
  * Fixed: MSS clamping for Kubernetes operator proxies using nftables.
  * Fixed: Containers on hosts with partial support for ip6tables no longer crash.
- turn of changelog generation
- add completions for bash

OBS-URL: https://build.opensuse.org/request/show/1173203
OBS-URL: https://build.opensuse.org/package/show/network:vpn/tailscale?expand=0&rev=24
2024-05-10 15:52:27 +00:00
4de44add30 Accepting request 1163652 from network:vpn
OBS-URL: https://build.opensuse.org/request/show/1163652
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/tailscale?expand=0&rev=3
2024-04-02 14:41:14 +00:00
Richard Rahl
bda965ca60 Accepting request 1163651 from home:rrahl0:branches:network:vpn
- update to 1.62.1:
  * Send load balancing hint HTTP request header
  * Fixed: Kubernetes operator proxies should not accept subnet routes

OBS-URL: https://build.opensuse.org/request/show/1163651
OBS-URL: https://build.opensuse.org/package/show/network:vpn/tailscale?expand=0&rev=22
2024-03-30 08:39:45 +00:00
d4dc6088a3 Accepting request 1157799 from network:vpn
OBS-URL: https://build.opensuse.org/request/show/1157799
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/tailscale?expand=0&rev=2
2024-03-14 16:44:38 +00:00
Richard Rahl
4afb89d537 Accepting request 1157798 from home:rrahl0:branches:network:vpn
update to 1.62.0

OBS-URL: https://build.opensuse.org/request/show/1157798
OBS-URL: https://build.opensuse.org/package/show/network:vpn/tailscale?expand=0&rev=20
2024-03-14 05:33:47 +00:00
12e5a362ba Accepting request 1148805 from network:vpn
OBS-URL: https://build.opensuse.org/request/show/1148805
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/tailscale?expand=0&rev=1
2024-02-22 19:56:26 +00:00
Richard Rahl
3947a3aa3a Accepting request 1148797 from home:avicenzi:branches:network:vpn
Disable auto update

OBS-URL: https://build.opensuse.org/request/show/1148797
OBS-URL: https://build.opensuse.org/package/show/network:vpn/tailscale?expand=0&rev=18
2024-02-21 16:28:28 +00:00
Richard Rahl
5cb17dca2f Accepting request 1148119 from home:rrahl0:branches:network:vpn
change to manualrun

OBS-URL: https://build.opensuse.org/request/show/1148119
OBS-URL: https://build.opensuse.org/package/show/network:vpn/tailscale?expand=0&rev=17
2024-02-20 14:53:34 +00:00
Richard Rahl
a47e393dd9 Accepting request 1147777 from home:avicenzi:branches:network:vpn
Cleanup

OBS-URL: https://build.opensuse.org/request/show/1147777
OBS-URL: https://build.opensuse.org/package/show/network:vpn/tailscale?expand=0&rev=16
2024-02-20 14:50:20 +00:00
Richard Rahl
78d29a75b0 Accepting request 1146985 from home:rrahl0:upgrades
- update to 1.60.0:
  * minimum go version 1.22
  * authentication: present users with a valid login page when
    attempting to login even after leaving device unattended for several days
  * networking: mute noisy peer mtu discovery errors
  * networking: expose gVisor metrics in debug mode
  * port mapper: support legacy "urn:dslforum-org" port mapping services
  * port mapper: fix crash when no support mapping services found
  * ssh: log warning when unable to find SSH host keys
  * serve: improve error message when running as non-root
  * Detect when Tailscale is running on Digital Ocean and automatically
    use Digital Ocean's DNS resolvers
  * enable app connectors to install routes for domains that resolve to CNAME
    records
  * support pre-configured routes from control server
  * add new read-only mode
  * tailscale status command: fix output formatting Tailnet
    includes location-based exit nodes
  * a new ProxyClass custom resource that allows to provide custom
    configuration for cluster resources that the operator creates
  * ACL tags for the operator can now be configured via Helm chart values
  * routing to Ingress backends that require an exact path without a slash

OBS-URL: https://build.opensuse.org/request/show/1146985
OBS-URL: https://build.opensuse.org/package/show/network:vpn/tailscale?expand=0&rev=15
2024-02-16 02:26:24 +00:00
Richard Rahl
ed5541e453 Accepting request 1144955 from home:rrahl0:upgrades
- make rpm not overwrite /etc/default/taiscaled
- defattr everything to root

OBS-URL: https://build.opensuse.org/request/show/1144955
OBS-URL: https://build.opensuse.org/package/show/network:vpn/tailscale?expand=0&rev=14
2024-02-07 15:00:35 +00:00
Richard Rahl
e0d50ba56b Accepting request 1143783 from home:rrahl0:upgrades
add changes

OBS-URL: https://build.opensuse.org/request/show/1143783
OBS-URL: https://build.opensuse.org/package/show/network:vpn/tailscale?expand=0&rev=13
2024-02-03 11:19:51 +00:00
Richard Rahl
1466cc208c Accepting request 1141081 from home:rrahl0:branches:network:vpn
update to 1.58.2 and adjust services

OBS-URL: https://build.opensuse.org/request/show/1141081
OBS-URL: https://build.opensuse.org/package/show/network:vpn/tailscale?expand=0&rev=12
2024-01-24 00:06:09 +00:00
Richard Rahl
6c984d71e6 Accepting request 1139876 from home:rrahl0
update to 1.58.0

OBS-URL: https://build.opensuse.org/request/show/1139876
OBS-URL: https://build.opensuse.org/package/show/network:vpn/tailscale?expand=0&rev=11
2024-01-19 09:15:46 +00:00
Richard Rahl
288f16ae22 Accepting request 1137855 from home:rrahl0
fix Leap

OBS-URL: https://build.opensuse.org/request/show/1137855
OBS-URL: https://build.opensuse.org/package/show/network:vpn/tailscale?expand=0&rev=10
2024-01-10 03:48:25 +00:00
Richard Rahl
4fbc65befd Accepting request 1133501 from home:rrahl0
update to 1.56.1

OBS-URL: https://build.opensuse.org/request/show/1133501
OBS-URL: https://build.opensuse.org/package/show/network:vpn/tailscale?expand=0&rev=9
2023-12-15 21:27:53 +00:00
Richard Rahl
303b14b687 Accepting request 1133442 from home:rrahl0
fix versioning to what upstream expects

OBS-URL: https://build.opensuse.org/request/show/1133442
OBS-URL: https://build.opensuse.org/package/show/network:vpn/tailscale?expand=0&rev=8
2023-12-15 13:51:33 +00:00
Richard Rahl
d2cec82018 Accepting request 1133098 from home:rrahl0
update to version 1.56.0

OBS-URL: https://build.opensuse.org/request/show/1133098
OBS-URL: https://build.opensuse.org/package/show/network:vpn/tailscale?expand=0&rev=7
2023-12-14 13:08:31 +00:00
Richard Rahl
8cd5164700 Accepting request 1128667 from home:rrahl0
fix systemd hardening

OBS-URL: https://build.opensuse.org/request/show/1128667
OBS-URL: https://build.opensuse.org/package/show/network:vpn/tailscale?expand=0&rev=6
2023-11-24 22:08:28 +00:00
Richard Rahl
fb8b47b823 Accepting request 1128259 from home:rrahl0
update to version 1.54.0

OBS-URL: https://build.opensuse.org/request/show/1128259
OBS-URL: https://build.opensuse.org/package/show/network:vpn/tailscale?expand=0&rev=5
2023-11-23 07:16:30 +00:00
Richard Rahl
c9fbaf631f update to 1.50.1
OBS-URL: https://build.opensuse.org/package/show/network:vpn/tailscale?expand=0&rev=4
2023-10-03 00:04:44 +00:00
Richard Rahl
883a7cffd0 update to latest version 1.50.0
OBS-URL: https://build.opensuse.org/package/show/network:vpn/tailscale?expand=0&rev=3
2023-09-30 20:11:01 +00:00
997032bf68 Accepting request 1105279 from home:avicenzi:branches:network:vpn
cleanup

OBS-URL: https://build.opensuse.org/request/show/1105279
OBS-URL: https://build.opensuse.org/package/show/network:vpn/tailscale?expand=0&rev=2
2023-08-22 13:34:21 +00:00
00e72cbfad Accepting request 1105152 from home:rrahl0
fixed spec file

OBS-URL: https://build.opensuse.org/request/show/1105152
OBS-URL: https://build.opensuse.org/package/show/network:vpn/tailscale?expand=0&rev=1
2023-08-22 11:57:59 +00:00
8 changed files with 272 additions and 22 deletions

View File

@@ -3,7 +3,7 @@
<param name="url">https://github.com/tailscale/tailscale.git</param>
<param name="scm">git</param>
<param name="package-meta">yes</param>
<param name="revision">refs/tags/v1.72.1</param>
<param name="revision">refs/tags/v1.80.3</param>
<param name="versionformat">@PARENT_TAG@</param>
<param name="versionrewrite-pattern">v(.*)</param>
<param name="changesgenerate">disable</param>
@@ -14,5 +14,4 @@
</service>
<service name="go_modules" mode="manual">
</service>
<service name="set_version" mode="manual" />
</services>

80
fix-CVE-2025-22869.patch Normal file
View File

@@ -0,0 +1,80 @@
diff -rub tailscale-1.80.3/go.mod tailscale-1.80.3-patched/go.mod
--- tailscale-1.80.3/go.mod 2025-03-03 21:05:20.000000000 +0100
+++ tailscale-1.80.3-patched/go.mod 2025-03-12 10:00:39.364237325 +0100
@@ -94,14 +94,14 @@
go.uber.org/zap v1.27.0
go4.org/mem v0.0.0-20240501181205-ae6ca9944745
go4.org/netipx v0.0.0-20231129151722-fdeea329fbba
- golang.org/x/crypto v0.33.0
+ golang.org/x/crypto v0.36.0
golang.org/x/exp v0.0.0-20250106191152-7588d65b2ba8
golang.org/x/mod v0.22.0
golang.org/x/net v0.35.0
golang.org/x/oauth2 v0.25.0
- golang.org/x/sync v0.11.0
- golang.org/x/sys v0.30.0
- golang.org/x/term v0.29.0
+ golang.org/x/sync v0.12.0
+ golang.org/x/sys v0.31.0
+ golang.org/x/term v0.30.0
golang.org/x/time v0.9.0
golang.org/x/tools v0.29.0
golang.zx2c4.com/wintun v0.0.0-20230126152724-0fa3db229ce2
@@ -385,7 +385,7 @@
go.uber.org/multierr v1.11.0 // indirect
golang.org/x/exp/typeparams v0.0.0-20240314144324-c7f7c6466f7f // indirect
golang.org/x/image v0.23.0 // indirect
- golang.org/x/text v0.22.0 // indirect
+ golang.org/x/text v0.23.0 // indirect
gomodules.xyz/jsonpatch/v2 v2.4.0 // indirect
google.golang.org/protobuf v1.35.1 // indirect
gopkg.in/inf.v0 v0.9.1 // indirect
diff -rub tailscale-1.80.3/go.sum tailscale-1.80.3-patched/go.sum
--- tailscale-1.80.3/go.sum 2025-03-03 21:05:20.000000000 +0100
+++ tailscale-1.80.3-patched/go.sum 2025-03-12 10:01:30.149309580 +0100
@@ -1060,6 +1060,8 @@
golang.org/x/crypto v0.3.0/go.mod h1:hebNnKkNXi2UzZN1eVRvBB7co0a+JxK6XbPiWVs/3J4=
golang.org/x/crypto v0.33.0 h1:IOBPskki6Lysi0lo9qQvbxiQ+FvsCC/YWOecCHAixus=
golang.org/x/crypto v0.33.0/go.mod h1:bVdXmD7IV/4GdElGPozy6U7lWdRXA4qyRVGJV57uQ5M=
+golang.org/x/crypto v0.36.0 h1:AnAEvhDddvBdpY+uR+MyHmuZzzNqXSe/GvuDeob5L34=
+golang.org/x/crypto v0.36.0/go.mod h1:Y4J0ReaxCR1IMaabaSMugxJES1EpwhBHhv2bDHklZvc=
golang.org/x/exp v0.0.0-20190121172915-509febef88a4/go.mod h1:CJ0aWSM057203Lf6IL+f9T1iT9GByDxfZKAQTCR3kQA=
golang.org/x/exp v0.0.0-20190306152737-a1d7652674e8/go.mod h1:CJ0aWSM057203Lf6IL+f9T1iT9GByDxfZKAQTCR3kQA=
golang.org/x/exp v0.0.0-20190510132918-efd6b22b2522/go.mod h1:ZjyILWgesfNpC6sMxTJOJm9Kp84zZh5NQWvqDGG3Qr8=
@@ -1173,6 +1175,8 @@
golang.org/x/sync v0.1.0/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=
golang.org/x/sync v0.11.0 h1:GGz8+XQP4FvTTrjZPzNKTMFtSXH80RAzG+5ghFPgK9w=
golang.org/x/sync v0.11.0/go.mod h1:Czt+wKu1gCyEFDUtn0jG5QVvpJ6rzVqr5aXyt9drQfk=
+golang.org/x/sync v0.12.0 h1:MHc5BpPuC30uJk597Ri8TV3CNZcTLu6B6z4lJy+g6Jw=
+golang.org/x/sync v0.12.0/go.mod h1:1dzgHSNfp02xaA81J2MS99Qcpr2w7fw1gpm99rleRqA=
golang.org/x/sys v0.0.0-20180830151530-49385e6e1522/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY=
golang.org/x/sys v0.0.0-20180905080454-ebe1bf3edb33/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY=
golang.org/x/sys v0.0.0-20181116152217-5ac8a444bdc5/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY=
@@ -1233,6 +1237,8 @@
golang.org/x/sys v0.6.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
golang.org/x/sys v0.30.0 h1:QjkSwP/36a20jFYWkSue1YwXzLmsV5Gfq7Eiy72C1uc=
golang.org/x/sys v0.30.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA=
+golang.org/x/sys v0.31.0 h1:ioabZlmFYtWhL+TRYpcnNlLwhyxaM9kWTDEmfnprqik=
+golang.org/x/sys v0.31.0/go.mod h1:BJP2sWEmIv4KK5OTEluFJCKSidICx8ciO85XgH3Ak8k=
golang.org/x/term v0.0.0-20201126162022-7de9c90e9dd1/go.mod h1:bj7SfCRtBDWHUb9snDiAeCFNEtKQo2Wmx5Cou7ajbmo=
golang.org/x/term v0.0.0-20210927222741-03fcf44c2211/go.mod h1:jbD1KX2456YbFQfuXm/mYQcufACuNUgVhRMnK/tPxf8=
golang.org/x/term v0.1.0/go.mod h1:jbD1KX2456YbFQfuXm/mYQcufACuNUgVhRMnK/tPxf8=
@@ -1241,6 +1247,8 @@
golang.org/x/term v0.5.0/go.mod h1:jMB1sMXY+tzblOD4FWmEbocvup2/aLOaQEp7JmGp78k=
golang.org/x/term v0.29.0 h1:L6pJp37ocefwRRtYPKSWOWzOtWSxVajvz2ldH/xi3iU=
golang.org/x/term v0.29.0/go.mod h1:6bl4lRlvVuDgSf3179VpIxBF0o10JUpXWOnI7nErv7s=
+golang.org/x/term v0.30.0 h1:PQ39fJZ+mfadBm0y5WlL4vlM7Sx1Hgf13sMIY2+QS9Y=
+golang.org/x/term v0.30.0/go.mod h1:NYYFdzHoI5wRh/h5tDMdMqCqPJZEuNqVR5xJLd/n67g=
golang.org/x/text v0.0.0-20170915032832-14c0d48ead0c/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ=
golang.org/x/text v0.3.0/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ=
golang.org/x/text v0.3.1-0.20180807135948-17ff2d5776d2/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ=
@@ -1253,6 +1261,8 @@
golang.org/x/text v0.7.0/go.mod h1:mrYo+phRRbMaCq/xk9113O4dZlRixOauAjOtrjsXDZ8=
golang.org/x/text v0.22.0 h1:bofq7m3/HAFvbF51jz3Q9wLg3jkvSPuiZu/pD1XwgtM=
golang.org/x/text v0.22.0/go.mod h1:YRoo4H8PVmsu+E3Ou7cqLVH8oXWIHVoX0jqUWALQhfY=
+golang.org/x/text v0.23.0 h1:D71I7dUrlY+VX0gQShAThNGHFxZ13dGLBHQLVl1mJlY=
+golang.org/x/text v0.23.0/go.mod h1:/BLNzu4aZCJ1+kcD0DNRotWKage4q2rGVAg4o22unh4=
golang.org/x/time v0.0.0-20181108054448-85acf8d2951c/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ=
golang.org/x/time v0.0.0-20190308202827-9d24e82272b4/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ=
golang.org/x/time v0.0.0-20191024005414-555d28b269f0/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ=
Only in tailscale-1.80.3-patched: vendor

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:294d6df3f4585152bd612eed9b34a6c2062589c8989f86ee25e750c37164fcd5
size 55014834

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:03e15ea076362eda1a44712351ba2a19bf746970fee8ddc4013513a07337cbe0
size 11331158

3
tailscale-1.80.3.tar.gz Normal file
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:8cfab48a1a40bc27445bc1aea0daedc7c1147a1ee61fe3abbf32c1eb8acaca33
size 13706235

View File

@@ -1,3 +1,168 @@
-------------------------------------------------------------------
Wed Mar 12 09:07:49 UTC 2025 - Richard Rahl <rrahl0@opensuse.org>
- add patch fix-CVE-2025-22869.patch, fixes bsc#1239353
-------------------------------------------------------------------
Tue Mar 4 13:42:34 UTC 2025 - Richard Rahl <rrahl0@opensuse.org>
- update to 1.80.3:
* appc: fix a deadlock in route advertisements
* client/web: fix CSRF handler order in web UI
-------------------------------------------------------------------
Thu Feb 13 14:30:28 UTC 2025 - Richard Rahl <rrahl0@opensuse.org>
- update to 1.80.2:
* Use ip:country as a geolocation device posture attribute (generally available).
-------------------------------------------------------------------
Thu Feb 6 19:52:22 UTC 2025 - Richard Rahl <rrahl0@opensuse.org>
- update to 1.80.1:
* net/netmon: add extra panic guard around ParseRIB
-------------------------------------------------------------------
Fri Jan 31 17:20:29 UTC 2025 - Richard Rahl <rrahl0@opensuse.org>
- update to 1.80.0:
* Hostname system policy is added for overriding the device hostname
configured by the operating system, using an MDM solution.
* Web interface displays a Login button instead of the Reauthenticate button
when adding a new device to your tailnet.
* Tailscale Funnel configuration on devices displays errors when incoming
connections are not permitted and connections are disallowed.
* Connections to a custom coordination server that does not support HTTPS
will no longer fail when a custom port number is specified.
* TLS certificate requests from Lets Encrypt include the device's DNS name
in the CSRs SAN extension and set the Common Name field.
* Tailscale Funnel disabled on a device no longer displays enabled in the
admin console.
* GitHub username change automatically updates tailnet name
* 4via6 subnet routers GA
* Auto approvers GA
* Node attributes GA
* Download invoices GA
* Fast user switching GA
* Configuration log streaming integration with S3 buckets GA
* Network flow log streaming integration with S3 buckets GA
* NextDNS profiles per device GA
* GitHub secret scanning
- remove fix-CVE-2024-45337.patch, as it's now included
-------------------------------------------------------------------
Wed Dec 18 17:33:23 UTC 2024 - Richard Rahl <rrahl0@opensuse.org>
- add patch fix-CVE-2024-45337.patch, to circumevent a possibility
of exploiting the golang-x-crypto security hole. (fix #1234506)
-------------------------------------------------------------------
Fri Dec 13 05:06:26 UTC 2024 - Richard Rahl <rrahl0@opensuse.org>
- update to 1.78.3:
* cmd/containerboot: fix nil pointer exception
* hostinfo: fix testing in container
-------------------------------------------------------------------
Fri Dec 6 01:22:05 UTC 2024 - Richard Rahl <rrahl0@opensuse.org>
- update to 1.78.1:
* health: fix TestHealthMetric
-------------------------------------------------------------------
Thu Dec 5 22:10:32 UTC 2024 - Richard Rahl <rrahl0@opensuse.org>
- update to 1.78.0:
* Client metrics have been added, to provide insights into Tailscale client
behavior, health, and performance.
* tailscale metrics command has been added, to expose and collect client
metrics for use with third-party monitoring systems.
* tailscale syspolicy command has been added, to list system policies, reload
system policies, or view errors related to the system policies configured
on the device.
* Tailscale system policies are applied immediately when pushed via mobile
device management (MDM) or Group Policy, without requiring a client restart.
* Tailscale SSH session recording detects the disappearance of the recorder
node sooner. This fix addresses a security vulnerability described
in TS-2024-013.
* New scopes for OAuth clients have been added with more granular permissions.
Existing OAuth clients using the previous set of scopes, and keys generated
using these clients, are still valid.
-------------------------------------------------------------------
Fri Nov 8 03:46:50 UTC 2024 - Richard Rahl <rrahl0@opensuse.org>
- update to 1.76.6:
* Logging for when clients move home DERP regions is improved.
* Tailscale clients no longer move their home DERP server prematurely in
response to unusual latency at very specific times.
-------------------------------------------------------------------
Tue Oct 22 18:34:42 UTC 2024 - Richard Rahl <rrahl0@opensuse.org>
- update to 1.76.3:
* no relevant changelog
- update to 1.76.2:
* no relevant changelog
- switch over to the new %{default_fw_backend} macro
- create old init file only for < leap 16
-------------------------------------------------------------------
Wed Oct 16 20:40:31 UTC 2024 - Richard Rahl <rrahl0@opensuse.org>
- update to 1.76.1:
* tailscale netcheck CLI command no longer crashes when performing diagnostics
on networks lacking UDP connectivity.
* Improperly formatted SERVFAIL responses no longer cause DNS timeouts when using an exit node.
* dbus login sessions no longer fail on systems where /bin/login is missing.
-------------------------------------------------------------------
Mon Oct 14 13:06:13 UTC 2024 - Alexandre Vicenzi <alexandre.vicenzi@suse.com>
- Require a firewall backend (boo#1228829)
- Add simple test check to ensure binaries are working
-------------------------------------------------------------------
Fri Oct 11 06:07:28 UTC 2024 - Richard Rahl <rrahl0@opensuse.org>
- update to 1.76.0:
* Clients lacking UDP connectivity no longer skip performing fallback latency
measurements with DERP servers.
* Warnings no longer display unnecessarily.
* Tailscale connectivity on in-flight internet on airplanes (such as Alaska Airlines) no longer fails.
* Service-related processes no longer run unnecessarily when services are disabled on the tailnet.
* Error messages include explanations in addition to the HTTP status code.
* Tailscale SSH supports sending environment variables to hosts. It's also possible to specify
permitted environment variables using the acceptEnv field.
* Tailscale SSH no longer breaks some terminal applications by omitting pixel width and height when
resizing the application window.
-------------------------------------------------------------------
Sat Sep 21 05:28:42 UTC 2024 - Eric Torres <eric.torres@its-et.me>
- Change path of zsh completion file to make zsh properly recognize completions
* /usr/share/zsh/site-functions/tailscale moved to /usr/share/zsh/site-functions/_tailscale
-------------------------------------------------------------------
Wed Sep 18 19:10:19 UTC 2024 - Richard Rahl <rrahl0@opensuse.org>
- update to 1.74.1:
* wgengine/magicsock: disable raw disco by default; add envknob to enable
-------------------------------------------------------------------
Fri Sep 13 10:48:17 UTC 2024 - Richard Rahl <rrahl0@opensuse.org>
- update to 1.74.0
* AuthKey system policy can be used to authenticate a device with Tailscale using an MDM solution.
* tailscale dns CLI command is added for accessing Tailscale DNS settings and status.
* Tailnet Lock long rotation signatures are truncated automatically to avoid excessive growth.
* Log In option in the client works as expected.
* TCP generic receive offload (GRO) support is added for improved userspace mode throughput.
* TCP generic segmentation offload (GSO) is re-introduced for supporting improved userspace mode throughput.
This was initially introduced in Tailscale v1.72.0 and then rolled back in v1.72.1.
* Device posture integration with CrowdStrike Falcon can now use MAC addresses to match devices that lack serial numbers.
When Falcon integration is configured, Device Identity Collection will automatically collect MAC addresses.
-------------------------------------------------------------------
Thu Aug 22 22:08:51 UTC 2024 - Richard Rahl <rrahl0@opensuse.org>

View File

@@ -1,7 +1,7 @@
#
# spec file for package tailscale
#
# Copyright (c) 2024 SUSE LLC
# Copyright (c) 2025 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -17,24 +17,25 @@
Name: tailscale
Version: 1.72.1
Version: 1.80.3
Release: 0
Summary: The easiest, most secure way to use WireGuard and 2FA
License: BSD-3-Clause
Group: Productivity/Networking/Security
URL: https://github.com/tailscale/tailscale
Source: %{name}-%{version}.tar.gz
Source1: vendor.tar.gz
Source2: tailscaled.service
Source3: tailscaled.defaults
Patch1: build-verbose.patch
Patch2: disable-auto-update.patch
Source2: %{name}d.service
Source3: %{name}d.defaults
Patch0: build-verbose.patch
Patch1: disable-auto-update.patch
Patch2: fix-CVE-2025-22869.patch
BuildRequires: bash-completion
BuildRequires: fish
BuildRequires: git
BuildRequires: git-core
BuildRequires: golang-packaging
BuildRequires: zsh
BuildRequires: golang(API) = 1.23
Requires: %{default_firewall_backend}
ExcludeArch: i586
%{?systemd_requires}
@@ -76,14 +77,18 @@ export GOFLAGS="-buildmode=pie"
export VERSION_SHORT=%{version}
export VERSION_LONG=%{version}
export VERSION_GIT_HASH='$(git rev-parse v%{version})'
./build_dist.sh ./cmd/tailscale
./build_dist.sh ./cmd/tailscaled
./build_dist.sh ./cmd/%{name}
./build_dist.sh ./cmd/%{name}d
#generate completions
./%{name} completion bash > ./%{name}.bash
./%{name} completion zsh > ./%{name}.zsh
./%{name} completion fish > ./%{name}.fish
%check
./%{name} version
./%{name}d -version
%install
mkdir -p %{buildroot}%{_sharedstatedir}/%{name}
@@ -92,13 +97,15 @@ install -D -p -m 0755 %{name}d %{buildroot}%{_sbindir}/%{name}d
# service
install -D -p -m 0644 %{SOURCE2} %{buildroot}%{_unitdir}/%{name}d.service
%if 0%{?suse_version} < 1600
ln -sf %{_sbindir}/service %{buildroot}%{_sbindir}/rc%{name}d
%endif
# defaults
install -D -p -m 0644 %{SOURCE3} %{buildroot}%{_sysconfdir}/default/%{name}d
install -D -p -m 0644 ./%{name}.bash %{buildroot}%{_datadir}/bash-completion/completions/%{name}
install -D -p -m 0644 ./%{name}.zsh %{buildroot}%{_datadir}/zsh/site-functions/%{name}
install -D -p -m 0644 ./%{name}.zsh %{buildroot}%{_datadir}/zsh/site-functions/_%{name}
install -D -p -m 0644 ./%{name}.fish %{buildroot}%{_datadir}/fish/vendor_completions.d/%{name}
%pre
@@ -121,13 +128,15 @@ install -D -p -m 0644 ./%{name}.fish %{buildroot}%{_datadir}/fish/vendor_complet
%{_bindir}/%{name}
%{_sbindir}/%{name}d
%{_unitdir}/%{name}d.service
%if 0%{?suse_version} < 1600
%{_sbindir}/rc%{name}d
%endif
%files bash-completion
%{_datadir}/bash-completion/completions/%{name}
%files zsh-completion
%{_datadir}/zsh/site-functions/%{name}
%{_datadir}/zsh/site-functions/_%{name}
%files fish-completion
%{_datadir}/fish/vendor_completions.d/%{name}

View File

@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:2233214ad5bc4185d8b35517d4a0042b9cc86a65db35637009e9588edb3db7ae
size 18607906
oid sha256:55812d888060e6b92a0a1612e1f0ab69de3529825842c4327029f0f8a2ee9563
size 20212560