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)diff -r1.7 -r1.8 pkgsrc/news/libcanlock/Makefile
(micha)
@@ -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 | |||
3 | DISTNAME= libcanlock-3.2.2 | 3 | DISTNAME= libcanlock-3.3.0 | |
4 | CATEGORIES= news | 4 | CATEGORIES= news | |
5 | MASTER_SITES= http://micha.freeshell.org/libcanlock/src/ | 5 | MASTER_SITES= http://micha.freeshell.org/libcanlock/src/ | |
6 | EXTRACT_SUFX= .tar.bz2 | 6 | EXTRACT_SUFX= .tar.bz2 | |
7 | 7 | |||
8 | MAINTAINER= micha@NetBSD.org | 8 | MAINTAINER= micha@NetBSD.org | |
9 | HOMEPAGE= http://micha.freeshell.org/libcanlock/ | 9 | HOMEPAGE= http://micha.freeshell.org/libcanlock/ | |
10 | COMMENT= Standalone RFC 8315 Netnews Cancel-Lock implementation | 10 | COMMENT= Standalone RFC 8315 Netnews Cancel-Lock implementation | |
11 | LICENSE= mit AND modified-bsd | 11 | LICENSE= mit AND modified-bsd | |
12 | 12 | |||
13 | USE_LANGUAGES+= c99 | 13 | USE_LANGUAGES+= c99 | |
14 | 14 | USE_LIBTOOL= yes | ||
15 | GNU_CONFIGURE= yes | |||
16 | USE_LIBTOOL= yes | |||
17 | ||||
18 | TEST_TARGET= test | |||
19 | 15 | |||
16 | GNU_CONFIGURE= yes | |||
20 | CONFIGURE_ARGS+= --disable-legacy-api | 17 | CONFIGURE_ARGS+= --disable-legacy-api | |
21 | CONFIGURE_ARGS+= --enable-pc-files | 18 | CONFIGURE_ARGS+= --enable-pc-files | |
22 | CONFIGURE_ARGS+= --with-pkgconfigdir=${PREFIX}/lib/pkgconfig | 19 | CONFIGURE_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 | |
24 | CONFIGURE_ARGS+= --disable-hp | 21 | CONFIGURE_ARGS+= --disable-hp | |
25 | 22 | |||
23 | TEST_TARGET= test | |||
24 | ||||
26 | .include "../../mk/bsd.pkg.mk" | 25 | .include "../../mk/bsd.pkg.mk" |
@@ -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 $ | |
2 | bin/canlock | 2 | bin/canlock | |
3 | include/libcanlock-3/canlock.h | 3 | include/libcanlock-3/canlock.h | |
4 | lib/libcanlock.la | 4 | lib/libcanlock.la | |
5 | lib/pkgconfig/libcanlock-3.pc | 5 | lib/pkgconfig/libcanlock-3.pc | |
6 | man/man1/canlock.1 | 6 | man/man1/canlock.1 | |
7 | man/man3/cl_clear_secret.3 | 7 | man/man3/cl_clear_secret.3 | |
8 | man/man3/cl_get_key.3 | 8 | man/man3/cl_get_key.3 | |
9 | man/man3/cl_get_lock.3 | 9 | man/man3/cl_get_lock.3 | |
10 | man/man3/cl_split.3 | 10 | man/man3/cl_split.3 | |
11 | man/man3/cl_verify.3 | 11 | man/man3/cl_verify.3 | |
12 | man/man3/cl_verify_multi.3 |
@@ -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 | |||
3 | BLAKE2s (libcanlock-3.2.2.tar.bz2) = de1a9809362de52dcd79ffc33740c3d605c5bbce55e000632d84b2db0503b786 | 3 | BLAKE2s (libcanlock-3.3.0.tar.bz2) = e92e29824779fc262d3775e217c6d76d8a99baf8d55c837c317d0025b53349a3 | |
4 | SHA512 (libcanlock-3.2.2.tar.bz2) = 3d194a37bdbdf640bb6996383ce988c9177573b6f84c29569d759308564c7636d98d5c267988bd034b33681f814400eb7fbecf78d90f54b126edb3bf384f928f | 4 | SHA512 (libcanlock-3.3.0.tar.bz2) = 100d2b4bf3eadedb7da230317cd37b2c1b259bbd783099a74e0d75fdc6ecddb8a6fd854a2b272bda3629bcf1ac1ae2b3d5657fca9137c17e38aad88f30e4c81c | |
5 | Size (libcanlock-3.2.2.tar.bz2) = 467561 bytes | 5 | Size (libcanlock-3.3.0.tar.bz2) = 625796 bytes |