py-certbot-nginx: add nginx certbot plugin

This commit is contained in:
triaxx 2019-01-15 12:05:47 +00:00
parent 036f90a49c
commit b3619bf92f
3 changed files with 124 additions and 0 deletions

View file

@ -0,0 +1 @@
Nginx plugin for Certbot

View file

@ -0,0 +1,24 @@
# $NetBSD: Makefile,v 1.1 2019/01/15 12:05:47 triaxx Exp $
PKGNAME= ${PYPKGPREFIX}-${DISTNAME:S/certbot/certbot-nginx/}
CATEGORIES= security
COMMENT= Nginx plugin for Certbot
MAINTAINER= triaxx@NetBSD.org
LICENSE= apache-2.0
.include "../../security/py-certbot/Makefile.common"
DEPENDS+= ${PYPKGPREFIX}-acme>=0.21.1:../../security/py-acme
DEPENDS+= ${PYPKGPREFIX}-certbot>=0.21.1:../../security/py-certbot
DEPENDS+= ${PYPKGPREFIX}-mock-[0-9]*:../../devel/py-mock
DEPENDS+= ${PYPKGPREFIX}-OpenSSL-[0-9]*:../../security/py-OpenSSL
DEPENDS+= ${PYPKGPREFIX}-pyparsing-[0-9]*:../../devel/py-pyparsing
DEPENDS+= ${PYPKGPREFIX}-ZopeInterface-[0-9]*:../../devel/py-ZopeInterface
EGG_NAME= ${DISTNAME:S/certbot/certbot_nginx/}
PYSETUPSUBDIR= certbot-nginx
.include "../../lang/python/egg.mk"
.include "../../mk/bsd.pkg.mk"

View file

