git: 49ac41338630 - main - irc/soju: Import a patch from upstream

Ashish SHUKLA ashish at FreeBSD.org
Sun Sep 19 15:16:30 UTC 2021


The branch main has been updated by ashish:

URL: https://cgit.FreeBSD.org/ports/commit/?id=49ac41338630ccecd96cefea744a582b2299beb7

commit 49ac41338630ccecd96cefea744a582b2299beb7
Author:     Ashish SHUKLA <ashish at FreeBSD.org>
AuthorDate: 2021-09-19 15:12:49 +0000
Commit:     Ashish SHUKLA <ashish at FreeBSD.org>
CommitDate: 2021-09-19 15:12:49 +0000

    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.
---
 irc/soju/Makefile                     | 1 +
 irc/soju/files/patch-cmd_soju_main.go | 9 +++++++++
 2 files changed, 10 insertions(+)

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,
+ 	}
+ }


More information about the dev-commits-ports-all mailing list