pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

canlock-hp: Import snapshot 3.3.0pre18



Module Name:	pkgsrc-wip
Committed By:	Michael Baeuerle <micha%NetBSD.org@localhost>
Pushed By:	micha
Date:		Fri Oct 1 19:43:00 2021 +0200
Changeset:	4c8e995068e37ea4b402a045ccb6298296c5e417

Modified Files:
	Makefile
Added Files:
	canlock-hp/DESCR
	canlock-hp/Makefile
	canlock-hp/PLIST
	canlock-hp/buildlink3.mk
	canlock-hp/distinfo

Log Message:
canlock-hp: Import snapshot 3.3.0pre18

New library libcanlock-hp.
Header parser API for C programs added.

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=4c8e995068e37ea4b402a045ccb6298296c5e417

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 Makefile                 |  1 +
 canlock-hp/DESCR         | 10 ++++++++++
 canlock-hp/Makefile      | 26 ++++++++++++++++++++++++++
 canlock-hp/PLIST         | 11 +++++++++++
 canlock-hp/buildlink3.mk | 12 ++++++++++++
 canlock-hp/distinfo      |  6 ++++++
 6 files changed, 66 insertions(+)

diffs:
diff --git a/Makefile b/Makefile
index b94a687a15..833cd80280 100644
--- a/Makefile
+++ b/Makefile
@@ -375,6 +375,7 @@ SUBDIR+=	calcurse
 SUBDIR+=	calendarsupport
 SUBDIR+=	calibre
 SUBDIR+=	calypso-git
+SUBDIR+=	canlock-hp
 SUBDIR+=	canna
 SUBDIR+=	canna-canuum
 SUBDIR+=	canna-dict
diff --git a/canlock-hp/DESCR b/canlock-hp/DESCR
new file mode 100644
index 0000000000..7039f54f11
--- /dev/null
+++ b/canlock-hp/DESCR
@@ -0,0 +1,10 @@
+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").
diff --git a/canlock-hp/Makefile b/canlock-hp/Makefile
new file mode 100644
index 0000000000..8b5c4cc36b
--- /dev/null
+++ b/canlock-hp/Makefile
@@ -0,0 +1,26 @@
+# $NetBSD$
+
+DISTNAME=	libcanlock-3.3.0pre18
+PKGNAME=	${DISTNAME:S/libcanlock/canlock-hp/}
+CATEGORIES=	news
+MASTER_SITES=	http://micha.freeshell.org/libcanlock/src/
+EXTRACT_SUFX=	.tar.bz2
+
+MAINTAINER=	micha%NetBSD.org@localhost
+HOMEPAGE=	http://micha.freeshell.org/canlock-hp/
+COMMENT=	Parsers for RFC 5536 message headers and RFC 8315 header fields
+LICENSE=	mit
+
+USE_TOOLS+=	lex yacc
+USE_LANGUAGES+=	c99
+USE_LIBTOOL=	yes
+
+GNU_CONFIGURE=		yes
+CONFIGURE_ARGS+=	--enable-pc-files
+CONFIGURE_ARGS+=	--with-pkgconfigdir=${PREFIX}/lib/pkgconfig
+
+CONFIGURE_DIRS=	hp
+BUILD_DIRS=	hp
+TEST_TARGET=	test
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/canlock-hp/PLIST b/canlock-hp/PLIST
new file mode 100644
index 0000000000..711a9aff6c
--- /dev/null
+++ b/canlock-hp/PLIST
@@ -0,0 +1,11 @@
+@comment $NetBSD$
+bin/canlock-hfp
+bin/canlock-mhp
+include/libcanlock-3/canlock-hp.h
+lib/libcanlock-hp.la
+lib/pkgconfig/libcanlock-hp-3.pc
+man/man1/canlock-hfp.1
+man/man1/canlock-mhp.1
+man/man3/cl_hp_get_field.3
+man/man3/cl_hp_parse_field.3
+man/man3/cl_hp_unfold_field.3
diff --git a/canlock-hp/buildlink3.mk b/canlock-hp/buildlink3.mk
new file mode 100644
index 0000000000..0ca53a3e98
--- /dev/null
+++ b/canlock-hp/buildlink3.mk
@@ -0,0 +1,12 @@
+# $NetBSD$
+
+BUILDLINK_TREE+=	canlock-hp
+
+.if !defined(CANLOCK_HP_BUILDLINK3_MK)
+CANLOCK_HP_BUILDLINK3_MK:=
+
+BUILDLINK_API_DEPENDS.canlock-hp+=	canlock-hp>=3.3.0
+BUILDLINK_PKGSRCDIR.canlock-hp?=	../../wip/canlock-hp
+.endif	# CANLOCK_HP_BUILDLINK3_MK
+
+BUILDLINK_TREE+=	-canlock-hp
diff --git a/canlock-hp/distinfo b/canlock-hp/distinfo
new file mode 100644
index 0000000000..8ca6cfc0db
--- /dev/null
+++ b/canlock-hp/distinfo
@@ -0,0 +1,6 @@
+$NetBSD$
+
+SHA1 (libcanlock-3.3.0pre18.tar.bz2) = 76b18ef438531b71513916745158561d8420f04f
+RMD160 (libcanlock-3.3.0pre18.tar.bz2) = a65c2c120812912f85f37d7f331351762bcc5e6f
+SHA512 (libcanlock-3.3.0pre18.tar.bz2) = f9cbf204990957239309163ac868d6df62f1f421d4a0080c06d4372df0f6ed45f7f292fa8ca8789e6fbb422f94f5ab29f374b4a924d2e1132d97ee60aaa5a4a3
+Size (libcanlock-3.3.0pre18.tar.bz2) = 620792 bytes


Home | Main Index | Thread Index | Old Index