pkgsrc-WIP-changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
libcanlock: Import development snapshot of version 3.2.2
Module Name: pkgsrc-wip
Committed By: Michael Baeuerle <micha%NetBSD.org@localhost>
Pushed By: micha
Date: Mon Jan 4 18:02:30 2021 +0100
Changeset: 90454b08cbbb79fd4bd5e415319fa566f4bb3999
Modified Files:
Makefile
Added Files:
libcanlock/DESCR
libcanlock/Makefile
libcanlock/PLIST
libcanlock/buildlink3.mk
libcanlock/distinfo
Log Message:
libcanlock: Import development snapshot of version 3.2.2
Remove pkgsrc patches.
Changelog:
3.2.2 2021-01-03
Namespace clash of internal 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
To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=90454b08cbbb79fd4bd5e415319fa566f4bb3999
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
diffstat:
Makefile | 1 +
libcanlock/DESCR | 8 ++++++++
libcanlock/Makefile | 26 ++++++++++++++++++++++++++
libcanlock/PLIST | 11 +++++++++++
libcanlock/buildlink3.mk | 12 ++++++++++++
libcanlock/distinfo | 6 ++++++
6 files changed, 64 insertions(+)
diffs:
diff --git a/Makefile b/Makefile
index 675a518964..2ba991e4bd 100644
--- a/Makefile
+++ b/Makefile
@@ -1846,6 +1846,7 @@ SUBDIR+= libbs2b
SUBDIR+= libbtctl
SUBDIR+= libc++
SUBDIR+= libc++-abi
+SUBDIR+= libcanlock
SUBDIR+= libcdata
SUBDIR+= libcerror
SUBDIR+= libcfile
diff --git a/libcanlock/DESCR b/libcanlock/DESCR
new file mode 100644
index 0000000000..c656195672
--- /dev/null
+++ b/libcanlock/DESCR
@@ -0,0 +1,8 @@
+libcanlock is a library for creating and verifying RFC 8315 Netnews
+Cancel-Locks. This implementation uses the recommended algorithm from
+Section 4 with HMAC based on the same hash function as <scheme>.
+
+A command line utility "canlock" is built together with the library.
+
+Additional header parsers (for the receiving side) are available in the
+package canlock-hp.
diff --git a/libcanlock/Makefile b/libcanlock/Makefile
new file mode 100644
index 0000000000..fad3f20b6f
--- /dev/null
+++ b/libcanlock/Makefile
@@ -0,0 +1,26 @@
+# $NetBSD$
+
+DISTNAME= libcanlock-3.2.2pre1
+CATEGORIES= news
+MASTER_SITES= http://micha.freeshell.org/libcanlock/src/
+EXTRACT_SUFX= .tar.bz2
+
+MAINTAINER= micha%NetBSD.org@localhost
+HOMEPAGE= http://micha.freeshell.org/libcanlock/
+COMMENT= Standalone RFC 8315 Netnews Cancel-Lock implementation
+LICENSE= mit AND modified-bsd
+
+USE_LANGUAGES+= c99
+
+GNU_CONFIGURE= yes
+USE_LIBTOOL= yes
+
+TEST_TARGET= test
+
+CONFIGURE_ARGS+= --disable-legacy-api
+CONFIGURE_ARGS+= --enable-pc-files
+CONFIGURE_ARGS+= --with-pkgconfigdir=${PREFIX}/lib/pkgconfig
+# The header parsers are available as a separate package news/canlock-hp
+CONFIGURE_ARGS+= --disable-hp
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/libcanlock/PLIST b/libcanlock/PLIST
new file mode 100644
index 0000000000..9cbabed0f4
--- /dev/null
+++ b/libcanlock/PLIST
@@ -0,0 +1,11 @@
+@comment $NetBSD$
+bin/canlock
+include/libcanlock-3/canlock.h
+lib/libcanlock.la
+lib/pkgconfig/libcanlock-3.pc
+man/man1/canlock.1
+man/man3/cl_clear_secret.3
+man/man3/cl_get_key.3
+man/man3/cl_get_lock.3
+man/man3/cl_split.3
+man/man3/cl_verify.3
diff --git a/libcanlock/buildlink3.mk b/libcanlock/buildlink3.mk
new file mode 100644
index 0000000000..0a819a3464
--- /dev/null
+++ b/libcanlock/buildlink3.mk
@@ -0,0 +1,12 @@
+# $NetBSD$
+
+BUILDLINK_TREE+= libcanlock
+
+.if !defined(LIBCANLOCK_BUILDLINK3_MK)
+LIBCANLOCK_BUILDLINK3_MK:=
+
+BUILDLINK_API_DEPENDS.libcanlock+= libcanlock>=3.0.0
+BUILDLINK_PKGSRCDIR.libcanlock?= ../../news/libcanlock
+.endif # LIBCANLOCK_BUILDLINK3_MK
+
+BUILDLINK_TREE+= -libcanlock
diff --git a/libcanlock/distinfo b/libcanlock/distinfo
new file mode 100644
index 0000000000..5defb77579
--- /dev/null
+++ b/libcanlock/distinfo
@@ -0,0 +1,6 @@
+$NetBSD$
+
+SHA1 (libcanlock-3.2.2pre1.tar.bz2) = d990c695a40e2a0633cfcadf59e1ecf728d0ce89
+RMD160 (libcanlock-3.2.2pre1.tar.bz2) = fe9837d748a6a9e3d79f24a2f94a58c89f23f5c3
+SHA512 (libcanlock-3.2.2pre1.tar.bz2) = 11ab54bb38fb207d25af051f1ddd93337470e65494b8395d7e18295ef1f91ac9e2146c67075af22255024c6e9cf238b6d2b4f15267ba4a93f157e96dfca28862
+Size (libcanlock-3.2.2pre1.tar.bz2) = 463407 bytes
Home |
Main Index |
Thread Index |
Old Index