pkgsrc-Bugs archive

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

pkg/56906: libbsd: update devel/libbsd to 0.11.0



>Number:         56906
>Category:       pkg
>Synopsis:       libbsd: update devel/libbsd to 0.11.0
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Wed Jun 29 20:55:00 +0000 2022
>Originator:     Paolo Vincenzo Olivo
>Release:        pkgsrc-2022Q1
>Organization:
>Environment:
SunOS Release 5.11 Version 11.4.42.111.0 64-bit
>Description:
Update request for devel/libbsd to version 0.11.0.

Noticeably, this version includes compatibility support for recallocarray() and freezero() from OpenBSD's malloc(3) [1], which can prove very useful in packaging anything related to the project. It's worth noting that the Illumos libc supports these function natively [2].  

[1] https://gitlab.freedesktop.org/libbsd/libbsd/-/commit/01f0d1ea1e71f1018a009ebd9203dd48e6d90c45
[2] https://www.illumos.org/issues/8546
>How-To-Repeat:

>Fix:
Diffs to update to version 0.11.0 attached as follow:


--- Makefile.orig	2020-12-09 12:21:46.000000000 +0100
+++ Makefile	2022-06-29 22:07:27.619235798 +0200
@@ -1,6 +1,6 @@
 # $NetBSD: Makefile,v 1.1 2020/12/09 11:21:46 cheusov Exp $
 
-DISTNAME=	libbsd-0.10.0
+DISTNAME=	libbsd-0.11.0
 CATEGORIES=	devel
 MASTER_SITES=	http://libbsd.freedesktop.org/releases/
 EXTRACT_SUFX=	.tar.xz

--- PLIST.orig	2022-06-29 22:12:22.419101535 +0200
+++ PLIST	2022-06-29 22:13:16.874046083 +0200
@@ -1,13 +1,15 @@
-@comment $NetBSD: PLIST,v 1.1 2020/12/09 11:21:46 cheusov Exp $
+@comment $NetBSD$
 include/bsd/bitstring.h
 include/bsd/bsd.h
 include/bsd/err.h
 include/bsd/getopt.h
+include/bsd/grp.h
 include/bsd/inttypes.h
 include/bsd/libutil.h
 include/bsd/md5.h
 include/bsd/netinet/ip_icmp.h
 include/bsd/nlist.h
+include/bsd/pwd.h
 include/bsd/readpassphrase.h
 include/bsd/stdio.h
 include/bsd/stdlib.h
@@ -184,11 +186,14 @@
 man/man3/fmtcheck.3bsd
 man/man3/fparseln.3bsd
 man/man3/fpurge.3bsd
+man/man3/freezero.3bsd
 man/man3/funopen.3bsd
 man/man3/getbsize.3bsd
 man/man3/getmode.3bsd
 man/man3/getpeereid.3bsd
 man/man3/getprogname.3bsd
+man/man3/gid_from_group.3bsd
+man/man3/group_from_gid.3bsd
 man/man3/heapsort.3bsd
 man/man3/humanize_number.3bsd
 man/man3/le16dec.3bsd
@@ -205,11 +210,13 @@
 man/man3/pidfile_open.3bsd
 man/man3/pidfile_remove.3bsd
 man/man3/pidfile_write.3bsd
+man/man3/pwcache.3bsd
 man/man3/queue.3bsd
 man/man3/radixsort.3bsd
 man/man3/readpassphrase.3bsd
 man/man3/reallocarray.3bsd
 man/man3/reallocf.3bsd
+man/man3/recallocarray.3bsd
 man/man3/setmode.3bsd
 man/man3/setproctitle.3bsd
 man/man3/setproctitle_init.3bsd
@@ -238,6 +245,7 @@
 man/man3/timercmp.3bsd
 man/man3/timerisset.3bsd
 man/man3/timersub.3bsd
+man/man3/timespec.3bsd
 man/man3/timespecadd.3bsd
 man/man3/timespecclear.3bsd
 man/man3/timespeccmp.3bsd
@@ -245,7 +253,9 @@
 man/man3/timespecsub.3bsd
 man/man3/timeval.3bsd
 man/man3/tree.3bsd
+man/man3/uid_from_user.3bsd
 man/man3/unvis.3bsd
+man/man3/user_from_uid.3bsd
 man/man3/vis.3bsd
 man/man3/wcslcat.3bsd
 man/man3/wcslcpy.3bsd

--- distinfo.orig	2021-10-26 12:15:15.000000000 +0200
+++ distinfo	2022-06-29 22:09:42.305214252 +0200
@@ -1,5 +1,5 @@
 $NetBSD: distinfo,v 1.3 2021/10/26 10:15:15 nia Exp $
 
-BLAKE2s (libbsd-0.10.0.tar.xz) = 6ce3c0e1456420835c035d607273b4ef5184f6a00e6852ea74e2abb9e6300d90
-SHA512 (libbsd-0.10.0.tar.xz) = b75529785b16c93d31401187f8a58258fbebe565dac071c8311775c913af989f62cd29d5ce2651af3ea6221cffd31cf04826577d3e546ab9ca14340f297777b9
-Size (libbsd-0.10.0.tar.xz) = 393576 bytes
+BLAKE2s (libbsd-0.11.0.tar.xz) = b90e6a6c619b134601dd8b96c077e10b0aca79807b093dd6f08feaaa4a28a394
+SHA512 (libbsd-0.11.0.tar.xz) = 86122f2ce7fda0ad6866a7eb154784b072dfea6a2c0ce9d67d3d59e0c153489de627b96798cc7f8460c19c190ac31a3065b05ff8227671e1f6dfcead991a9b31
+Size (libbsd-0.11.0.tar.xz) = 395808 bytes


Home | Main Index | Thread Index | Old Index