pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

libxtend: Update to 0.2.0.11



Module Name:	pkgsrc-wip
Committed By:	Jason W. Bacon <bacon%NetBSD.org@localhost>
Pushed By:	outpaddling
Date:		Sat Apr 6 11:11:16 2024 -0500
Changeset:	74fe3cf57bb53c342298000c92cb0d765b9dba62

Modified Files:
	libxtend/Makefile
	libxtend/PLIST
	libxtend/buildlink3.mk
	libxtend/distinfo

Log Message:
libxtend: Update to 0.2.0.11

Resurrect strlcpy() and strlcat() from 1990's libbacon.
GCC 13 on Linux now checks for overflow in strcpy() and strcat(), so

#define strlcpy(dest,src,len) strcpy(dest,src)

is no longer sufficient.  Since len is not passed on to strcpy(),
the check is invalid.  Instead, use

#define strlcpy(d,s,l) xt_strlcpy(d,s,l)

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=74fe3cf57bb53c342298000c92cb0d765b9dba62

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 libxtend/Makefile      | 4 ++--
 libxtend/PLIST         | 2 ++
 libxtend/buildlink3.mk | 2 +-
 libxtend/distinfo      | 6 +++---
 4 files changed, 8 insertions(+), 6 deletions(-)

diffs:
diff --git a/libxtend/Makefile b/libxtend/Makefile
index af7ec2577a..6daf360d02 100644
--- a/libxtend/Makefile
+++ b/libxtend/Makefile
@@ -1,9 +1,9 @@
 # $NetBSD$
 
-DISTNAME=	libxtend-0.2.0.9
+DISTNAME=	libxtend-0.2.0.11
 CATEGORIES=	devel
 MASTER_SITES=	${MASTER_SITE_GITHUB:=outpaddling/}
-GITHUB_TAG=	3d3dafe7ac7b67a54786951f447d875ee5062490
+GITHUB_TAG=	d307691efeff80207e2e048137f202e14588f5d9
 
 OWNER=		bacon%NetBSD.org@localhost
 HOMEPAGE=	https://github.com/outpaddling/libxtendc
diff --git a/libxtend/PLIST b/libxtend/PLIST
index df40b30d01..28b5ad02fc 100644
--- a/libxtend/PLIST
+++ b/libxtend/PLIST
@@ -138,6 +138,8 @@ man/man3/xt_strblank.3
 man/man3/xt_strisint.3
 man/man3/xt_strisreal.3
 man/man3/xt_strlbasecpy.3
+man/man3/xt_strlcat.3
+man/man3/xt_strlcpy.3
 man/man3/xt_strllower.3
 man/man3/xt_strlower.3
 man/man3/xt_strlupper.3
diff --git a/libxtend/buildlink3.mk b/libxtend/buildlink3.mk
index 1e45963341..0206911205 100644
--- a/libxtend/buildlink3.mk
+++ b/libxtend/buildlink3.mk
@@ -5,7 +5,7 @@ BUILDLINK_TREE+=		libxtend
 .if !defined(LIBXTEND_BUILDLINK3_MK)
 LIBXTEND_BUILDLINK3_MK:=
 
-BUILDLINK_API_DEPENDS.libxtend+=	libxtend>=0.2.0.9
+BUILDLINK_API_DEPENDS.libxtend+=	libxtend>=0.2.0.11
 BUILDLINK_PKGSRCDIR.libxtend?=		../../wip/libxtend
 .endif	# LIBXTEND_BUILDLINK3_MK
 
diff --git a/libxtend/distinfo b/libxtend/distinfo
index 329dea5cc5..3adce478c7 100644
--- a/libxtend/distinfo
+++ b/libxtend/distinfo
@@ -1,5 +1,5 @@
 $NetBSD$
 
-BLAKE2s (libxtend-0.2.0.9-3d3dafe7ac7b67a54786951f447d875ee5062490.tar.gz) = 1837959a80b900a44cfd4010d525057b078265ed366a259fd51839238788951f
-SHA512 (libxtend-0.2.0.9-3d3dafe7ac7b67a54786951f447d875ee5062490.tar.gz) = c712e646b8d1737f92d3ccc02872d57cdb31f8b68a11f6b3ea8dc32e09719f912797f2d32c341951f7b77eeddc6a272697209f11721a8e7c34757b0e55a564e3
-Size (libxtend-0.2.0.9-3d3dafe7ac7b67a54786951f447d875ee5062490.tar.gz) = 88643 bytes
+BLAKE2s (libxtend-0.2.0.11-d307691efeff80207e2e048137f202e14588f5d9.tar.gz) = 3561d35a3eabf1d24d7260ec414c4cde5f09f7dcf252a2125eaceae1613000f6
+SHA512 (libxtend-0.2.0.11-d307691efeff80207e2e048137f202e14588f5d9.tar.gz) = 7098becf5e5612228176e653773f2e2b0c4e90a241f6e2e3d0afd905b4b75137a6073ccbcdcfe13692f440019b342f386bfd9e50c55a77f3dacb03a9a38715cb
+Size (libxtend-0.2.0.11-d307691efeff80207e2e048137f202e14588f5d9.tar.gz) = 89576 bytes


Home | Main Index | Thread Index | Old Index