pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/news/canlock-hp news/canlock-hp: Update to 3.3.0



details:   https://anonhg.NetBSD.org/pkgsrc/rev/7c5282e5c8aa
branches:  trunk
changeset: 770574:7c5282e5c8aa
user:      micha <micha%pkgsrc.org@localhost>
date:      Fri Dec 03 10:59:16 2021 +0000

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

diffstat:

 news/canlock-hp/DESCR    |   2 ++
 news/canlock-hp/Makefile |  18 ++++++++++--------
 news/canlock-hp/PLIST    |   8 +++++++-
 news/canlock-hp/distinfo |   8 ++++----
 4 files changed, 23 insertions(+), 13 deletions(-)

diffs (73 lines):

diff -r e1f18fc60d36 -r 7c5282e5c8aa news/canlock-hp/DESCR
--- a/news/canlock-hp/DESCR     Fri Dec 03 10:52:23 2021 +0000
+++ b/news/canlock-hp/DESCR     Fri Dec 03 10:59:16 2021 +0000
@@ -8,3 +8,5 @@
 
 canlock-hfp (Header Field Parser) is intended to process RFC 8315 header fields
 ("Cancel-Lock" and "Cancel-Key").
+
+There is also libcanlock-hp, a library to access the header parsers.
diff -r e1f18fc60d36 -r 7c5282e5c8aa news/canlock-hp/Makefile
--- a/news/canlock-hp/Makefile  Fri Dec 03 10:52:23 2021 +0000
+++ b/news/canlock-hp/Makefile  Fri Dec 03 10:59:16 2021 +0000
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.6 2021/01/11 12:23:19 micha Exp $
+# $NetBSD: Makefile,v 1.7 2021/12/03 10:59:16 micha Exp $
 
-DISTNAME=      libcanlock-3.2.2
+DISTNAME=      libcanlock-3.3.0
 PKGNAME=       ${DISTNAME:S/libcanlock/canlock-hp/}
 CATEGORIES=    news
 MASTER_SITES=  http://micha.freeshell.org/libcanlock/src/
@@ -11,14 +11,16 @@
 COMMENT=       Parsers for RFC 5536 message headers and RFC 8315 header fields
 LICENSE=       mit
 
-GNU_CONFIGURE= yes
+USE_TOOLS+=    lex yacc
+USE_LANGUAGES+=        c99
+USE_LIBTOOL=   yes
+
+GNU_CONFIGURE=         yes
+CONFIGURE_ARGS+=       --enable-pc-files
+CONFIGURE_ARGS+=       --with-pkgconfigdir=${PREFIX}/lib/pkgconfig
+
 CONFIGURE_DIRS=        hp
 BUILD_DIRS=    hp
-
-USE_LANGUAGES+=        c99
-
-USE_TOOLS+=    lex yacc
-
 TEST_TARGET=   test
 
 .include "../../mk/bsd.pkg.mk"
diff -r e1f18fc60d36 -r 7c5282e5c8aa news/canlock-hp/PLIST
--- a/news/canlock-hp/PLIST     Fri Dec 03 10:52:23 2021 +0000
+++ b/news/canlock-hp/PLIST     Fri Dec 03 10:59:16 2021 +0000
@@ -1,5 +1,11 @@
-@comment $NetBSD: PLIST,v 1.1 2018/08/27 15:13:27 wiz Exp $
+@comment $NetBSD: PLIST,v 1.2 2021/12/03 10:59:16 micha Exp $
 bin/canlock-hfp
 bin/canlock-mhp
+include/libcanlock-3/canlock-hp.h
+lib/libcanlock-hp.la
+lib/pkgconfig/libcanlock-hp-3.pc
 man/man1/canlock-hfp.1
 man/man1/canlock-mhp.1
+man/man3/cl_hp_get_field.3
+man/man3/cl_hp_parse_field.3
+man/man3/cl_hp_unfold_field.3
diff -r e1f18fc60d36 -r 7c5282e5c8aa news/canlock-hp/distinfo
--- a/news/canlock-hp/distinfo  Fri Dec 03 10:52:23 2021 +0000
+++ b/news/canlock-hp/distinfo  Fri Dec 03 10:59:16 2021 +0000
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.8 2021/10/26 11:09:34 nia Exp $
+$NetBSD: distinfo,v 1.9 2021/12/03 10:59:16 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