|
|
|
Index: pkg/dep/sources/https---github.com-guelfey-go.dbus/transport_freebsd.go
|
|
|
|
--- pkg/dep/sources/https---github.com-guelfey-go.dbus/transport_freebsd.go.orig 2021-05-16 20:50:55.069193000 +0200
|
|
|
|
+++ pkg/dep/sources/https---github.com-guelfey-go.dbus/transport_freebsd.go 2021-05-16 20:50:55.069174000 +0200
|
|
|
|
@@ -0,0 +1,6 @@
|
|
|
|
+package dbus
|
|
|
|
+
|
|
|
|
+func (t *unixTransport) SendNullByte() error {
|
|
|
|
+ _, err := t.Write([]byte{0})
|
|
|
|
+ return err
|
|
|
|
+}
|
|
|
|
Index: src/github.com/muesli/beehive/Makefile
|
|
|
|
--- src/github.com/muesli/beehive/Makefile.orig 2021-05-16 20:50:55.069330000 +0200
|
|
|
|
+++ src/github.com/muesli/beehive/Makefile 2021-05-16 20:53:15.380892000 +0200
|
|
|
|
@@ -1,26 +1,24 @@
|
|
|
|
BEEHIVE_VERSION=0.4.0
|
|
|
|
-COMMIT_SHA=$(shell git rev-parse --short HEAD)
|
|
|
|
+COMMIT_SHA=000000
|
|
|
|
|
|
|
|
all: submodule embed
|
|
|
|
|
|
|
|
submodule:
|
|
|
|
- [ -d .git ] && git submodule update --init || true
|
|
|
|
|
|
|
|
noembed: submodule build
|
|
|
|
|
|
|
|
generate:
|
|
|
|
- $(shell go env GOPATH)/bin/go-bindata --tags embed --pkg api -o api/bindata.go --ignore config/.git assets/... config/...
|
|
|
|
+ go-bindata --tags embed --pkg api -o api/bindata.go --ignore config/.git assets/... config/...
|
|
|
|
|
|
|
|
go-bindata:
|
|
|
|
- [ -f $(shell go env GOPATH)/bin/go-bindata ] || go get -u github.com/kevinburke/go-bindata/go-bindata
|
|
|
|
|
|
|
|
embed: go-bindata generate build
|
|
|
|
|
|
|
|
build:
|
|
|
|
- go build -tags 'embed' -ldflags '-s -w -X main.Version=$(BEEHIVE_VERSION) -X main.CommitSHA=$(COMMIT_SHA)'
|
|
|
|
+ go build -v -tags 'embed' -ldflags '-s -w -X main.Version=$(BEEHIVE_VERSION) -X main.CommitSHA=$(COMMIT_SHA)'
|
|
|
|
|
|
|
|
debug: submodule go-bindata generate
|
|
|
|
- go build -tags 'embed' -ldflags '-X main.Version=$(BEEHIVE_VERSION) -X main.CommitSHA=$(COMMIT_SHA)'
|
|
|
|
+ go build -v -tags 'embed' -ldflags '-X main.Version=$(BEEHIVE_VERSION) -X main.CommitSHA=$(COMMIT_SHA)'
|
|
|
|
|
|
|
|
test:
|
|
|
|
go test -v $(shell go list ./... | grep -v vendor/)
|