summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--irc/soju/Makefile1
-rw-r--r--irc/soju/files/patch-cmd_soju_main.go9
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,
+ }
+ }