pkgsrc/security/py-acme/Makefile
fhajny ac4dcecfdf Update py-certbot and py-acme to 0.14.0.
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.
2017-05-11 08:23:35 +00:00

32 lines
1,019 B
Makefile

# $NetBSD: Makefile,v 1.7 2017/05/11 08:23:35 fhajny Exp $
PKGNAME= ${PYPKGPREFIX}-${DISTNAME:S/certbot/acme/}
CATEGORIES= security
COMMENT= ACME protocol implementation in Python
MAINTAINER= filip@joyent.com
LICENSE= apache-2.0
.include "../../security/py-certbot/Makefile.common"
DEPENDS+= ${PYPKGPREFIX}-cryptography>=0.8:../../security/py-cryptography
DEPENDS+= ${PYPKGPREFIX}-OpenSSL>=0.15:../../security/py-OpenSSL
DEPENDS+= ${PYPKGPREFIX}-mock-[0-9]*:../../devel/py-mock
DEPENDS+= ${PYPKGPREFIX}-pytz-[0-9]*:../../time/py-pytz
DEPENDS+= ${PYPKGPREFIX}-requests>2.10:../../devel/py-requests
DEPENDS+= ${PYPKGPREFIX}-rfc3339-[0-9]*:../../time/py-rfc3339
DEPENDS+= ${PYPKGPREFIX}-six-[0-9]*:../../lang/py-six
EGG_NAME= ${DISTNAME:S/certbot/acme/}
# TEST_DEPENDS
BUILD_DEPENDS+= ${PYPKGPREFIX}-pbr-[0-9]*:../../devel/py-pbr
PYSETUPSUBDIR= acme
post-install:
${MV} ${DESTDIR}${PREFIX}/bin/jws \
${DESTDIR}${PREFIX}/bin/jws${PYVERSSUFFIX}
.include "../../lang/python/egg.mk"
.include "../../mk/bsd.pkg.mk"