From nobody Mon Feb 20 23:37:48 2023 X-Original-To: dev-commits-ports-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4PLJkP105Jz3sdJL; Mon, 20 Feb 2023 23:37:49 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4PLJkP0FnGz41G8; Mon, 20 Feb 2023 23:37:49 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1676936269; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=QDfB0PO2teZmVzEKN9RKfmsCud0C3aKOqqnCu10jtAU=; b=q+7pJbaM0iM28kB7Jfr31vo/1OWyMxbeJvx6FqNs1X/yX9phAR7Sbq7auCfCkeLyj2o7vh JnIXdxXhEbRhCJv3O+G1xnFdIubVNpKy0zHQRLIaKN56P/uzHTkeoC2LhQ/kW2E6ymUkS+ OKAdLHRRnCXD3glPu2sEEk80yB7wO04pox3uA0tz1WaEapLRqJLvrxhFO9cZzjvee9bL5W a43vWxo+NhUuHG3SWQ3t8o10BebERxCy+hI7BmGywyQSGJASYDKTfsln+cfJMnalnYLUuH utk0X/gqK0TYxB06yOs/iwZNKuQ20bo7128L47Rx0sEkwrNggJYCTLVHU5tGUQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1676936269; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=QDfB0PO2teZmVzEKN9RKfmsCud0C3aKOqqnCu10jtAU=; b=SNYldQuyt0XD8VqwCFn+qk4hgPRHbSO8up+xutLYXUDwrQ+OlPLvT9EoKcGdO67Xd6q6Iu EhM012vCNYGEr5LcFaI9Uj5hGziuSMbjnMpwIAkAEJ1aBpez2LjussDT9NlbpJsMF5iTBV uv3u97cMX5/PZelEU1vWKJ4sYloxWF8atqeCQfWElrrd2cCoYBdr54NHMlcPKBrjLDwDh4 AUIwtnyI1XgrWpz3gawssnasu5Eah3EZ3yG2qjOxGOx5mWRzlRsI0M9a5EBWstg4lBynVZ 54iP0hiErS1BRaYZrEBIFTDRZbRhw8gJP0qFb4ZXrN0/imkqjHVWuezhwE58Cw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1676936269; a=rsa-sha256; cv=none; b=DN4aBIRTlzQ9cX//3G85C5s9mdFWKoTE9mxzFrLRLqJ1KVbcAz07cKpt2kvNVGD/qDZl89 Hf7jCpi74NPyoMRTWoGYu7EA0sykJ8i8xAAFQwfyvCKMN1qIQ7VgtoKmzmgeEg9frO1O16 D2YIQJpoLDPV2fpkqSbcz3+/422QshecE4vXTJFS+1P+uy/POTkJ+ob9AxPzx9PZf79ce4 bXHEKXj8FCkSF9TBLBeypbHAhNa+lQTWF/KNByouw2iWWi02qaYJRZv4+Xdt2z68d6mAD1 qfdgKpA7yC3/sY6OEabNICLX4jVEwIhSWJYwLSOf2ZIr+tq4EvT09EfIBJm/MQ== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4PLJkN6Q5vzycV; Mon, 20 Feb 2023 23:37:48 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 31KNbmW7081905; Mon, 20 Feb 2023 23:37:48 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 31KNbmsL081904; Mon, 20 Feb 2023 23:37:48 GMT (envelope-from git) Date: Mon, 20 Feb 2023 23:37:48 GMT Message-Id: <202302202337.31KNbmsL081904@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Robert Clausecker Subject: git: 8493e29537b1 - main - net-im/gotosocial: update to 0.7.0 List-Id: Commit messages for all branches of the ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-all@freebsd.org X-BeenThere: dev-commits-ports-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: fuz X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 8493e29537b12f02304f4097e4db0cf28b97d0bd Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by fuz: URL: https://cgit.FreeBSD.org/ports/commit/?id=8493e29537b12f02304f4097e4db0cf28b97d0bd commit 8493e29537b12f02304f4097e4db0cf28b97d0bd Author: Mina Galić AuthorDate: 2023-02-17 17:24:01 +0000 Commit: Robert Clausecker CommitDate: 2023-02-20 23:36:43 +0000 net-im/gotosocial: update to 0.7.0 Enable on aarch64, i386, and armv7 after successful build test. Use go.mk framework to build: - use go:modules - set GO_BUILDFLAGS - set GO_TARGET - add CGO_ENABLED=0 - remove binary from do-install - move rest of do-install to post-install Changelog: https://github.com/superseriousbusiness/gotosocial/releases/tag/v0.7.0 PR: 269632 Approved by: flo (mentor) Differential Revision: https://reviews.freebsd.org/D38688 --- net-im/gotosocial/Makefile | 25 +++++++++++-------------- net-im/gotosocial/distinfo | 10 +++++----- net-im/gotosocial/pkg-plist | 11 ++++++++--- 3 files changed, 24 insertions(+), 22 deletions(-) diff --git a/net-im/gotosocial/Makefile b/net-im/gotosocial/Makefile index 0f6df006a241..43eb60372d9f 100644 --- a/net-im/gotosocial/Makefile +++ b/net-im/gotosocial/Makefile @@ -1,7 +1,6 @@ PORTNAME= gotosocial DISTVERSIONPREFIX= v -DISTVERSION= 0.6.0 -PORTREVISION= 2 +DISTVERSION= 0.7.0 CATEGORIES= net-im MASTER_SITES?= https://github.com/${GH_ACCOUNT}/${PORTNAME}/releases/download/v${DISTVERSION}/:web DISTFILES?= ${PORTNAME}_${DISTVERSION}_web-assets.tar.gz:web @@ -13,14 +12,18 @@ WWW= https://docs.gotosocial.org/en/latest/ LICENSE= AGPLv3 LICENSE_FILE= ${WRKSRC}/LICENSE -ONLY_FOR_ARCHS= amd64 - -# Note: we don't use go:modules, because this project vendors all deps -USES= go -USE_RC_SUBR= ${PORTNAME} +ONLY_FOR_ARCHS= aarch64 amd64 armv7 i386 +ONLY_FOR_ARCHS_REASON= https://gitlab.com/cznic/libc/-/issues/15 +USES= go:modules USE_GITHUB= yes GH_ACCOUNT= superseriousbusiness +USE_RC_SUBR= ${PORTNAME} + +GO_TARGET= ./cmd/gotosocial +GO_BUILDFLAGS= -trimpath -tags "netgo osusergo static_build kvformat ${WITH_DEBUG:Ddebugenv}" \ + -ldflags="${STRIP} -w -extldflags '-static' -X 'main.Version=${PKGVERSION}'" +CGO_ENABLED= 0 SUB_LIST= DBDIR="${DBDIR}" \ GROUP="${GROUPS}" \ @@ -34,13 +37,7 @@ DBDIR= /var/db/${PORTNAME} PLIST_SUB= WWWDIR="${WWWDIR}" -do-build: - @(cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} \ - VERSION=${DISTVERSION} COMMIT=${GH_TAGNAME} scripts/build.sh ) - -do-install: - ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} \ - ${STAGEDIR}${PREFIX}/bin/ +post-install: ${MKDIR} ${STAGEDIR}${DOCSDIR} .for x in LICENSE README.md ${INSTALL_DATA} ${WRKSRC}/${x} \ diff --git a/net-im/gotosocial/distinfo b/net-im/gotosocial/distinfo index 09fc3f5b6749..6cd30495f32b 100644 --- a/net-im/gotosocial/distinfo +++ b/net-im/gotosocial/distinfo @@ -1,5 +1,5 @@ -TIMESTAMP = 1670334530 -SHA256 (gotosocial_0.6.0_web-assets.tar.gz) = 4407c90e2d464778037f2493069cf2b60871f2ee6eba40b5096a748e8cb74e9f -SIZE (gotosocial_0.6.0_web-assets.tar.gz) = 1630400 -SHA256 (superseriousbusiness-gotosocial-v0.6.0_GH0.tar.gz) = a0dedaf73015f739c6bbe8d9cc7cf0b16b3132b2586ef9b44faf80b6849b3ac1 -SIZE (superseriousbusiness-gotosocial-v0.6.0_GH0.tar.gz) = 43666836 +TIMESTAMP = 1676654810 +SHA256 (gotosocial_0.7.0_web-assets.tar.gz) = bff859922ce38c79fe121d9a2aa83683d3c5d2f08ca1bcf4adad8524e305b918 +SIZE (gotosocial_0.7.0_web-assets.tar.gz) = 1314007 +SHA256 (superseriousbusiness-gotosocial-v0.7.0_GH0.tar.gz) = b0a97517f8a61387be165f880430fe28e5ca592e865207c03b798aec3f424517 +SIZE (superseriousbusiness-gotosocial-v0.7.0_GH0.tar.gz) = 51866249 diff --git a/net-im/gotosocial/pkg-plist b/net-im/gotosocial/pkg-plist index 83fddf0f6687..24caf31deb8d 100644 --- a/net-im/gotosocial/pkg-plist +++ b/net-im/gotosocial/pkg-plist @@ -16,7 +16,8 @@ %%WWWDIR%%/template/404.tmpl %%WWWDIR%%/template/error.tmpl %%WWWDIR%%/template/authorize.tmpl -%%WWWDIR%%/assets/NotoSans-Regular.ttf +%%WWWDIR%%/template/domain-blocklist.tmpl +%%WWWDIR%%/template/finalize.tmpl %%WWWDIR%%/assets/default_avatars/GoToSocial_icon5.png %%WWWDIR%%/assets/default_avatars/GoToSocial_icon2.png %%WWWDIR%%/assets/default_avatars/GoToSocial_icon3.png @@ -24,9 +25,13 @@ %%WWWDIR%%/assets/default_avatars/GoToSocial_icon1.png %%WWWDIR%%/assets/default_avatars/GoToSocial_icon6.png %%WWWDIR%%/assets/mastodon.svg -%%WWWDIR%%/assets/OFL.txt -%%WWWDIR%%/assets/NotoSans-Bold.ttf +%%WWWDIR%%/assets/logo.svg %%WWWDIR%%/assets/default_header.png +%%WWWDIR%%/assets/fonts/OFL.txt +%%WWWDIR%%/assets/fonts/noto-sans-v27-latin-700.woff +%%WWWDIR%%/assets/fonts/noto-sans-v27-latin-700.woff2 +%%WWWDIR%%/assets/fonts/noto-sans-v27-latin-regular.woff +%%WWWDIR%%/assets/fonts/noto-sans-v27-latin-regular.woff2 %%WWWDIR%%/assets/Fork-Awesome/CONTRIBUTORS.md %%WWWDIR%%/assets/Fork-Awesome/fonts/forkawesome-webfont.ttf %%WWWDIR%%/assets/Fork-Awesome/fonts/forkawesome-webfont.woff2