Hi, ports.
Two fixes for minify. Minification tested on today's amd64 snap.
QP-encoded diff below the changelog. Someone please commit if OK.
One question: I've noticed they're distributing dependencies in
an archive on their GitHub publish page. I could use that instead
of making the modules-get dance. The thing is the filename isn't
versioned. How does one get around that to make makesum pick up the new
file when the version changes? Is there some kind of tuple trick you
can use on DISTFILES where the first item would be the source name and
the second how to save the file as? Something like this:
DISTFILES = minify-deps minify-deps-${V}
This isn't an isolated case. A lot of maintainers aren't adding any
kind of identifiers to their published files, so I guess this is sort
of a general question.
Changelog:
- CSS: Allow custom properties at stylesheet top-level.
- JS: Fix rearrangement of const/let variables.
Detailed changelog is available at
https://github.com/tdewolff/minify/releases/tag/v2.24.13
Index: Makefile
===================================================================
RCS file: /cvs/ports/www/minify/Makefile,v
retrieving revision 1.4
diff -u -p -u -p -r1.4 Makefile
--- Makefile 15 Apr 2026 21:14:13 -0000 1.4
+++ Makefile 19 May 2026 17:19:09 -0000
@@ -1,7 +1,7 @@
COMMENT = minifiers for web formats
MODGO_MODNAME = github.com/tdewolff/minify/v2
-MODGO_VERSION = v2.24.12
+MODGO_VERSION = v2.24.13
DISTNAME = minify-${MODGO_VERSION}
Index: distinfo
===================================================================
RCS file: /cvs/ports/www/minify/distinfo,v
retrieving revision 1.4
diff -u -p -u -p -r1.4 distinfo
--- distinfo 15 Apr 2026 21:14:13 -0000 1.4
+++ distinfo 19 May 2026 17:19:09 -0000
@@ -14,20 +14,21 @@ SHA256 (go_modules/github.com/mattn/go-s
SHA256 (go_modules/github.com/mattn/go-sqlite3/@v/v1.14.22.zip) =
BHeQxPH/eyXlfrNgPn7dji0H4PhoVC6n2SQ6MWw4cl0=
SHA256 (go_modules/github.com/pelletier/go-toml/@v/v1.9.5.mod) =
wOwmx/hD02ii1ak5A1nFZ+vjFhcb1lHTHc6tG7Lgetk=
SHA256 (go_modules/github.com/pelletier/go-toml/@v/v1.9.5.zip) =
3j3NpmDMgAzYbQMnOiWVbWf0Fuj8vk0gAaLLSgHmrGA=
-SHA256
(go_modules/github.com/tdewolff/argp/@v/v0.0.0-20250430135133-0f54527d2b1e.mod)
= 9SfO2vq5PZdraqmjMAL7HQuaSBfyXz6tkMpJHdaYF4c=
-SHA256
(go_modules/github.com/tdewolff/argp/@v/v0.0.0-20250430135133-0f54527d2b1e.zip)
= tM/G5oAEVcli+G9rY1j6FLanlJ9z/qYd7+ZzutfN2VQ=
-SHA256 (go_modules/github.com/tdewolff/parse/v2/@v/v2.8.11.mod) =
tlUXEpe2E8ieC/CmkPkhYX1cO0d7gYccyz7mjPHCbV8=
-SHA256 (go_modules/github.com/tdewolff/parse/v2/@v/v2.8.11.zip) =
CVx9Nj06+vZN9HXhfYCPieTN3NujUqfv7Le0vK71Mjg=
+SHA256
(go_modules/github.com/tdewolff/argp/@v/v0.0.0-20260424074207-decde4f86440.mod)
= yppJNFWqKoW7hp0avPMibyzB/6EcLk+TTzLsIOCbEWw=
+SHA256
(go_modules/github.com/tdewolff/argp/@v/v0.0.0-20260424074207-decde4f86440.zip)
= zFm5le6k28GrkgE70A7RnDUHjTmUlFIjQCvISBuP4SU=
+SHA256 (go_modules/github.com/tdewolff/parse/v2/@v/v2.8.12.mod) =
tlUXEpe2E8ieC/CmkPkhYX1cO0d7gYccyz7mjPHCbV8=
+SHA256 (go_modules/github.com/tdewolff/parse/v2/@v/v2.8.12.zip) =
Y3bLRc3DxyMrhQW6Ew3CWczQTw0XZmulDX+lkdKi438=
SHA256 (go_modules/github.com/tdewolff/test/@v/v1.0.11.mod) =
9EefOv0J+7kaIZNIpSIgfv+uc4muXaMR/YZv9IuGFus=
-SHA256 (go_modules/github.com/tdewolff/test/@v/v1.0.11.zip) =
/t2vBdFIMFJd7rKD7rpBEO4clOhNeVH/lSO+zyH2w00=
+SHA256 (go_modules/github.com/tdewolff/test/@v/v1.0.12.mod) =
9EefOv0J+7kaIZNIpSIgfv+uc4muXaMR/YZv9IuGFus=
+SHA256 (go_modules/github.com/tdewolff/test/@v/v1.0.12.zip) =
sL6PnOzcgrCGcxE0SSNabEkidR2eCgDsn6/9q/Ugerw=
SHA256 (go_modules/golang.org/x/sys/@v/v0.13.0.mod) =
8DMzMJb+GY8xUd7tk/LeunTlC7/nc5E0BFvDt85KUCQ=
-SHA256 (go_modules/golang.org/x/sys/@v/v0.37.0.mod) =
9BGBTYOpboZ4Gx3uQcEluVBNpUItujfMHWOwFq45z+I=
-SHA256 (go_modules/golang.org/x/sys/@v/v0.37.0.zip) =
bIe7lOwyi21iNK0CzygTIl/jvV+JKf6Fd1ygbgHPzHg=
+SHA256 (go_modules/golang.org/x/sys/@v/v0.43.0.mod) =
V/Q5PqGNVEahI2OzXCOmFthD+hZpxxIacKK8OpZ31mU=
+SHA256 (go_modules/golang.org/x/sys/@v/v0.43.0.zip) =
y4sHOTTPflecn4DE0SYZ1flvz5evbwf9xknnrOwKrd8=
SHA256
(go_modules/gopkg.in/check.v1/@v/v0.0.0-20161208181325-20d25e280405.mod) =
XDBuDWM81moRtA4uX7vG2kIRDbfXLqPBUkzrRe5Awz8=
SHA256
(go_modules/gopkg.in/check.v1/@v/v0.0.0-20161208181325-20d25e280405.zip) =
ThgX+WTKNOVFuBr9oDJaXonPWN4uQT2CB8Cv3dD9wVw=
SHA256 (go_modules/gopkg.in/yaml.v3/@v/v3.0.1.mod) =
IVeYYKIDBvz0OxvSNNH7oxlJnHdhG3HAX5vzupDauTk=
SHA256 (go_modules/gopkg.in/yaml.v3/@v/v3.0.1.zip) =
qrj7xOYwDqCOav4crqGKIckMefSJ9SxT4vIEMfGpoBU=
-SHA256 (minify-v2.24.12.zip) = x9MxMUqqCiiTMyNNQRd3FTcxqrcGl9no3LQDLScRyNU=
+SHA256 (minify-v2.24.13.zip) = P3AN+NeXhZJrVG649nVkYch3hkRHhn30PTOKjj7hGQQ=
SIZE (go_modules/filippo.io/edwards25519/@v/v1.1.0.mod) = 40
SIZE (go_modules/filippo.io/edwards25519/@v/v1.1.0.zip) = 55809
SIZE (go_modules/github.com/djherbis/atime/@v/v1.1.0.mod) = 42
@@ -44,17 +45,18 @@ SIZE (go_modules/github.com/mattn/go-sql
SIZE (go_modules/github.com/mattn/go-sqlite3/@v/v1.14.22.zip) = 2674679
SIZE (go_modules/github.com/pelletier/go-toml/@v/v1.9.5.mod) = 45
SIZE (go_modules/github.com/pelletier/go-toml/@v/v1.9.5.zip) = 127514
-SIZE
(go_modules/github.com/tdewolff/argp/@v/v0.0.0-20250430135133-0f54527d2b1e.mod)
= 202
-SIZE
(go_modules/github.com/tdewolff/argp/@v/v0.0.0-20250430135133-0f54527d2b1e.zip)
= 26151
-SIZE (go_modules/github.com/tdewolff/parse/v2/@v/v2.8.11.mod) = 87
-SIZE (go_modules/github.com/tdewolff/parse/v2/@v/v2.8.11.zip) = 149620
+SIZE
(go_modules/github.com/tdewolff/argp/@v/v0.0.0-20260424074207-decde4f86440.mod)
= 182
+SIZE
(go_modules/github.com/tdewolff/argp/@v/v0.0.0-20260424074207-decde4f86440.zip)
= 26181
+SIZE (go_modules/github.com/tdewolff/parse/v2/@v/v2.8.12.mod) = 87
+SIZE (go_modules/github.com/tdewolff/parse/v2/@v/v2.8.12.zip) = 149612
SIZE (go_modules/github.com/tdewolff/test/@v/v1.0.11.mod) = 41
-SIZE (go_modules/github.com/tdewolff/test/@v/v1.0.11.zip) = 4421
+SIZE (go_modules/github.com/tdewolff/test/@v/v1.0.12.mod) = 41
+SIZE (go_modules/github.com/tdewolff/test/@v/v1.0.12.zip) = 4445
SIZE (go_modules/golang.org/x/sys/@v/v0.13.0.mod) = 33
-SIZE (go_modules/golang.org/x/sys/@v/v0.37.0.mod) = 35
-SIZE (go_modules/golang.org/x/sys/@v/v0.37.0.zip) = 1998239
+SIZE (go_modules/golang.org/x/sys/@v/v0.43.0.mod) = 35
+SIZE (go_modules/golang.org/x/sys/@v/v0.43.0.zip) = 2008878
SIZE (go_modules/gopkg.in/check.v1/@v/v0.0.0-20161208181325-20d25e280405.mod)
= 25
SIZE (go_modules/gopkg.in/check.v1/@v/v0.0.0-20161208181325-20d25e280405.zip)
= 39844
SIZE (go_modules/gopkg.in/yaml.v3/@v/v3.0.1.mod) = 95
SIZE (go_modules/gopkg.in/yaml.v3/@v/v3.0.1.zip) = 104623
-SIZE (minify-v2.24.12.zip) = 7884575
+SIZE (minify-v2.24.13.zip) = 7885060
Index: modules.inc
===================================================================
RCS file: /cvs/ports/www/minify/modules.inc,v
retrieving revision 1.3
diff -u -p -u -p -r1.3 modules.inc
--- modules.inc 6 Apr 2026 13:07:38 -0000 1.3
+++ modules.inc 19 May 2026 17:19:09 -0000
@@ -7,13 +7,14 @@ MODGO_MODULES = \
github.com/lib/pq v1.10.9 \
github.com/mattn/go-sqlite3 v1.14.22 \
github.com/pelletier/go-toml v1.9.5 \
- github.com/tdewolff/argp v0.0.0-20250430135133-0f54527d2b1e \
- github.com/tdewolff/parse/v2 v2.8.11 \
- github.com/tdewolff/test v1.0.11 \
- golang.org/x/sys v0.37.0 \
+ github.com/tdewolff/argp v0.0.0-20260424074207-decde4f86440 \
+ github.com/tdewolff/parse/v2 v2.8.12 \
+ github.com/tdewolff/test v1.0.12 \
+ golang.org/x/sys v0.43.0 \
gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 \
gopkg.in/yaml.v3 v3.0.1
MODGO_MODFILES = \
- golang.org/x/sys v0.13.0
+ github.com/tdewolff/test v1.0.11 \
+ golang.org/x/sys v0.13.0