From 274e772e17f4b4b75202fc4711937c9e260ae4c5 Mon Sep 17 00:00:00 2001 From: Tilde Joy Date: Mon, 8 Sep 2025 11:01:20 +1000 Subject: [PATCH] net-im/gotosocial: update to 0.19.2 While here: - pin go version to 1.24 since upstream does not support 1.25 yet - drop executable bit of files/gotosocial.in to pet portlint - reorder variables to pet portclippy Changelog: https://codeberg.org/superseriousbusiness/gotosocial/releases/tag/v0.19.2 PR: 289365 Reported by: Tilde Joy (maintainer) --- net-im/gotosocial/Makefile | 15 +++++++-------- net-im/gotosocial/distinfo | 10 +++++----- net-im/gotosocial/files/gotosocial.in | 0 3 files changed, 12 insertions(+), 13 deletions(-) mode change 100755 => 100644 net-im/gotosocial/files/gotosocial.in diff --git a/net-im/gotosocial/Makefile b/net-im/gotosocial/Makefile index 069dd0e07f86..3d5f10668989 100644 --- a/net-im/gotosocial/Makefile +++ b/net-im/gotosocial/Makefile @@ -1,7 +1,6 @@ PORTNAME= gotosocial DISTVERSIONPREFIX= v -DISTVERSION= 0.19.1 -PORTREVISION= 2 +DISTVERSION= 0.19.2 CATEGORIES= net-im MASTER_SITES= https://codeberg.org/superseriousbusiness/${PORTNAME}/releases/download/v${DISTVERSION}/ DISTFILES= ${PORTNAME}-${DISTVERSION}-source-code.tar.gz ${PORTNAME}_${DISTVERSION}_web-assets.tar.gz @@ -21,30 +20,30 @@ LICENSE_FILE_OFL11= ${WRKSRC}/OFL11 ONLY_FOR_ARCHS= aarch64 amd64 armv7 i386 ONLY_FOR_ARCHS_REASON= https://gitlab.com/cznic/libc/-/issues/15 -USES= go:modules +USES= go:1.24,modules USE_RC_SUBR= ${PORTNAME} GO_TARGET= ./cmd/gotosocial GO_BUILDFLAGS+= -tags "netgo osusergo static_build kvformat ${WITH_DEBUG:Ddebugenv}" \ - -ldflags="${STRIP} -w -extldflags '-static' -X 'main.Version=${PKGVERSION}'" + -ldflags="${STRIP} -w -extldflags '-static' -X 'main.Version=${PKGVERSION}'" CGO_ENABLED= 0 +TESTING_UNSAFE= FAIL codeberg.org/superseriousbusiness/gotosocial/internal/log + SUB_LIST= DBDIR="${DBDIR}" \ GROUP="${GROUPS}" \ USER="${USERS}" \ WWWDIR="${WWWDIR}" +NO_WRKSUBDIR= yes + USERS= gotosocial GROUPS= gotosocial -NO_WRKSUBDIR= yes - DBDIR= /var/db/${PORTNAME} PLIST_SUB= WWWDIR="${WWWDIR}" -TESTING_UNSAFE= FAIL codeberg.org/superseriousbusiness/gotosocial/internal/log - post-extract: ${SED} -n "1, 27p" ${WRKSRC}/web/assets/Fork-Awesome/LICENSES \ > ${WRKSRC}/MIT diff --git a/net-im/gotosocial/distinfo b/net-im/gotosocial/distinfo index efbabb3f3312..1dad220bc074 100644 --- a/net-im/gotosocial/distinfo +++ b/net-im/gotosocial/distinfo @@ -1,5 +1,5 @@ -TIMESTAMP = 1749712855 -SHA256 (gotosocial-0.19.1-source-code.tar.gz) = 62a1eb55c249ad156096a4871f2e96d0622b69187932ef1c5852e09cf3046ef0 -SIZE (gotosocial-0.19.1-source-code.tar.gz) = 130628163 -SHA256 (gotosocial_0.19.1_web-assets.tar.gz) = 52dc459bc652a48197aee05d6a7485d65900ec6b35149361a2acc34ea48d6143 -SIZE (gotosocial_0.19.1_web-assets.tar.gz) = 3914543 +TIMESTAMP = 1757287683 +SHA256 (gotosocial-0.19.2-source-code.tar.gz) = 5920850a1e75b3ad8bbc6cb776bfa898cb2e71cfb522a28565aa1870ea8bf631 +SIZE (gotosocial-0.19.2-source-code.tar.gz) = 130630226 +SHA256 (gotosocial_0.19.2_web-assets.tar.gz) = 7add6382e6e869d8c925d529ba0991be402da5d7c7c67e3e7ed5d41ff8564dd1 +SIZE (gotosocial_0.19.2_web-assets.tar.gz) = 3914600 diff --git a/net-im/gotosocial/files/gotosocial.in b/net-im/gotosocial/files/gotosocial.in old mode 100755 new mode 100644