Try to fix net/jose
This commit is contained in:
26
net/jose/Makefile
Normal file
26
net/jose/Makefile
Normal file
@ -0,0 +1,26 @@
|
||||
PORTNAME= jose
|
||||
DISTVERSION= 14
|
||||
CATEGORIES= net
|
||||
MASTER_SITES= https://github.com/latchset/${PORTNAME}/releases/download/v${DISTVERSION}/
|
||||
|
||||
MAINTAINER= hdholm@alumni.iastate.edu
|
||||
COMMENT= Tools for JSON Object Signing and Encryption (JOSE)
|
||||
WWW= https://github.com/latchset/jose
|
||||
|
||||
LICENSE= APACHE20
|
||||
LICENSE_FILE= ${WRKSRC}/COPYING
|
||||
|
||||
BUILD_DEPENDS= jq:textproc/jq
|
||||
LIB_DEPENDS= libjansson.so:devel/jansson
|
||||
|
||||
USES= compiler:c11 meson pkgconfig ssl tar:xz
|
||||
USE_LDCONFIG= yes
|
||||
|
||||
OPTIONS_DEFINE= MANPAGES
|
||||
OPTIONS_DEFAULT=MANPAGES
|
||||
OPTIONS_SUB= yes
|
||||
|
||||
MANPAGES_BUILD_DEPENDS= a2x:textproc/asciidoc
|
||||
MANPAGES_MESON_ENABLED= docs
|
||||
|
||||
.include <bsd.port.mk>
|
||||
3
net/jose/distinfo
Normal file
3
net/jose/distinfo
Normal file
@ -0,0 +1,3 @@
|
||||
TIMESTAMP = 1719954796
|
||||
SHA256 (jose-14.tar.xz) = cee329ef9fce97c4c025604a8d237092f619aaa9f6d35fdf9d8c9052bc1ff95b
|
||||
SIZE (jose-14.tar.xz) = 764940
|
||||
11
net/jose/files/patch-lib_meson.build
Normal file
11
net/jose/files/patch-lib_meson.build
Normal file
@ -0,0 +1,11 @@
|
||||
--- lib/meson.build.orig 2025-03-24 16:00:40 UTC
|
||||
+++ lib/meson.build
|
||||
@@ -4,7 +4,7 @@ if host_machine.system() == 'freebsd'
|
||||
|
||||
if host_machine.system() == 'freebsd'
|
||||
if not cc.links(code, args: flags + ',--undefined-version' , name: '-Wl,--version-script=...')
|
||||
- flags = [ '-export-symbols-regex=^jose_.*' ]
|
||||
+ # flags = [ '-export-symbols-regex=^jose_.*' ]
|
||||
endif
|
||||
else
|
||||
if not cc.links(code, args: flags, name: '-Wl,--version-script=...')
|
||||
3
net/jose/pkg-descr
Normal file
3
net/jose/pkg-descr
Normal file
@ -0,0 +1,3 @@
|
||||
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.
|
||||
37
net/jose/pkg-plist
Normal file
37
net/jose/pkg-plist
Normal file
@ -0,0 +1,37 @@
|
||||
bin/jose
|
||||
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
|
||||
lib/libjose.so
|
||||
lib/libjose.so.0
|
||||
lib/libjose.so.0.0.0
|
||||
libdata/pkgconfig/jose.pc
|
||||
%%MANPAGES%%share/man/man1/jose-alg.1.gz
|
||||
%%MANPAGES%%share/man/man1/jose-b64-dec.1.gz
|
||||
%%MANPAGES%%share/man/man1/jose-b64-enc.1.gz
|
||||
%%MANPAGES%%share/man/man1/jose-fmt.1.gz
|
||||
%%MANPAGES%%share/man/man1/jose-jwe-dec.1.gz
|
||||
%%MANPAGES%%share/man/man1/jose-jwe-enc.1.gz
|
||||
%%MANPAGES%%share/man/man1/jose-jwe-fmt.1.gz
|
||||
%%MANPAGES%%share/man/man1/jose-jwk-eql.1.gz
|
||||
%%MANPAGES%%share/man/man1/jose-jwk-exc.1.gz
|
||||
%%MANPAGES%%share/man/man1/jose-jwk-gen.1.gz
|
||||
%%MANPAGES%%share/man/man1/jose-jwk-pub.1.gz
|
||||
%%MANPAGES%%share/man/man1/jose-jwk-thp.1.gz
|
||||
%%MANPAGES%%share/man/man1/jose-jwk-use.1.gz
|
||||
%%MANPAGES%%share/man/man1/jose-jws-fmt.1.gz
|
||||
%%MANPAGES%%share/man/man1/jose-jws-sig.1.gz
|
||||
%%MANPAGES%%share/man/man1/jose-jws-ver.1.gz
|
||||
%%MANPAGES%%share/man/man1/jose.1.gz
|
||||
share/man/man3/jose_b64.3.gz
|
||||
share/man/man3/jose_cfg.3.gz
|
||||
share/man/man3/jose_io.3.gz
|
||||
share/man/man3/jose_io_t.3.gz
|
||||
share/man/man3/jose_jwe.3.gz
|
||||
share/man/man3/jose_jwk.3.gz
|
||||
share/man/man3/jose_jws.3.gz
|
||||
Reference in New Issue
Block a user