git: ef7567510c3d - main - multimedia/livego: update 0.0.15 -> 0.0.20 and take maintainership

From: Rodrigo Osorio <rodrigo_at_FreeBSD.org>
Date: Sun, 22 Mar 2026 13:52:01 UTC
The branch main has been updated by rodrigo:

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

commit ef7567510c3d4f5540b6a14ce5965025b813b559
Author:     Rodrigo Osorio <rodrigo@FreeBSD.org>
AuthorDate: 2026-03-22 09:50:35 +0000
Commit:     Rodrigo Osorio <rodrigo@FreeBSD.org>
CommitDate: 2026-03-22 13:51:31 +0000

    multimedia/livego: update 0.0.15 -> 0.0.20 and take maintainership
    
    Changelog: https://github.com/gwuhaolin/livego/releases/tag/0.0.20
    
    Major changes:
        * Fix Memory leak
        * Update ignore rules
        * Add RTMPS support
        * added hls via https support
    
    Port changes:
    
    go-redis package don't fit GH_TUPLE expectations by creating the wrong
    directory structure (create a ${WRKDIR}/go-redis directory where
    ${WRKDIR}/redis is expected) leading to post-extract move errors, so it
    must be handled separately.
---
 multimedia/livego/Makefile | 67 +++++++++++++++++++++++++---------------------
 multimedia/livego/distinfo | 16 ++++++-----
 2 files changed, 45 insertions(+), 38 deletions(-)

diff --git a/multimedia/livego/Makefile b/multimedia/livego/Makefile
index 3937c9e3136c..39071b910c46 100644
--- a/multimedia/livego/Makefile
+++ b/multimedia/livego/Makefile
@@ -1,49 +1,54 @@
 PORTNAME=	livego
-DISTVERSION=	0.0.15
-PORTREVISION=	38
+DISTVERSION=	0.0.20
 CATEGORIES=	multimedia
 
-MAINTAINER=	ports@FreeBSD.org
+MAINTAINER=	rodrigo@FreeBSD.org
 COMMENT=	Live video streaming server in golang
 WWW=		https://github.com/gwuhaolin/livego
+MASTER_SITES=	https://github.com/redis/go-redis/archive/refs/tags/v7.2.0.tar.gz?dummy=/:src
+DISTFILES=	go-redit-v7.2.0${EXTRACT_SUFX}:src
 
 LICENSE=	MIT
 LICENSE_FILE=	${WRKSRC}/LICENSE
 
 USES=		go:modules
 
+BUILD_DEPENDS= modules2tuple:ports-mgmt/modules2tuple
+
 USE_GITHUB=	yes
 GH_ACCOUNT=	gwuhaolin
 GO_PKGNAME=	github.com/${GH_ACCOUNT}/${GH_PROJECT}
