Skip to content

Commit

Permalink
Added cjose library.
Browse files Browse the repository at this point in the history
cjose is a C library implementing the Javascript Object Signing and
Encryption (JOSE).
  • Loading branch information
siepkes committed Mar 15, 2019
1 parent 79f7f72 commit 1aae19b
Show file tree
Hide file tree
Showing 5 changed files with 54 additions and 0 deletions.
1 change: 1 addition & 0 deletions textproc/cjose/DESCR
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Library implementing the Javascript Object Signing and Encryption (JOSE).
20 changes: 20 additions & 0 deletions textproc/cjose/Makefile
Original file line number Diff line number Diff line change
@@ -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"
12 changes: 12 additions & 0 deletions textproc/cjose/PLIST
Original file line number Diff line number Diff line change
@@ -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
15 changes: 15 additions & 0 deletions textproc/cjose/buildlink3.mk
Original file line number Diff line number Diff line change
@@ -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
6 changes: 6 additions & 0 deletions textproc/cjose/distinfo
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit 1aae19b

Please sign in to comment.