diff options
author | swills <swills@FreeBSD.org> | 2016-12-30 21:36:09 +0800 |
---|---|---|
committer | swills <swills@FreeBSD.org> | 2016-12-30 21:36:09 +0800 |
commit | acd2e0388da900762e145d8b2da4cbd3374616c2 (patch) | |
tree | d91181b1d3db72b9deabba0f86fb7e37cf35ff61 | |
parent | 751070f7a5610dc622d08142b687c00f30400873 (diff) | |
download | freebsd-ports-gnome-acd2e0388da900762e145d8b2da4cbd3374616c2.tar.gz freebsd-ports-gnome-acd2e0388da900762e145d8b2da4cbd3374616c2.tar.zst freebsd-ports-gnome-acd2e0388da900762e145d8b2da4cbd3374616c2.zip |
security/vault: fix syslog socket path
PR: 215664
Submitted by: Pavel Timofeev <timp87@gmail.com>
-rw-r--r-- | security/vault/Makefile | 1 | ||||
-rw-r--r-- | security/vault/files/patch-vendor_github.com_hashicorp_go-syslog_builtin.go | 11 |
2 files changed, 12 insertions, 0 deletions
diff --git a/security/vault/Makefile b/security/vault/Makefile index 54da5df685ca..345066cff3a5 100644 --- a/security/vault/Makefile +++ b/security/vault/Makefile @@ -3,6 +3,7 @@ PORTNAME= vault PORTVERSION= 0.6.4 DISTVERSIONPREFIX= v +PORTREVISION= 1 CATEGORIES= security MAINTAINER= swills@FreeBSD.org diff --git a/security/vault/files/patch-vendor_github.com_hashicorp_go-syslog_builtin.go b/security/vault/files/patch-vendor_github.com_hashicorp_go-syslog_builtin.go new file mode 100644 index 000000000000..f8d5b5ce2c08 --- /dev/null +++ b/security/vault/files/patch-vendor_github.com_hashicorp_go-syslog_builtin.go @@ -0,0 +1,11 @@ +--- vendor/github.com/hashicorp/go-syslog/builtin.go.orig 2016-12-30 09:29:42 UTC ++++ vendor/github.com/hashicorp/go-syslog/builtin.go +@@ -199,7 +199,7 @@ func (n *netConn) close() error { + // local machine using a Unix domain socket. + func unixSyslog() (conn serverConn, err error) { + logTypes := []string{"unixgram", "unix"} +- logPaths := []string{"/dev/log", "/var/run/syslog"} ++ logPaths := []string{"/dev/log", "/var/run/syslog", "/var/run/log"} + for _, network := range logTypes { + for _, path := range logPaths { + conn, err := net.DialTimeout(network, path, localDeadline) |