Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 19 Sep 2021 15:16:30 GMT
From:      Ashish SHUKLA <ashish@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 49ac41338630 - main - irc/soju: Import a patch from upstream
Message-ID:  <202109191516.18JFGUNY087354@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by ashish:

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

commit 49ac41338630ccecd96cefea744a582b2299beb7
Author:     Ashish SHUKLA <ashish@FreeBSD.org>
AuthorDate: 2021-09-19 15:12:49 +0000
Commit:     Ashish SHUKLA <ashish@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,
+ 	}
+ }



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202109191516.18JFGUNY087354>