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)diff -r1.1 -r1.2 pkgsrc/news/canlock-hp/DESCR
(micha)
@@ -1,10 +1,12 @@ | @@ -1,10 +1,12 @@ | |||
1 | The canlock-hp package contains standalone header parsers that can be used to | 1 | The canlock-hp package contains standalone header parsers that can be used to | |
2 | implement RFC 8315 Netnews Cancel-Locks on the receiving (server) side. | 2 | implement RFC 8315 Netnews Cancel-Locks on the receiving (server) side. | |
3 | They are intended as preprocessors for canlock, the command line frontend of | 3 | They are intended as preprocessors for canlock, the command line frontend of | |
4 | libcanlock, but are independent programs. | 4 | libcanlock, but are independent programs. | |
5 | 5 | |||
6 | canlock-mhp (Message Header Parser) is intended to process RFC 5536 Netnews | 6 | canlock-mhp (Message Header Parser) is intended to process RFC 5536 Netnews | |
7 | articles and can be used to extract and unfold a single header field. | 7 | articles and can be used to extract and unfold a single header field. | |
8 | 8 | |||
9 | canlock-hfp (Header Field Parser) is intended to process RFC 8315 header fields | 9 | canlock-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 | ||||
12 | There is also libcanlock-hp, a library to access the header parsers. |
@@ -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 $ | |
2 | bin/canlock-hfp | 2 | bin/canlock-hfp | |
3 | bin/canlock-mhp | 3 | bin/canlock-mhp | |
4 | include/libcanlock-3/canlock-hp.h | |||
5 | lib/libcanlock-hp.la | |||
6 | lib/pkgconfig/libcanlock-hp-3.pc | |||
4 | man/man1/canlock-hfp.1 | 7 | man/man1/canlock-hfp.1 | |
5 | man/man1/canlock-mhp.1 | 8 | man/man1/canlock-mhp.1 | |
9 | man/man3/cl_hp_get_field.3 | |||
10 | man/man3/cl_hp_parse_field.3 | |||
11 | man/man3/cl_hp_unfold_field.3 |
@@ -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 | |||
3 | DISTNAME= libcanlock-3.2.2 | 3 | DISTNAME= libcanlock-3.3.0 | |
4 | PKGNAME= ${DISTNAME:S/libcanlock/canlock-hp/} | 4 | PKGNAME= ${DISTNAME:S/libcanlock/canlock-hp/} | |
5 | CATEGORIES= news | 5 | CATEGORIES= news | |
6 | MASTER_SITES= http://micha.freeshell.org/libcanlock/src/ | 6 | MASTER_SITES= http://micha.freeshell.org/libcanlock/src/ | |
7 | EXTRACT_SUFX= .tar.bz2 | 7 | EXTRACT_SUFX= .tar.bz2 | |
8 | 8 | |||
9 | MAINTAINER= micha@NetBSD.org | 9 | MAINTAINER= micha@NetBSD.org | |
10 | HOMEPAGE= http://micha.freeshell.org/canlock-hp/ | 10 | HOMEPAGE= http://micha.freeshell.org/canlock-hp/ | |
11 | COMMENT= Parsers for RFC 5536 message headers and RFC 8315 header fields | 11 | COMMENT= Parsers for RFC 5536 message headers and RFC 8315 header fields | |
12 | LICENSE= mit | 12 | LICENSE= mit | |
13 | 13 | |||
14 | GNU_CONFIGURE= yes | 14 | USE_TOOLS+= lex yacc | |
15 | CONFIGURE_DIRS= hp | |||
16 | BUILD_DIRS= hp | |||
17 | ||||
18 | USE_LANGUAGES+= c99 | 15 | USE_LANGUAGES+= c99 | |
16 | USE_LIBTOOL= yes | |||
19 | 17 | |||
20 | USE_TOOLS+= lex yacc | 18 | GNU_CONFIGURE= yes | |
19 | CONFIGURE_ARGS+= --enable-pc-files | |||
20 | CONFIGURE_ARGS+= --with-pkgconfigdir=${PREFIX}/lib/pkgconfig | |||
21 | 21 | |||
22 | CONFIGURE_DIRS= hp | |||
23 | BUILD_DIRS= hp | |||
22 | TEST_TARGET= test | 24 | TEST_TARGET= test | |
23 | 25 | |||
24 | .include "../../mk/bsd.pkg.mk" | 26 | .include "../../mk/bsd.pkg.mk" |
@@ -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 | |||
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 |