Files
cloudflared/cloudflared.spec
Hillwood Yang 7f426bc177 Accepting request 1200830 from home:hillwood:branches:network
- Update version to 2024.9.1
  * TUN-8546: Fix final artifacts paths
  * TUN-8583: change final directory of artifacts
  * TUN-8585: Avoid creating GH client when dry-run is true
  * TUN-8591 login command without extra text
  * TUN-8592: Use metadata from the edge to determine if request body is
    empty for QUIC transport
  * TUN-8484: Print response when QuickTunnel can't be unmarshalled
  * TUN-8621: Prevent QUIC connection from closing before grace period after
    unregistering
  * PPIP-2310: Update quick tunnel disclaimer

OBS-URL: https://build.opensuse.org/request/show/1200830
OBS-URL: https://build.opensuse.org/package/show/network/cloudflared?expand=0&rev=15
2024-09-13 12:29:48 +00:00

66 lines
2.3 KiB
RPMSpec

#
# spec file for package cloudflared
#
# Copyright (c) 2024 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
Name: cloudflared
Version: 2024.9.1
Release: 0
Summary: Cloudflare Tunnel client
License: Apache-2.0
Group: Productivity/Networking/System
URL: https://github.com/cloudflare/cloudflared
Source0: https://github.com/cloudflare/cloudflared/archive/%{version}/%{name}-%{version}.tar.gz
Source1: vendor.tar.gz
# PATCH-FIX-OPENSUSE 001-skip-test.patch hillwood@opensuse.org
Patch0: 001-skip-test.patch
# PATCH-FIX-OPENSUSE 002-use-pie.patch hillwood@opensuse.org
Patch1: 002-use-pie.patch
Patch2: reproducible.patch
BuildRequires: fdupes
BuildRequires: git-core
BuildRequires: golang-packaging
BuildRequires: golang(API) >= 1.22
AutoReqProv: Off
%{go_provides}
%description
Contains the command-line client for Cloudflare Tunnel, a tunneling daemon that
proxies traffic from the Cloudflare network to your origins. This daemon sits
between Cloudflare network and your origin (e.g. a webserver). Cloudflare
attracts client requests and sends them to you via this daemon, without
requiring you to poke holes on your firewall --- your origin can remain as
closed as possible. Extensive documentation can be found in the Cloudflare
Tunnel section of the Cloudflare Docs. All usages related with proxying to your
origins are available under cloudflared tunnel help.
%prep
%autosetup -p1 -a1 -n %{name}-%{version}
%build
%make_build GOARCH=$(go env GOARCH)
%install
%make_install GOARCH=$(go env GOARCH)
%files
%doc README.md
%license LICENSE
%{_bindir}/%{name}
%{_mandir}/man1/%{name}.1%{?ext_man}
%changelog