Fri Dec 3 10:50:56 2021 UTC ()
news/libcanlock: Update to 3.3.0

Library API and ABI are backward compatible.

- Bugfix: Potential NULL-pointer dereference fixed in canlock utility
  (Reported by Dennis Preiser)
- Bugfix: Multiple bugs in test suite fixed, where return values
  from library functions were not handled correctly
  (Reported by Dennis Preiser)
- Bugfix: Two memory leaks fixed in test suite for legacy API
  (Found by Valgrind)
- Bugfix: NAME sections of cl_clear_secret(), cl_get_lock(), cl_split()
  and cl_verify() man pages fixed
  (Reported by Julien ��lie)
- Bugfix: Typos in comments and documentation fixed
  (Reported by Urs Jan��en)
- New libcanlock API function cl_verify_multi() added to check multiple
  keys against multiple locks
- Test suite extended: It now tests cl_verify_multi() too
- canlock utility now supports the option "-m" to check multiple keys
  against multiple locks
- Option "-m" added to SYNOPSIS section of canlock man page
  (Suggested by Marcel Logen)
- Example programs added to the "examples" subdirectory
  (Suggested by Julien ��lie)
- Documentation for RFC 8315 Section 4 added to cl_get_key() and
  cl_get_lock() man pages
  (Suggested by Julien ��lie)
- Paragraph for optional User-ID (<uid> in RFC 8315 notation) added to
  cl_get_key() and cl_get_lock() man pages
  (Suggested by Julien ��lie)
- Examples for minimum size of local secret added to cl_get_key() and
  cl_get_lock() man pages
  (Suggested by Julien ��lie)
- Removed some redundant notes from the output of "canlock -h"
  (Suggested by Julien ��lie)


(micha)
diff -r1.7 -r1.8 pkgsrc/news/libcanlock/Makefile
diff -r1.2 -r1.3 pkgsrc/news/libcanlock/PLIST
diff -r1.9 -r1.10 pkgsrc/news/libcanlock/distinfo

cvs diff -r1.7 -r1.8 pkgsrc/news/libcanlock/Makefile (expand / switch to context diff)
--- pkgsrc/news/libcanlock/Makefile 2021/01/11 12:16:36 1.7
+++ pkgsrc/news/libcanlock/Makefile 2021/12/03 10:50:56 1.8
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.7 2021/01/11 12:16:36 micha Exp $
+# $NetBSD: Makefile,v 1.8 2021/12/03 10:50:56 micha Exp $
 
-DISTNAME=	libcanlock-3.2.2
+DISTNAME=	libcanlock-3.3.0
 CATEGORIES=	news
 MASTER_SITES=	http://micha.freeshell.org/libcanlock/src/
 EXTRACT_SUFX=	.tar.bz2
@@ -10,17 +10,16 @@
 COMMENT=	Standalone RFC 8315 Netnews Cancel-Lock implementation
 LICENSE=	mit AND modified-bsd
 
-USE_LANGUAGES+=	c99
+USE_LANGUAGES+=		c99
+USE_LIBTOOL=		yes
 
-GNU_CONFIGURE=	yes
-USE_LIBTOOL=	yes
-
-TEST_TARGET=	test
-
+GNU_CONFIGURE=		yes
 CONFIGURE_ARGS+=	--disable-legacy-api
 CONFIGURE_ARGS+=	--enable-pc-files
 CONFIGURE_ARGS+=	--with-pkgconfigdir=${PREFIX}/lib/pkgconfig
 # The header parsers are available as a separate package news/canlock-hp
 CONFIGURE_ARGS+=	--disable-hp
+
+TEST_TARGET=		test
 
 .include "../../mk/bsd.pkg.mk"

cvs diff -r1.2 -r1.3 pkgsrc/news/libcanlock/PLIST (expand / switch to context diff)
--- pkgsrc/news/libcanlock/PLIST 2020/05/20 15:33:39 1.2
+++ pkgsrc/news/libcanlock/PLIST 2021/12/03 10:50:56 1.3
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.2 2020/05/20 15:33:39 micha Exp $
+@comment $NetBSD: PLIST,v 1.3 2021/12/03 10:50:56 micha Exp $
 bin/canlock
 include/libcanlock-3/canlock.h
 lib/libcanlock.la
@@ -9,3 +9,4 @@
 man/man3/cl_get_lock.3
 man/man3/cl_split.3
 man/man3/cl_verify.3
+man/man3/cl_verify_multi.3

cvs diff -r1.9 -r1.10 pkgsrc/news/libcanlock/distinfo (expand / switch to context diff)
--- pkgsrc/news/libcanlock/distinfo 2021/10/26 11:09:35 1.9
+++ pkgsrc/news/libcanlock/distinfo 2021/12/03 10:50:56 1.10
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.9 2021/10/26 11:09:35 nia Exp $
+$NetBSD: distinfo,v 1.10 2021/12/03 10:50:56 micha Exp $
 
-BLAKE2s (libcanlock-3.2.2.tar.bz2) = de1a9809362de52dcd79ffc33740c3d605c5bbce55e000632d84b2db0503b786
+BLAKE2s (libcanlock-3.3.0.tar.bz2) = e92e29824779fc262d3775e217c6d76d8a99baf8d55c837c317d0025b53349a3
-SHA512 (libcanlock-3.2.2.tar.bz2) = 3d194a37bdbdf640bb6996383ce988c9177573b6f84c29569d759308564c7636d98d5c267988bd034b33681f814400eb7fbecf78d90f54b126edb3bf384f928f
+SHA512 (libcanlock-3.3.0.tar.bz2) = 100d2b4bf3eadedb7da230317cd37b2c1b259bbd783099a74e0d75fdc6ecddb8a6fd854a2b272bda3629bcf1ac1ae2b3d5657fca9137c17e38aad88f30e4c81c
-Size (libcanlock-3.2.2.tar.bz2) = 467561 bytes
+Size (libcanlock-3.3.0.tar.bz2) = 625796 bytes