diff --git a/www/opengist/Makefile b/www/opengist/Makefile index 795fc766574a..7d28e0a3876a 100644 --- a/www/opengist/Makefile +++ b/www/opengist/Makefile @@ -1,77 +1,76 @@ PORTNAME= opengist -PORTVERSION= 1.12.1 +PORTVERSION= 1.12.2 DISTVERSIONPREFIX= v -PORTREVISION= 2 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 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 4b48da214507..75cf38fe9761 100644 --- a/www/opengist/distinfo +++ b/www/opengist/distinfo @@ -1,7 +1,7 @@ -TIMESTAMP = 1771118812 -SHA256 (go/www_opengist/opengist-v1.12.1/opengist-1.12.1-node_modules.tgz) = ebec5ebe6d03251427ac45b54b06338798cec99342f7f115ac669d1f341d077a -SIZE (go/www_opengist/opengist-v1.12.1/opengist-1.12.1-node_modules.tgz) = 17155652 -SHA256 (go/www_opengist/opengist-v1.12.1/v1.12.1.mod) = d779898d395ac02d0d8adf4b9a0f377a5b575836feb58dfed1fc526da3345ea4 -SIZE (go/www_opengist/opengist-v1.12.1/v1.12.1.mod) = 5581 -SHA256 (go/www_opengist/opengist-v1.12.1/v1.12.1.zip) = b1605137851c217a6763d7160d5d1fef6440b4ab295cf03905192f5df9bca9e1 -SIZE (go/www_opengist/opengist-v1.12.1/v1.12.1.zip) = 1695791 +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 diff --git a/www/opengist/files/patch-package.json b/www/opengist/files/patch-package.json index 1a039f30e594..811315e5a623 100644 --- a/www/opengist/files/patch-package.json +++ b/www/opengist/files/patch-package.json @@ -1,12 +1,12 @@ --- package.json.orig 1979-11-30 00:00:00 UTC +++ package.json @@ -31,5 +31,9 @@ "pdfobject": "^2.3.1", - "tailwindcss": "^4.1.18", - "vite": "^7.3.1" + "tailwindcss": "^4.2.4", + "vite": "^8.0.10" + }, + "overrides": { + "rollup": "npm:@rollup/wasm-node", + "lightningcss": "npm:lightningcss-wasm" } } diff --git a/www/opengist/pkg-plist b/www/opengist/pkg-plist index 4d797d980a8d..8a8619377fce 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/_commonjsHelpers-CqkleIqs.js -%%WWWDIR%%/assets/admin-zSosdAUq.js -%%WWWDIR%%/assets/auto-AI_rlwP9.js -%%WWWDIR%%/assets/auto-Cgp9ogWp.css -%%WWWDIR%%/assets/dark-lPV00ZsJ.js -%%WWWDIR%%/assets/dark-yXNGFPPS.css -%%WWWDIR%%/assets/editor-DVd6Cy7T.js -%%WWWDIR%%/assets/embed-BxqsL3ZH.js -%%WWWDIR%%/assets/embed-CuaRj9uV.css +%%WWWDIR%%/assets/admin-CkUDLHZS.js +%%WWWDIR%%/assets/auto-3iNaBMUU.js +%%WWWDIR%%/assets/auto-BAVJk2MF.css +%%WWWDIR%%/assets/chunk-BUyN5Cfb.js +%%WWWDIR%%/assets/dark-BhFW8kVk.js +%%WWWDIR%%/assets/dark-BrgCWhxc.css +%%WWWDIR%%/assets/editor-DiTzg43-.js +%%WWWDIR%%/assets/embed-BRK96T_j.js +%%WWWDIR%%/assets/embed-hnMtdGD3.css %%WWWDIR%%/assets/favicon-32-BHd4osPo.png -%%WWWDIR%%/assets/gist-8fqheCgo.js -%%WWWDIR%%/assets/light-B0neenoN.js -%%WWWDIR%%/assets/light-BHyWC2Xy.css -%%WWWDIR%%/assets/main-BOjJ7ls3.js -%%WWWDIR%%/assets/main-BeRbbMrT.css +%%WWWDIR%%/assets/gist-CrRgLLDL.js +%%WWWDIR%%/assets/light-BgsumsOV.js +%%WWWDIR%%/assets/light-DgpT-POT.css +%%WWWDIR%%/assets/main-J5V8RB5Z.css +%%WWWDIR%%/assets/main-fH2v3Aca.js %%WWWDIR%%/assets/opengist-DI_FK2dF.svg -%%WWWDIR%%/assets/style_preferences-Ck4u9x6z.js -%%WWWDIR%%/assets/webauthn-Bx0wA4K6.js +%%WWWDIR%%/assets/style_preferences-CEztVbes.js +%%WWWDIR%%/assets/webauthn-qOtyK3k-.js @dir(opengist,opengist,750) /var/db/opengist @dir(opengist,opengist,750) /var/run/opengist