1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-18 00:10:04 +00:00

net/jose: Improve port

* Use upstream release archive
* Remove USES= ninja, selection of meson backend is handled by the framework
* Make asciidoc build dependency optional via MANPAGES option
* Remove INSTALL_TARGET (not used with meson)
* Sort pkg-plist

PR:		280101
Approved by:	portmgr (maintainer timeout, 1+ month)
This commit is contained in:
Daniel Engberg 2024-08-04 10:47:17 +02:00
parent 4b980d64d6
commit 5a9e5ba34b
3 changed files with 33 additions and 31 deletions

View File

@ -1,6 +1,7 @@
PORTNAME= jose PORTNAME= jose
DISTVERSION= 14 DISTVERSION= 14
CATEGORIES= net CATEGORIES= net
MASTER_SITES= https://github.com/latchset/${PORTNAME}/releases/download/v${DISTVERSION}/
MAINTAINER= hdholm@alumni.iastate.edu MAINTAINER= hdholm@alumni.iastate.edu
COMMENT= Tools for JSON Object Signing and Encryption (JOSE) COMMENT= Tools for JSON Object Signing and Encryption (JOSE)
@ -9,16 +10,17 @@ WWW= https://github.com/latchset/jose
LICENSE= APACHE20 LICENSE= APACHE20
LICENSE_FILE= ${WRKSRC}/COPYING LICENSE_FILE= ${WRKSRC}/COPYING
BUILD_DEPENDS= a2x:textproc/asciidoc \ BUILD_DEPENDS= jq:textproc/jq
jq:textproc/jq
LIB_DEPENDS= libjansson.so:devel/jansson LIB_DEPENDS= libjansson.so:devel/jansson
USES= compiler:c11 meson ninja pkgconfig ssl USES= compiler:c11 meson pkgconfig ssl tar:xz
USE_GITHUB= yes
GH_ACCOUNT= latchset
GH_TAGNAME= v14
USE_LDCONFIG= yes USE_LDCONFIG= yes
INSTALL_TARGET= install-strip OPTIONS_DEFINE= MANPAGES
OPTIONS_DEFAULT=MANPAGES
OPTIONS_SUB= yes
MANPAGES_BUILD_DEPENDS= a2x:textproc/asciidoc
MANPAGES_MESON_ENABLED= docs
.include <bsd.port.mk> .include <bsd.port.mk>

View File

@ -1,3 +1,3 @@
TIMESTAMP = 1719702984 TIMESTAMP = 1719954796
SHA256 (latchset-jose-14-v14_GH0.tar.gz) = 3ffb8ea9a0fa5194051499d96bfde957621fcd490ef7ed95effc699029d7ad3b SHA256 (jose-14.tar.xz) = cee329ef9fce97c4c025604a8d237092f619aaa9f6d35fdf9d8c9052bc1ff95b
SIZE (latchset-jose-14-v14_GH0.tar.gz) = 843394 SIZE (jose-14.tar.xz) = 764940

View File

@ -1,25 +1,4 @@
bin/jose bin/jose
lib/libjose.so
lib/libjose.so.0
lib/libjose.so.0.0.0
libdata/pkgconfig/jose.pc
share/man/man1/jose-alg.1.gz
share/man/man1/jose-b64-dec.1.gz
share/man/man1/jose-b64-enc.1.gz
share/man/man1/jose-fmt.1.gz
share/man/man1/jose-jwe-dec.1.gz
share/man/man1/jose-jwe-enc.1.gz
share/man/man1/jose-jwe-fmt.1.gz
share/man/man1/jose-jwk-eql.1.gz
share/man/man1/jose-jwk-exc.1.gz
share/man/man1/jose-jwk-gen.1.gz
share/man/man1/jose-jwk-pub.1.gz
share/man/man1/jose-jwk-thp.1.gz
share/man/man1/jose-jwk-use.1.gz
share/man/man1/jose-jws-fmt.1.gz
share/man/man1/jose-jws-sig.1.gz
share/man/man1/jose-jws-ver.1.gz
share/man/man1/jose.1.gz
include/jose/b64.h include/jose/b64.h
include/jose/cfg.h include/jose/cfg.h
include/jose/io.h include/jose/io.h
@ -28,6 +7,27 @@ include/jose/jwe.h
include/jose/jwk.h include/jose/jwk.h
include/jose/jws.h include/jose/jws.h
include/jose/openssl.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_b64.3.gz
share/man/man3/jose_cfg.3.gz share/man/man3/jose_cfg.3.gz
share/man/man3/jose_io.3.gz share/man/man3/jose_io.3.gz