diff --git a/net-im/gotosocial/Makefile b/net-im/gotosocial/Makefile index e3f60e551e89..cfc858df00d5 100644 --- a/net-im/gotosocial/Makefile +++ b/net-im/gotosocial/Makefile @@ -1,61 +1,53 @@ PORTNAME= gotosocial DISTVERSIONPREFIX= v -DISTVERSION= 0.3.7 -PORTREVISION= 4 +DISTVERSION= 0.5.2 CATEGORIES= net-im MASTER_SITES?= https://github.com/${GH_ACCOUNT}/${PORTNAME}/releases/download/v${DISTVERSION}/:web DISTFILES?= ${PORTNAME}_${DISTVERSION}_web-assets.tar.gz:web MAINTAINER= me+freebsd@igalic.co COMMENT= Golang fediverse server 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} USE_GITHUB= yes GH_ACCOUNT= superseriousbusiness SUB_LIST= DBDIR="${DBDIR}" \ GROUP="${GROUPS}" \ USER="${USERS}" \ WWWDIR="${WWWDIR}" USERS= gotosocial GROUPS= gotosocial DBDIR= /var/db/${PORTNAME} PLIST_SUB= WWWDIR="${WWWDIR}" -# patch sample config for people who set a custom prefix -.if "${PREFIX}" != "${LOCALBASE}" -post-patch: - @${REINPLACE_CMD} -e 's|/usr/local|${PREFIX}|g' \ - ${WRKSRC}/example/config.yaml -.endif - do-build: @(cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} \ VERSION=${DISTVERSION} COMMIT=${GH_TAGNAME} scripts/build.sh ) do-install: ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} \ ${STAGEDIR}${PREFIX}/bin/ ${MKDIR} ${STAGEDIR}${DOCSDIR} .for x in LICENSE README.md ${INSTALL_DATA} ${WRKSRC}/${x} \ ${STAGEDIR}${DOCSDIR} .endfor ${MKDIR} ${STAGEDIR}${ETCDIR} ${INSTALL_DATA} ${WRKSRC}/example/config.yaml \ ${STAGEDIR}${ETCDIR}/config.yaml.sample (cd ${WRKSRC}/../web && ${COPYTREE_SHARE} . ${STAGEDIR}${WWWDIR}/ ) .include diff --git a/net-im/gotosocial/distinfo b/net-im/gotosocial/distinfo index 4dbf7b38b809..f0a7af6fb159 100644 --- a/net-im/gotosocial/distinfo +++ b/net-im/gotosocial/distinfo @@ -1,5 +1,5 @@ -TIMESTAMP = 1656961168 -SHA256 (gotosocial_0.3.7_web-assets.tar.gz) = 377aebfd85f409127e0f999477f0feae1e70dfa10c168513842f1080704ecba4 -SIZE (gotosocial_0.3.7_web-assets.tar.gz) = 1455170 -SHA256 (superseriousbusiness-gotosocial-v0.3.7_GH0.tar.gz) = a81202f1b7c4a0ed40338dfa36e3f2ba4d0bcb1486044ee8821de5f788ecf448 -SIZE (superseriousbusiness-gotosocial-v0.3.7_GH0.tar.gz) = 49542572 +TIMESTAMP = 1664980066 +SHA256 (gotosocial_0.5.2_web-assets.tar.gz) = 5662fa0938679d02534d425b324a243a8e6fdb17ec3c42f465084971d997f881 +SIZE (gotosocial_0.5.2_web-assets.tar.gz) = 1603916 +SHA256 (superseriousbusiness-gotosocial-v0.5.2_GH0.tar.gz) = 8733ef7e191d68f93c0c26a2c40dfbf9afa7c16e2ad1578168541382857af840 +SIZE (superseriousbusiness-gotosocial-v0.5.2_GH0.tar.gz) = 52865473 diff --git a/net-im/gotosocial/pkg-plist b/net-im/gotosocial/pkg-plist index 07d4e9c13c65..b15e5bef7021 100644 --- a/net-im/gotosocial/pkg-plist +++ b/net-im/gotosocial/pkg-plist @@ -1,54 +1,58 @@ @sample etc/gotosocial/config.yaml.sample %%WWWDIR%%/assets/dist/_colors.css %%WWWDIR%%/assets/dist/admin-panel.js %%WWWDIR%%/assets/dist/base.css %%WWWDIR%%/assets/dist/bundle.js %%WWWDIR%%/assets/dist/frontend.js %%WWWDIR%%/assets/dist/panels-admin-style.css %%WWWDIR%%/assets/dist/profile.css %%WWWDIR%%/assets/dist/status.css %%WWWDIR%%/assets/dist/user-panel.js %%WWWDIR%%/assets/swagger.yaml %%WWWDIR%%/template/frontend.tmpl %%WWWDIR%%/assets/Fork-Awesome/CONTRIBUTORS.md %%WWWDIR%%/assets/Fork-Awesome/css/fork-awesome.css %%WWWDIR%%/assets/Fork-Awesome/css/fork-awesome.min.css %%WWWDIR%%/assets/Fork-Awesome/css/fork-awesome.min.css.map %%WWWDIR%%/assets/Fork-Awesome/css/v5-compat.css %%WWWDIR%%/assets/Fork-Awesome/css/v5-compat.min.css %%WWWDIR%%/assets/Fork-Awesome/css/v5-compat.min.css.map %%WWWDIR%%/assets/Fork-Awesome/fonts/forkawesome-webfont.eot %%WWWDIR%%/assets/Fork-Awesome/fonts/forkawesome-webfont.svg %%WWWDIR%%/assets/Fork-Awesome/fonts/forkawesome-webfont.ttf %%WWWDIR%%/assets/Fork-Awesome/fonts/forkawesome-webfont.woff %%WWWDIR%%/assets/Fork-Awesome/fonts/forkawesome-webfont.woff2 %%WWWDIR%%/assets/Fork-Awesome/LICENSES %%WWWDIR%%/assets/NotoSans-Bold.ttf %%WWWDIR%%/assets/NotoSans-Regular.ttf %%WWWDIR%%/assets/OFL.txt %%WWWDIR%%/assets/logo.png %%WWWDIR%%/assets/tusky.svg -%%WWWDIR%%/assets/default_avatars/GoToSocial_icon1.svg -%%WWWDIR%%/assets/default_avatars/GoToSocial_icon2.svg -%%WWWDIR%%/assets/default_avatars/GoToSocial_icon3.svg -%%WWWDIR%%/assets/default_avatars/GoToSocial_icon4.svg -%%WWWDIR%%/assets/default_avatars/GoToSocial_icon5.svg -%%WWWDIR%%/assets/default_avatars/GoToSocial_icon6.svg +%%WWWDIR%%/assets/default_header.png +%%WWWDIR%%/assets/dist/panels-base.css +%%WWWDIR%%/assets/dist/panels-user-style.css +%%WWWDIR%%/assets/mastodon.svg +%%WWWDIR%%/assets/default_avatars/GoToSocial_icon1.png +%%WWWDIR%%/assets/default_avatars/GoToSocial_icon2.png +%%WWWDIR%%/assets/default_avatars/GoToSocial_icon3.png +%%WWWDIR%%/assets/default_avatars/GoToSocial_icon4.png +%%WWWDIR%%/assets/default_avatars/GoToSocial_icon5.png +%%WWWDIR%%/assets/default_avatars/GoToSocial_icon6.png %%WWWDIR%%/template/profile.tmpl %%WWWDIR%%/template/404.tmpl %%WWWDIR%%/template/authorize.tmpl %%WWWDIR%%/template/confirmed.tmpl %%WWWDIR%%/template/email_confirm_html.tmpl %%WWWDIR%%/template/email_confirm_text.tmpl %%WWWDIR%%/template/email_reset_html.tmpl %%WWWDIR%%/template/email_reset_text.tmpl %%WWWDIR%%/template/error.tmpl %%WWWDIR%%/template/footer.tmpl %%WWWDIR%%/template/header.tmpl %%WWWDIR%%/template/index.tmpl %%WWWDIR%%/template/sign-in.tmpl %%WWWDIR%%/template/status.tmpl %%WWWDIR%%/template/thread.tmpl bin/gotosocial share/doc/gotosocial/LICENSE share/doc/gotosocial/README.md