git: 185a69c938bf - main - www/opengist: Update to 1.12.1

From: Santhosh Raju <fox_at_FreeBSD.org>
Date: Sun, 15 Feb 2026 10:57:00 UTC
The branch main has been updated by fox:

URL: https://cgit.FreeBSD.org/ports/commit/?id=185a69c938bf38bfdd970baabcb189a8022dc9e4

commit 185a69c938bf38bfdd970baabcb189a8022dc9e4
Author:     Santhosh Raju <fox@FreeBSD.org>
AuthorDate: 2026-02-15 10:52:38 +0000
Commit:     Santhosh Raju <fox@FreeBSD.org>
CommitDate: 2026-02-15 10:56:23 +0000

    www/opengist: Update to 1.12.1
    
    Remove aarch64 support, since tailwindcss 4 is currently not supported
    in aarch64.
    
    Changes since 1.11.1:
    
    v1.12.1
    
    Added
    
      * More translation strings (#605)
    
    Fixed
    
      * Allow Access Tokens with Required Login (#611)
      * Make text files renderable with mimetypes different than text/plain
        (#612)
      * Improve security on raw files endpoint (#613)
    
    Admins of Opengist instances may want to run "Synchronize all gists
    previews" in the admin panel.
    
    v1.12.0
    
    Added
    
      * Access tokens (#602)
      * Fuzzy search for gist search (#555)
      * Allow Unicode letters/numbers in topics (#597)
      * Resize editor height (#600)
      * More translation strings (#516) (#604)
    
    Fixed
    
      * Don't panic on Go TCP errors (#601)
    
    Other
    
      * Reduce footprint of Docker image (#515)
      * Update Go + JS deps (#603)
      * Configure Dependabot for updates on Go and NPM (#449)
    
    Helm Chart
    
      * Use existing pvc claim of provided (#547)
      * Adds StatefulSet support (#549)
      * Move Prom metrics to a dedicated port + support ServiceMonitor
        (#599)
---
 www/opengist/Makefile                 |  15 +---
 www/opengist/distinfo                 |  14 ++--
 www/opengist/files/patch-package.json |  13 ++-
 www/opengist/pkg-plist                | 152 ++++++++++++++++++----------------
 4 files changed, 94 insertions(+), 100 deletions(-)

diff --git a/www/opengist/Makefile b/www/opengist/Makefile
index 65b47049133f..64903963b376 100644
--- a/www/opengist/Makefile
+++ b/www/opengist/Makefile
@@ -1,7 +1,6 @@
 PORTNAME=	opengist
-PORTVERSION=	1.11.1
+PORTVERSION=	1.12.1
 DISTVERSIONPREFIX=	v
-PORTREVISION=	4
 CATEGORIES=	www textproc
 MASTER_SITES=	LOCAL/fox/:js
 DISTFILES=	opengist-${DISTVERSION}-node_modules.tgz:js
@@ -13,7 +12,7 @@ WWW=		https://opengist.io/
 LICENSE=	AGPLv3
 
 BROKEN_i386=	fails to build
-ONLY_FOR_ARCHS=	aarch64 amd64
+ONLY_FOR_ARCHS=	amd64
 
 BUILD_DEPENDS=	npm${NODEJS_SUFFIX}>0:www/npm${NODEJS_SUFFIX}
 RUN_DEPENDS=	git:devel/git
@@ -45,9 +44,6 @@ pre-build:
 	cd ${WRKSRC} && \
 		${SETENV} ${MAKE_ENV} npx --offline vite -c public/vite.config.js \
 		build
-	cd ${WRKSRC} && \
-		${SETENV} ${MAKE_ENV} EMBED=1 npx --offline postcss 'public/assets/embed-*.css' \
-		-c public/postcss.config.js --replace
 
 post-install:
 	${MKDIR} ${STAGEDIR}${PREFIX}/etc/${PORTNAME}
@@ -59,9 +55,6 @@ post-install:
 	cd ${WRKSRC} && \
 		${INSTALL_DATA} public/assets/* \
 		${STAGEDIR}${WWWDIR}/assets
-	cd ${WRKSRC} && \
-		${INSTALL_DATA} public/manifest.json \
-		${STAGEDIR}${WWWDIR}
 
 #
 # To update the opengist-${DISTVERSION}-node_modules.tgz archive:
@@ -75,10 +68,6 @@ post-install:
 regenerate-node_modules-distfile: patch
 	cd ${WRKSRC} && \
 		${RM} -r node_modules && \
-		${MAKE_ENV} npm install --prefix ${WRKSRC} --os freebsd --cpu \
-		arm64 esbuild@0.18.20 && \
-		${MAKE_ENV} npm install --prefix ${WRKSRC} --os freebsd --cpu \
-		amd64 esbuild@0.18.20 && \
 		${MAKE_ENV} npm install --prefix ${WRKSRC} && \
 		${TAR} czf ${DISTDIR}/opengist-${DISTVERSION}-node_modules.tgz \
 		node_modules && \
diff --git a/www/opengist/distinfo b/www/opengist/distinfo
index 57d44f964383..4b48da214507 100644
--- a/www/opengist/distinfo
+++ b/www/opengist/distinfo
@@ -1,7 +1,7 @@
-TIMESTAMP = 1762322900
-SHA256 (go/www_opengist/opengist-v1.11.1/opengist-1.11.1-node_modules.tgz) = 340ebaa290ab0e91fec8e20014ec15286a108a76ba6260a982762c06f163463f
-SIZE (go/www_opengist/opengist-v1.11.1/opengist-1.11.1-node_modules.tgz) = 29311888
-SHA256 (go/www_opengist/opengist-v1.11.1/v1.11.1.mod) = 9c44b9e720c397348bdfcd5774f3c681c64c114c4f817f559f97b1bef1631203
-SIZE (go/www_opengist/opengist-v1.11.1/v1.11.1.mod) = 5783
-SHA256 (go/www_opengist/opengist-v1.11.1/v1.11.1.zip) = 6e9361f2433d2d1249d5b68bca8b4accd2661430ef271e0839f06953818c3d7a
-SIZE (go/www_opengist/opengist-v1.11.1/v1.11.1.zip) = 1686483
+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
diff --git a/www/opengist/files/patch-package.json b/www/opengist/files/patch-package.json
index 20696004e74d..1a039f30e594 100644
--- a/www/opengist/files/patch-package.json
+++ b/www/opengist/files/patch-package.json
@@ -1,13 +1,12 @@
 --- package.json.orig	1979-11-30 00:00:00 UTC
 +++ package.json
-@@ -34,5 +34,10 @@
-     "sugarss": "^4.0.1",
-     "tailwindcss": "^3.2.7",
-     "vite": "^4.5.3"
+@@ -31,5 +31,9 @@
+     "pdfobject": "^2.3.1",
+     "tailwindcss": "^4.1.18",
+     "vite": "^7.3.1"
 +  },
 +  "overrides": {
-+    "vite": {
-+      "rollup": "npm:@rollup/wasm-node"
-+    }
++    "rollup": "npm:@rollup/wasm-node",
++    "lightningcss": "npm:lightningcss-wasm"
    }
  }
diff --git a/www/opengist/pkg-plist b/www/opengist/pkg-plist
index 0f00cfe6d149..4d797d980a8d 100644
--- a/www/opengist/pkg-plist
+++ b/www/opengist/pkg-plist
@@ -1,77 +1,83 @@
 bin/opengist
 %%ETCDIR%%/config.yml.sample
-%%WWWDIR%%/assets/KaTeX_AMS-Regular-0cdd387c.woff2
-%%WWWDIR%%/assets/KaTeX_AMS-Regular-30da91e8.woff
-%%WWWDIR%%/assets/KaTeX_AMS-Regular-68534840.ttf
-%%WWWDIR%%/assets/KaTeX_Caligraphic-Bold-07d8e303.ttf
-%%WWWDIR%%/assets/KaTeX_Caligraphic-Bold-1ae6bd74.woff
-%%WWWDIR%%/assets/KaTeX_Caligraphic-Bold-de7701e4.woff2
-%%WWWDIR%%/assets/KaTeX_Caligraphic-Regular-3398dd02.woff
-%%WWWDIR%%/assets/KaTeX_Caligraphic-Regular-5d53e70a.woff2
-%%WWWDIR%%/assets/KaTeX_Caligraphic-Regular-ed0b7437.ttf
-%%WWWDIR%%/assets/KaTeX_Fraktur-Bold-74444efd.woff2
-%%WWWDIR%%/assets/KaTeX_Fraktur-Bold-9163df9c.ttf
-%%WWWDIR%%/assets/KaTeX_Fraktur-Bold-9be7ceb8.woff
-%%WWWDIR%%/assets/KaTeX_Fraktur-Regular-1e6f9579.ttf
-%%WWWDIR%%/assets/KaTeX_Fraktur-Regular-51814d27.woff2
-%%WWWDIR%%/assets/KaTeX_Fraktur-Regular-5e28753b.woff
-%%WWWDIR%%/assets/KaTeX_Main-Bold-0f60d1b8.woff2
-%%WWWDIR%%/assets/KaTeX_Main-Bold-138ac28d.ttf
-%%WWWDIR%%/assets/KaTeX_Main-Bold-c76c5d69.woff
-%%WWWDIR%%/assets/KaTeX_Main-BoldItalic-70ee1f64.ttf
-%%WWWDIR%%/assets/KaTeX_Main-BoldItalic-99cd42a3.woff2
-%%WWWDIR%%/assets/KaTeX_Main-BoldItalic-a6f7ec0d.woff
-%%WWWDIR%%/assets/KaTeX_Main-Italic-0d85ae7c.ttf
-%%WWWDIR%%/assets/KaTeX_Main-Italic-97479ca6.woff2
-%%WWWDIR%%/assets/KaTeX_Main-Italic-f1d6ef86.woff
-%%WWWDIR%%/assets/KaTeX_Main-Regular-c2342cd8.woff2
-%%WWWDIR%%/assets/KaTeX_Main-Regular-c6368d87.woff
-%%WWWDIR%%/assets/KaTeX_Main-Regular-d0332f52.ttf
-%%WWWDIR%%/assets/KaTeX_Math-BoldItalic-850c0af5.woff
-%%WWWDIR%%/assets/KaTeX_Math-BoldItalic-dc47344d.woff2
-%%WWWDIR%%/assets/KaTeX_Math-BoldItalic-f9377ab0.ttf
-%%WWWDIR%%/assets/KaTeX_Math-Italic-08ce98e5.ttf
-%%WWWDIR%%/assets/KaTeX_Math-Italic-7af58c5e.woff2
-%%WWWDIR%%/assets/KaTeX_Math-Italic-8a8d2445.woff
-%%WWWDIR%%/assets/KaTeX_SansSerif-Bold-1ece03f7.ttf
-%%WWWDIR%%/assets/KaTeX_SansSerif-Bold-e99ae511.woff2
-%%WWWDIR%%/assets/KaTeX_SansSerif-Bold-ece03cfd.woff
-%%WWWDIR%%/assets/KaTeX_SansSerif-Italic-00b26ac8.woff2
-%%WWWDIR%%/assets/KaTeX_SansSerif-Italic-3931dd81.ttf
-%%WWWDIR%%/assets/KaTeX_SansSerif-Italic-91ee6750.woff
-%%WWWDIR%%/assets/KaTeX_SansSerif-Regular-11e4dc8a.woff
-%%WWWDIR%%/assets/KaTeX_SansSerif-Regular-68e8c73e.woff2
-%%WWWDIR%%/assets/KaTeX_SansSerif-Regular-f36ea897.ttf
-%%WWWDIR%%/assets/KaTeX_Script-Regular-036d4e95.woff2
-%%WWWDIR%%/assets/KaTeX_Script-Regular-1c67f068.ttf
-%%WWWDIR%%/assets/KaTeX_Script-Regular-d96cdf2b.woff
-%%WWWDIR%%/assets/KaTeX_Size1-Regular-6b47c401.woff2
-%%WWWDIR%%/assets/KaTeX_Size1-Regular-95b6d2f1.ttf
-%%WWWDIR%%/assets/KaTeX_Size1-Regular-c943cc98.woff
-%%WWWDIR%%/assets/KaTeX_Size2-Regular-2014c523.woff
-%%WWWDIR%%/assets/KaTeX_Size2-Regular-a6b2099f.ttf
-%%WWWDIR%%/assets/KaTeX_Size2-Regular-d04c5421.woff2
-%%WWWDIR%%/assets/KaTeX_Size3-Regular-500e04d5.ttf
-%%WWWDIR%%/assets/KaTeX_Size3-Regular-6ab6b62e.woff
-%%WWWDIR%%/assets/KaTeX_Size3-Regular-73d59127.woff2
-%%WWWDIR%%/assets/KaTeX_Size4-Regular-99f9c675.woff
-%%WWWDIR%%/assets/KaTeX_Size4-Regular-a4af7d41.woff2
-%%WWWDIR%%/assets/KaTeX_Size4-Regular-c647367d.ttf
-%%WWWDIR%%/assets/KaTeX_Typewriter-Regular-71d517d6.woff2
-%%WWWDIR%%/assets/KaTeX_Typewriter-Regular-e14fed02.woff
-%%WWWDIR%%/assets/KaTeX_Typewriter-Regular-f01f3e87.ttf
-%%WWWDIR%%/assets/_commonjsHelpers-725317a4.js
-%%WWWDIR%%/assets/admin-f49fd6c0.js
-%%WWWDIR%%/assets/editor-61bea3d7.js
-%%WWWDIR%%/assets/embed-80b40d30.js
-%%WWWDIR%%/assets/embed-ecec9fcb.css
-%%WWWDIR%%/assets/favicon-32-5d82ace6.png
-%%WWWDIR%%/assets/gist-e6a5436c.js
-%%WWWDIR%%/assets/main-230cd4e3.js
-%%WWWDIR%%/assets/main-41bc6569.css
-%%WWWDIR%%/assets/opengist-85b89b9c.svg
-%%WWWDIR%%/assets/style_preferences-1f030604.js
-%%WWWDIR%%/assets/webauthn-93328862.js
-%%WWWDIR%%/manifest.json
+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/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/opengist-DI_FK2dF.svg
+%%WWWDIR%%/assets/style_preferences-Ck4u9x6z.js
+%%WWWDIR%%/assets/webauthn-Bx0wA4K6.js
 @dir(opengist,opengist,750) /var/db/opengist
 @dir(opengist,opengist,750) /var/run/opengist