2021-02-24 17:07:51 +01:00
|
|
|
PORTNAME= uacme
|
|
|
|
DISTVERSIONPREFIX= upstream/
|
2021-06-04 10:44:02 +02:00
|
|
|
DISTVERSION= 1.7.1
|
2022-01-28 15:08:15 +01:00
|
|
|
PORTREVISION= 2
|
2021-02-24 17:07:51 +01:00
|
|
|
CATEGORIES= security www
|
|
|
|
|
|
|
|
MAINTAINER= tobik@FreeBSD.org
|
|
|
|
COMMENT= Lightweight C ACMEv2 client which uses external authenticators
|
|
|
|
|
|
|
|
LICENSE= GPLv3+
|
|
|
|
LICENSE_FILE= ${WRKSRC}/COPYING
|
|
|
|
|
|
|
|
LIB_DEPENDS= libcurl.so:ftp/curl
|
|
|
|
|
|
|
|
USES= gmake pkgconfig
|
|
|
|
USE_GITHUB= yes
|
|
|
|
GH_ACCOUNT= ndilieto
|
|
|
|
GNU_CONFIGURE= yes
|
|
|
|
CONFIGURE_ARGS= --datadir=${EXAMPLESDIR:H} \
|
|
|
|
--disable-maintainer-mode \
|
|
|
|
--sysconfdir=${PREFIX}/etc
|
|
|
|
|
|
|
|
OPTIONS_DEFINE= DOCS EXAMPLES MANPAGES UALPN
|
2021-09-11 16:57:58 +02:00
|
|
|
_OPENSSL_SAFE= ${${SSL_DEFAULT} == libressl || ${SSL_DEFAULT} == libressl-devel:?no:yes}
|
2021-02-24 17:07:51 +01:00
|
|
|
OPTIONS_DEFAULT= ${${_OPENSSL_SAFE} == no:?GNUTLS:OPENSSL} MANPAGES \
|
|
|
|
UALPN
|
|
|
|
OPTIONS_SINGLE= CRYPTO
|
|
|
|
OPTIONS_SINGLE_CRYPTO= GNUTLS MBEDTLS OPENSSL
|
|
|
|
OPTIONS_EXCLUDE= ${${_OPENSSL_SAFE} == no:?OPENSSL:}
|
|
|
|
OPTIONS_SUB= yes
|
|
|
|
|
|
|
|
CRYPTO_DESC= Crypto library
|
|
|
|
UALPN_DESC= Install the proxying ACMEv2 tls-alpn-01 responder ualpn(1)
|
|
|
|
|
|
|
|
GNUTLS_LIB_DEPENDS= libgnutls.so:security/gnutls
|
|
|
|
GNUTLS_CONFIGURE_WITH= gnutls
|
|
|
|
MANPAGES_BUILD_DEPENDS= asciidoc:textproc/asciidoc
|
|
|
|
MANPAGES_CONFIGURE_ENABLE= docs
|
2022-01-28 15:08:15 +01:00
|
|
|
MBEDTLS_BUILD_DEPENDS= mbedtls>=2.28.0:security/mbedtls
|
2021-02-24 17:07:51 +01:00
|
|
|
MBEDTLS_LIB_DEPENDS= libmbedtls.so:security/mbedtls
|
|
|
|
MBEDTLS_CONFIGURE_WITH= mbedtls=${LOCALBASE}
|
|
|
|
OPENSSL_USES= ssl
|
|
|
|
OPENSSL_CONFIGURE_WITH= openssl=${OPENSSLBASE}
|
2022-01-28 15:08:15 +01:00
|
|
|
UALPN_LIB_DEPENDS= libev.so:devel/libev
|
2021-02-24 17:07:51 +01:00
|
|
|
UALPN_CONFIGURE_WITH= ualpn
|
|
|
|
|
|
|
|
post-install-DOCS-on:
|
|
|
|
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
|
|
|
${INSTALL_MAN} ${WRKSRC}/README.md ${STAGEDIR}${DOCSDIR}
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|