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)
Changelog
=========
3.2.2 2021-01-07
Bugfix: Header field name is not found by canlock-mhp if
there is another header field for which only the prefix
differs (and that other field is processed first)
Test suite for canlock-mhp parser extended: It now tests
headers larger than 4 KiByte and for the field prefix bug
fixed in this version
Lexer of canlock-hfp has problems to detect T_CTEXT tokens on
HP-UX (relevant only if the header field contains comments).
The syntax of the ERE for T_CTEXT was rewritten to be
compatible with the SysV lex of HP-UX 11.11
Test suite for canlock-hfp parser extended to test comments
harder
Namespace clash of internal library functions with libc on
NetBSD
Changed internal API function names hmac* to RFC2104Hmac*
Changed internal API function names hkdf* to RFC5869Hkdf*
Library API and ABI are fully compatible if no undocumented
functions are used
libcanlock-3.pc: Changed protocol in URL from http to https
Changelog
=========
3.2.1 2020-11-28
Bugfix: off-by-one heap buffer overflow fixed in canlock-mhp
(If header is larger than 4 KiByte. Found by Valgrind)
Bugfix: canlock-mhp end of header detection fixed
(Found by test suite on openSUSE. Reported by Martin Hauke)
Provided by Michael Bäuerle via pkgsrc-wip.
Source tree of canlock-hp was merged into libcanlock.
This package now tracks the version number of libcanlock.
Changelog
=========
3.1.0 2019-01-26
Merged into libcanlock package. Now using the same version number.
Manual page of canlock-hfp utility updated
Packaged for wip by Michael Bäuerle.
The canlock-hp package contains standalone header parsers that can be used to
implement RFC 8315 Netnews Cancel-Locks on the receiving (server) side.
They are intended as preprocessors for canlock, the command line frontend of
libcanlock, but are independent programs.
canlock-mhp (Message Header Parser) is intended to process RFC 5536 Netnews
articles and can be used to extract and unfold a single header field.
canlock-hfp (Header Field Parser) is intended to process RFC 8315 header fields
("Cancel-Lock" and "Cancel-Key").