Re: git: 01361a02cc88 - main - www/gohugo: Update to 0.153.1

From: Fernando_Apesteguía <fernape_at_freebsd.org>
Date: Sat, 20 Dec 2025 17:33:45 UTC
On Sat, Dec 20, 2025 at 6:32 PM Fernando Apesteguía <fernape@freebsd.org>
wrote:

> The branch main has been updated by fernape:
>
> URL:
> https://cgit.FreeBSD.org/ports/commit/?id=01361a02cc88e9f49380e89a41f1338331bb9215
>
> commit 01361a02cc88e9f49380e89a41f1338331bb9215
> Author:     Fernando Apesteguía <fernape@FreeBSD.org>
> AuthorDate: 2025-12-19 13:47:47 +0000
> Commit:     Fernando Apesteguía <fernape@FreeBSD.org>
> CommitDate: 2025-12-20 17:31:28 +0000
>
>     www/gohugo: Update to 0.153.1
>
>     ChangeLog: https://github.com/gohugoio/hugo/releases/tag/v0.153.0
>
>     Bug fixes
>
>      * Fix some outdated front matter
>      * Fix server rebuilds on editing content with Chinese terms
>      * Fix slow server startup of very big content trees
>      * github: Fix "no space left on device" issue in CI
>      * docs: Fix link to CGO wiki page
>      * Fix grammatical error in styleguide.md
>      * hugolib: Fix recently introduced data race
>      * docshelper: Fix some YAML serialization issues with sites matrix
> configuration
>      * resources/page: Fix slugorcontentbasename for section pages
>      * all: Fix some benchmarks broken by modernize
>      * all: Run modernize -fix ./...
>
>     Improvements
>
>      * resources/images: Don't trust the file extension when decoding JPEG
> and PNG images
>      * Add full filename to image processing error messages if possible
>      * tailwindcss: Add referece to skipInlineImportsNotFound when import
> not found in assets
>      * Improve error messages for template failures
>      * Improve error handling/messages in Hugo Pipes
>      * images: Add a webp test with bg color
>      * Encode and Decode using the libwebp library via WASM with animation
> support
>      * config/allconfig: Correct error message
>      * tpl: Add missing functions to init files
>      * github: Add some known humans to the AI whitelist
>      * langs/i18n: Prefer languageCode when picking translation file
>      * Add entitlements for WebAssembly for macOS Tahoe
>      * testscripts: Move layouts file to new structure
>      * resources: Skip integration test if Dart Sass is not installed
>      * testing: Replace legacy config.toml with hugo.toml in most tests
>      * testing: Port integration tests to new templates structure
>      * github: Correct dependabot => dependabot[bot]
>      * config/privacy: Change GoogleAnalytics.RespectDoNotTrack default to
> true
>      * Add signed and notarized MacOS pkg builds
>      * Upgrade to Go 1.25.4
>      * tpl/urls: Add PathEscape and PathUnescape functions
>      * Speedup and simplify page assembly for deeper content trees
>      * gemini: Remove styleguide.md (for now)
>      * github: Reenable Gemini, but no auto code review
>      * github: Partition tests by their root
>      * github: Make the clean commands work
>      * github: Also test the root package (left out in previous commit)
>      * github: More disk space saving optimizations
>      * github: Add PR Template
>      * Adjust benchmark
>      * tpl/openapi: Add support for OpenAPI external file references
>      * github: Skip dependabot for AI Watchdog workflow
>      * github: Remove the 386 test step in GitHub test workflow
>      * github: Remove test binaries after CI test runs
>      * github: Adjust watchdog run logic (now with correct spelling)
>      * github: Adjust watchdog run logic (again)
>      * github: Adjust watchdog run logic
>      * github: Only run AI Watchdog when the PR is ready for review
>      * Update aiwatchdog.yml
>      * Update aiwatchdog.yml
>      * Update aiwatchdog.yml
>      * github: Add label to AI suspects and do not fail when confident
>      * github: Adjust AI Watchdog workflow to make it run PRs from forks
>      * github: Adjust workflow permissions
>      * performance: Misc allocation improvements
>      * github: Add ai-watchdog workflow and update other workflows'
> versions
>      * tpl/collections: Improve collections.D
>      * Optimize memory allocations for sites matrix vector stores
>      * gemini: Disable auto PR codereviews for now
>      * Update styleguide.md
>      * Add gemini setup files
>      * static: Preserve .gitignore and .gitattributes in
> --cleanDestinationDir
>      * hugolib: Improve performance of content trees with many sections
>      * Add a site assembly benchmark test for a deeper site structure with
> more sections and pages
>      * sitesmatrix: Clary default dimension values
>      * Run go mod tidy to clean up go.mod and go.sum
>      * testing: Rewrite all the old style integration tests to txtar style
> tests
>      * hugolib: Delete some old integration tests
>      * testing: Revise usage of b.N and b.Loop() in benchmarks
>      * Add roles and versions as new dimensions (in addition to language)
>      * Update CONTRIBUTING.md
>      * hreflect: Cache reflect method lookups used in collections.Where
> and others
>      * all: Simplify the reflect usage
>
>     Update to 0.153.1
>
>     ChangeLog: https://github.com/gohugoio/hugo/releases/tag/v0.153.1
>
>      * Handle PNG named *.webp
>      * Revert deprecation logging for contentDir per language
>      * Fix panic when 404 is backed by a content file
>      * internal/warpc: Increase WebP memory limit to 256 MiB
> ---
>  www/gohugo/Makefile |  3 +--
>  www/gohugo/distinfo | 10 +++++-----
>  2 files changed, 6 insertions(+), 7 deletions(-)
>


