ac4dcecfdf
Use ALTERNATIVES to handle different Python versions better. 0.14.0 - 2017-05-04 Added - Python 3.3+ support for all Certbot packages. certbot-auto still currently only supports Python 2, but the acme, certbot, certbot-apache, and certbot-nginx packages on PyPI now fully support Python 2.6, 2.7, and 3.3+. - Certbot's Apache plugin now handles multiple virtual hosts per file. - Lockfiles to prevent multiple versions of Certbot running simultaneously. Changed - When converting an HTTP virtual host to HTTPS in Apache, Certbot only copies the virtual host rather than the entire contents of the file it's contained in. - The Nginx plugin now includes SSL/TLS directives in a separate file located in Certbot's configuration directory rather than copying the contents of the file into every modified server block. Fixed - Ensure logging is configured before parts of Certbot attempt to log any messages. - Support for the --quiet flag in certbot-auto. - Reverted a change made in a previous release to make the acme and certbot packages always depend on argparse. This dependency is conditional again on the user's Python version. - Small bugs in the Nginx plugin such as properly handling empty server blocks and setting server_names_hash_bucket_size during challenges.
55 lines
2 KiB
Makefile
55 lines
2 KiB
Makefile
# $NetBSD: Makefile,v 1.5 2017/05/11 08:23:35 fhajny Exp $
|
|
|
|
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
|
|
CATEGORIES= security
|
|
|
|
COMMENT= Client for the Let's Encrypt CA
|
|
MAINTAINER= filip@joyent.com
|
|
LICENSE= apache-2.0
|
|
|
|
EGG_NAME= ${DISTNAME}
|
|
|
|
.include "Makefile.common"
|
|
|
|
DEPENDS+= ${PYPKGPREFIX}-acme-${PKGVERSION_NOREV}{nb*,}:../../security/py-acme
|
|
DEPENDS+= ${PYPKGPREFIX}-configargparse>=0.9.3:../../devel/py-configargparse
|
|
DEPENDS+= ${PYPKGPREFIX}-configobj-[0-9]*:../../devel/py-configobj
|
|
DEPENDS+= ${PYPKGPREFIX}-cryptography>=0.7:../../security/py-cryptography
|
|
DEPENDS+= ${PYPKGPREFIX}-mock-[0-9]*:../../devel/py-mock
|
|
DEPENDS+= ${PYPKGPREFIX}-OpenSSL-[0-9]*:../../security/py-OpenSSL
|
|
DEPENDS+= ${PYPKGPREFIX}-parsedatetime>=2.0:../../time/py-parsedatetime
|
|
DEPENDS+= ${PYPKGPREFIX}-pytz-[0-9]*:../../time/py-pytz
|
|
DEPENDS+= ${PYPKGPREFIX}-rfc3339-[0-9]*:../../time/py-rfc3339
|
|
DEPENDS+= ${PYPKGPREFIX}-six-[0-9]*:../../lang/py-six
|
|
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
|
|
BUILD_DEPENDS+= ${PYPKGPREFIX}-readline-[0-9]*:../../devel/py-readline
|
|
|
|
BUILD_DEFS+= VARBASE
|
|
|
|
PKG_SYSCONFSUBDIR= letsencrypt
|
|
|
|
SUBST_CLASSES+= path
|
|
SUBST_STAGE.path= pre-build
|
|
SUBST_MESSAGE.path= Fixing default paths
|
|
SUBST_FILES.path+= certbot/constants.py certbot/display/ops.py
|
|
SUBST_FILES.path+= certbot/plugins/*.py certbot/tests/*.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
|
|
|
|
post-install:
|
|
${MV} ${DESTDIR}${PREFIX}/bin/certbot \
|
|
${DESTDIR}${PREFIX}/bin/certbot${PYVERSSUFFIX}
|
|
${INSTALL_DATA} ${WRKSRC}/examples/cli.ini \
|
|
${DESTDIR}${PREFIX}/share/examples/certbot
|
|
|
|
.include "../../lang/python/egg.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|