pkgsrc-Changes archive

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

CVS commit: pkgsrc/news/libcanlock



Module Name:    pkgsrc
Committed By:   micha
Date:           Fri Dec  3 10:50:56 UTC 2021

Modified Files:
        pkgsrc/news/libcanlock: Makefile PLIST distinfo

Log Message:
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)


To generate a diff of this commit:
cvs rdiff -u -r1.7 -r1.8 pkgsrc/news/libcanlock/Makefile
cvs rdiff -u -r1.2 -r1.3 pkgsrc/news/libcanlock/PLIST
cvs rdiff -u -r1.9 -r1.10 pkgsrc/news/libcanlock/distinfo

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

Modified files:

Index: pkgsrc/news/libcanlock/Makefile
diff -u pkgsrc/news/libcanlock/Makefile:1.7 pkgsrc/news/libcanlock/Makefile:1.8
--- pkgsrc/news/libcanlock/Makefile:1.7 Mon Jan 11 12:16:36 2021
+++ pkgsrc/news/libcanlock/Makefile     Fri Dec  3 10:50:56 2021
@@ -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 @@ HOMEPAGE=   http://micha.freeshell.org/lib
 COMMENT=       Standalone RFC 8315 Netnews Cancel-Lock implementation
 LICENSE=       mit AND modified-bsd
 
-USE_LANGUAGES+=        c99
-
-GNU_CONFIGURE= yes
-USE_LIBTOOL=   yes
-
-TEST_TARGET=   test
+USE_LANGUAGES+=                c99
+USE_LIBTOOL=           yes
 
+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"

Index: pkgsrc/news/libcanlock/PLIST
diff -u pkgsrc/news/libcanlock/PLIST:1.2 pkgsrc/news/libcanlock/PLIST:1.3
--- pkgsrc/news/libcanlock/PLIST:1.2    Wed May 20 15:33:39 2020
+++ pkgsrc/news/libcanlock/PLIST        Fri Dec  3 10:50:56 2021
@@ -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_key.3
 man/man3/cl_get_lock.3
 man/man3/cl_split.3
 man/man3/cl_verify.3
+man/man3/cl_verify_multi.3

Index: pkgsrc/news/libcanlock/distinfo
diff -u pkgsrc/news/libcanlock/distinfo:1.9 pkgsrc/news/libcanlock/distinfo:1.10
--- pkgsrc/news/libcanlock/distinfo:1.9 Tue Oct 26 11:09:35 2021
+++ pkgsrc/news/libcanlock/distinfo     Fri Dec  3 10:50:56 2021
@@ -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