# --- T2-COPYRIGHT-NOTE-BEGIN --- # T2 SDE: package/*/cloudflared/no-gobuild.patch # Copyright (C) 2024 The T2 SDE Project # # This Copyright note is generated by scripts/Create-CopyPatch, # more information can be found in the files COPYING and README. # # This patch file is dual-licensed. It is available under the license the # patched project is licensed under, as long as it is an OpenSource license # as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms # of the GNU General Public License version 2 as used by the T2 SDE. # --- T2-COPYRIGHT-NOTE-END --- --- cloudflared-2024.5.0/Makefile.vanilla 2024-05-21 11:55:07.834000000 +0100 +++ cloudflared-2024.5.0/Makefile 2024-05-21 11:55:51.371000000 +0100 @@ -169,11 +169,6 @@ test-ssh-server: docker-compose -f ssh_server_tests/docker-compose.yml up -.PHONY: install-go -install-go: - rm -rf ${CF_GO_PATH} - ./.teamcity/install-cloudflare-go.sh - .PHONY: cleanup-go cleanup-go: rm -rf ${CF_GO_PATH} @@ -181,7 +176,7 @@ cloudflared.1: cloudflared_man_template sed -e 's/\$${VERSION}/$(VERSION)/; s/\$${DATE}/$(DATE)/' cloudflared_man_template > cloudflared.1 -install: install-go cloudflared cloudflared.1 cleanup-go +install: cloudflared cloudflared.1 cleanup-go mkdir -p $(DESTDIR)$(INSTALL_BINDIR) $(DESTDIR)$(INSTALL_MANDIR) install -m755 cloudflared $(DESTDIR)$(INSTALL_BINDIR)/cloudflared install -m644 cloudflared.1 $(DESTDIR)$(INSTALL_MANDIR)/cloudflared.1