diff --git a/textproc/cjose/DESCR b/textproc/cjose/DESCR new file mode 100644 index 000000000000..06bd1dfaed82 --- /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 000000000000..327b3a2682d1 --- /dev/null +++ b/textproc/cjose/Makefile @@ -0,0 +1,20 @@ +# $NetBSD$ + +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 000000000000..cc6f840054d3 --- /dev/null +++ b/textproc/cjose/PLIST @@ -0,0 +1,12 @@ +@comment $NetBSD$ +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 000000000000..6ed97c4ec100 --- /dev/null +++ b/textproc/cjose/buildlink3.mk @@ -0,0 +1,15 @@ +# $NetBSD$ + +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 000000000000..5de2be404a29 --- /dev/null +++ b/textproc/cjose/distinfo @@ -0,0 +1,6 @@ +$NetBSD$ + +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