-GH_TUPLE=	\
-		auth0:go-jwt-middleware:36081240882b:auth0_go_jwt_middleware/vendor/github.com/auth0/go-jwt-middleware \
-		davecgh:go-spew:v1.1.1:davecgh_go_spew/vendor/github.com/davecgh/go-spew \
-		dgrijalva:jwt-go:v3.2.0:dgrijalva_jwt_go/vendor/github.com/dgrijalva/jwt-go \
-		fsnotify:fsnotify:v1.4.7:fsnotify_fsnotify/vendor/github.com/fsnotify/fsnotify \
-		go-ini:ini:v1.51.0:go_ini_ini/vendor/gopkg.in/ini.v1 \
-		go-yaml:yaml:v2.2.4:go_yaml_yaml/vendor/gopkg.in/yaml.v2 \
-		golang:sys:v0.6.0:golang_sys/vendor/golang.org/x/sys \
-		golang:text:v0.3.2:golang_text/vendor/golang.org/x/text \
-		hashicorp:hcl:v1.0.0:hashicorp_hcl/vendor/github.com/hashicorp/hcl \
-		konsorten:go-windows-terminal-sequences:v1.0.1:konsorten_go_windows_terminal_sequences/vendor/github.com/konsorten/go-windows-terminal-sequences \
-		kr:pretty:v0.1.0:kr_pretty/vendor/github.com/kr/pretty \
-		kr:text:v0.1.0:kr_text/vendor/github.com/kr/text \
-		magiconair:properties:v1.8.1:magiconair_properties/vendor/github.com/magiconair/properties \
-		mitchellh:mapstructure:v1.1.2:mitchellh_mapstructure/vendor/github.com/mitchellh/mapstructure \
-		patrickmn:go-cache:v2.1.0:patrickmn_go_cache/vendor/github.com/patrickmn/go-cache \
-		pelletier:go-toml:v1.2.0:pelletier_go_toml/vendor/github.com/pelletier/go-toml \
-		pmezard:go-difflib:v1.0.0:pmezard_go_difflib/vendor/github.com/pmezard/go-difflib \
-		redis:go-redis:v7.2.0:go_redis_redis_v7/vendor/github.com/go-redis/redis/v7 \
-		satori:go.uuid:v1.2.0:satori_go_uuid/vendor/github.com/satori/go.uuid \
-		sirupsen:logrus:v1.5.0:sirupsen_logrus/vendor/github.com/sirupsen/logrus \
-		spf13:afero:v1.1.2:spf13_afero/vendor/github.com/spf13/afero \
-		spf13:cast:v1.3.0:spf13_cast/vendor/github.com/spf13/cast \
-		spf13:jwalterweatherman:v1.0.0:spf13_jwalterweatherman/vendor/github.com/spf13/jwalterweatherman \
-		spf13:pflag:v1.0.3:spf13_pflag/vendor/github.com/spf13/pflag \
-		spf13:viper:v1.6.3:spf13_viper/vendor/github.com/spf13/viper \
-		stretchr:testify:v1.4.0:stretchr_testify/vendor/github.com/stretchr/testify \
-		subosito:gotenv:v1.2.0:subosito_gotenv/vendor/github.com/subosito/gotenv
+GH_TUPLE=       \
+                auth0:go-jwt-middleware:36081240882b:auth0_go_jwt_middleware/vendor/github.com/auth0/go-jwt-middleware \
+                davecgh:go-spew:v1.1.1:davecgh_go_spew/vendor/github.com/davecgh/go-spew \
+                dgrijalva:jwt-go:v3.2.0:dgrijalva_jwt_go/vendor/github.com/dgrijalva/jwt-go \
+                fsnotify:fsnotify:v1.4.7:fsnotify_fsnotify/vendor/github.com/fsnotify/fsnotify \
+                go-ini:ini:v1.51.0:go_ini_ini/vendor/gopkg.in/ini.v1 \
+                go-yaml:yaml:v2.2.4:go_yaml_yaml/vendor/gopkg.in/yaml.v2 \
+                golang:sys:b09406accb47:golang_sys/vendor/golang.org/x/sys \
+                golang:text:v0.3.2:golang_text/vendor/golang.org/x/text \
+                hashicorp:hcl:v1.0.0:hashicorp_hcl/vendor/github.com/hashicorp/hcl \
+                konsorten:go-windows-terminal-sequences:v1.0.1:konsorten_go_windows_terminal_sequences/vendor/github.com/konsorten/go-windows-terminal-sequences \
+                kr:pretty:v0.1.0:kr_pretty/vendor/github.com/kr/pretty \
+                kr:text:v0.1.0:kr_text/vendor/github.com/kr/text \
+                magiconair:properties:v1.8.1:magiconair_properties/vendor/github.com/magiconair/properties \
+                mitchellh:mapstructure:v1.1.2:mitchellh_mapstructure/vendor/github.com/mitchellh/mapstructure \
+                patrickmn:go-cache:v2.1.0:patrickmn_go_cache/vendor/github.com/patrickmn/go-cache \
+                pelletier:go-toml:v1.2.0:pelletier_go_toml/vendor/github.com/pelletier/go-toml \
+                pmezard:go-difflib:v1.0.0:pmezard_go_difflib/vendor/github.com/pmezard/go-difflib \
+                satori:go.uuid:v1.2.0:satori_go_uuid/vendor/github.com/satori/go.uuid \
+                sirupsen:logrus:v1.5.0:sirupsen_logrus/vendor/github.com/sirupsen/logrus \
+                spf13:afero:v1.1.2:spf13_afero/vendor/github.com/spf13/afero \
+                spf13:cast:v1.3.0:spf13_cast/vendor/github.com/spf13/cast \
+                spf13:jwalterweatherman:v1.0.0:spf13_jwalterweatherman/vendor/github.com/spf13/jwalterweatherman \
+                spf13:pflag:v1.0.3:spf13_pflag/vendor/github.com/spf13/pflag \
+                spf13:viper:v1.6.3:spf13_viper/vendor/github.com/spf13/viper \
+                stretchr:testify:v1.4.0:stretchr_testify/vendor/github.com/stretchr/testify \
+                subosito:gotenv:v1.2.0:subosito_gotenv/vendor/github.com/subosito/gotenv
 
 PLIST_FILES=	bin/${PORTNAME}
 
+post-extract:
+	${MKDIR} ${WRKSRC}/vendor/github.com/go-redis/redis && ${MV} ${WRKDIR}/go-redis-7.2.0 ${WRKSRC}/vendor/github.com/go-redis/redis/v7
+
 .include <bsd.port.mk>
