news/libcanlock 3.3.4 FreeBSD
Standalone RFC 8315 Netnews Cancel-Lock implementation
- System
- FreeBSD
- Repository
- FreeBSD ports
- Maintainer
- [email protected]
- Last update
- Commit
eaf2ec97e6- License
- BSD3CLAUSE, ICU
- Categories
- news
- Package size
- 50.3 KiB, 143.8 KiB installed
Description
libcanlock is a standalone implementation of RFC 8315 Netnews Cancel-Locks without external dependencies. It uses the recommended algorithm from Section 4 of the RFC with HMAC based on the same hash function as the selected Cancel-Lock scheme.
The package installs:
- libcanlock, a C library for creating and verifying Cancel-Locks;
- canlock, a command line frontend to the library;
- libcanlock-hp and the canlock-hfp/canlock-mhp utilities, which parse Cancel-Lock and Cancel-Key article header fields (RFC 8315 receivers).
In the other systems
| System | Port | Version |
|---|---|---|
| FreeBSD | news/libcanlock | 3.3.4 |
| NetBSD | news/libcanlock | 3.3.3 |
| MidnightBSD | news/libcanlock | 3.3.3 |
Install
Binary package:
pkg install libcanlock
From the ports tree:
cd /usr/ports/news/libcanlock/ && make install clean
To depend on this port in another port's Makefile:
RUN_DEPENDS= libcanlock>0:news/libcanlock
LIB_DEPENDS= libcanlock.so:news/libcanlock
Packages
The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.
| Repository | aarch64 | amd64 | armv6 | armv7 | i386 |
|---|---|---|---|---|---|
| FreeBSD:14:latest | 3.3.3 | 3.3.4 | - | - | 3.3.4 |
| FreeBSD:14:quarterly | 3.3.3 | 3.3.3 | n/a | - | 3.3.3 |
| FreeBSD:15:latest | 3.3.4 | 3.3.4 | n/a | - | - |
| FreeBSD:15:quarterly | 3.3.3 | 3.3.3 | n/a | n/a | n/a |
| FreeBSD:16:latest | 3.3.3 | 3.3.4 | n/a | n/a | n/a |
| FreeBSD:16:quarterly | n/a | n/a | n/a | n/a | n/a |
Dependencies
The Makefile names none itself; they come from USES and USE_*.
The full lists below include those, and their dependencies in turn.
Configuration
Options name: news_libcanlock
| Option | Default | Description |
|---|---|---|
| HP | on | Build article header parsers (canlock-hp) |
- USES
- libtool tar:bzip2
- Service scripts
- none
Files
Manual pages 12
- canlock(1)
- canlock-hfp(1)
- canlock-mhp(1)
- cl_clear_secret(3)
- cl_get_key(3)
- cl_get_lock(3)
- cl_hp_get_field(3)
- cl_hp_parse_field(3)
- cl_hp_unfold_field(3)
- cl_split(3)
- cl_verify(3)
- cl_verify_multi(3)
pkg-plist 27
- bin/canlock
- bin/canlock-hfp
- bin/canlock-mhp
- include/libcanlock-3/canlock.h
- include/libcanlock-3/canlock-hp.h
- lib/libcanlock.a
- lib/libcanlock.so
- lib/libcanlock.so.3
- lib/libcanlock.so.3.1.0
- lib/libcanlock-hp.a
- lib/libcanlock-hp.so
- lib/libcanlock-hp.so.3
- lib/libcanlock-hp.so.3.0.3
- libdata/pkgconfig/libcanlock-3.pc
- libdata/pkgconfig/libcanlock-hp-3.pc
- share/man/man1/canlock.1.gz
- share/man/man1/canlock-hfp.1.gz
- share/man/man1/canlock-mhp.1.gz
- share/man/man3/cl_clear_secret.3.gz
- share/man/man3/cl_get_key.3.gz
- share/man/man3/cl_get_lock.3.gz
- share/man/man3/cl_split.3.gz
- share/man/man3/cl_verify.3.gz
- share/man/man3/cl_verify_multi.3.gz
- share/man/man3/cl_hp_get_field.3.gz
- share/man/man3/cl_hp_parse_field.3.gz
- share/man/man3/cl_hp_unfold_field.3.gz
distinfo 1
| File | Size | SHA256 |
|---|---|---|
| libcanlock-3.3.4.tar.bz2 | 637980 | d3ec76ae2383c39df557b1d4bb3378b3f79c048d33609e666df0b8c652f813ca |
Master sites 1
- https://micha.freeshell.org/libcanlock/src/