pkgsrc/security/dehydrated/Makefile
nils 8aeb225eb5 Updated security/dehydrated to version 0.6.5.
Some of the upstream changes since 0.4.0 :
* OpenSSL binary path is now configurable
* Support for ACME v02
* Challenge validation loop has been modified to loop over authorization identifiers instead of altnames (ACMEv2 + wildcard support)
* Use new ACME v2 endpoint by default
* Initial support for tls-alpn-01 validation
* OCSP refresh interval is now configurable

Full changelog available here :
https://github.com/lukas2511/dehydrated/blob/v0.6.5/CHANGELOG
2019-08-20 21:50:56 +00:00

43 lines
1.5 KiB
Makefile

# $NetBSD: Makefile,v 1.3 2019/08/20 21:50:56 nils Exp $
DISTNAME= dehydrated-0.6.5
CATEGORIES= security
MASTER_SITES= ${MASTER_SITE_GITHUB:=lukas2511/}
MAINTAINER= nils@NetBSD.org
HOMEPAGE= https://github.com/lukas2511/dehydrated
COMMENT= Letsencrypt/acme client implemented as a shell-script
LICENSE= mit
GITHUB_PROJECT= dehydrated
GITHUB_TAG= v${PKGVERSION_NOREV}
NO_BUILD= yes
USE_TOOLS+= bash:run sed:run awk:run curl:run pax openssl
REPLACE_BASH= dehydrated test.sh docs/examples/hook.sh
PKG_SYSCONFSUBDIR= dehydrated
EGDIR= ${PREFIX}/share/examples/dehydrated
CONF_FILES= ${EGDIR}/config ${PKG_SYSCONFDIR}/config
CONF_FILES+= ${EGDIR}/domains.txt ${PKG_SYSCONFDIR}/domains.txt
DOCDIR= share/doc/dehydrated
INSTALLATION_DIRS+= ${EGDIR} ${DOCDIR} bin
AUTO_MKDIRS= yes
SUBST_CLASSES+= paths
SUBST_STAGE.paths= post-extract
SUBST_FILES.paths= ${WRKSRC}/dehydrated
SUBST_SED.paths= -e 's|/usr/local/etc|${PKG_SYSCONFBASE}|g'
do-install:
${INSTALL_SCRIPT} ${WRKSRC}/dehydrated ${DESTDIR}${PREFIX}/bin/dehydrated
${INSTALL_DATA} ${WRKSRC}/CHANGELOG ${DESTDIR}${PREFIX}/${DOCDIR}
${INSTALL_DATA} ${WRKSRC}/LICENSE ${DESTDIR}${PREFIX}/${DOCDIR}
${INSTALL_DATA} ${WRKSRC}/README.md ${DESTDIR}${PREFIX}/${DOCDIR}
cd ${WRKSRC}/docs && pax -rw *.md ${DESTDIR}${PREFIX}/${DOCDIR}
${INSTALL_DATA} ${WRKSRC}/docs/examples/config ${DESTDIR}${EGDIR}
${INSTALL_DATA} ${WRKSRC}/docs/examples/domains.txt ${DESTDIR}${EGDIR}
${INSTALL_DATA} ${WRKSRC}/docs/examples/hook.sh ${DESTDIR}${EGDIR}
.include "../../mk/bsd.pkg.mk"