This commit message should have included the following line:

Approved by: doceng@ (blanket)

Apologies for the omision.

>
> diff --git a/www/gohugo/Makefile b/www/gohugo/Makefile
> index 4d84b8508b54..ff4a76a2806f 100644
> --- a/www/gohugo/Makefile
> +++ b/www/gohugo/Makefile
> @@ -1,7 +1,6 @@
>  PORTNAME=      hugo
>  DISTVERSIONPREFIX=     v
> -DISTVERSION=   0.152.2
> -PORTREVISION=  2
> +DISTVERSION=   0.153.1
>  PORTEPOCH=     1
>  CATEGORIES=    www
>  PKGNAMEPREFIX= go
> diff --git a/www/gohugo/distinfo b/www/gohugo/distinfo
> index a2485e8ef8c1..17eaf0d053ab 100644
> --- a/www/gohugo/distinfo
> +++ b/www/gohugo/distinfo
> @@ -1,5 +1,5 @@
> -TIMESTAMP = 1761321118
> -SHA256 (go/www_gohugo/hugo-v0.152.2/v0.152.2.mod) =
> 9fd5c3cb063cae52d4453818b583cedd7c38539a89c826e19603ebd82f28b9a3
> -SIZE (go/www_gohugo/hugo-v0.152.2/v0.152.2.mod) = 9321
> -SHA256 (go/www_gohugo/hugo-v0.152.2/v0.152.2.zip) =
> 5e540330b50c9936664c346da038023e37c0060f92d973a1f42e43c30d807322
> -SIZE (go/www_gohugo/hugo-v0.152.2/v0.152.2.zip) = 5778064
> +TIMESTAMP = 1766246231
> +SHA256 (go/www_gohugo/hugo-v0.153.1/v0.153.1.mod) =
> 98394a8bb29b6f7eb3c6c8f2a8a137dcd26dfeb913f40cceb9fb0f731624701c
> +SIZE (go/www_gohugo/hugo-v0.153.1/v0.153.1.mod) = 9373
> +SHA256 (go/www_gohugo/hugo-v0.153.1/v0.153.1.zip) =
> c9d231b18033de5d1cae4955c69bf5e50c2a24e8305c51adbd48b8b7f6996a53
> +SIZE (go/www_gohugo/hugo-v0.153.1/v0.153.1.zip) = 6850749
>
>