ports/security/crowdsec-firewall-bouncer/files/patch-Makefile
Marco Mariani 286b854447 security/crowdsec-firewall-bouncer: Update to 0.0.23.r2
- updated executable to upstream v0.0.23-rc2
- reverted configuration to manual editing of pf.conf (optionally
  with an anchor)
- removed log rotation with newsyslog (implemented natively in the
  executable)
- removed dependency on crowdsec package (can be on an external host)
2022-02-21 21:27:44 +01:00

15 lines
547 B
Text

--- Makefile.orig 2022-02-11 13:22:37 UTC
+++ Makefile
@@ -54,10 +54,10 @@ lint:
golangci-lint run
static: goversion clean
- $(GOBUILD) -ldflags "$(LDFLAGS_STATIC)" -o $(BINARY_NAME) -v -a -tags netgo
+ $(GOBUILD) -mod vendor -modcacherw -ldflags "$(LDFLAGS_STATIC)" -o $(BINARY_NAME) -v -a -tags netgo
build: goversion clean
- $(GOBUILD) -ldflags "$(LDFLAGS_DYNAMIC)" -o $(BINARY_NAME) -v
+ $(GOBUILD) -mod vendor -modcacherw -ldflags "$(LDFLAGS_DYNAMIC)" -o $(BINARY_NAME) -v
test:
@$(GOTEST) -ldflags "$(LDFLAGS_DYNAMIC)" -v ./...