nebula/enable-pie.patch
Richard Rahl ecb0d9f78e - update to 1.9.5:
* Backport reestablish relays from cert-v2 to release-1.9
  * do not panic when loading a V2 CA certificate

OBS-URL: https://build.opensuse.org/package/show/network:vpn/nebula?expand=0&rev=13
2024-12-06 17:32:15 +00:00

13 lines
433 B
Diff

diff -rub nebula/Makefile nebula-patched/Makefile
--- nebula/Makefile 2024-04-09 08:35:28.559936158 +0200
+++ nebula-patched/Makefile 2024-04-09 08:59:08.363591927 +0200
@@ -96,7 +96,7 @@
release-boringcrypto: build/nebula-linux-$(shell go env GOARCH)-boringcrypto.tar.gz
-BUILD_ARGS = -trimpath
+BUILD_ARGS = -trimpath -buildmode=pie
bin-windows: build/windows-amd64/nebula.exe build/windows-amd64/nebula-cert.exe
mv $? .