Fri Dec 3 10:59:16 2021 UTC ()
news/canlock-hp: Update to 3.3.0

Feature release to make the package more useful for servers.
Added buildlink3.mk.

- Bugfix: canlock-mhp utility no longer hangs if field name was not
  found
- Bugfix: Two memory leaks fixed in canlock-hfp utility
  (Reported by Dennis Preiser)
- Bugfix: Typo in canlock-mhp man page fixed
  (Reported by Julien ��lie)
- Library libcanlock-hp added to execute the header parsers
  (for operating systems with POSIX API)
- New libcanlock-hp API function to unfold header fields added
  (Suggested by Julien ��lie)
- Test suite extended for the new library. Tests for parser functions
  are skipped by default (because they require the installed parser
  utilities)
- Manual pages added for the new library
- Example programs added to the "hp/examples" subdirectory
  (Suggested by Julien ��lie)


(micha)
diff -r1.1 -r1.2 pkgsrc/news/canlock-hp/DESCR
diff -r1.1 -r1.2 pkgsrc/news/canlock-hp/PLIST
diff -r1.6 -r1.7 pkgsrc/news/canlock-hp/Makefile
diff -r1.8 -r1.9 pkgsrc/news/canlock-hp/distinfo

cvs diff -r1.1 -r1.2 pkgsrc/news/canlock-hp/DESCR (expand / switch to unified diff)

--- pkgsrc/news/canlock-hp/DESCR 2018/08/27 15:13:27 1.1
+++ pkgsrc/news/canlock-hp/DESCR 2021/12/03 10:59:16 1.2
@@ -1,10 +1,12 @@ @@ -1,10 +1,12 @@
1The canlock-hp package contains standalone header parsers that can be used to 1The canlock-hp package contains standalone header parsers that can be used to
2implement RFC 8315 Netnews Cancel-Locks on the receiving (server) side. 2implement RFC 8315 Netnews Cancel-Locks on the receiving (server) side.
3They are intended as preprocessors for canlock, the command line frontend of 3They are intended as preprocessors for canlock, the command line frontend of
4libcanlock, but are independent programs. 4libcanlock, but are independent programs.
5 5
6canlock-mhp (Message Header Parser) is intended to process RFC 5536 Netnews 6canlock-mhp (Message Header Parser) is intended to process RFC 5536 Netnews
7articles and can be used to extract and unfold a single header field. 7articles and can be used to extract and unfold a single header field.
8 8
9canlock-hfp (Header Field Parser) is intended to process RFC 8315 header fields 9canlock-hfp (Header Field Parser) is intended to process RFC 8315 header fields
10("Cancel-Lock" and "Cancel-Key"). 10("Cancel-Lock" and "Cancel-Key").
 11
 12There is also libcanlock-hp, a library to access the header parsers.

cvs diff -r1.1 -r1.2 pkgsrc/news/canlock-hp/PLIST (expand / switch to unified diff)

--- pkgsrc/news/canlock-hp/PLIST 2018/08/27 15:13:27 1.1
+++ pkgsrc/news/canlock-hp/PLIST 2021/12/03 10:59:16 1.2
@@ -1,5 +1,11 @@ @@ -1,5 +1,11 @@
1@comment $NetBSD: PLIST,v 1.1 2018/08/27 15:13:27 wiz Exp $ 1@comment $NetBSD: PLIST,v 1.2 2021/12/03 10:59:16 micha Exp $
2bin/canlock-hfp 2bin/canlock-hfp
3bin/canlock-mhp 3bin/canlock-mhp
 4include/libcanlock-3/canlock-hp.h
 5lib/libcanlock-hp.la
 6lib/pkgconfig/libcanlock-hp-3.pc
4man/man1/canlock-hfp.1 7man/man1/canlock-hfp.1
5man/man1/canlock-mhp.1 8man/man1/canlock-mhp.1
 9man/man3/cl_hp_get_field.3
 10man/man3/cl_hp_parse_field.3
 11man/man3/cl_hp_unfold_field.3

cvs diff -r1.6 -r1.7 pkgsrc/news/canlock-hp/Makefile (expand / switch to unified diff)

--- pkgsrc/news/canlock-hp/Makefile 2021/01/11 12:23:19 1.6
+++ pkgsrc/news/canlock-hp/Makefile 2021/12/03 10:59:16 1.7
@@ -1,24 +1,26 @@ @@ -1,24 +1,26 @@
1# $NetBSD: Makefile,v 1.6 2021/01/11 12:23:19 micha Exp $ 1# $NetBSD: Makefile,v 1.7 2021/12/03 10:59:16 micha Exp $
2 2
3DISTNAME= libcanlock-3.2.2 3DISTNAME= libcanlock-3.3.0
4PKGNAME= ${DISTNAME:S/libcanlock/canlock-hp/} 4PKGNAME= ${DISTNAME:S/libcanlock/canlock-hp/}
5CATEGORIES= news 5CATEGORIES= news
6MASTER_SITES= http://micha.freeshell.org/libcanlock/src/ 6MASTER_SITES= http://micha.freeshell.org/libcanlock/src/
7EXTRACT_SUFX= .tar.bz2 7EXTRACT_SUFX= .tar.bz2
8 8
9MAINTAINER= micha@NetBSD.org 9MAINTAINER= micha@NetBSD.org
10HOMEPAGE= http://micha.freeshell.org/canlock-hp/ 10HOMEPAGE= http://micha.freeshell.org/canlock-hp/
11COMMENT= Parsers for RFC 5536 message headers and RFC 8315 header fields 11COMMENT= Parsers for RFC 5536 message headers and RFC 8315 header fields
12LICENSE= mit 12LICENSE= mit
13 13
14GNU_CONFIGURE= yes 14USE_TOOLS+= lex yacc
15CONFIGURE_DIRS= hp 
16BUILD_DIRS= hp 
17 
18USE_LANGUAGES+= c99 15USE_LANGUAGES+= c99
 16USE_LIBTOOL= yes
19 17
20USE_TOOLS+= lex yacc 18GNU_CONFIGURE= yes
 19CONFIGURE_ARGS+= --enable-pc-files
 20CONFIGURE_ARGS+= --with-pkgconfigdir=${PREFIX}/lib/pkgconfig
21 21
 22CONFIGURE_DIRS= hp
 23BUILD_DIRS= hp
22TEST_TARGET= test 24TEST_TARGET= test
23 25
24.include "../../mk/bsd.pkg.mk" 26.include "../../mk/bsd.pkg.mk"

cvs diff -r1.8 -r1.9 pkgsrc/news/canlock-hp/distinfo (expand / switch to unified diff)

--- pkgsrc/news/canlock-hp/distinfo 2021/10/26 11:09:34 1.8
+++ pkgsrc/news/canlock-hp/distinfo 2021/12/03 10:59:16 1.9
@@ -1,5 +1,5 @@ @@ -1,5 +1,5 @@
1$NetBSD: distinfo,v 1.8 2021/10/26 11:09:34 nia Exp $ 1$NetBSD: distinfo,v 1.9 2021/12/03 10:59:16 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