git: 9ed3c429038c - main - New port: net/jose: Performing tasks on JSON Object Signing and Encryption objects

Neel Chauhan nc at FreeBSD.org
Mon May 10 01:24:00 UTC 2021


The branch main has been updated by nc:

URL: https://cgit.FreeBSD.org/ports/commit/?id=9ed3c429038c25725a47d5bac72283fc87c4adab

commit 9ed3c429038c25725a47d5bac72283fc87c4adab
Author:     Howard Holm <hdholm at alumni.iastate.edu>
AuthorDate: 2021-05-10 01:05:46 +0000
Commit:     Neel Chauhan <nc at FreeBSD.org>
CommitDate: 2021-05-10 01:23:51 +0000

    New port: net/jose: Performing tasks on JSON Object Signing and Encryption objects
    
    PR:     255693
---
 net/Makefile                     |  1 +
 net/jose/Makefile                | 22 ++++++++++++++++++++++
 net/jose/distinfo                |  3 +++
 net/jose/files/patch-meson.build | 20 ++++++++++++++++++++
 net/jose/pkg-descr               |  5 +++++
 net/jose/pkg-plist               | 37 +++++++++++++++++++++++++++++++++++++
 6 files changed, 88 insertions(+)

diff --git a/net/Makefile b/net/Makefile
index 6c62b5be1e31..adf64daf7c44 100644
--- a/net/Makefile
+++ b/net/Makefile
@@ -284,6 +284,7 @@
     SUBDIR += jgroups
     SUBDIR += jicmp
     SUBDIR += jicmp6
+    SUBDIR += jose
     SUBDIR += jrdesktop
     SUBDIR += jsch
     SUBDIR += jumpgate
diff --git a/net/jose/Makefile b/net/jose/Makefile
new file mode 100644
index 000000000000..0b2b8a03ab2d
--- /dev/null
+++ b/net/jose/Makefile
@@ -0,0 +1,22 @@
+PORTNAME=	jose
+DISTVERSION=	11
+CATEGORIES=	net
+
+MAINTAINER=	hdholm at alumni.iastate.edu
+COMMENT=	Tools for JSON Object Signing and Encryption (JOSE)
+
+LICENSE=	APACHE20
+LICENSE_FILE=	${WRKSRC}/COPYING
+
+BUILD_DEPENDS=	a2x:textproc/asciidoc
+LIB_DEPENDS=	libjansson.so:devel/jansson
+
+USES=		compiler:c11 meson ninja pkgconfig ssl
+USE_GITHUB=	yes
+GH_ACCOUNT=	latchset
+GH_TAGNAME=	v11
+USE_LDCONFIG=	yes
+
+INSTALL_TARGET=	install-strip
+
+.include <bsd.port.mk>
diff --git a/net/jose/distinfo b/net/jose/distinfo
new file mode 100644
index 000000000000..66f34df027b4
--- /dev/null
+++ b/net/jose/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1620421971
+SHA256 (latchset-jose-11-v11_GH0.tar.gz) = 020b28ba22f8448bd8eb659dad5723d59bea4d27a36731e33c102ca2a4fe5822
+SIZE (latchset-jose-11-v11_GH0.tar.gz) = 841374
diff --git a/net/jose/files/patch-meson.build b/net/jose/files/patch-meson.build
new file mode 100644
index 000000000000..43486875c3a0
--- /dev/null
+++ b/net/jose/files/patch-meson.build
@@ -0,0 +1,20 @@
+--- meson.build.orig	2021-05-07 13:04:06 UTC
++++ meson.build
+@@ -38,7 +38,7 @@ add_project_arguments(
+ zlib = dependency('zlib')
+ threads = dependency('threads')
+ jansson = dependency('jansson', version: '>=2.10')
+-libcrypto = dependency('libcrypto', version: '>=1.0.2')
++libcrypto = meson.get_compiler('c').find_library('crypto', dirs: [ '/usr/lib/' ])
+ a2x = find_program('a2x', required: false)
+ 
+ mans = []
+@@ -60,7 +60,7 @@ pkg.generate(
+   filebase: meson.project_name(),
+   name: 'José Library',
+ 
+-  requires_private: [ 'zlib', 'libcrypto' ],
++  requires_private: [ 'zlib' ],
+   libraries: libjose,
+   requires: 'jansson',
+ )
diff --git a/net/jose/pkg-descr b/net/jose/pkg-descr
new file mode 100644
index 000000000000..a70d7c94ea96
--- /dev/null
+++ b/net/jose/pkg-descr
@@ -0,0 +1,5 @@
+Jose is a command line utility for performing various tasks on JSON
+Object Signing and Encryption (JOSE) objects. Jose provides a full
+crypto stack including key generation, signing and encryption.
+
+WWW: https://github.com/latchset/jose
diff --git a/net/jose/pkg-plist b/net/jose/pkg-plist
new file mode 100644
index 000000000000..06ec7bf757e9
--- /dev/null
+++ b/net/jose/pkg-plist
@@ -0,0 +1,37 @@
+bin/jose
+lib/libjose.so
+lib/libjose.so.0
+lib/libjose.so.0.0.0
+libdata/pkgconfig/jose.pc
+man/man1/jose-alg.1.gz
+man/man1/jose-b64-dec.1.gz
+man/man1/jose-b64-enc.1.gz
+man/man1/jose-fmt.1.gz
+man/man1/jose-jwe-dec.1.gz
+man/man1/jose-jwe-enc.1.gz
+man/man1/jose-jwe-fmt.1.gz
+man/man1/jose-jwk-eql.1.gz
+man/man1/jose-jwk-exc.1.gz
+man/man1/jose-jwk-gen.1.gz
+man/man1/jose-jwk-pub.1.gz
+man/man1/jose-jwk-thp.1.gz
+man/man1/jose-jwk-use.1.gz
+man/man1/jose-jws-fmt.1.gz
+man/man1/jose-jws-sig.1.gz
+man/man1/jose-jws-ver.1.gz
+man/man1/jose.1.gz
+include/jose/b64.h
+include/jose/cfg.h
+include/jose/io.h
+include/jose/jose.h
+include/jose/jwe.h
+include/jose/jwk.h
+include/jose/jws.h
+include/jose/openssl.h
+man/man3/jose_b64.3.gz
+man/man3/jose_cfg.3.gz
+man/man3/jose_io.3.gz
+man/man3/jose_io_t.3.gz
+man/man3/jose_jwe.3.gz
+man/man3/jose_jwk.3.gz
+man/man3/jose_jws.3.gz


More information about the dev-commits-ports-all mailing list