diff --git a/security/zlint/Makefile b/security/zlint/Makefile index eec01b44611a..a0a6ac3d8397 100644 --- a/security/zlint/Makefile +++ b/security/zlint/Makefile @@ -1,21 +1,20 @@ PORTNAME= zlint DISTVERSIONPREFIX= v -DISTVERSION= 3.7.1 -PORTREVISION= 5 +DISTVERSION= 3.7.2 CATEGORIES= security www MAINTAINER= yuri@FreeBSD.org COMMENT= X.509 certificate linter WWW= https://github.com/zmap/zlint LICENSE= APACHE20 LICENSE_FILE= ${WRKSRC}/LICENSE USES= go:modules GO_MODULE= github.com/zmap/zlint/v3 GO_TARGET= ./cmd/${PORTNAME} PLIST_FILES= bin/${PORTNAME} .include diff --git a/security/zlint/distinfo b/security/zlint/distinfo index 39e42374e928..19d09b28c99f 100644 --- a/security/zlint/distinfo +++ b/security/zlint/distinfo @@ -1,5 +1,5 @@ -TIMESTAMP = 1779806032 -SHA256 (go/security_zlint/zlint-v3.7.1/v3.7.1.mod) = 292c31cadd08995792c5f948b1ac07da053b2cc28c0eecb7b3de7ff90b65a32d -SIZE (go/security_zlint/zlint-v3.7.1/v3.7.1.mod) = 406 -SHA256 (go/security_zlint/zlint-v3.7.1/v3.7.1.zip) = 527b8a7fc487784bc1e54276b008c6b03e51ff81e89ad026370705b6cf421e80 -SIZE (go/security_zlint/zlint-v3.7.1/v3.7.1.zip) = 4547123 +TIMESTAMP = 1790544154 +SHA256 (go/security_zlint/zlint-v3.7.2/v3.7.2.mod) = 19dd0334497ebe130dc25291dc50460f64e6a805102985723e7dfea6563c9cfa +SIZE (go/security_zlint/zlint-v3.7.2/v3.7.2.mod) = 407 +SHA256 (go/security_zlint/zlint-v3.7.2/v3.7.2.zip) = 2e358e14936a7dd1bca7f1a450b8c4efbcd9db29cda3440bf7885d339ef65c80 +SIZE (go/security_zlint/zlint-v3.7.2/v3.7.2.zip) = 4838929 diff --git a/security/zlint/files/patch-vendor_github.com_zmap_zcrypto_x509_root__bsd.go b/security/zlint/files/patch-vendor_github.com_zmap_zcrypto_x509_root__bsd.go deleted file mode 100644 index d2b7cb627d78..000000000000 --- a/security/zlint/files/patch-vendor_github.com_zmap_zcrypto_x509_root__bsd.go +++ /dev/null @@ -1,30 +0,0 @@ --- Add missing root_bsd.go to zcrypto to fix build on FreeBSD --- The vendored zcrypto was missing FreeBSD-specific certificate paths --- leading to "undefined: certFiles" and "undefined: certDirectories" errors. - ---- vendor/github.com/zmap/zcrypto/x509/root_bsd.go.orig 2026-05-11 05:45:46 UTC -+++ vendor/github.com/zmap/zcrypto/x509/root_bsd.go -@@ -0,0 +1,23 @@ -+// Copyright 2015 The Go Authors. All rights reserved. -+// Use of this source code is governed by a BSD-style -+// license that can be found in the LICENSE file. -+ -+//go:build dragonfly || freebsd || netbsd || openbsd -+// +build dragonfly freebsd netbsd openbsd -+ -+package x509 -+ -+// Possible certificate files; stop after finding one. -+var certFiles = []string{ -+ "/usr/local/etc/ssl/cert.pem", // FreeBSD -+ "/etc/ssl/cert.pem", // OpenBSD -+ "/usr/local/share/certs/ca-root-nss.crt", // DragonFly -+ "/etc/openssl/certs/ca-certificates.crt", // NetBSD -+} -+ -+// Possible directories with certificate files; stop after successfully -+// reading at least one file from a directory. -+var certDirectories = []string{ -+ "/etc/ssl/certs", // FreeBSD -+ "/usr/local/share/certs", // FreeBSD -+}