BSD Ports

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

SystemPortVersion
FreeBSDnews/libcanlock3.3.4
NetBSDnews/libcanlock3.3.3
MidnightBSDnews/libcanlock3.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.

Repositoryaarch64amd64armv6armv7i386
FreeBSD:14:latest3.3.33.3.4--3.3.4
FreeBSD:14:quarterly3.3.33.3.3n/a-3.3.3
FreeBSD:15:latest3.3.43.3.4n/a--
FreeBSD:15:quarterly3.3.33.3.3n/an/an/a
FreeBSD:16:latest3.3.33.3.4n/an/an/a
FreeBSD:16:quarterlyn/an/an/an/an/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

OptionDefaultDescription
HPonBuild 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
FileSizeSHA256
libcanlock-3.3.4.tar.bz2637980d3ec76ae2383c39df557b1d4bb3378b3f79c048d33609e666df0b8c652f813ca
Master sites 1
  • https://micha.freeshell.org/libcanlock/src/

Commit history 4

DateCommitCreditsLog message
eaf2ec97e6 Kevin Bowling news/libcanlock: Update to 3.3.4
47cb70d1dc Kevin Bowling news/libcanlock: Update to 3.3.3
7755a1aabf Kevin Bowling news/libcanlock: Drop USES gmake
Reported by: dizzy
85ade903b9 Kevin Bowling news/libcanlock: Update to 3.3.2