git: 0f0b512f00c0 - main - www/gohugo: Update to 0.158.0

From: Fernando Apesteguía <fernape_at_FreeBSD.org>
Date: Wed, 18 Mar 2026 07:12:21 UTC
The branch main has been updated by fernape:

URL: https://cgit.FreeBSD.org/ports/commit/?id=0f0b512f00c09af6fc035289f08c312e91187467

commit 0f0b512f00c09af6fc035289f08c312e91187467
Author:     Fernando Apesteguía <fernape@FreeBSD.org>
AuthorDate: 2026-03-16 18:28:13 +0000
Commit:     Fernando Apesteguía <fernape@FreeBSD.org>
CommitDate: 2026-03-18 07:11:25 +0000

    www/gohugo: Update to 0.158.0
    
    ChangeLog: https://github.com/gohugoio/hugo/releases/tag/v0.158.0
    
    Bug fixes
    
     * tpl/css: Fix external source maps
     * hugolib: Fix server no watch
     * resources: Fix context canceled on GetRemote with per-request timeout
     * tpl/tplimpl: Prefer early suffixes when media type matches
     * all: Run go fix ./...
     * internal/warpc: Fix SIGSEGV in Close() when dispatcher fails to start
     * Fix index out of range panic in fileEventsContentPaths f797f84 @bep #14573
    
    Improvements
    
     * resources: Re-publish on transformation cache hit
     * create/skeletons: Use css.Build in theme skeleton
     * tpl/css: Add a test case for rebuilds on CSS options changes
     * hugolib: Allow regular pages to cascade to self
     * tpl/css: Allow the user to override single loader entries
     * tpl/css: Make default loader resolution for
     * internal/js: Add default mainFields for CSS builds
     * Add css.Build
     * resources: Use full path for Exif etc. decoding error/warning messages
     * Move to new locales library and upgrade CLDR from v36.1 to v48.1
     * tpl/strings: Add strings.ReplacePairs function
     * github: Remove pull_request_template.md
     * testing: Make commands tests pass in Go 1.26.1
     * refactor: Deprecate language configuration and template methods
     * Replace Exif with Meta in tests
     * resources: Improve getImageOps error message
     * resources/images: Add IsImageResourceWithMeta etc. tests for bmp and gif 44dc384 @bep #14568
    
    Approved by:    doceng@ (implicit)
---
 www/gohugo/Makefile |  3 +--
 www/gohugo/distinfo | 10 +++++-----
 2 files changed, 6 insertions(+), 7 deletions(-)

diff --git a/www/gohugo/Makefile b/www/gohugo/Makefile
index 6a4dbc054556..aac893f10c7b 100644
--- a/www/gohugo/Makefile
+++ b/www/gohugo/Makefile
@@ -1,7 +1,6 @@
 PORTNAME=	hugo
 DISTVERSIONPREFIX=	v
-DISTVERSION=	0.157.0
-PORTREVISION=	1
+DISTVERSION=	0.158.0
 PORTEPOCH=	1
 CATEGORIES=	www
 PKGNAMEPREFIX=	go
diff --git a/www/gohugo/distinfo b/www/gohugo/distinfo
index 54e0a70e439c..439a89c8955b 100644
--- a/www/gohugo/distinfo
+++ b/www/gohugo/distinfo
@@ -1,5 +1,5 @@
-TIMESTAMP = 1772055912
-SHA256 (go/www_gohugo/hugo-v0.157.0/v0.157.0.mod) = 6b00455b9eb4fb8ea7d6c0c35ac881e1442df2211216185e8b8531d1701a6cbc
-SIZE (go/www_gohugo/hugo-v0.157.0/v0.157.0.mod) = 9292
-SHA256 (go/www_gohugo/hugo-v0.157.0/v0.157.0.zip) = 7f9fcae11bf17172cc7a00c008d38e62630b3ba09ca35413ac66aa08999e8521
-SIZE (go/www_gohugo/hugo-v0.157.0/v0.157.0.zip) = 7051071
+TIMESTAMP = 1773685688
+SHA256 (go/www_gohugo/hugo-v0.158.0/v0.158.0.mod) = 873ad467a0d3a4c73fc01c00da6a3e33af101f948895dfe0fdb632e9c1dd57eb
+SIZE (go/www_gohugo/hugo-v0.158.0/v0.158.0.mod) = 9308
+SHA256 (go/www_gohugo/hugo-v0.158.0/v0.158.0.zip) = 867fc2fe63b3fb0069066086d29b4a561d87b403e8b19bf939afafe59f653d57
+SIZE (go/www_gohugo/hugo-v0.158.0/v0.158.0.zip) = 7064780