diff --git a/www/opengist/Makefile b/www/opengist/Makefile index 547feea1e84b..e0b871f868d5 100644 --- a/www/opengist/Makefile +++ b/www/opengist/Makefile @@ -1,52 +1,52 @@ PORTNAME= opengist -PORTVERSION= 1.14.0 +PORTVERSION= 1.15.1 DISTVERSIONPREFIX= v CATEGORIES= www textproc # prebuilt frontend assets published upstream (see upstream PR #768) MASTER_SITES+= https://github.com/thomiceli/${PORTNAME}/releases/download/${DISTVERSIONPREFIX}${DISTVERSION}/:webdist DISTFILES+= ${PORTNAME}${DISTVERSION}-webdist.tar.gz:webdist MAINTAINER= fox@FreeBSD.org COMMENT= Self-hosted pastebin powered by Git, open-source alternative to Github Gist WWW= https://opengist.io/ LICENSE= AGPLv3 BROKEN_i386= fails to build ONLY_FOR_ARCHS= aarch64 amd64 RUN_DEPENDS= git:devel/git USES= go:1.26+,modules GO_MODULE= github.com/thomiceli/opengist GO_ENV+= GOTOOLCHAIN=local+path GO_TARGET= . GO_BUILDFLAGS= -tags fs_embed \ -ldflags="-X github.com/thomiceli/opengist/internal/config.OpengistVersion=v${DISTVERSION}" USE_RC_SUBR= opengist GROUPS= opengist USERS= opengist # The go:modules source zip extracts to WRKSRC; unpack prebuilt web assets # there. The tarball wraps everything in a top-level opengist-webdist/ # directory, so strip it to land .vite/ and assets/ directly under public/. post-extract: @${TAR} -xzf ${_DISTDIR}/${PORTNAME}${DISTVERSION}-webdist.tar.gz \ --strip-components=1 -C ${WRKSRC}/public post-patch: @${REINPLACE_CMD} -e 's|opengist.db|file:/var/db/${PORTNAME}/opengist.db|g' \ ${WRKSRC}/config.yml post-install: ${MKDIR} ${STAGEDIR}${PREFIX}/etc/${PORTNAME} ${INSTALL_DATA} ${WRKSRC}/config.yml \ ${STAGEDIR}${PREFIX}/etc/${PORTNAME}/config.yml.sample ${MKDIR} ${STAGEDIR}/var/db/${PORTNAME} ${MKDIR} ${STAGEDIR}/var/run/${PORTNAME} .include diff --git a/www/opengist/distinfo b/www/opengist/distinfo index 40053108de87..5e71e1dc1f23 100644 --- a/www/opengist/distinfo +++ b/www/opengist/distinfo @@ -1,7 +1,7 @@ -TIMESTAMP = 1784995426 -SHA256 (go/www_opengist/opengist-v1.14.0/opengist1.14.0-webdist.tar.gz) = 10595dfcd0b55a89c8c7d1c7a39cb38caebca627093f78512ae5b3f7cef86e2b -SIZE (go/www_opengist/opengist-v1.14.0/opengist1.14.0-webdist.tar.gz) = 1919094 -SHA256 (go/www_opengist/opengist-v1.14.0/v1.14.0.mod) = 8058902ecfea909764b339f2ba859e61854298dacd210fb39ea7390aba956679 -SIZE (go/www_opengist/opengist-v1.14.0/v1.14.0.mod) = 5782 -SHA256 (go/www_opengist/opengist-v1.14.0/v1.14.0.zip) = 2c0e8d0f005b5ee4e994e34b99969f5690010811a6fa224bad7aaab530ce44d3 -SIZE (go/www_opengist/opengist-v1.14.0/v1.14.0.zip) = 1830674 +TIMESTAMP = 1787133854 +SHA256 (go/www_opengist/opengist-v1.15.1/opengist1.15.1-webdist.tar.gz) = 770491196c91ab1d450d48090c085d0ca1f3fee3559a57a5667c75f707e47341 +SIZE (go/www_opengist/opengist-v1.15.1/opengist1.15.1-webdist.tar.gz) = 1988948 +SHA256 (go/www_opengist/opengist-v1.15.1/v1.15.1.mod) = d7831243f3ebe11bdc8722ddaa90fdafeb7843cce902d1d9cfaa4773d1d78e38 +SIZE (go/www_opengist/opengist-v1.15.1/v1.15.1.mod) = 5782 +SHA256 (go/www_opengist/opengist-v1.15.1/v1.15.1.zip) = 0aa094ac9cffd47d954a762bf4ce1cb7f61384ca693e4004773990406bebdce2 +SIZE (go/www_opengist/opengist-v1.15.1/v1.15.1.zip) = 1874349