git: 5866c66d930c - main - net/libwebsockets: Unbreak fetch

From: Daniel Engberg <diizzy_at_FreeBSD.org>
Date: Mon, 20 Feb 2023 15:11:00 UTC
The branch main has been updated by diizzy:

URL: https://cgit.FreeBSD.org/ports/commit/?id=5866c66d930cf778e3788080916c66567c2b779a

commit 5866c66d930cf778e3788080916c66567c2b779a
Author:     Daniel Engberg <diizzy@FreeBSD.org>
AuthorDate: 2023-02-20 15:04:49 +0000
Commit:     Daniel Engberg <diizzy@FreeBSD.org>
CommitDate: 2023-02-20 15:10:31 +0000

    net/libwebsockets: Unbreak fetch
    
    Unfortunately there seems to be technical issues with upstream's main
    site so use GitHub mirror for now
    
    Approved by:    portmgr (build fix)
---
 net/libwebsockets/Makefile | 7 +++++--
 net/libwebsockets/distinfo | 6 +++---
 2 files changed, 8 insertions(+), 5 deletions(-)

diff --git a/net/libwebsockets/Makefile b/net/libwebsockets/Makefile
index 639b07bfdeaf..5b6c04505b32 100644
--- a/net/libwebsockets/Makefile
+++ b/net/libwebsockets/Makefile
@@ -2,7 +2,7 @@ PORTNAME=	libwebsockets
 DISTVERSIONPREFIX=	v
 DISTVERSION=	4.3.2
 CATEGORIES=	net devel
-MASTER_SITES=	https://libwebsockets.org/git/libwebsockets/snapshot/
+# MASTER_SITES=	https://libwebsockets.org/git/libwebsockets/snapshot/
 
 MAINTAINER=	ports@FreeBSD.org
 COMMENT=	C library for lightweight websocket clients and servers
@@ -11,7 +11,10 @@ WWW=		https://libwebsockets.org/
 LICENSE=	MIT
 LICENSE_FILE=	${WRKSRC}/LICENSE
 
-USES=		cmake localbase pkgconfig tar:xz
+# USES=		cmake localbase pkgconfig tar:xz
+USES=		cmake localbase pkgconfig
+USE_GITHUB=	yes
+GH_ACCOUNT=	warmcat
 USE_LDCONFIG=	yes
 
 BUILDINFO=	${HOSTARCH}-portbld-${OPSYS:tl}-${OSREL:R}
diff --git a/net/libwebsockets/distinfo b/net/libwebsockets/distinfo
index d2460b3de794..b5a4aaceaa7b 100644
--- a/net/libwebsockets/distinfo
+++ b/net/libwebsockets/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1676237078
-SHA256 (libwebsockets-v4.3.2.tar.xz) = 287ad6f63344323c4e2404d2ab3a8a0803932d554c724aaffbb1e8fe2e5e9243
-SIZE (libwebsockets-v4.3.2.tar.xz) = 13598720
+TIMESTAMP = 1676905282
+SHA256 (warmcat-libwebsockets-v4.3.2_GH0.tar.gz) = 6a85a1bccf25acc7e8e5383e4934c9b32a102880d1e4c37c70b27ae2a42406e1
+SIZE (warmcat-libwebsockets-v4.3.2_GH0.tar.gz) = 15616264