diff --git a/news/Makefile b/news/Makefile index 589ec3ab1e57..99dd7ce30b35 100644 --- a/news/Makefile +++ b/news/Makefile @@ -1,69 +1,70 @@ COMMENT = Network news SUBDIR += atp SUBDIR += aub SUBDIR += c-nocem SUBDIR += cg SUBDIR += cleanfeed SUBDIR += cnews SUBDIR += diablo SUBDIR += fidogate SUBDIR += fidogate4 SUBDIR += golded+ SUBDIR += gup SUBDIR += husky SUBDIR += husky-areafix SUBDIR += husky-fidoconf SUBDIR += husky-hpt SUBDIR += husky-htick SUBDIR += husky-huskylib SUBDIR += husky-smapi SUBDIR += husky-sqpack SUBDIR += ifmail SUBDIR += inn SUBDIR += inn-current SUBDIR += knews SUBDIR += leafnode + SUBDIR += libcanlock SUBDIR += lusernet SUBDIR += mail2nntp SUBDIR += mmail SUBDIR += multisuck SUBDIR += newsfetch SUBDIR += newsfish SUBDIR += newsgrab SUBDIR += newspost SUBDIR += newsstar SUBDIR += newsx SUBDIR += nget SUBDIR += nn SUBDIR += nnap SUBDIR += nntp SUBDIR += noffle SUBDIR += nzbget SUBDIR += nzbhydra2 SUBDIR += nzbperl SUBDIR += p5-NNTPClient SUBDIR += p5-News-Article SUBDIR += p5-News-Article-NoCeM SUBDIR += p5-News-Newsrc SUBDIR += p5-POE-Component-Client-NNTP SUBDIR += p5-POE-Component-Server-NNTP SUBDIR += pan SUBDIR += pgpmoose SUBDIR += py-pynzb SUBDIR += py-sabctools SUBDIR += rntrack SUBDIR += s-news SUBDIR += sabnzbd SUBDIR += slrn SUBDIR += slrnface SUBDIR += suck SUBDIR += suck-cnews SUBDIR += tin SUBDIR += trn SUBDIR += trn4 SUBDIR += ubh SUBDIR += yencode SUBDIR += yydecode .include diff --git a/news/libcanlock/Makefile b/news/libcanlock/Makefile new file mode 100644 index 000000000000..d9c280d54b05 --- /dev/null +++ b/news/libcanlock/Makefile @@ -0,0 +1,32 @@ +PORTNAME= libcanlock +DISTVERSION= 3.3.1 +CATEGORIES= news +MASTER_SITES= https://micha.freeshell.org/libcanlock/src/ + +MAINTAINER= kbowling@FreeBSD.org +COMMENT= Standalone RFC 8315 Netnews Cancel-Lock implementation +WWW= https://micha.freeshell.org/libcanlock/ + +LICENSE= BSD3CLAUSE ICU +LICENSE_COMB= multi +LICENSE_NAME_ICU= ICU license +LICENSE_FILE= ${WRKSRC}/LICENSE +LICENSE_PERMS_ICU= dist-mirror dist-sell pkg-mirror pkg-sell auto-accept + +USES= gmake libtool tar:bzip2 +USE_LDCONFIG= yes + +GNU_CONFIGURE= yes +CONFIGURE_ARGS= --enable-pc-files \ + --with-pkgconfigdir=${PREFIX}/libdata/pkgconfig + +INSTALL_TARGET= install-strip + +OPTIONS_DEFINE= HP +OPTIONS_DEFAULT= HP +OPTIONS_SUB= yes + +HP_DESC= Build article header parsers (canlock-hp) +HP_CONFIGURE_OFF= --disable-hp + +.include diff --git a/news/libcanlock/distinfo b/news/libcanlock/distinfo new file mode 100644 index 000000000000..bfbcc9957ce8 --- /dev/null +++ b/news/libcanlock/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1779007448 +SHA256 (libcanlock-3.3.1.tar.bz2) = 5acd6d59e1fdf2a8507887137cf7f3e862fec0c21cc079bba7068abf03e881d9 +SIZE (libcanlock-3.3.1.tar.bz2) = 636161 diff --git a/news/libcanlock/pkg-descr b/news/libcanlock/pkg-descr new file mode 100644 index 000000000000..8d11fda62d0a --- /dev/null +++ b/news/libcanlock/pkg-descr @@ -0,0 +1,10 @@ +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). diff --git a/news/libcanlock/pkg-plist b/news/libcanlock/pkg-plist new file mode 100644 index 000000000000..0c2d6d8fbe68 --- /dev/null +++ b/news/libcanlock/pkg-plist @@ -0,0 +1,27 @@ +bin/canlock +%%HP%%bin/canlock-hfp +%%HP%%bin/canlock-mhp +include/libcanlock-3/canlock.h +%%HP%%include/libcanlock-3/canlock-hp.h +lib/libcanlock.a +lib/libcanlock.so +lib/libcanlock.so.3 +lib/libcanlock.so.3.1.0 +%%HP%%lib/libcanlock-hp.a +%%HP%%lib/libcanlock-hp.so +%%HP%%lib/libcanlock-hp.so.3 +%%HP%%lib/libcanlock-hp.so.3.0.3 +libdata/pkgconfig/libcanlock-3.pc +%%HP%%libdata/pkgconfig/libcanlock-hp-3.pc +share/man/man1/canlock.1.gz +%%HP%%share/man/man1/canlock-hfp.1.gz +%%HP%%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 +%%HP%%share/man/man3/cl_hp_get_field.3.gz +%%HP%%share/man/man3/cl_hp_parse_field.3.gz +%%HP%%share/man/man3/cl_hp_unfold_field.3.gz