diff --git a/www/opengist/Makefile b/www/opengist/Makefile index 76841ef445fd..98b7169cc751 100644 --- a/www/opengist/Makefile +++ b/www/opengist/Makefile @@ -1,77 +1,76 @@ PORTNAME= opengist -PORTVERSION= 1.12.2 -PORTREVISION= 1 +PORTVERSION= 1.13.1 DISTVERSIONPREFIX= v CATEGORIES= www textproc MASTER_SITES= LOCAL/fox/:js DISTFILES= opengist-${DISTVERSION}-node_modules.tgz:js 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= amd64 BUILD_DEPENDS= npm${NODEJS_SUFFIX}>0:www/npm${NODEJS_SUFFIX} RUN_DEPENDS= git:devel/git -USES= go:modules nodejs:20,build +USES= go:1.26+,modules nodejs:24,build USE_GITHUB= nodefault GH_ACCOUNT= thomiceli GH_PROJECT= opengist USE_RC_SUBR= opengist 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}" GROUPS= opengist USERS= opengist post-extract: @${RLN} ${WRKDIR}/node_modules ${WRKSRC}/node_modules post-patch: @${REINPLACE_CMD} -e 's|opengist.db|file:/var/db/${PORTNAME}/opengist.db|g' \ ${WRKSRC}/config.yml pre-build: cd ${WRKSRC} && \ ${SETENV} ${MAKE_ENV} npx --offline vite -c public/vite.config.js \ build 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} ${MKDIR} ${STAGEDIR}${WWWDIR}/assets cd ${WRKSRC} && \ ${INSTALL_DATA} public/assets/* \ ${STAGEDIR}${WWWDIR}/assets # # To update the opengist-${DISTVERSION}-node_modules.tgz archive: # 1. Comment out the DISTFILES and post-extract lines # 2. Run 'make makesum regenerate-node_modules-distfile clean' # 3. Upload the archive # 4. Uncomment the lines from step #1 # 5. Run 'make makesum' # regenerate-node_modules-distfile: patch cd ${WRKSRC} && \ ${RM} -r node_modules && \ ${MAKE_ENV} npm install --prefix ${WRKSRC} && \ ${TAR} czf ${DISTDIR}/opengist-${DISTVERSION}-node_modules.tgz \ node_modules && \ ${ECHO} "Please upload the file ${DISTDIR}/opengist-${DISTVERSION}-node_modules.tgz" .include diff --git a/www/opengist/distinfo b/www/opengist/distinfo index 75cf38fe9761..e2f7632bd927 100644 --- a/www/opengist/distinfo +++ b/www/opengist/distinfo @@ -1,7 +1,7 @@ -TIMESTAMP = 1779501462 -SHA256 (go/www_opengist/opengist-v1.12.2/opengist-1.12.2-node_modules.tgz) = 85cd2d1bb5c89362b2c9e3e8db9b9f23645817fdc5dc1dcd5410cc1a46ae76fd -SIZE (go/www_opengist/opengist-v1.12.2/opengist-1.12.2-node_modules.tgz) = 22074517 -SHA256 (go/www_opengist/opengist-v1.12.2/v1.12.2.mod) = c1481892deb15175aa6a5343e51cc9676180b4c9cc96a16fbe87519759a8cefc -SIZE (go/www_opengist/opengist-v1.12.2/v1.12.2.mod) = 5590 -SHA256 (go/www_opengist/opengist-v1.12.2/v1.12.2.zip) = f1cfafed5c41ebae6881c1d04fc56596582ad9d3e3a609eda9f7fe58ef50a100 -SIZE (go/www_opengist/opengist-v1.12.2/v1.12.2.zip) = 1709595 +TIMESTAMP = 1782567541 +SHA256 (go/www_opengist/opengist-v1.13.1/opengist-1.13.1-node_modules.tgz) = a30121da60dc4b8e6cc3d0d713784a80320e5a3156b796762f5c00c0a2b0101e +SIZE (go/www_opengist/opengist-v1.13.1/opengist-1.13.1-node_modules.tgz) = 20316776 +SHA256 (go/www_opengist/opengist-v1.13.1/v1.13.1.mod) = 690e1e2f078792c942a684910aacb548807ff93884583dd94537c5ef2d1493a4 +SIZE (go/www_opengist/opengist-v1.13.1/v1.13.1.mod) = 5567 +SHA256 (go/www_opengist/opengist-v1.13.1/v1.13.1.zip) = 8c335d8a0789ace8a83b5fae9ba73aa46b563adc1d56b867cfbb7d70e0b50b46 +SIZE (go/www_opengist/opengist-v1.13.1/v1.13.1.zip) = 1757741 diff --git a/www/opengist/files/patch-package.json b/www/opengist/files/patch-package.json index 811315e5a623..5732bd3f6db5 100644 --- a/www/opengist/files/patch-package.json +++ b/www/opengist/files/patch-package.json @@ -1,12 +1,13 @@ --- package.json.orig 1979-11-30 00:00:00 UTC +++ package.json -@@ -31,5 +31,9 @@ +@@ -28,5 +28,9 @@ "pdfobject": "^2.3.1", - "tailwindcss": "^4.2.4", - "vite": "^8.0.10" + "tailwindcss": "^4.3.0", + "vite": "^8.0.16" +- } + }, + "overrides": { + "rollup": "npm:@rollup/wasm-node", + "lightningcss": "npm:lightningcss-wasm" - } ++ } } diff --git a/www/opengist/pkg-plist b/www/opengist/pkg-plist index 8a8619377fce..065f3704ecaf 100644 --- a/www/opengist/pkg-plist +++ b/www/opengist/pkg-plist @@ -1,83 +1,83 @@ bin/opengist %%ETCDIR%%/config.yml.sample etc/rc.d/opengist %%WWWDIR%%/assets/KaTeX_AMS-Regular-BQhdFMY1.woff2 %%WWWDIR%%/assets/KaTeX_AMS-Regular-DMm9YOAa.woff %%WWWDIR%%/assets/KaTeX_AMS-Regular-DRggAlZN.ttf %%WWWDIR%%/assets/KaTeX_Caligraphic-Bold-ATXxdsX0.ttf %%WWWDIR%%/assets/KaTeX_Caligraphic-Bold-BEiXGLvX.woff %%WWWDIR%%/assets/KaTeX_Caligraphic-Bold-Dq_IR9rO.woff2 %%WWWDIR%%/assets/KaTeX_Caligraphic-Regular-CTRA-rTL.woff %%WWWDIR%%/assets/KaTeX_Caligraphic-Regular-Di6jR-x-.woff2 %%WWWDIR%%/assets/KaTeX_Caligraphic-Regular-wX97UBjC.ttf %%WWWDIR%%/assets/KaTeX_Fraktur-Bold-BdnERNNW.ttf %%WWWDIR%%/assets/KaTeX_Fraktur-Bold-BsDP51OF.woff %%WWWDIR%%/assets/KaTeX_Fraktur-Bold-CL6g_b3V.woff2 %%WWWDIR%%/assets/KaTeX_Fraktur-Regular-CB_wures.ttf %%WWWDIR%%/assets/KaTeX_Fraktur-Regular-CTYiF6lA.woff2 %%WWWDIR%%/assets/KaTeX_Fraktur-Regular-Dxdc4cR9.woff %%WWWDIR%%/assets/KaTeX_Main-Bold-Cx986IdX.woff2 %%WWWDIR%%/assets/KaTeX_Main-Bold-Jm3AIy58.woff %%WWWDIR%%/assets/KaTeX_Main-Bold-waoOVXN0.ttf %%WWWDIR%%/assets/KaTeX_Main-BoldItalic-DxDJ3AOS.woff2 %%WWWDIR%%/assets/KaTeX_Main-BoldItalic-DzxPMmG6.ttf %%WWWDIR%%/assets/KaTeX_Main-BoldItalic-SpSLRI95.woff %%WWWDIR%%/assets/KaTeX_Main-Italic-3WenGoN9.ttf %%WWWDIR%%/assets/KaTeX_Main-Italic-BMLOBm91.woff %%WWWDIR%%/assets/KaTeX_Main-Italic-NWA7e6Wa.woff2 %%WWWDIR%%/assets/KaTeX_Main-Regular-B22Nviop.woff2 %%WWWDIR%%/assets/KaTeX_Main-Regular-Dr94JaBh.woff %%WWWDIR%%/assets/KaTeX_Main-Regular-ypZvNtVU.ttf %%WWWDIR%%/assets/KaTeX_Math-BoldItalic-B3XSjfu4.ttf %%WWWDIR%%/assets/KaTeX_Math-BoldItalic-CZnvNsCZ.woff2 %%WWWDIR%%/assets/KaTeX_Math-BoldItalic-iY-2wyZ7.woff %%WWWDIR%%/assets/KaTeX_Math-Italic-DA0__PXp.woff %%WWWDIR%%/assets/KaTeX_Math-Italic-flOr_0UB.ttf %%WWWDIR%%/assets/KaTeX_Math-Italic-t53AETM-.woff2 %%WWWDIR%%/assets/KaTeX_SansSerif-Bold-CFMepnvq.ttf %%WWWDIR%%/assets/KaTeX_SansSerif-Bold-D1sUS0GD.woff2 %%WWWDIR%%/assets/KaTeX_SansSerif-Bold-DbIhKOiC.woff %%WWWDIR%%/assets/KaTeX_SansSerif-Italic-C3H0VqGB.woff2 %%WWWDIR%%/assets/KaTeX_SansSerif-Italic-DN2j7dab.woff %%WWWDIR%%/assets/KaTeX_SansSerif-Italic-YYjJ1zSn.ttf %%WWWDIR%%/assets/KaTeX_SansSerif-Regular-BNo7hRIc.ttf %%WWWDIR%%/assets/KaTeX_SansSerif-Regular-CS6fqUqJ.woff %%WWWDIR%%/assets/KaTeX_SansSerif-Regular-DDBCnlJ7.woff2 %%WWWDIR%%/assets/KaTeX_Script-Regular-C5JkGWo-.ttf %%WWWDIR%%/assets/KaTeX_Script-Regular-D3wIWfF6.woff2 %%WWWDIR%%/assets/KaTeX_Script-Regular-D5yQViql.woff %%WWWDIR%%/assets/KaTeX_Size1-Regular-C195tn64.woff %%WWWDIR%%/assets/KaTeX_Size1-Regular-Dbsnue_I.ttf %%WWWDIR%%/assets/KaTeX_Size1-Regular-mCD8mA8B.woff2 %%WWWDIR%%/assets/KaTeX_Size2-Regular-B7gKUWhC.ttf %%WWWDIR%%/assets/KaTeX_Size2-Regular-Dy4dx90m.woff2 %%WWWDIR%%/assets/KaTeX_Size2-Regular-oD1tc_U0.woff %%WWWDIR%%/assets/KaTeX_Size3-Regular-CTq5MqoE.woff %%WWWDIR%%/assets/KaTeX_Size3-Regular-DgpXs0kz.ttf %%WWWDIR%%/assets/KaTeX_Size3-Regular-gV2CO0n9.woff2 %%WWWDIR%%/assets/KaTeX_Size4-Regular-BF-4gkZK.woff %%WWWDIR%%/assets/KaTeX_Size4-Regular-DWFBv043.ttf %%WWWDIR%%/assets/KaTeX_Size4-Regular-Dl5lxZxV.woff2 %%WWWDIR%%/assets/KaTeX_Typewriter-Regular-C0xS9mPB.woff %%WWWDIR%%/assets/KaTeX_Typewriter-Regular-CO6r4hn1.woff2 %%WWWDIR%%/assets/KaTeX_Typewriter-Regular-D3Ib7_Hf.ttf -%%WWWDIR%%/assets/admin-CkUDLHZS.js -%%WWWDIR%%/assets/auto-3iNaBMUU.js +%%WWWDIR%%/assets/admin-tJmhv7Qm.js %%WWWDIR%%/assets/auto-BAVJk2MF.css -%%WWWDIR%%/assets/chunk-BUyN5Cfb.js -%%WWWDIR%%/assets/dark-BhFW8kVk.js +%%WWWDIR%%/assets/auto-DZFdjWn-.js +%%WWWDIR%%/assets/chunk-Bh1tDfsg.js %%WWWDIR%%/assets/dark-BrgCWhxc.css -%%WWWDIR%%/assets/editor-DiTzg43-.js -%%WWWDIR%%/assets/embed-BRK96T_j.js -%%WWWDIR%%/assets/embed-hnMtdGD3.css +%%WWWDIR%%/assets/dark-DVx5-msO.js +%%WWWDIR%%/assets/editor-bMF3Jr84.js +%%WWWDIR%%/assets/embed-BVydxoUT.css +%%WWWDIR%%/assets/embed-DSIJTABY.js %%WWWDIR%%/assets/favicon-32-BHd4osPo.png -%%WWWDIR%%/assets/gist-CrRgLLDL.js -%%WWWDIR%%/assets/light-BgsumsOV.js +%%WWWDIR%%/assets/gist-UBSG2TwP.js %%WWWDIR%%/assets/light-DgpT-POT.css -%%WWWDIR%%/assets/main-J5V8RB5Z.css -%%WWWDIR%%/assets/main-fH2v3Aca.js +%%WWWDIR%%/assets/light-XhZw2HnZ.js +%%WWWDIR%%/assets/main-0mJA_5st.css +%%WWWDIR%%/assets/main-Du4ZoMhO.js %%WWWDIR%%/assets/opengist-DI_FK2dF.svg -%%WWWDIR%%/assets/style_preferences-CEztVbes.js -%%WWWDIR%%/assets/webauthn-qOtyK3k-.js +%%WWWDIR%%/assets/style_preferences-B0RS7gZs.js +%%WWWDIR%%/assets/webauthn-DHNm3GwH.js @dir(opengist,opengist,750) /var/db/opengist @dir(opengist,opengist,750) /var/run/opengist