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 unified 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,26 +1,25 @@ @@ -1,26 +1,25 @@
1# $NetBSD: Makefile,v 1.7 2021/01/11 12:16:36 micha Exp $ 1# $NetBSD: Makefile,v 1.8 2021/12/03 10:50:56 micha Exp $
2 2
3DISTNAME= libcanlock-3.2.2 3DISTNAME= libcanlock-3.3.0
4CATEGORIES= news 4CATEGORIES= news
5MASTER_SITES= http://micha.freeshell.org/libcanlock/src/ 5MASTER_SITES= http://micha.freeshell.org/libcanlock/src/
6EXTRACT_SUFX= .tar.bz2 6EXTRACT_SUFX= .tar.bz2
7 7
8MAINTAINER= micha@NetBSD.org 8MAINTAINER= micha@NetBSD.org
9HOMEPAGE= http://micha.freeshell.org/libcanlock/ 9HOMEPAGE= http://micha.freeshell.org/libcanlock/
10COMMENT= Standalone RFC 8315 Netnews Cancel-Lock implementation 10COMMENT= Standalone RFC 8315 Netnews Cancel-Lock implementation
11LICENSE= mit AND modified-bsd 11LICENSE= mit AND modified-bsd
12 12
13USE_LANGUAGES+= c99 13USE_LANGUAGES+= c99
14 14USE_LIBTOOL= yes
15GNU_CONFIGURE= yes 
16USE_LIBTOOL= yes 
17 
18TEST_TARGET= test 
19 15
 16GNU_CONFIGURE= yes
20CONFIGURE_ARGS+= --disable-legacy-api 17CONFIGURE_ARGS+= --disable-legacy-api
21CONFIGURE_ARGS+= --enable-pc-files 18CONFIGURE_ARGS+= --enable-pc-files
22CONFIGURE_ARGS+= --with-pkgconfigdir=${PREFIX}/lib/pkgconfig 19CONFIGURE_ARGS+= --with-pkgconfigdir=${PREFIX}/lib/pkgconfig
23# The header parsers are available as a separate package news/canlock-hp 20# The header parsers are available as a separate package news/canlock-hp
24CONFIGURE_ARGS+= --disable-hp 21CONFIGURE_ARGS+= --disable-hp
25 22
 23TEST_TARGET= test
 24
26.include "../../mk/bsd.pkg.mk" 25.include "../../mk/bsd.pkg.mk"

cvs diff -r1.2 -r1.3 pkgsrc/news/libcanlock/PLIST (expand / switch to unified 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,11 +1,12 @@ @@ -1,11 +1,12 @@
1@comment $NetBSD: PLIST,v 1.2 2020/05/20 15:33:39 micha Exp $ 1@comment $NetBSD: PLIST,v 1.3 2021/12/03 10:50:56 micha Exp $
2bin/canlock 2bin/canlock
3include/libcanlock-3/canlock.h 3include/libcanlock-3/canlock.h
4lib/libcanlock.la 4lib/libcanlock.la
5lib/pkgconfig/libcanlock-3.pc 5lib/pkgconfig/libcanlock-3.pc
6man/man1/canlock.1 6man/man1/canlock.1
7man/man3/cl_clear_secret.3 7man/man3/cl_clear_secret.3
8man/man3/cl_get_key.3 8man/man3/cl_get_key.3
9man/man3/cl_get_lock.3 9man/man3/cl_get_lock.3
10man/man3/cl_split.3 10man/man3/cl_split.3
11man/man3/cl_verify.3 11man/man3/cl_verify.3
 12man/man3/cl_verify_multi.3

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