@ -0,0 +1,99 @@
@comment $NetBSD: PLIST,v 1.1 2019/01/15 12:05:47 triaxx Exp $
${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
${PYSITELIB}/${EGG_INFODIR}/entry_points.txt
${PYSITELIB}/${EGG_INFODIR}/requires.txt
${PYSITELIB}/${EGG_INFODIR}/top_level.txt
${PYSITELIB}/certbot_nginx/__init__.py
${PYSITELIB}/certbot_nginx/__init__.pyo
${PYSITELIB}/certbot_nginx/__init__.pyc
${PYSITELIB}/certbot_nginx/configurator.pyo
${PYSITELIB}/certbot_nginx/configurator.pyc
${PYSITELIB}/certbot_nginx/constants.pyo
${PYSITELIB}/certbot_nginx/constants.pyc
${PYSITELIB}/certbot_nginx/display_ops.pyo
${PYSITELIB}/certbot_nginx/display_ops.pyc
${PYSITELIB}/certbot_nginx/http_01.pyo
${PYSITELIB}/certbot_nginx/http_01.pyc
${PYSITELIB}/certbot_nginx/nginxparser.pyo
${PYSITELIB}/certbot_nginx/nginxparser.pyc
${PYSITELIB}/certbot_nginx/obj.pyo
${PYSITELIB}/certbot_nginx/obj.pyc
${PYSITELIB}/certbot_nginx/parser.pyo
${PYSITELIB}/certbot_nginx/parser.pyc
${PYSITELIB}/certbot_nginx/parser_obj.pyo
${PYSITELIB}/certbot_nginx/parser_obj.pyc
${PYSITELIB}/certbot_nginx/tls_sni_01.pyo
${PYSITELIB}/certbot_nginx/tls_sni_01.pyc
${PYSITELIB}/certbot_nginx/configurator.py
${PYSITELIB}/certbot_nginx/constants.py
${PYSITELIB}/certbot_nginx/display_ops.py
${PYSITELIB}/certbot_nginx/http_01.py
${PYSITELIB}/certbot_nginx/nginxparser.py
${PYSITELIB}/certbot_nginx/obj.py
${PYSITELIB}/certbot_nginx/options-ssl-nginx.conf
${PYSITELIB}/certbot_nginx/parser.py
${PYSITELIB}/certbot_nginx/parser_obj.py
${PYSITELIB}/certbot_nginx/tests/__init__.py
${PYSITELIB}/certbot_nginx/tests/__init__.pyo
${PYSITELIB}/certbot_nginx/tests/__init__.pyc
${PYSITELIB}/certbot_nginx/tests/configurator_test.pyo
${PYSITELIB}/certbot_nginx/tests/configurator_test.pyc
${PYSITELIB}/certbot_nginx/tests/display_ops_test.pyo
${PYSITELIB}/certbot_nginx/tests/display_ops_test.pyc
${PYSITELIB}/certbot_nginx/tests/http_01_test.pyo
${PYSITELIB}/certbot_nginx/tests/http_01_test.pyc
${PYSITELIB}/certbot_nginx/tests/nginxparser_test.pyo
${PYSITELIB}/certbot_nginx/tests/nginxparser_test.pyc
${PYSITELIB}/certbot_nginx/tests/obj_test.pyo
${PYSITELIB}/certbot_nginx/tests/obj_test.pyc
${PYSITELIB}/certbot_nginx/tests/parser_obj_test.pyo
${PYSITELIB}/certbot_nginx/tests/parser_obj_test.pyc
${PYSITELIB}/certbot_nginx/tests/parser_test.pyo
${PYSITELIB}/certbot_nginx/tests/parser_test.pyc
${PYSITELIB}/certbot_nginx/tests/tls_sni_01_test.pyo
${PYSITELIB}/certbot_nginx/tests/tls_sni_01_test.pyc
${PYSITELIB}/certbot_nginx/tests/util.pyo
${PYSITELIB}/certbot_nginx/tests/util.pyc
${PYSITELIB}/certbot_nginx/tests/configurator_test.py
${PYSITELIB}/certbot_nginx/tests/display_ops_test.py
${PYSITELIB}/certbot_nginx/tests/http_01_test.py
${PYSITELIB}/certbot_nginx/tests/nginxparser_test.py
${PYSITELIB}/certbot_nginx/tests/obj_test.py
${PYSITELIB}/certbot_nginx/tests/parser_obj_test.py
${PYSITELIB}/certbot_nginx/tests/parser_test.py
${PYSITELIB}/certbot_nginx/tests/testdata/etc_nginx/broken.conf
${PYSITELIB}/certbot_nginx/tests/testdata/etc_nginx/comment_in_file.conf
${PYSITELIB}/certbot_nginx/tests/testdata/etc_nginx/edge_cases.conf
${PYSITELIB}/certbot_nginx/tests/testdata/etc_nginx/foo.conf
${PYSITELIB}/certbot_nginx/tests/testdata/etc_nginx/mime.types
${PYSITELIB}/certbot_nginx/tests/testdata/etc_nginx/minimalistic_comments.conf
${PYSITELIB}/certbot_nginx/tests/testdata/etc_nginx/multiline_quotes.conf
${PYSITELIB}/certbot_nginx/tests/testdata/etc_nginx/nginx.conf
${PYSITELIB}/certbot_nginx/tests/testdata/etc_nginx/server.conf
${PYSITELIB}/certbot_nginx/tests/testdata/etc_nginx/sites-enabled/default
${PYSITELIB}/certbot_nginx/tests/testdata/etc_nginx/sites-enabled/example.com
${PYSITELIB}/certbot_nginx/tests/testdata/etc_nginx/sites-enabled/globalssl.com
${PYSITELIB}/certbot_nginx/tests/testdata/etc_nginx/sites-enabled/headers.com
${PYSITELIB}/certbot_nginx/tests/testdata/etc_nginx/sites-enabled/ipv6.com
${PYSITELIB}/certbot_nginx/tests/testdata/etc_nginx/sites-enabled/ipv6ssl.com
${PYSITELIB}/certbot_nginx/tests/testdata/etc_nginx/sites-enabled/migration.com
${PYSITELIB}/certbot_nginx/tests/testdata/etc_nginx/sites-enabled/sslon.com
${PYSITELIB}/certbot_nginx/tests/testdata/etc_nginx/ubuntu_nginx_1_4_6/default_vhost/nginx/fastcgi_params
${PYSITELIB}/certbot_nginx/tests/testdata/etc_nginx/ubuntu_nginx_1_4_6/default_vhost/nginx/koi-utf
${PYSITELIB}/certbot_nginx/tests/testdata/etc_nginx/ubuntu_nginx_1_4_6/default_vhost/nginx/koi-win
${PYSITELIB}/certbot_nginx/tests/testdata/etc_nginx/ubuntu_nginx_1_4_6/default_vhost/nginx/mime.types
${PYSITELIB}/certbot_nginx/tests/testdata/etc_nginx/ubuntu_nginx_1_4_6/default_vhost/nginx/naxsi-ui.conf.1.4.1
${PYSITELIB}/certbot_nginx/tests/testdata/etc_nginx/ubuntu_nginx_1_4_6/default_vhost/nginx/naxsi.rules
${PYSITELIB}/certbot_nginx/tests/testdata/etc_nginx/ubuntu_nginx_1_4_6/default_vhost/nginx/naxsi_core.rules
${PYSITELIB}/certbot_nginx/tests/testdata/etc_nginx/ubuntu_nginx_1_4_6/default_vhost/nginx/nginx.conf
${PYSITELIB}/certbot_nginx/tests/testdata/etc_nginx/ubuntu_nginx_1_4_6/default_vhost/nginx/proxy_params
${PYSITELIB}/certbot_nginx/tests/testdata/etc_nginx/ubuntu_nginx_1_4_6/default_vhost/nginx/scgi_params
${PYSITELIB}/certbot_nginx/tests/testdata/etc_nginx/ubuntu_nginx_1_4_6/default_vhost/nginx/sites-available/default
${PYSITELIB}/certbot_nginx/tests/testdata/etc_nginx/ubuntu_nginx_1_4_6/default_vhost/nginx/sites-enabled/default
${PYSITELIB}/certbot_nginx/tests/testdata/etc_nginx/ubuntu_nginx_1_4_6/default_vhost/nginx/uwsgi_params
${PYSITELIB}/certbot_nginx/tests/testdata/etc_nginx/ubuntu_nginx_1_4_6/default_vhost/nginx/win-utf
${PYSITELIB}/certbot_nginx/tests/tls_sni_01_test.py
${PYSITELIB}/certbot_nginx/tests/util.py
${PYSITELIB}/certbot_nginx/tls_sni_01.py