diff --git a/multimedia/livego/distinfo b/multimedia/livego/distinfo
index d4d6b46ce42c..d96a36f0bcf6 100644
--- a/multimedia/livego/distinfo
+++ b/multimedia/livego/distinfo
@@ -1,6 +1,10 @@
-TIMESTAMP = 1679512645
-SHA256 (gwuhaolin-livego-0.0.15_GH0.tar.gz) = f1beb250dbbcfb578c32e37f862379aacf804570a8ce602b1a7a9f4d53d1304d
-SIZE (gwuhaolin-livego-0.0.15_GH0.tar.gz) = 74659
+TIMESTAMP = 1774121905
+SHA256 (go-redit-v7.2.0.tar.gz) = 0be85c516835a2715a70648c10650f0d412c6b31398937c1511ae812ae2a2234
+SIZE (go-redit-v7.2.0.tar.gz) = 101823
+SHA256 (gwuhaolin-livego-0.0.20_GH0.tar.gz) = 4895b0e191a8b49c2b8065ffcb17a5641159d7c259c5ad5d937c70174ba15f66
+SIZE (gwuhaolin-livego-0.0.20_GH0.tar.gz) = 75719
+SHA256 (go-redis-redis-v7.2.0_GH0.tar.gz) = 0be85c516835a2715a70648c10650f0d412c6b31398937c1511ae812ae2a2234
+SIZE (go-redis-redis-v7.2.0_GH0.tar.gz) = 101823
 SHA256 (auth0-go-jwt-middleware-36081240882b_GH0.tar.gz) = ab5a31dffaac4998b2c9544f80ab718c5bc12c046557c0cf00518d9fecf1d884
 SIZE (auth0-go-jwt-middleware-36081240882b_GH0.tar.gz) = 8211
 SHA256 (davecgh-go-spew-v1.1.1_GH0.tar.gz) = 7d82b9bb7291adbe7498fe946920ab3e7fc9e6cbfc3b2294693fad00bf0dd17e
@@ -13,8 +17,8 @@ SHA256 (go-ini-ini-v1.51.0_GH0.tar.gz) = 6c98311d375afbe36a246c5d29acb5cb428634a
 SIZE (go-ini-ini-v1.51.0_GH0.tar.gz) = 43536
 SHA256 (go-yaml-yaml-v2.2.4_GH0.tar.gz) = 9004c9709200d52ef6e5c69af3f71f3adb1a2b7e884ea7597f306bf54b1f007c
 SIZE (go-yaml-yaml-v2.2.4_GH0.tar.gz) = 72209
-SHA256 (golang-sys-v0.6.0_GH0.tar.gz) = b4f6d17c7a128f76169964b437cb66b3f2dbf9a33361928ec19dfecf7b03fc54
-SIZE (golang-sys-v0.6.0_GH0.tar.gz) = 1434234
+SHA256 (golang-sys-b09406accb47_GH0.tar.gz) = 732651ee709d3443e992f716796c5dac7cbc29a345a8ffe3fb80f505c93503d2
+SIZE (golang-sys-b09406accb47_GH0.tar.gz) = 1496780
 SHA256 (golang-text-v0.3.2_GH0.tar.gz) = 0b9309698f5708531c5377ab1e29b423a6d9e20c55a8d386c3b8283428212f22
 SIZE (golang-text-v0.3.2_GH0.tar.gz) = 7168069
 SHA256 (hashicorp-hcl-v1.0.0_GH0.tar.gz) = 50632428210503070fd2fde748c88b7414bf84a6a0eadebf9d8e596a033bead2
@@ -35,8 +39,6 @@ SHA256 (pelletier-go-toml-v1.2.0_GH0.tar.gz) = 1a5a620f680033f17e34148bee8f26d96
 SIZE (pelletier-go-toml-v1.2.0_GH0.tar.gz) = 57496
 SHA256 (pmezard-go-difflib-v1.0.0_GH0.tar.gz) = 28f3dc1b5c0efd61203ab07233f774740d3bf08da4d8153fb5310db6cea0ebda
 SIZE (pmezard-go-difflib-v1.0.0_GH0.tar.gz) = 11398
-SHA256 (redis-go-redis-v7.2.0_GH0.tar.gz) = 0be85c516835a2715a70648c10650f0d412c6b31398937c1511ae812ae2a2234
-SIZE (redis-go-redis-v7.2.0_GH0.tar.gz) = 101823
 SHA256 (satori-go.uuid-v1.2.0_GH0.tar.gz) = 6f9d9549958252d7c5a5ed1cabeedeaab7a600ca0b888a3666cce4c3590aa5a7
 SIZE (satori-go.uuid-v1.2.0_GH0.tar.gz) = 8297
 SHA256 (sirupsen-logrus-v1.5.0_GH0.tar.gz) = b93c79fdb137a8c723bd096cf7cf1871e2c038e790d7f3cb5758e07bc2b836f3