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,79 +1,78 @@ 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 MAINTAINER= tilde@ultros.pro COMMENT= Golang fediverse server WWW= https://docs.gotosocial.org/en/latest/ LICENSE= AGPLv3 CC-BY-3.0 CC-BY-SA-4.0 MIT OFL11 LICENSE_COMB= multi LICENSE_FILE_AGPLv3= ${WRKSRC}/LICENSE LICENSE_FILE_CC-BY-3.0= ${WRKSRC}/CC-BY-3.0 LICENSE_FILE_CC-BY-SA-4.0= ${WRKSRC}/CC-BY-SA-4.0 LICENSE_FILE_MIT= ${WRKSRC}/MIT 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 ${SED} -n "28, 352p" ${WRKSRC}/web/assets/Fork-Awesome/LICENSES \ > ${WRKSRC}/CC-BY-3.0 ${SED} -n "353, 452p" ${WRKSRC}/web/assets/Fork-Awesome/LICENSES \ > ${WRKSRC}/OFL11 ${HEAD} -n 8 ${WRKSRC}/web/assets/LICENSE > ${WRKSRC}/CC-BY-SA-4.0 ${TAIL} -n 1 ${WRKSRC}/web/assets/LICENSE >> ${WRKSRC}/MIT ${ECHO} >> ${WRKSRC}/MIT ${RM} ${WRKSRC}/web/assets/LICENSE ${RM} ${WRKSRC}/web/assets/Fork-Awesome/LICENSES ${RM} ${WRKSRC}/web/assets/fonts/OFL.txt ${RM} ${WRKSRC}/web/assets/Fork-Awesome/CONTRIBUTORS.md post-patch: ${REINPLACE_CMD} -e 's,GTS_DB_TYPE="postgres",#&,' ${WRKSRC}/scripts/test.sh post-install: ${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/README.md \ ${STAGEDIR}${DOCSDIR} ${MKDIR} ${STAGEDIR}${ETCDIR} ${INSTALL_DATA} ${WRKSRC}/example/config.yaml \ ${STAGEDIR}${ETCDIR}/config.yaml.sample (cd ${WRKSRC}/web && ${COPYTREE_SHARE} "assets template" ${STAGEDIR}${WWWDIR}) do-test: (cd ${GO_WRKSRC}; \ ${SETENVI} ${WRK_ENV} ${MAKE_ENV} ${GO_ENV} GOPROXY=off scripts/test.sh) .include 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