Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added cjose library. #44

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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