Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 7 Mar 2024 15:09:44 GMT
From:      Jan Beich <jbeich@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-branches@FreeBSD.org
Subject:   git: 1459a154504b - 2024Q1 - emulators/yuzu: don't phone home
Message-ID:  <202403071509.427F9ioE026737@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch 2024Q1 has been updated by jbeich:

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

commit 1459a154504b143e1e7e1aef77a081d0c112e370
Author:     Jan Beich <jbeich@FreeBSD.org>
AuthorDate: 2024-03-07 02:00:15 +0000
Commit:     Jan Beich <jbeich@FreeBSD.org>
CommitDate: 2024-03-07 15:09:36 +0000

    emulators/yuzu: don't phone home
    
    - Redirect in-app help to Wayback Machine
    - Disable endpoint for telemetry, multiplayer lobby/announce
    
    (cherry picked from commit 34802090c7bf5d6ee9daf0e8323157ab8ef02e19)
---
 emulators/yuzu/Makefile | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/emulators/yuzu/Makefile b/emulators/yuzu/Makefile
index feb307457412..67a645875457 100644
--- a/emulators/yuzu/Makefile
+++ b/emulators/yuzu/Makefile
@@ -1,5 +1,6 @@
 PORTNAME=	yuzu
 PORTVERSION=	s20240301
+PORTREVISION=	1
 CATEGORIES=	emulators wayland
 .if make(makesum)
 MASTER_SITES=	https://api.yuzu-emu.org/gamedb/?dummy=/:gamedb
@@ -144,6 +145,13 @@ post-patch:
 	@${REINPLACE_CMD} -e 's,/login1,/ConsoleKit/Manager,' \
 		-e 's,login1,ConsoleKit,' \
 		${WRKSRC}/src/${PORTNAME}/main.cpp
+.ifdef DEPRECATED
+	@${GREP} -Flr 'yuzu-emu' ${WRKSRC} | ${XARGS} ${REINPLACE_CMD} \
+		-e 's,${WWW:S,/$,,},https://web.archive.org/web/20240304190805/&,g' \
+		-e 's,https://api.yuzu-emu.org,,g' \
+		-e 's,https://profile.yuzu-emu.org/,,g' \
+		-e 's,\(https://github.com\)/\(yuzu-emu\),\1/${GH_ACCOUNT},g'
+.endif
 
 post-patch-VAAPI-off:
 	@${REINPLACE_CMD} -i .nova '/pkg_check.*libva/d' \



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