pkgsrc/security/py-certbot-nginx/Makefile

27 lines
931 B
Makefile
Raw Normal View History

# $NetBSD: Makefile,v 1.16 2021/02/09 10:06:43 adam Exp $
.include "../../security/py-certbot/Makefile.common"
DISTNAME= certbot-nginx-${CERTBOT_VERSION}
MASTER_SITES= ${MASTER_SITE_PYPI:=c/certbot-nginx/}
COMMENT= Nginx plugin for Certbot
DEPENDS+= ${PYPKGPREFIX}-OpenSSL>=17.3.0:../../security/py-OpenSSL
py-acme/py-certbot*: updated to 1.4.0 1.4.0: Added * Turn off session tickets for apache plugin by default when appropriate. * Added serial number of certificate to the output of `certbot certificates` * Expose two new environment variables in the authenticator and cleanup scripts used by the `manual` plugin: `CERTBOT_REMAINING_CHALLENGES` is equal to the number of challenges remaining after the current challenge, `CERTBOT_ALL_DOMAINS` is a comma-separated list of all domains challenged for the current certificate. * Added TLS-ALPN-01 challenge support in the `acme` library. Support of this challenge in the Certbot client is planned to be added in a future release. * Added minimal proxy support for OCSP verification. * On Windows, hooks are now executed in a Powershell shell instead of a CMD shell, allowing both `*.ps1` and `*.bat` as valid scripts for Certbot. Changed * Reorganized error message when a user entered an invalid email address. * Stop asking interactively if the user would like to add a redirect. * `mock` dependency is now conditional on Python 2 in all of our packages. * Deprecate certbot-auto on Gentoo, macOS, and FreeBSD. Fixed * When using an RFC 8555 compliant endpoint, the `acme` library no longer sends the `resource` field in any requests or the `type` field when responding to challenges. * Fix nginx plugin crash when non-ASCII configuration file is being read (instead, the user will be warned that UTF-8 must be used). * Fix hanging OCSP queries during revocation checking - added a 10 second timeout. * Standalone servers now have a default socket timeout of 30 seconds, fixing cases where an idle connection can cause the standalone plugin to hang. * Parsing of the RFC 8555 application/pem-certificate-chain now tolerates CRLF line endings. This should fix interoperability with Buypass' services. More details about these changes can be found on our GitHub repo.
2020-05-07 12:53:44 +02:00
DEPENDS+= ${PYPKGPREFIX}-acme>=1.4.0:../../security/py-acme
DEPENDS+= ${PYPKGPREFIX}-certbot>=1.6.0:../../security/py-certbot
DEPENDS+= ${PYPKGPREFIX}-setuptools>=39.0.1:../../devel/py-setuptools
DEPENDS+= ${PYPKGPREFIX}-pyparsing>=2.2.0:../../devel/py-pyparsing
DEPENDS+= ${PYPKGPREFIX}-ZopeInterface-[0-9]*:../../devel/py-ZopeInterface
PKG_SYSCONFVAR= nginx
SUBST_CLASSES+= paths
SUBST_STAGE.paths= pre-configure
SUBST_MESSAGE.paths= Fixing absolute paths.
SUBST_FILES.paths= certbot_nginx/_internal/constants.py
SUBST_VARS.paths= PKG_SYSCONFDIR
.include "../../lang/python/egg.mk"
.include "../../mk/bsd.pkg.mk"