summaryrefslogtreecommitdiff
path: root/textproc
diff options
context:
space:
mode:
authorbsiegert <bsiegert@pkgsrc.org>2019-03-16 08:03:56 +0000
committerbsiegert <bsiegert@pkgsrc.org>2019-03-16 08:03:56 +0000
commit68f7b8414ebc9fce79ae7632fc20c5d8da4879c6 (patch)
tree333583dddfb731bbea06d242c3486cf2cbe8035a /textproc
parentcf5cd03a27fe43a17e35f3433800966a2c98eee7 (diff)
downloadpkgsrc-68f7b8414ebc9fce79ae7632fc20c5d8da4879c6.tar.gz
Add a package for cjose-0.6.1.
From Jasper Siepkes via Github, reviewed by kamil@ and leot@. Closes NetBSD/pkgsrc#44. Library implementing the Javascript Object Signing and Encryption (JOSE).
Diffstat (limited to 'textproc')
-rw-r--r--textproc/cjose/DESCR1
-rw-r--r--textproc/cjose/Makefile20
-rw-r--r--textproc/cjose/PLIST12
-rw-r--r--textproc/cjose/buildlink3.mk15
-rw-r--r--textproc/cjose/distinfo6
5 files changed, 54 insertions, 0 deletions
diff --git a/textproc/cjose/DESCR b/textproc/cjose/DESCR
new file mode 100644
index 00000000000..06bd1dfaed8
--- /dev/null
+++ b/textproc/cjose/DESCR
@@ -0,0 +1 @@
+Library implementing the Javascript Object Signing and Encryption (JOSE).
diff --git a/textproc/cjose/Makefile b/textproc/cjose/Makefile
new file mode 100644
index 00000000000..b034a2217d1
--- /dev/null
+++ b/textproc/cjose/Makefile
@@ -0,0 +1,20 @@
+# $NetBSD: Makefile,v 1.1 2019/03/16 08:03:56 bsiegert Exp $
+
+DISTNAME= cjose-0.6.1
+CATEGORIES= textproc
+MASTER_SITES= ${MASTER_SITE_GITHUB:=cisco/}
+
+MAINTAINER= pkgsrc-users@NetBSD.org
+HOMEPAGE= https://github.com/cisco/cjose/
+COMMENT= C implementation of JOSE
+LICENSE= mit
+
+GNU_CONFIGURE= yes
+USE_LIBTOOL= yes
+USE_TOOLS+= pkg-config
+
+PKGCONFIG_OVERRIDE+= cjose.pc.in
+
+.include "../../security/openssl/buildlink3.mk"
+.include "../../textproc/jansson/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/textproc/cjose/PLIST b/textproc/cjose/PLIST
new file mode 100644
index 00000000000..5943618add9
--- /dev/null
+++ b/textproc/cjose/PLIST
@@ -0,0 +1,12 @@
+@comment $NetBSD: PLIST,v 1.1 2019/03/16 08:03:56 bsiegert Exp $
+include/cjose/base64.h
+include/cjose/cjose.h
+include/cjose/error.h
+include/cjose/header.h
+include/cjose/jwe.h
+include/cjose/jwk.h
+include/cjose/jws.h
+include/cjose/util.h
+include/cjose/version.h
+lib/libcjose.la
+lib/pkgconfig/cjose.pc
diff --git a/textproc/cjose/buildlink3.mk b/textproc/cjose/buildlink3.mk
new file mode 100644
index 00000000000..581e37cc95c
--- /dev/null
+++ b/textproc/cjose/buildlink3.mk
@@ -0,0 +1,15 @@
+# $NetBSD: buildlink3.mk,v 1.1 2019/03/16 08:03:56 bsiegert Exp $
+
+BUILDLINK_TREE+= cjose
+
+.if !defined(CJOSE_BUILDLINK3_MK)
+CJOSE_BUILDLINK3_MK:=
+
+BUILDLINK_API_DEPENDS.cjose+= cjose>=0.6.1
+BUILDLINK_PKGSRCDIR.cjose?= ../../textproc/cjose
+
+.include "../../textproc/jansson/buildlink3.mk"
+.include "../../security/openssl/buildlink3.mk"
+.endif # CJOSE_BUILDLINK3_MK
+
+BUILDLINK_TREE+= -cjose
diff --git a/textproc/cjose/distinfo b/textproc/cjose/distinfo
new file mode 100644
index 00000000000..44498bfbe03
--- /dev/null
+++ b/textproc/cjose/distinfo
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2019/03/16 08:03:56 bsiegert Exp $
+
+SHA1 (cjose-0.6.1.tar.gz) = 0dd6efca729f1190f66855523c3920c3f7ddd482
+RMD160 (cjose-0.6.1.tar.gz) = 653323af3933dd622689815c3e11a102b23808c9
+SHA512 (cjose-0.6.1.tar.gz) = 7ae67a6d19591b3d19b888270ec0ca17df399bea117e42686fc1de39b3741ed9a8816f96d33d090687c49c3123cdc95430a781835a525a02d22561ebf5aaa653
+Size (cjose-0.6.1.tar.gz) = 1586963 bytes