diff options
Diffstat (limited to 'security/vuls')
-rw-r--r-- | security/vuls/Makefile | 6 | ||||
-rw-r--r-- | security/vuls/distinfo | 10 | ||||
-rw-r--r-- | security/vuls/files/patch-vendor_gorm.io_gorm_internal_stmt_store_stmt_store.go | 29 |
3 files changed, 9 insertions, 36 deletions
diff --git a/security/vuls/Makefile b/security/vuls/Makefile index 9e88ccf86b2f..f2c58e968a83 100644 --- a/security/vuls/Makefile +++ b/security/vuls/Makefile @@ -1,7 +1,6 @@ PORTNAME= vuls DISTVERSIONPREFIX=v -DISTVERSION= 0.32.0 -PORTREVISION= 2 +DISTVERSION= 0.33.4 CATEGORIES= security MAINTAINER= girgen@FreeBSD.org @@ -25,6 +24,9 @@ SUB_LIST= PORTNAME=${PORTNAME} USERS=${USERS} GROUPS=${GROUPS} USERS= vuls GROUPS= vuls +NOT_FOR_ARCHS= i386 +NOT_FOR_ARCHS_REASON_i386= https://gitlab.com/cznic/libc/-/issues/45 + post-patch: @${REINPLACE_CMD} -e 's,%%ETCDIR%%,${ETCDIR},' \ ${WRKSRC}/subcmds/configtest.go \ diff --git a/security/vuls/distinfo b/security/vuls/distinfo index 171f6cc2ca7b..79f5d3b3f61b 100644 --- a/security/vuls/distinfo +++ b/security/vuls/distinfo @@ -1,5 +1,5 @@ -TIMESTAMP = 1747479508 -SHA256 (go/security_vuls/vuls-v0.32.0/v0.32.0.mod) = e3091e79324dcdd3e3c2959a3b9fa4ab03fc4d53a0ce41a76fc793a68b57302e -SIZE (go/security_vuls/vuls-v0.32.0/v0.32.0.mod) = 20795 -SHA256 (go/security_vuls/vuls-v0.32.0/v0.32.0.zip) = 1eed06de6c88de618a25184d843010c76b30b77a8e554f028a2700a5e267266b -SIZE (go/security_vuls/vuls-v0.32.0/v0.32.0.zip) = 1389053 +TIMESTAMP = 1756275976 +SHA256 (go/security_vuls/vuls-v0.33.4/v0.33.4.mod) = 58bcb90a4067f623c6c3bcb960b6aed4fcf08e6b94014667105f74b66f446da6 +SIZE (go/security_vuls/vuls-v0.33.4/v0.33.4.mod) = 20710 +SHA256 (go/security_vuls/vuls-v0.33.4/v0.33.4.zip) = 434e4e0b86a08cb257c2387d541277474903c5d96998638cb7a014fbc4a3a412 +SIZE (go/security_vuls/vuls-v0.33.4/v0.33.4.zip) = 1398525 diff --git a/security/vuls/files/patch-vendor_gorm.io_gorm_internal_stmt_store_stmt_store.go b/security/vuls/files/patch-vendor_gorm.io_gorm_internal_stmt_store_stmt_store.go deleted file mode 100644 index a249bd5099ae..000000000000 --- a/security/vuls/files/patch-vendor_gorm.io_gorm_internal_stmt_store_stmt_store.go +++ /dev/null @@ -1,29 +0,0 @@ -commit 8c4e8e2d2a63ef019048bd988a2016948605920b -Author: iTanken <23544702+iTanken@users.noreply.github.com> -Date: Sun Apr 27 14:05:16 2025 +0800 - - fix: int type variable defaultMaxSize overflows in 32-bit environment (#7439) - - Refs: #7435 - -diff --git a/internal/stmt_store/stmt_store.go b/internal/stmt_store/stmt_store.go -index 7068419..a82b2cf 100644 ---- vendor/gorm.io/gorm/internal/stmt_store/stmt_store.go -+++ vendor/gorm.io/gorm/internal/stmt_store/stmt_store.go -@@ -3,6 +3,7 @@ package stmt_store - import ( - "context" - "database/sql" -+ "math" - "sync" - "time" - -@@ -73,7 +74,7 @@ type Store interface { - // the cache can theoretically store as many elements as possible. - // (1 << 63) - 1 is the maximum value that an int64 type can represent. - const ( -- defaultMaxSize = (1 << 63) - 1 -+ defaultMaxSize = math.MaxInt - // defaultTTL defines the default time-to-live (TTL) for each cache entry. - // When the TTL for cache entries is not specified, each cache entry will expire after 24 hours. - defaultTTL = time.Hour * 24 |