diff options
author | Ashish SHUKLA <ashish@FreeBSD.org> | 2021-09-19 15:12:49 +0000 |
---|---|---|
committer | Ashish SHUKLA <ashish@FreeBSD.org> | 2021-09-19 15:12:49 +0000 |
commit | 49ac41338630ccecd96cefea744a582b2299beb7 (patch) | |
tree | cc3d97dbd8049745a8197644149f85f50d969dd6 /irc/soju | |
parent | security/logcheck: Set group of directories under ETCDIR properly (diff) |
irc/soju: Import a patch from upstream
This is bug fix related to using it over VPN, or behind a reverse
proxy. See https://todo.sr.ht/~emersion/soju/134, and
https://github.com/emersion/soju/pull/33.
Diffstat (limited to 'irc/soju')
-rw-r--r-- | irc/soju/Makefile | 1 | ||||
-rw-r--r-- | irc/soju/files/patch-cmd_soju_main.go | 9 |
2 files changed, 10 insertions, 0 deletions
diff --git a/irc/soju/Makefile b/irc/soju/Makefile index c6cb66b2ca10..d3cffb881a1f 100644 --- a/irc/soju/Makefile +++ b/irc/soju/Makefile @@ -1,6 +1,7 @@ PORTNAME= soju DISTVERSIONPREFIX= v DISTVERSION= 0.2.0 +PORTREVISION= 1 CATEGORIES= irc MASTER_SITES= https://git.sr.ht/~emersion/go-scfg/archive/:goscfg \ https://git.sr.ht/~sircmpwn/go-bare/archive/:gobare diff --git a/irc/soju/files/patch-cmd_soju_main.go b/irc/soju/files/patch-cmd_soju_main.go new file mode 100644 index 000000000000..f0a2a1f03f41 --- /dev/null +++ b/irc/soju/files/patch-cmd_soju_main.go @@ -0,0 +1,9 @@ +--- cmd/soju/main.go.orig 2021-09-13 12:23:33 UTC ++++ cmd/soju/main.go +@@ -253,5 +253,6 @@ func proxyProtoListener(ln net.Listener, srv *soju.Ser + } + return proxyproto.IGNORE, nil + }, ++ ReadHeaderTimeout: 5 * time.Second, + } + } |