c73fe009fe
Certbot 1.25.0 Changed Dropped 32 bit support for the Windows beta installer Windows beta installer is now distributed as "certbot-beta-installer-win_amd64.exe". Users of the Windows beta should uninstall the old version before running this. Added a check whether OCSP stapling is supported by the installer when requesting a certificate with the run subcommand in combination with the --must-staple option. If the installer does not support OCSP and the --must-staple option is used, Certbot will raise an error and quit. Certbot and its acme module now depend on josepy>=1.13.0 due to better type annotation support. Fixed Updated dependencies to use new version of cryptography that uses OpenSSL 1.1.1n, in response to https://www.openssl.org/news/secadv/20220315.txt. Certbot 1.24.0 Added When the --debug-challenges option is used in combination with -v, Certbot now displays the challenge URLs (for http-01 challenges) or FQDNs (for dns-01 challenges) and their expected return values. Changed Support for Python 3.6 was removed. All Certbot components now require setuptools>=41.6.0. The acme library now requires requests>=2.20.0. Certbot and its acme library now require pytz>=2019.3. certbot-nginx now requires pyparsing>=2.2.1. certbot-dns-route53 now requires boto3>=1.15.15. Fixed Nginx plugin now checks included files for the singleton server_names_hash_bucket_size directive.
55 lines
2.2 KiB
Makefile
55 lines
2.2 KiB
Makefile
# $NetBSD: Makefile,v 1.34 2022/03/17 12:23:31 adam Exp $
|
|
|
|
.include "../../security/py-certbot/Makefile.common"
|
|
|
|
DISTNAME= certbot-${CERTBOT_VERSION}
|
|
MASTER_SITES= ${MASTER_SITE_PYPI:=c/certbot/}
|
|
|
|
COMMENT= Client for the Let's Encrypt CA
|
|
|
|
DEPENDS+= ${PYPKGPREFIX}-acme>=${CERTBOT_VERSION}:../../security/py-acme
|
|
DEPENDS+= ${PYPKGPREFIX}-configargparse>=0.9.3:../../devel/py-configargparse
|
|
DEPENDS+= ${PYPKGPREFIX}-configobj>=5.0.6:../../devel/py-configobj
|
|
DEPENDS+= ${PYPKGPREFIX}-cryptography>=2.5.0:../../security/py-cryptography
|
|
DEPENDS+= ${PYPKGPREFIX}-distro>=1.0.1:../../devel/py-distro
|
|
DEPENDS+= ${PYPKGPREFIX}-josepy>=1.13.0:../../security/py-josepy
|
|
DEPENDS+= ${PYPKGPREFIX}-parsedatetime>=2.4:../../time/py-parsedatetime
|
|
DEPENDS+= ${PYPKGPREFIX}-pytz>=2019.3:../../time/py-pytz
|
|
DEPENDS+= ${PYPKGPREFIX}-rfc3339-[0-9]*:../../time/py-rfc3339
|
|
DEPENDS+= ${PYPKGPREFIX}-ZopeComponent-[0-9]*:../../devel/py-ZopeComponent
|
|
DEPENDS+= ${PYPKGPREFIX}-ZopeInterface-[0-9]*:../../devel/py-ZopeInterface
|
|
# Needed for the test target
|
|
# https://github.com/certbot/certbot/issues/2956
|
|
TEST_DEPENDS+= ${PYPKGPREFIX}-readline-[0-9]*:../../devel/py-readline
|
|
TEST_DEPENDS+= ${PYPKGPREFIX}-test-[0-9]*:../../devel/py-test
|
|
TEST_DEPENDS+= ${PYPKGPREFIX}-test-cov-[0-9]*:../../devel/py-test-cov
|
|
TEST_DEPENDS+= ${PYPKGPREFIX}-test-xdist-[0-9]*:../../devel/py-test-xdist
|
|
TEST_DEPENDS+= ${PYPKGPREFIX}-typing-extensions-[0-9]*:../../devel/py-typing-extensions
|
|
|
|
BUILD_DEFS+= VARBASE
|
|
|
|
PKG_SYSCONFSUBDIR= letsencrypt
|
|
|
|
SUBST_CLASSES+= path
|
|
SUBST_STAGE.path= pre-build
|
|
SUBST_MESSAGE.path= Fixing default paths
|
|
SUBST_FILES.path= certbot/compat/misc.py
|
|
SUBST_FILES.path+= tests/cli_test.py
|
|
SUBST_SED.path= -e 's,/etc/letsencrypt,${PKG_SYSCONFDIR},g'
|
|
SUBST_SED.path+= -e 's,/var/lib/letsencrypt,${VARBASE}/letsencrypt,g'
|
|
SUBST_SED.path+= -e 's,/var/log/letsencrypt,${VARBASE}/letsencrypt/log,g'
|
|
|
|
MAKE_DIRS+= ${VARBASE}/letsencrypt/log
|
|
|
|
INSTALLATION_DIRS+= share/examples/certbot-${PYVERSSUFFIX}
|
|
|
|
USE_PKG_RESOURCES= yes
|
|
|
|
post-install:
|
|
cd ${DESTDIR}${PREFIX}/bin && \
|
|
${MV} certbot certbot-${PYVERSSUFFIX} || ${TRUE}
|
|
${INSTALL_DATA} ${WRKSRC}/examples/cli.ini \
|
|
${DESTDIR}${PREFIX}/share/examples/certbot-${PYVERSSUFFIX}
|
|
|
|
.include "../../lang/python/egg.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|