pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/news/libcanlock news/libcanlock: Update to 3.3.0



details:   https://anonhg.NetBSD.org/pkgsrc/rev/b3eb46ad2f5c
branches:  trunk
changeset: 770572:b3eb46ad2f5c
user:      micha <micha%pkgsrc.org@localhost>
date:      Fri Dec 03 10:50:56 2021 +0000

description:
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)

diffstat:

 news/libcanlock/Makefile |  15 +++++++--------
 news/libcanlock/PLIST    |   3 ++-
 news/libcanlock/distinfo |   8 ++++----
 3 files changed, 13 insertions(+), 13 deletions(-)

diffs (62 lines):

diff -r 261a0775fcd7 -r b3eb46ad2f5c news/libcanlock/Makefile
--- a/news/libcanlock/Makefile  Fri Dec 03 08:30:09 2021 +0000
+++ b/news/libcanlock/Makefile  Fri Dec 03 10:50:56 2021 +0000
@@ -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"
diff -r 261a0775fcd7 -r b3eb46ad2f5c news/libcanlock/PLIST
--- a/news/libcanlock/PLIST     Fri Dec 03 08:30:09 2021 +0000
+++ b/news/libcanlock/PLIST     Fri Dec 03 10:50:56 2021 +0000
@@ -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
diff -r 261a0775fcd7 -r b3eb46ad2f5c news/libcanlock/distinfo
--- a/news/libcanlock/distinfo  Fri Dec 03 08:30:09 2021 +0000
+++ b/news/libcanlock/distinfo  Fri Dec 03 10:50:56 2021 +0000
@@ -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
-SHA512 (libcanlock-3.2.2.tar.bz2) = 3d194a37bdbdf640bb6996383ce988c9177573b6f84c29569d759308564c7636d98d5c267988bd034b33681f814400eb7fbecf78d90f54b126edb3bf384f928f
-Size (libcanlock-3.2.2.tar.bz2) = 467561 bytes
+BLAKE2s (libcanlock-3.3.0.tar.bz2) = e92e29824779fc262d3775e217c6d76d8a99baf8d55c837c317d0025b53349a3
+SHA512 (libcanlock-3.3.0.tar.bz2) = 100d2b4bf3eadedb7da230317cd37b2c1b259bbd783099a74e0d75fdc6ecddb8a6fd854a2b272bda3629bcf1ac1ae2b3d5657fca9137c17e38aad88f30e4c81c
+Size (libcanlock-3.3.0.tar.bz2) = 625796 bytes



Home | Main Index | Thread Index | Old Index