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 <tilde@ultros.pro> (maintainer)
This commit is contained in:
Tilde Joy 2025-09-08 11:01:20 +10:00 committed by Hiroki Tagato
parent e01ae31e5f
commit 274e772e17
3 changed files with 12 additions and 13 deletions

View File

@ -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

View File

@ -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

0
net-im/gotosocial/files/gotosocial.in Executable file → Normal file
View File