commit python-certbot-nginx for openSUSE:Factory
Hello community, here is the log from the commit of package python-certbot-nginx for openSUSE:Factory checked in at 2020-10-07 14:19:54 Comparing /work/SRC/openSUSE:Factory/python-certbot-nginx (Old) and /work/SRC/openSUSE:Factory/.python-certbot-nginx.new.4249 (New) Package is "python-certbot-nginx" Wed Oct 7 14:19:54 2020 rev:23 rq:839995 version:1.9.0 Changes: --- /work/SRC/openSUSE:Factory/python-certbot-nginx/python-certbot-nginx.changes 2020-08-21 19:13:45.464697722 +0200 +++ /work/SRC/openSUSE:Factory/.python-certbot-nginx.new.4249/python-certbot-nginx.changes 2020-10-07 14:20:08.933565011 +0200 @@ -1,0 +2,7 @@ +Wed Oct 7 08:46:57 UTC 2020 - Marketa Calabkova + +- update to version 1.9.0 + * Reduced CLI logging when reloading nginx, if it is not running. + * Fixed server_name case-sensitivity in the nginx plugin. + +--- Old: certbot-nginx-1.7.0.tar.gz New: certbot-nginx-1.9.0.tar.gz Other differences: -- ++ python-certbot-nginx.spec ++ --- /var/tmp/diff_new_pack.nCmGSV/_old 2020-10-07 14:20:09.477565443 +0200 +++ /var/tmp/diff_new_pack.nCmGSV/_new 2020-10-07 14:20:09.481565447 +0200 @@ -18,7 +18,7 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-certbot-nginx -Version:1.7.0 +Version:1.9.0 Release:0 Summary:Nginx plugin for Certbot License:Apache-2.0 ++ certbot-nginx-1.7.0.tar.gz -> certbot-nginx-1.9.0.tar.gz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/certbot-nginx-1.7.0/PKG-INFO new/certbot-nginx-1.9.0/PKG-INFO --- old/certbot-nginx-1.7.0/PKG-INFO2020-08-04 20:20:23.109773400 +0200 +++ new/certbot-nginx-1.9.0/PKG-INFO2020-10-06 20:39:58.712531300 +0200 @@ -1,6 +1,6 @@ Metadata-Version: 1.2 Name: certbot-nginx -Version: 1.7.0 +Version: 1.9.0 Summary: Nginx plugin for Certbot Home-page: https://github.com/letsencrypt/letsencrypt Author: Certbot Project @@ -17,7 +17,6 @@ Classifier: Programming Language :: Python :: 2 Classifier: Programming Language :: Python :: 2.7 Classifier: Programming Language :: Python :: 3 -Classifier: Programming Language :: Python :: 3.5 Classifier: Programming Language :: Python :: 3.6 Classifier: Programming Language :: Python :: 3.7 Classifier: Programming Language :: Python :: 3.8 @@ -27,4 +26,4 @@ Classifier: Topic :: System :: Networking Classifier: Topic :: System :: Systems Administration Classifier: Topic :: Utilities -Requires-Python: >=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.* +Requires-Python: >=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*, !=3.5.* diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/certbot-nginx-1.7.0/certbot_nginx/_internal/configurator.py new/certbot-nginx-1.9.0/certbot_nginx/_internal/configurator.py --- old/certbot-nginx-1.7.0/certbot_nginx/_internal/configurator.py 2020-08-04 20:20:15.0 +0200 +++ new/certbot-nginx-1.9.0/certbot_nginx/_internal/configurator.py 2020-10-06 20:39:49.0 +0200 @@ -1175,23 +1175,29 @@ """ try: -proc = subprocess.Popen([nginx_ctl, "-c", nginx_conf, "-s", "reload"], -env=util.env_no_snap_for_external_calls()) -proc.communicate() +reload_output = "" # type: unicode +with tempfile.TemporaryFile() as out: +proc = subprocess.Popen([nginx_ctl, "-c", nginx_conf, "-s", "reload"], +env=util.env_no_snap_for_external_calls(), +stdout=out, stderr=out) +proc.communicate() +out.seek(0) +reload_output = out.read().decode("utf-8") if proc.returncode != 0: -# Maybe Nginx isn't running +logger.debug("nginx reload failed:\n%s", reload_output) +# Maybe Nginx isn't running - try start it # Write to temporary files instead of piping because of communication issues on Arch # https://github.com/certbot/certbot/issues/4324 with tempfile.TemporaryFile() as out: -with tempfile.TemporaryFile() as err: -nginx_proc = subprocess.Popen([nginx_ctl, "-c", nginx_conf], -stdout=out, stderr=err, env=util.env_no_snap_for_external_calls()) -nginx_proc.communicate() -if nginx_proc.returncode != 0: -# Enter recovery routine... -raise errors.MisconfigurationError( -"nginx restart
commit python-certbot-nginx for openSUSE:Factory
Hello community, here is the log from the commit of package python-certbot-nginx for openSUSE:Factory checked in at 2020-08-21 19:13:09 Comparing /work/SRC/openSUSE:Factory/python-certbot-nginx (Old) and /work/SRC/openSUSE:Factory/.python-certbot-nginx.new.3399 (New) Package is "python-certbot-nginx" Fri Aug 21 19:13:09 2020 rev:22 rq:828430 version:1.7.0 Changes: --- /work/SRC/openSUSE:Factory/python-certbot-nginx/python-certbot-nginx.changes 2020-07-15 15:03:08.383300015 +0200 +++ /work/SRC/openSUSE:Factory/.python-certbot-nginx.new.3399/python-certbot-nginx.changes 2020-08-21 19:13:45.464697722 +0200 @@ -1,0 +2,6 @@ +Fri Aug 21 08:44:19 UTC 2020 - Marketa Calabkova + +- update to version 1.7.0 + * Added --nginx-sleep-seconds (default 1) for environments where nginx takes a long time to reload. + +--- Old: certbot-nginx-1.6.0.tar.gz New: certbot-nginx-1.7.0.tar.gz Other differences: -- ++ python-certbot-nginx.spec ++ --- /var/tmp/diff_new_pack.HrbJxr/_old 2020-08-21 19:13:46.664698434 +0200 +++ /var/tmp/diff_new_pack.HrbJxr/_new 2020-08-21 19:13:46.668698437 +0200 @@ -18,7 +18,7 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-certbot-nginx -Version:1.6.0 +Version:1.7.0 Release:0 Summary:Nginx plugin for Certbot License:Apache-2.0 ++ certbot-nginx-1.6.0.tar.gz -> certbot-nginx-1.7.0.tar.gz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/certbot-nginx-1.6.0/PKG-INFO new/certbot-nginx-1.7.0/PKG-INFO --- old/certbot-nginx-1.6.0/PKG-INFO2020-07-07 19:13:40.0 +0200 +++ new/certbot-nginx-1.7.0/PKG-INFO2020-08-04 20:20:23.109773400 +0200 @@ -1,6 +1,6 @@ Metadata-Version: 1.2 Name: certbot-nginx -Version: 1.6.0 +Version: 1.7.0 Summary: Nginx plugin for Certbot Home-page: https://github.com/letsencrypt/letsencrypt Author: Certbot Project diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/certbot-nginx-1.6.0/certbot_nginx/_internal/configurator.py new/certbot-nginx-1.7.0/certbot_nginx/_internal/configurator.py --- old/certbot-nginx-1.6.0/certbot_nginx/_internal/configurator.py 2020-07-07 19:13:20.0 +0200 +++ new/certbot-nginx-1.7.0/certbot_nginx/_internal/configurator.py 2020-08-04 20:20:15.0 +0200 @@ -77,6 +77,9 @@ add("ctl", default=constants.CLI_DEFAULTS["ctl"], help="Path to the " "'nginx' binary, used for 'configtest' and retrieving nginx " "version number.") +add("sleep-seconds", default=constants.CLI_DEFAULTS["sleep_seconds"], type=int, +help="Number of seconds to wait for nginx configuration changes " +"to apply when reloading.") @property def nginx_conf(self): @@ -912,7 +915,7 @@ :raises .errors.MisconfigurationError: If either the reload fails. """ -nginx_restart(self.conf('ctl'), self.nginx_conf) +nginx_restart(self.conf('ctl'), self.nginx_conf, self.conf('sleep-seconds')) def config_test(self): """Check the configuration of Nginx for errors. @@ -1159,7 +1162,7 @@ return redirect_block -def nginx_restart(nginx_ctl, nginx_conf): +def nginx_restart(nginx_ctl, nginx_conf, sleep_duration): """Restarts the Nginx Server. .. todo:: Nginx restart is fatal if the configuration references @@ -1167,6 +1170,8 @@ before restart. :param str nginx_ctl: Path to the Nginx binary. +:param str nginx_conf: Path to the Nginx configuration file. +:param int sleep_duration: How long to sleep after sending the reload signal. """ try: @@ -1190,10 +1195,12 @@ except (OSError, ValueError): raise errors.MisconfigurationError("nginx restart failed") -# Nginx can take a moment to recognize a newly added TLS SNI servername, so sleep -# for a second. TODO: Check for expected servername and loop until it -# appears or return an error if looping too long. -time.sleep(1) +# Nginx can take a significant duration of time to fully apply a new config, depending +# on size and contents (https://github.com/certbot/certbot/issues/7422). Lacking a way +# to reliably identify when this process is complete, we provide the user with control +# over how long Certbot will sleep after reloading the configuration. +if sleep_duration > 0: +time.sleep(sleep_duration) def _determine_default_server_root(): diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore'
commit python-certbot-nginx for openSUSE:Factory
Hello community, here is the log from the commit of package python-certbot-nginx for openSUSE:Factory checked in at 2020-07-15 15:02:55 Comparing /work/SRC/openSUSE:Factory/python-certbot-nginx (Old) and /work/SRC/openSUSE:Factory/.python-certbot-nginx.new.3060 (New) Package is "python-certbot-nginx" Wed Jul 15 15:02:55 2020 rev:21 rq:820661 version:1.6.0 Changes: --- /work/SRC/openSUSE:Factory/python-certbot-nginx/python-certbot-nginx.changes 2020-06-11 15:16:49.975186264 +0200 +++ /work/SRC/openSUSE:Factory/.python-certbot-nginx.new.3060/python-certbot-nginx.changes 2020-07-15 15:03:08.383300015 +0200 @@ -1,0 +2,6 @@ +Mon Jul 13 08:40:59 UTC 2020 - Marketa Calabkova + +- update to version 1.6.0 + * Sync with main certbot package. + +--- Old: certbot-nginx-1.5.0.tar.gz New: certbot-nginx-1.6.0.tar.gz Other differences: -- ++ python-certbot-nginx.spec ++ --- /var/tmp/diff_new_pack.z8CaAJ/_old 2020-07-15 15:03:09.663301263 +0200 +++ /var/tmp/diff_new_pack.z8CaAJ/_new 2020-07-15 15:03:09.667301267 +0200 @@ -18,7 +18,7 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-certbot-nginx -Version:1.5.0 +Version:1.6.0 Release:0 Summary:Nginx plugin for Certbot License:Apache-2.0 ++ certbot-nginx-1.5.0.tar.gz -> certbot-nginx-1.6.0.tar.gz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/certbot-nginx-1.5.0/PKG-INFO new/certbot-nginx-1.6.0/PKG-INFO --- old/certbot-nginx-1.5.0/PKG-INFO2020-06-02 19:13:03.0 +0200 +++ new/certbot-nginx-1.6.0/PKG-INFO2020-07-07 19:13:40.0 +0200 @@ -1,6 +1,6 @@ Metadata-Version: 1.2 Name: certbot-nginx -Version: 1.5.0 +Version: 1.6.0 Summary: Nginx plugin for Certbot Home-page: https://github.com/letsencrypt/letsencrypt Author: Certbot Project diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/certbot-nginx-1.5.0/certbot_nginx/_internal/configurator.py new/certbot-nginx-1.6.0/certbot_nginx/_internal/configurator.py --- old/certbot-nginx-1.5.0/certbot_nginx/_internal/configurator.py 2020-06-02 19:12:32.0 +0200 +++ new/certbot-nginx-1.6.0/certbot_nginx/_internal/configurator.py 2020-07-07 19:13:20.0 +0200 @@ -939,7 +939,8 @@ [self.conf('ctl'), "-c", self.nginx_conf, "-V"], stdout=subprocess.PIPE, stderr=subprocess.PIPE, -universal_newlines=True) +universal_newlines=True, +env=util.env_no_snap_for_external_calls()) text = proc.communicate()[1] # nginx prints output to stderr except (OSError, ValueError) as error: logger.debug(str(error), exc_info=True) @@ -1169,7 +1170,8 @@ """ try: -proc = subprocess.Popen([nginx_ctl, "-c", nginx_conf, "-s", "reload"]) +proc = subprocess.Popen([nginx_ctl, "-c", nginx_conf, "-s", "reload"], +env=util.env_no_snap_for_external_calls()) proc.communicate() if proc.returncode != 0: @@ -1179,7 +1181,7 @@ with tempfile.TemporaryFile() as out: with tempfile.TemporaryFile() as err: nginx_proc = subprocess.Popen([nginx_ctl, "-c", nginx_conf], -stdout=out, stderr=err) +stdout=out, stderr=err, env=util.env_no_snap_for_external_calls()) nginx_proc.communicate() if nginx_proc.returncode != 0: # Enter recovery routine... diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/certbot-nginx-1.5.0/certbot_nginx/_internal/constants.py new/certbot-nginx-1.6.0/certbot_nginx/_internal/constants.py --- old/certbot-nginx-1.5.0/certbot_nginx/_internal/constants.py 2020-06-02 19:12:32.0 +0200 +++ new/certbot-nginx-1.6.0/certbot_nginx/_internal/constants.py 2020-07-07 19:13:20.0 +0200 @@ -3,9 +3,12 @@ FREEBSD_DARWIN_SERVER_ROOT = "/usr/local/etc/nginx" LINUX_SERVER_ROOT = "/etc/nginx" +PKGSRC_SERVER_ROOT = "/usr/pkg/etc/nginx" if platform.system() in ('FreeBSD', 'Darwin'): server_root_tmp = FREEBSD_DARWIN_SERVER_ROOT +elif platform.system() in ('NetBSD',): +server_root_tmp = PKGSRC_SERVER_ROOT else: server_root_tmp = LINUX_SERVER_ROOT diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/certbot-nginx-1.5.0/certbot_nginx.egg-info/PKG-INFO
commit python-certbot-nginx for openSUSE:Factory
Hello community, here is the log from the commit of package python-certbot-nginx for openSUSE:Factory checked in at 2020-06-11 15:16:42 Comparing /work/SRC/openSUSE:Factory/python-certbot-nginx (Old) and /work/SRC/openSUSE:Factory/.python-certbot-nginx.new.3606 (New) Package is "python-certbot-nginx" Thu Jun 11 15:16:42 2020 rev:20 rq:813520 version:1.5.0 Changes: --- /work/SRC/openSUSE:Factory/python-certbot-nginx/python-certbot-nginx.changes 2020-05-14 23:27:11.701295301 +0200 +++ /work/SRC/openSUSE:Factory/.python-certbot-nginx.new.3606/python-certbot-nginx.changes 2020-06-11 15:16:49.975186264 +0200 @@ -1,0 +2,6 @@ +Thu Jun 11 12:14:55 UTC 2020 - Marketa Calabkova + +- update to version 1.5.0 + * Sync with main certbot package. + +--- Old: certbot-nginx-1.4.0.tar.gz New: certbot-nginx-1.5.0.tar.gz Other differences: -- ++ python-certbot-nginx.spec ++ --- /var/tmp/diff_new_pack.G5Md64/_old 2020-06-11 15:16:50.687188258 +0200 +++ /var/tmp/diff_new_pack.G5Md64/_new 2020-06-11 15:16:50.691188270 +0200 @@ -18,7 +18,7 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-certbot-nginx -Version:1.4.0 +Version:1.5.0 Release:0 Summary:Nginx plugin for Certbot License:Apache-2.0 ++ certbot-nginx-1.4.0.tar.gz -> certbot-nginx-1.5.0.tar.gz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/certbot-nginx-1.4.0/PKG-INFO new/certbot-nginx-1.5.0/PKG-INFO --- old/certbot-nginx-1.4.0/PKG-INFO2020-05-05 21:37:47.727920800 +0200 +++ new/certbot-nginx-1.5.0/PKG-INFO2020-06-02 19:13:03.0 +0200 @@ -1,6 +1,6 @@ Metadata-Version: 1.2 Name: certbot-nginx -Version: 1.4.0 +Version: 1.5.0 Summary: Nginx plugin for Certbot Home-page: https://github.com/letsencrypt/letsencrypt Author: Certbot Project diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/certbot-nginx-1.4.0/certbot_nginx.egg-info/PKG-INFO new/certbot-nginx-1.5.0/certbot_nginx.egg-info/PKG-INFO --- old/certbot-nginx-1.4.0/certbot_nginx.egg-info/PKG-INFO 2020-05-05 21:37:47.0 +0200 +++ new/certbot-nginx-1.5.0/certbot_nginx.egg-info/PKG-INFO 2020-06-02 19:13:02.0 +0200 @@ -1,6 +1,6 @@ Metadata-Version: 1.2 Name: certbot-nginx -Version: 1.4.0 +Version: 1.5.0 Summary: Nginx plugin for Certbot Home-page: https://github.com/letsencrypt/letsencrypt Author: Certbot Project diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/certbot-nginx-1.4.0/setup.py new/certbot-nginx-1.5.0/setup.py --- old/certbot-nginx-1.4.0/setup.py2020-05-05 21:37:34.0 +0200 +++ new/certbot-nginx-1.5.0/setup.py2020-06-02 19:12:35.0 +0200 @@ -6,7 +6,7 @@ from setuptools import setup from setuptools.command.test import test as TestCommand -version = '1.4.0' +version = '1.5.0' # Remember to update local-oldest-requirements.txt when changing the minimum # acme/certbot version.
commit python-certbot-nginx for openSUSE:Factory
Hello community, here is the log from the commit of package python-certbot-nginx for openSUSE:Factory checked in at 2020-05-14 23:27:09 Comparing /work/SRC/openSUSE:Factory/python-certbot-nginx (Old) and /work/SRC/openSUSE:Factory/.python-certbot-nginx.new.2738 (New) Package is "python-certbot-nginx" Thu May 14 23:27:09 2020 rev:19 rq:805545 version:1.4.0 Changes: --- /work/SRC/openSUSE:Factory/python-certbot-nginx/python-certbot-nginx.changes 2020-03-11 18:56:42.159711268 +0100 +++ /work/SRC/openSUSE:Factory/.python-certbot-nginx.new.2738/python-certbot-nginx.changes 2020-05-14 23:27:11.701295301 +0200 @@ -1,0 +2,7 @@ +Thu May 14 08:51:38 UTC 2020 - Marketa Calabkova + +- update to version 1.4.0 + * Fix nginx plugin crash when non-ASCII configuration file is being read (instead, +the user will be warned that UTF-8 must be used). + +--- Old: certbot-nginx-1.3.0.tar.gz New: certbot-nginx-1.4.0.tar.gz Other differences: -- ++ python-certbot-nginx.spec ++ --- /var/tmp/diff_new_pack.u4X5he/_old 2020-05-14 23:27:12.373296767 +0200 +++ /var/tmp/diff_new_pack.u4X5he/_new 2020-05-14 23:27:12.373296767 +0200 @@ -18,14 +18,13 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-certbot-nginx -Version:1.3.0 +Version:1.4.0 Release:0 Summary:Nginx plugin for Certbot License:Apache-2.0 URL:https://github.com/letsencrypt/letsencrypt Source: https://files.pythonhosted.org/packages/source/c/certbot-nginx/certbot-nginx-%{version}.tar.gz -BuildRequires: %{python_module certbot >= 1.1.0} -BuildRequires: %{python_module mock} +BuildRequires: %{python_module certbot >= 1.4.0} BuildRequires: %{python_module pyOpenSSL} BuildRequires: %{python_module pyparsing >= 1.5.5} BuildRequires: %{python_module pytest} @@ -34,8 +33,8 @@ BuildRequires: nginx BuildRequires: python-rpm-macros Requires: nginx -Requires: python-acme >= 1.0.0 -Requires: python-certbot >= 1.1.0 +Requires: python-acme >= 1.4.0 +Requires: python-certbot >= 1.4.0 Requires: python-pyOpenSSL Requires: python-pyparsing >= 1.5.5 Requires: python-zope.interface ++ certbot-nginx-1.3.0.tar.gz -> certbot-nginx-1.4.0.tar.gz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/certbot-nginx-1.3.0/PKG-INFO new/certbot-nginx-1.4.0/PKG-INFO --- old/certbot-nginx-1.3.0/PKG-INFO2020-03-03 21:36:47.0 +0100 +++ new/certbot-nginx-1.4.0/PKG-INFO2020-05-05 21:37:47.727920800 +0200 @@ -1,6 +1,6 @@ Metadata-Version: 1.2 Name: certbot-nginx -Version: 1.3.0 +Version: 1.4.0 Summary: Nginx plugin for Certbot Home-page: https://github.com/letsencrypt/letsencrypt Author: Certbot Project diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/certbot-nginx-1.3.0/certbot_nginx/_internal/configurator.py new/certbot-nginx-1.4.0/certbot_nginx/_internal/configurator.py --- old/certbot-nginx-1.3.0/certbot_nginx/_internal/configurator.py 2020-03-03 21:36:36.0 +0100 +++ new/certbot-nginx-1.4.0/certbot_nginx/_internal/configurator.py 2020-05-05 21:37:33.0 +0200 @@ -1,5 +1,4 @@ """Nginx Configuration""" -# https://github.com/PyCQA/pylint/issues/73 from distutils.version import LooseVersion import logging import re @@ -749,7 +748,7 @@ # if there is no separate SSL block, break the block into two and # choose the SSL block. -if vhost.ssl and any([not addr.ssl for addr in vhost.addrs]): +if vhost.ssl and any(not addr.ssl for addr in vhost.addrs): _, vhost = self._split_block(vhost) header_directives = [ @@ -984,7 +983,7 @@ logger.warning("NGINX derivative %s is not officially supported by" " certbot", product_name) -nginx_version = tuple([int(i) for i in product_version.split(".")]) +nginx_version = tuple(int(i) for i in product_version.split(".")) # nginx < 0.8.48 uses machine hostname as default server_name instead of # the empty string diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/certbot-nginx-1.3.0/certbot_nginx/_internal/display_ops.py new/certbot-nginx-1.4.0/certbot_nginx/_internal/display_ops.py --- old/certbot-nginx-1.3.0/certbot_nginx/_internal/display_ops.py 2020-03-03 21:36:36.0 +0100 +++ new/certbot-nginx-1.4.0/certbot_nginx/_internal/display_ops.py 2020-05-05 21:37:33.0 +0200
commit python-certbot-nginx for openSUSE:Factory
Hello community, here is the log from the commit of package python-certbot-nginx for openSUSE:Factory checked in at 2020-03-11 18:55:24 Comparing /work/SRC/openSUSE:Factory/python-certbot-nginx (Old) and /work/SRC/openSUSE:Factory/.python-certbot-nginx.new.3160 (New) Package is "python-certbot-nginx" Wed Mar 11 18:55:24 2020 rev:18 rq:783859 version:1.3.0 Changes: --- /work/SRC/openSUSE:Factory/python-certbot-nginx/python-certbot-nginx.changes 2020-02-26 15:03:35.157016343 +0100 +++ /work/SRC/openSUSE:Factory/.python-certbot-nginx.new.3160/python-certbot-nginx.changes 2020-03-11 18:56:42.159711268 +0100 @@ -1,0 +2,6 @@ +Wed Mar 11 13:45:50 UTC 2020 - Marketa Calabkova + +- update to version 1.3.0 + * Sync with main certbot package. + +--- Old: certbot-nginx-1.2.0.tar.gz New: certbot-nginx-1.3.0.tar.gz Other differences: -- ++ python-certbot-nginx.spec ++ --- /var/tmp/diff_new_pack.qWBLid/_old 2020-03-11 18:56:42.595711462 +0100 +++ /var/tmp/diff_new_pack.qWBLid/_new 2020-03-11 18:56:42.595711462 +0100 @@ -18,7 +18,7 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-certbot-nginx -Version:1.2.0 +Version:1.3.0 Release:0 Summary:Nginx plugin for Certbot License:Apache-2.0 ++ certbot-nginx-1.2.0.tar.gz -> certbot-nginx-1.3.0.tar.gz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/certbot-nginx-1.2.0/PKG-INFO new/certbot-nginx-1.3.0/PKG-INFO --- old/certbot-nginx-1.2.0/PKG-INFO2020-02-04 22:47:08.0 +0100 +++ new/certbot-nginx-1.3.0/PKG-INFO2020-03-03 21:36:47.0 +0100 @@ -1,6 +1,6 @@ Metadata-Version: 1.2 Name: certbot-nginx -Version: 1.2.0 +Version: 1.3.0 Summary: Nginx plugin for Certbot Home-page: https://github.com/letsencrypt/letsencrypt Author: Certbot Project diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/certbot-nginx-1.2.0/certbot_nginx/_internal/configurator.py new/certbot-nginx-1.3.0/certbot_nginx/_internal/configurator.py --- old/certbot-nginx-1.2.0/certbot_nginx/_internal/configurator.py 2020-02-04 22:46:57.0 +0100 +++ new/certbot-nginx-1.3.0/certbot_nginx/_internal/configurator.py 2020-03-03 21:36:36.0 +0100 @@ -1,6 +1,6 @@ """Nginx Configuration""" # https://github.com/PyCQA/pylint/issues/73 -from distutils.version import LooseVersion # pylint: disable=no-name-in-module, import-error +from distutils.version import LooseVersion import logging import re import socket @@ -14,9 +14,9 @@ from acme import challenges from acme import crypto_util as acme_crypto_util -from acme.magic_typing import Dict # pylint: disable=unused-import, no-name-in-module -from acme.magic_typing import List # pylint: disable=unused-import, no-name-in-module -from acme.magic_typing import Set # pylint: disable=unused-import, no-name-in-module +from acme.magic_typing import Dict +from acme.magic_typing import List +from acme.magic_typing import Set from certbot import crypto_util from certbot import errors from certbot import interfaces @@ -313,9 +313,6 @@ .. todo:: This should maybe return list if no obvious answer is presented. -.. todo:: The special name "$hostname" corresponds to the machine's -hostname. Currently we just ignore this. - :param str target_name: domain name :param bool create_if_no_match: If we should create a new vhost from default when there is no match found. If we can't choose a default, raise a @@ -598,6 +595,12 @@ all_names = set() # type: Set[str] for vhost in self.parser.get_vhosts(): +try: +vhost.names.remove("$hostname") +vhost.names.add(socket.gethostname()) +except KeyError: +pass + all_names.update(vhost.names) for addr in vhost.addrs: @@ -693,7 +696,7 @@ ## # enhancement methods (IInstaller) ## -def supported_enhancements(self): # pylint: disable=no-self-use +def supported_enhancements(self): """Returns currently supported enhancements.""" return ['redirect', 'ensure-http-header', 'staple-ocsp'] @@ -912,7 +915,7 @@ """ nginx_restart(self.conf('ctl'), self.nginx_conf) -def config_test(self): # pylint: disable=no-self-use +def config_test(self): """Check the configuration of Nginx for errors. :raises
commit python-certbot-nginx for openSUSE:Factory
Hello community, here is the log from the commit of package python-certbot-nginx for openSUSE:Factory checked in at 2020-02-26 15:03:30 Comparing /work/SRC/openSUSE:Factory/python-certbot-nginx (Old) and /work/SRC/openSUSE:Factory/.python-certbot-nginx.new.26092 (New) Package is "python-certbot-nginx" Wed Feb 26 15:03:30 2020 rev:17 rq:778049 version:1.2.0 Changes: --- /work/SRC/openSUSE:Factory/python-certbot-nginx/python-certbot-nginx.changes 2020-01-21 21:03:13.524928945 +0100 +++ /work/SRC/openSUSE:Factory/.python-certbot-nginx.new.26092/python-certbot-nginx.changes 2020-02-26 15:03:35.157016343 +0100 @@ -1,0 +2,7 @@ +Fri Feb 21 15:35:40 UTC 2020 - Marketa Calabkova + +- update to version 1.2.0 + * Added support for $hostname in nginx server_name directive + * Remove ECDHE-RSA-AES128-SHA from NGINX ciphers list + +--- Old: certbot-nginx-1.1.0.tar.gz New: certbot-nginx-1.2.0.tar.gz Other differences: -- ++ python-certbot-nginx.spec ++ --- /var/tmp/diff_new_pack.WYIQwe/_old 2020-02-26 15:03:36.977019975 +0100 +++ /var/tmp/diff_new_pack.WYIQwe/_new 2020-02-26 15:03:36.981019983 +0100 @@ -18,7 +18,7 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-certbot-nginx -Version:1.1.0 +Version:1.2.0 Release:0 Summary:Nginx plugin for Certbot License:Apache-2.0 @@ -34,7 +34,7 @@ BuildRequires: nginx BuildRequires: python-rpm-macros Requires: nginx -Requires: python-acme >= 1.1.0 +Requires: python-acme >= 1.0.0 Requires: python-certbot >= 1.1.0 Requires: python-pyOpenSSL Requires: python-pyparsing >= 1.5.5 ++ certbot-nginx-1.1.0.tar.gz -> certbot-nginx-1.2.0.tar.gz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/certbot-nginx-1.1.0/PKG-INFO new/certbot-nginx-1.2.0/PKG-INFO --- old/certbot-nginx-1.1.0/PKG-INFO2020-01-14 19:41:49.0 +0100 +++ new/certbot-nginx-1.2.0/PKG-INFO2020-02-04 22:47:08.0 +0100 @@ -1,6 +1,6 @@ Metadata-Version: 1.2 Name: certbot-nginx -Version: 1.1.0 +Version: 1.2.0 Summary: Nginx plugin for Certbot Home-page: https://github.com/letsencrypt/letsencrypt Author: Certbot Project @@ -17,7 +17,6 @@ Classifier: Programming Language :: Python :: 2 Classifier: Programming Language :: Python :: 2.7 Classifier: Programming Language :: Python :: 3 -Classifier: Programming Language :: Python :: 3.4 Classifier: Programming Language :: Python :: 3.5 Classifier: Programming Language :: Python :: 3.6 Classifier: Programming Language :: Python :: 3.7 @@ -28,4 +27,4 @@ Classifier: Topic :: System :: Networking Classifier: Topic :: System :: Systems Administration Classifier: Topic :: Utilities -Requires-Python: >=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.* +Requires-Python: >=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.* diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/certbot-nginx-1.1.0/certbot_nginx/_internal/tls_configs/options-ssl-nginx-old.conf new/certbot-nginx-1.2.0/certbot_nginx/_internal/tls_configs/options-ssl-nginx-old.conf --- old/certbot-nginx-1.1.0/certbot_nginx/_internal/tls_configs/options-ssl-nginx-old.conf 2020-01-14 19:41:31.0 +0100 +++ new/certbot-nginx-1.2.0/certbot_nginx/_internal/tls_configs/options-ssl-nginx-old.conf 2020-02-04 22:46:57.0 +0100 @@ -10,4 +10,4 @@ ssl_protocols TLSv1.2; ssl_prefer_server_ciphers off; -ssl_ciphers "ECDHE-ECDSA-AES128-GCM-SHA256:ECDHE-RSA-AES128-GCM-SHA256:ECDHE-ECDSA-AES256-GCM-SHA384:ECDHE-RSA-AES256-GCM-SHA384:ECDHE-ECDSA-CHACHA20-POLY1305:ECDHE-RSA-CHACHA20-POLY1305:DHE-RSA-AES128-GCM-SHA256:DHE-RSA-AES256-GCM-SHA384:ECDHE-RSA-AES128-SHA"; +ssl_ciphers "ECDHE-ECDSA-AES128-GCM-SHA256:ECDHE-RSA-AES128-GCM-SHA256:ECDHE-ECDSA-AES256-GCM-SHA384:ECDHE-RSA-AES256-GCM-SHA384:ECDHE-ECDSA-CHACHA20-POLY1305:ECDHE-RSA-CHACHA20-POLY1305:DHE-RSA-AES128-GCM-SHA256:DHE-RSA-AES256-GCM-SHA384"; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/certbot-nginx-1.1.0/certbot_nginx/_internal/tls_configs/options-ssl-nginx-tls12-only.conf new/certbot-nginx-1.2.0/certbot_nginx/_internal/tls_configs/options-ssl-nginx-tls12-only.conf --- old/certbot-nginx-1.1.0/certbot_nginx/_internal/tls_configs/options-ssl-nginx-tls12-only.conf 2020-01-14 19:41:31.0 +0100 +++ new/certbot-nginx-1.2.0/certbot_nginx/_internal/tls_configs/options-ssl-nginx-tls12-only.conf 2020-02-04 22:46:57.0 +0100 @@ -11,4 +11,4 @@ ssl_protocols TLSv1.2;
commit python-certbot-nginx for openSUSE:Factory
Hello community, here is the log from the commit of package python-certbot-nginx for openSUSE:Factory checked in at 2020-01-21 21:02:24 Comparing /work/SRC/openSUSE:Factory/python-certbot-nginx (Old) and /work/SRC/openSUSE:Factory/.python-certbot-nginx.new.26092 (New) Package is "python-certbot-nginx" Tue Jan 21 21:02:24 2020 rev:16 rq:766020 version:1.1.0 Changes: --- /work/SRC/openSUSE:Factory/python-certbot-nginx/python-certbot-nginx.changes 2020-01-03 17:39:52.871384888 +0100 +++ /work/SRC/openSUSE:Factory/.python-certbot-nginx.new.26092/python-certbot-nginx.changes 2020-01-21 21:03:13.524928945 +0100 @@ -1,0 +2,6 @@ +Tue Jan 21 09:43:23 UTC 2020 - Marketa Calabkova + +- update to version 1.1.0 + * Sync with main certbot package. + +--- Old: certbot-nginx-1.0.0.tar.gz New: certbot-nginx-1.1.0.tar.gz Other differences: -- ++ python-certbot-nginx.spec ++ --- /var/tmp/diff_new_pack.IlZCni/_old 2020-01-21 21:03:15.000929633 +0100 +++ /var/tmp/diff_new_pack.IlZCni/_new 2020-01-21 21:03:15.028929647 +0100 @@ -18,13 +18,13 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-certbot-nginx -Version:1.0.0 +Version:1.1.0 Release:0 Summary:Nginx plugin for Certbot License:Apache-2.0 URL:https://github.com/letsencrypt/letsencrypt Source: https://files.pythonhosted.org/packages/source/c/certbot-nginx/certbot-nginx-%{version}.tar.gz -BuildRequires: %{python_module certbot >= 1.0.0} +BuildRequires: %{python_module certbot >= 1.1.0} BuildRequires: %{python_module mock} BuildRequires: %{python_module pyOpenSSL} BuildRequires: %{python_module pyparsing >= 1.5.5} @@ -34,8 +34,8 @@ BuildRequires: nginx BuildRequires: python-rpm-macros Requires: nginx -Requires: python-acme >= 1.0.0 -Requires: python-certbot >= 1.0.0 +Requires: python-acme >= 1.1.0 +Requires: python-certbot >= 1.1.0 Requires: python-pyOpenSSL Requires: python-pyparsing >= 1.5.5 Requires: python-zope.interface ++ certbot-nginx-1.0.0.tar.gz -> certbot-nginx-1.1.0.tar.gz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/certbot-nginx-1.0.0/PKG-INFO new/certbot-nginx-1.1.0/PKG-INFO --- old/certbot-nginx-1.0.0/PKG-INFO2019-12-03 18:20:47.0 +0100 +++ new/certbot-nginx-1.1.0/PKG-INFO2020-01-14 19:41:49.0 +0100 @@ -1,6 +1,6 @@ Metadata-Version: 1.2 Name: certbot-nginx -Version: 1.0.0 +Version: 1.1.0 Summary: Nginx plugin for Certbot Home-page: https://github.com/letsencrypt/letsencrypt Author: Certbot Project diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/certbot-nginx-1.0.0/certbot_nginx/_internal/configurator.py new/certbot-nginx-1.1.0/certbot_nginx/_internal/configurator.py --- old/certbot-nginx-1.0.0/certbot_nginx/_internal/configurator.py 2019-12-03 18:20:30.0 +0100 +++ new/certbot-nginx-1.1.0/certbot_nginx/_internal/configurator.py 2020-01-14 19:41:31.0 +0100 @@ -1,6 +1,6 @@ """Nginx Configuration""" # https://github.com/PyCQA/pylint/issues/73 -from distutils.version import LooseVersion # pylint: disable=no-name-in-module,import-error +from distutils.version import LooseVersion # pylint: disable=no-name-in-module, import-error import logging import re import socket @@ -8,22 +8,21 @@ import tempfile import time -import pkg_resources - import OpenSSL +import pkg_resources import zope.interface from acme import challenges from acme import crypto_util as acme_crypto_util -from acme.magic_typing import List, Dict, Set # pylint: disable=unused-import, no-name-in-module - +from acme.magic_typing import Dict # pylint: disable=unused-import, no-name-in-module +from acme.magic_typing import List # pylint: disable=unused-import, no-name-in-module +from acme.magic_typing import Set # pylint: disable=unused-import, no-name-in-module from certbot import crypto_util from certbot import errors from certbot import interfaces from certbot import util from certbot.compat import os from certbot.plugins import common - from certbot_nginx._internal import constants from certbot_nginx._internal import display_ops from certbot_nginx._internal import http_01 @@ -284,7 +283,7 @@ filtered_vhosts[name] = vhost # Only unique VHost objects -dialog_input = set([vhost for vhost in filtered_vhosts.values()]) +dialog_input = set(filtered_vhosts.values()) # Ask the user which of names to enable, expect list of
commit python-certbot-nginx for openSUSE:Factory
Hello community, here is the log from the commit of package python-certbot-nginx for openSUSE:Factory checked in at 2020-01-03 17:39:40 Comparing /work/SRC/openSUSE:Factory/python-certbot-nginx (Old) and /work/SRC/openSUSE:Factory/.python-certbot-nginx.new.6675 (New) Package is "python-certbot-nginx" Fri Jan 3 17:39:40 2020 rev:15 rq:760701 version:1.0.0 Changes: --- /work/SRC/openSUSE:Factory/python-certbot-nginx/python-certbot-nginx.changes 2019-11-15 00:30:06.955745473 +0100 +++ /work/SRC/openSUSE:Factory/.python-certbot-nginx.new.6675/python-certbot-nginx.changes 2020-01-03 17:39:52.871384888 +0100 @@ -1,0 +2,7 @@ +Fri Jan 3 13:25:59 UTC 2020 - Marketa Calabkova + +- update to version 1.0.0 (boo#1160066) + * The docs extras for the certbot-apache and certbot-nginx +packages have been removed. + +--- Old: certbot-nginx-0.40.1.tar.gz New: certbot-nginx-1.0.0.tar.gz Other differences: -- ++ python-certbot-nginx.spec ++ --- /var/tmp/diff_new_pack.liGwol/_old 2020-01-03 17:39:53.407385163 +0100 +++ /var/tmp/diff_new_pack.liGwol/_new 2020-01-03 17:39:53.411385165 +0100 @@ -1,7 +1,7 @@ # # spec file for package python-certbot-nginx # -# Copyright (c) 2019 SUSE LLC. +# Copyright (c) 2020 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -18,22 +18,24 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-certbot-nginx -Version:0.40.1 +Version:1.0.0 Release:0 Summary:Nginx plugin for Certbot License:Apache-2.0 URL:https://github.com/letsencrypt/letsencrypt Source: https://files.pythonhosted.org/packages/source/c/certbot-nginx/certbot-nginx-%{version}.tar.gz -BuildRequires: %{python_module certbot >= 0.34.0} +BuildRequires: %{python_module certbot >= 1.0.0} BuildRequires: %{python_module mock} +BuildRequires: %{python_module pyOpenSSL} +BuildRequires: %{python_module pyparsing >= 1.5.5} BuildRequires: %{python_module pytest} BuildRequires: %{python_module setuptools} BuildRequires: fdupes BuildRequires: nginx BuildRequires: python-rpm-macros Requires: nginx -Requires: python-acme >= 0.29.0 -Requires: python-certbot >= 0.34.0 +Requires: python-acme >= 1.0.0 +Requires: python-certbot >= 1.0.0 Requires: python-pyOpenSSL Requires: python-pyparsing >= 1.5.5 Requires: python-zope.interface ++ certbot-nginx-0.40.1.tar.gz -> certbot-nginx-1.0.0.tar.gz ++ 16186 lines of diff (skipped)
commit python-certbot-nginx for openSUSE:Factory
Hello community, here is the log from the commit of package python-certbot-nginx for openSUSE:Factory checked in at 2019-11-15 00:30:03 Comparing /work/SRC/openSUSE:Factory/python-certbot-nginx (Old) and /work/SRC/openSUSE:Factory/.python-certbot-nginx.new.26869 (New) Package is "python-certbot-nginx" Fri Nov 15 00:30:03 2019 rev:14 rq:748677 version:0.40.1 Changes: --- /work/SRC/openSUSE:Factory/python-certbot-nginx/python-certbot-nginx.changes 2019-10-31 18:14:37.141970822 +0100 +++ /work/SRC/openSUSE:Factory/.python-certbot-nginx.new.26869/python-certbot-nginx.changes 2019-11-15 00:30:06.955745473 +0100 @@ -1,0 +2,6 @@ +Thu Nov 14 11:59:14 UTC 2019 - Marketa Calabkova + +- update to version 0.40.1 + * Sync with main certbot package. + +--- Old: certbot-nginx-0.39.0.tar.gz New: certbot-nginx-0.40.1.tar.gz Other differences: -- ++ python-certbot-nginx.spec ++ --- /var/tmp/diff_new_pack.UImixv/_old 2019-11-15 00:30:07.371745329 +0100 +++ /var/tmp/diff_new_pack.UImixv/_new 2019-11-15 00:30:07.375745327 +0100 @@ -1,7 +1,7 @@ # # spec file for package python-certbot-nginx # -# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2019 SUSE LLC. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -18,7 +18,7 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-certbot-nginx -Version:0.39.0 +Version:0.40.1 Release:0 Summary:Nginx plugin for Certbot License:Apache-2.0 ++ certbot-nginx-0.39.0.tar.gz -> certbot-nginx-0.40.1.tar.gz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/certbot-nginx-0.39.0/PKG-INFO new/certbot-nginx-0.40.1/PKG-INFO --- old/certbot-nginx-0.39.0/PKG-INFO 2019-10-01 21:48:52.0 +0200 +++ new/certbot-nginx-0.40.1/PKG-INFO 2019-11-06 03:24:59.0 +0100 @@ -1,6 +1,6 @@ Metadata-Version: 2.1 Name: certbot-nginx -Version: 0.39.0 +Version: 0.40.1 Summary: Nginx plugin for Certbot Home-page: https://github.com/letsencrypt/letsencrypt Author: Certbot Project diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/certbot-nginx-0.39.0/certbot_nginx/configurator.py new/certbot-nginx-0.40.1/certbot_nginx/configurator.py --- old/certbot-nginx-0.39.0/certbot_nginx/configurator.py 2019-10-01 21:48:40.0 +0200 +++ new/certbot-nginx-0.40.1/certbot_nginx/configurator.py 2019-11-06 03:24:51.0 +0100 @@ -1107,7 +1107,7 @@ ### def get_chall_pref(self, unused_domain): # pylint: disable=no-self-use """Return list of challenge preferences.""" -return [challenges.HTTP01, challenges.TLSSNI01] +return [challenges.HTTP01] # Entry point in main.py for performing challenges def perform(self, achalls): diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/certbot-nginx-0.39.0/certbot_nginx/http_01.py new/certbot-nginx-0.40.1/certbot_nginx/http_01.py --- old/certbot-nginx-0.39.0/certbot_nginx/http_01.py 2019-10-01 21:48:40.0 +0200 +++ new/certbot-nginx-0.40.1/certbot_nginx/http_01.py 2019-11-06 03:24:51.0 +0100 @@ -29,10 +29,10 @@ :param list indices: Meant to hold indices of challenges in a larger array. NginxHttp01 is capable of solving many challenges at once which causes an indexing issue within NginxConfigurator -who must return all responses in order. Imagine NginxConfigurator -maintaining state about where all of the http-01 Challenges, -TLS-SNI-01 Challenges belong in the response array. This is an -optional utility. +who must return all responses in order. Imagine +NginxConfigurator maintaining state about where all of the +challenges, possibly of different types, belong in the response +array. This is an optional utility. """ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/certbot-nginx-0.39.0/certbot_nginx/tests/configurator_test.py new/certbot-nginx-0.40.1/certbot_nginx/tests/configurator_test.py --- old/certbot-nginx-0.39.0/certbot_nginx/tests/configurator_test.py 2019-10-01 21:48:40.0 +0200 +++ new/certbot-nginx-0.40.1/certbot_nginx/tests/configurator_test.py 2019-11-06 03:24:51.0 +0100 @@ -97,7 +97,7 @@ errors.PluginError,
commit python-certbot-nginx for openSUSE:Factory
Hello community, here is the log from the commit of package python-certbot-nginx for openSUSE:Factory checked in at 2019-10-31 18:14:34 Comparing /work/SRC/openSUSE:Factory/python-certbot-nginx (Old) and /work/SRC/openSUSE:Factory/.python-certbot-nginx.new.2990 (New) Package is "python-certbot-nginx" Thu Oct 31 18:14:34 2019 rev:13 rq:739168 version:0.39.0 Changes: --- /work/SRC/openSUSE:Factory/python-certbot-nginx/python-certbot-nginx.changes 2019-10-02 14:56:38.419169167 +0200 +++ /work/SRC/openSUSE:Factory/.python-certbot-nginx.new.2990/python-certbot-nginx.changes 2019-10-31 18:14:37.141970822 +0100 @@ -1,0 +2,5 @@ +Thu Oct 17 11:22:40 UTC 2019 - Richard Brown + +- Remove obsolete Groups tag (fate#326485) + +--- Other differences: -- ++ python-certbot-nginx.spec ++ --- /var/tmp/diff_new_pack.B2eQW0/_old 2019-10-31 18:14:37.861971576 +0100 +++ /var/tmp/diff_new_pack.B2eQW0/_new 2019-10-31 18:14:37.865971581 +0100 @@ -22,7 +22,6 @@ Release:0 Summary:Nginx plugin for Certbot License:Apache-2.0 -Group: Development/Languages/Python URL:https://github.com/letsencrypt/letsencrypt Source: https://files.pythonhosted.org/packages/source/c/certbot-nginx/certbot-nginx-%{version}.tar.gz BuildRequires: %{python_module certbot >= 0.34.0}
commit python-certbot-nginx for openSUSE:Factory
Hello community, here is the log from the commit of package python-certbot-nginx for openSUSE:Factory checked in at 2019-10-02 14:56:37 Comparing /work/SRC/openSUSE:Factory/python-certbot-nginx (Old) and /work/SRC/openSUSE:Factory/.python-certbot-nginx.new.2352 (New) Package is "python-certbot-nginx" Wed Oct 2 14:56:37 2019 rev:12 rq:734589 version:0.39.0 Changes: --- /work/SRC/openSUSE:Factory/python-certbot-nginx/python-certbot-nginx.changes 2019-09-13 14:59:26.673280099 +0200 +++ /work/SRC/openSUSE:Factory/.python-certbot-nginx.new.2352/python-certbot-nginx.changes 2019-10-02 14:56:38.419169167 +0200 @@ -1,0 +2,6 @@ +Wed Oct 2 10:14:04 UTC 2019 - Marketa Calabkova + +- update to version 0.39.0 + * Support for Python 3.8 was added to Certbot and all of its components. + +--- Old: certbot-nginx-0.38.0.tar.gz New: certbot-nginx-0.39.0.tar.gz Other differences: -- ++ python-certbot-nginx.spec ++ --- /var/tmp/diff_new_pack.FWmpS8/_old 2019-10-02 14:56:38.899167908 +0200 +++ /var/tmp/diff_new_pack.FWmpS8/_new 2019-10-02 14:56:38.899167908 +0200 @@ -18,7 +18,7 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-certbot-nginx -Version:0.38.0 +Version:0.39.0 Release:0 Summary:Nginx plugin for Certbot License:Apache-2.0 ++ certbot-nginx-0.38.0.tar.gz -> certbot-nginx-0.39.0.tar.gz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/certbot-nginx-0.38.0/PKG-INFO new/certbot-nginx-0.39.0/PKG-INFO --- old/certbot-nginx-0.38.0/PKG-INFO 2019-09-03 21:42:49.0 +0200 +++ new/certbot-nginx-0.39.0/PKG-INFO 2019-10-01 21:48:52.0 +0200 @@ -1,6 +1,6 @@ Metadata-Version: 2.1 Name: certbot-nginx -Version: 0.38.0 +Version: 0.39.0 Summary: Nginx plugin for Certbot Home-page: https://github.com/letsencrypt/letsencrypt Author: Certbot Project @@ -21,6 +21,7 @@ Classifier: Programming Language :: Python :: 3.5 Classifier: Programming Language :: Python :: 3.6 Classifier: Programming Language :: Python :: 3.7 +Classifier: Programming Language :: Python :: 3.8 Classifier: Topic :: Internet :: WWW/HTTP Classifier: Topic :: Security Classifier: Topic :: System :: Installation/Setup diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/certbot-nginx-0.38.0/certbot_nginx/configurator.py new/certbot-nginx-0.39.0/certbot_nginx/configurator.py --- old/certbot-nginx-0.38.0/certbot_nginx/configurator.py 2019-09-03 21:42:35.0 +0200 +++ new/certbot-nginx-0.39.0/certbot_nginx/configurator.py 2019-10-01 21:48:40.0 +0200 @@ -1,4 +1,6 @@ """Nginx Configuration""" +# https://github.com/PyCQA/pylint/issues/73 +from distutils.version import LooseVersion # pylint: disable=no-name-in-module,import-error import logging import re import socket @@ -91,8 +93,12 @@ :param tup version: version of Nginx as a tuple (1, 4, 7) (used mostly for unittesting) +:param tup openssl_version: version of OpenSSL linked to Nginx as a tuple (1, 4, 7) +(used mostly for unittesting) + """ version = kwargs.pop("version", None) +openssl_version = kwargs.pop("openssl_version", None) super(NginxConfigurator, self).__init__(*args, **kwargs) # Verify that all directories and files exist with proper permissions @@ -115,6 +121,7 @@ # These will be set in the prepare function self.parser = None self.version = version +self.openssl_version = openssl_version self._enhance_func = {"redirect": self._enable_redirect, "ensure-http-header": self._set_http_header, "staple-ocsp": self._enable_ocsp_stapling} @@ -124,11 +131,33 @@ @property def mod_ssl_conf_src(self): """Full absolute path to SSL configuration file source.""" -config_filename = "options-ssl-nginx.conf" -if self.version < (1, 5, 9): -config_filename = "options-ssl-nginx-old.conf" -elif self.version < (1, 13, 0): -config_filename = "options-ssl-nginx-tls12-only.conf" + +# Why all this complexity? Well, we want to support Mozilla's intermediate +# recommendations. But TLS1.3 is only supported by newer versions of Nginx. +# And as for session tickets, our ideal is to turn them off across the board. +# But! Turning them off at all is only supported with new enough versions of +# Nginx. And older versions of OpenSSL have a bug
commit python-certbot-nginx for openSUSE:Factory
Hello community, here is the log from the commit of package python-certbot-nginx for openSUSE:Factory checked in at 2019-09-13 14:59:25 Comparing /work/SRC/openSUSE:Factory/python-certbot-nginx (Old) and /work/SRC/openSUSE:Factory/.python-certbot-nginx.new.7948 (New) Package is "python-certbot-nginx" Fri Sep 13 14:59:25 2019 rev:11 rq:730174 version:0.38.0 Changes: --- /work/SRC/openSUSE:Factory/python-certbot-nginx/python-certbot-nginx.changes 2019-08-28 16:04:45.510770949 +0200 +++ /work/SRC/openSUSE:Factory/.python-certbot-nginx.new.7948/python-certbot-nginx.changes 2019-09-13 14:59:26.673280099 +0200 @@ -1,0 +2,6 @@ +Wed Sep 11 12:31:27 UTC 2019 - Marketa Calabkova + +- update to version 0.38.0 + * Disable session tickets for Nginx users when appropriate. + +--- Old: certbot-nginx-0.37.2.tar.gz New: certbot-nginx-0.38.0.tar.gz Other differences: -- ++ python-certbot-nginx.spec ++ --- /var/tmp/diff_new_pack.T45RqV/_old 2019-09-13 14:59:27.501280134 +0200 +++ /var/tmp/diff_new_pack.T45RqV/_new 2019-09-13 14:59:27.529280135 +0200 @@ -18,7 +18,7 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-certbot-nginx -Version:0.37.2 +Version:0.38.0 Release:0 Summary:Nginx plugin for Certbot License:Apache-2.0 ++ certbot-nginx-0.37.2.tar.gz -> certbot-nginx-0.38.0.tar.gz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/certbot-nginx-0.37.2/PKG-INFO new/certbot-nginx-0.38.0/PKG-INFO --- old/certbot-nginx-0.37.2/PKG-INFO 2019-08-21 23:48:52.0 +0200 +++ new/certbot-nginx-0.38.0/PKG-INFO 2019-09-03 21:42:49.0 +0200 @@ -1,6 +1,6 @@ Metadata-Version: 2.1 Name: certbot-nginx -Version: 0.37.2 +Version: 0.38.0 Summary: Nginx plugin for Certbot Home-page: https://github.com/letsencrypt/letsencrypt Author: Certbot Project diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/certbot-nginx-0.37.2/certbot_nginx/tests/parser_test.py new/certbot-nginx-0.38.0/certbot_nginx/tests/parser_test.py --- old/certbot-nginx-0.37.2/certbot_nginx/tests/parser_test.py 2019-08-21 23:48:40.0 +0200 +++ new/certbot-nginx-0.38.0/certbot_nginx/tests/parser_test.py 2019-09-03 21:42:35.0 +0200 @@ -30,8 +30,16 @@ self.assertEqual(nparser.root, self.config_path) def test_root_absolute(self): -nparser = parser.NginxParser(os.path.relpath(self.config_path)) -self.assertEqual(nparser.root, self.config_path) +curr_dir = os.getcwd() +try: +# On Windows current directory may be on a different drive than self.tempdir. +# However a relative path between two different drives is invalid. So we move to +# self.tempdir to ensure that we stay on the same drive. +os.chdir(self.temp_dir) +nparser = parser.NginxParser(os.path.relpath(self.config_path)) +self.assertEqual(nparser.root, self.config_path) +finally: +os.chdir(curr_dir) def test_root_no_trailing_slash(self): nparser = parser.NginxParser(self.config_path + os.path.sep) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/certbot-nginx-0.37.2/certbot_nginx/tests/util.py new/certbot-nginx-0.38.0/certbot_nginx/tests/util.py --- old/certbot-nginx-0.37.2/certbot_nginx/tests/util.py2019-08-21 23:48:40.0 +0200 +++ new/certbot-nginx-0.38.0/certbot_nginx/tests/util.py2019-09-03 21:42:35.0 +0200 @@ -3,7 +3,6 @@ import shutil import tempfile import unittest -import warnings import josepy as jose import mock @@ -11,6 +10,7 @@ import zope.component from certbot import configuration +from certbot import util from certbot.compat import os from certbot.plugins import common from certbot.tests import util as test_util @@ -34,20 +34,16 @@ "rsa512_key.pem")) def tearDown(self): -# On Windows we have various files which are not correctly closed at the time of tearDown. -# For know, we log them until a proper file close handling is written. -# Useful for development only, so no warning when we are on a CI process. -def onerror_handler(_, path, excinfo): -"""On error handler""" -if not os.environ.get('APPVEYOR'): # pragma: no cover -message = ('Following error occurred when deleting path {0}' - 'during tearDown process: {1}'.format(path, str(excinfo))) -
commit python-certbot-nginx for openSUSE:Factory
Hello community, here is the log from the commit of package python-certbot-nginx for openSUSE:Factory checked in at 2019-08-28 16:04:43 Comparing /work/SRC/openSUSE:Factory/python-certbot-nginx (Old) and /work/SRC/openSUSE:Factory/.python-certbot-nginx.new.7948 (New) Package is "python-certbot-nginx" Wed Aug 28 16:04:43 2019 rev:10 rq:726152 version:0.37.2 Changes: --- /work/SRC/openSUSE:Factory/python-certbot-nginx/python-certbot-nginx.changes 2019-07-29 17:28:11.994262042 +0200 +++ /work/SRC/openSUSE:Factory/.python-certbot-nginx.new.7948/python-certbot-nginx.changes 2019-08-28 16:04:45.510770949 +0200 @@ -1,0 +2,9 @@ +Mon Aug 26 10:43:03 UTC 2019 - Marketa Calabkova + +- update to version 0.37.2 + * Follow updated Mozilla recommendations for Nginx ssl_protocols, +ssl_ciphers, and ssl_prefer_server_ciphers + * Stop disabling TLS session tickets in Nginx as it caused TLS +failures on some systems. + +--- Old: certbot-nginx-0.36.0.tar.gz New: certbot-nginx-0.37.2.tar.gz Other differences: -- ++ python-certbot-nginx.spec ++ --- /var/tmp/diff_new_pack.TKzoEi/_old 2019-08-28 16:04:46.002770875 +0200 +++ /var/tmp/diff_new_pack.TKzoEi/_new 2019-08-28 16:04:46.002770875 +0200 @@ -18,7 +18,7 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-certbot-nginx -Version:0.36.0 +Version:0.37.2 Release:0 Summary:Nginx plugin for Certbot License:Apache-2.0 ++ certbot-nginx-0.36.0.tar.gz -> certbot-nginx-0.37.2.tar.gz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/certbot-nginx-0.36.0/MANIFEST.in new/certbot-nginx-0.37.2/MANIFEST.in --- old/certbot-nginx-0.36.0/MANIFEST.in2019-07-11 21:12:24.0 +0200 +++ new/certbot-nginx-0.37.2/MANIFEST.in2019-08-21 23:48:40.0 +0200 @@ -2,5 +2,4 @@ include README.rst recursive-include docs * recursive-include certbot_nginx/tests/testdata * -include certbot_nginx/options-ssl-nginx.conf -include certbot_nginx/options-ssl-nginx-old.conf +recursive-include certbot_nginx/tls_configs *.conf diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/certbot-nginx-0.36.0/PKG-INFO new/certbot-nginx-0.37.2/PKG-INFO --- old/certbot-nginx-0.36.0/PKG-INFO 2019-07-11 21:12:35.0 +0200 +++ new/certbot-nginx-0.37.2/PKG-INFO 2019-08-21 23:48:52.0 +0200 @@ -1,6 +1,6 @@ Metadata-Version: 2.1 Name: certbot-nginx -Version: 0.36.0 +Version: 0.37.2 Summary: Nginx plugin for Certbot Home-page: https://github.com/letsencrypt/letsencrypt Author: Certbot Project diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/certbot-nginx-0.36.0/certbot_nginx/configurator.py new/certbot-nginx-0.37.2/certbot_nginx/configurator.py --- old/certbot-nginx-0.36.0/certbot_nginx/configurator.py 2019-07-11 21:12:24.0 +0200 +++ new/certbot-nginx-0.37.2/certbot_nginx/configurator.py 2019-08-21 23:48:40.0 +0200 @@ -20,7 +20,6 @@ from certbot import errors from certbot import interfaces from certbot import util -from certbot.compat import misc from certbot.compat import os from certbot.plugins import common @@ -128,7 +127,10 @@ config_filename = "options-ssl-nginx.conf" if self.version < (1, 5, 9): config_filename = "options-ssl-nginx-old.conf" -return pkg_resources.resource_filename("certbot_nginx", config_filename) +elif self.version < (1, 13, 0): +config_filename = "options-ssl-nginx-tls12-only.conf" +return pkg_resources.resource_filename( +"certbot_nginx", os.path.join("tls_configs", config_filename)) @property def mod_ssl_conf(self): @@ -903,13 +905,9 @@ have permissions of root. """ -uid = misc.os_geteuid() -util.make_or_verify_dir( -self.config.work_dir, core_constants.CONFIG_DIRS_MODE, uid) -util.make_or_verify_dir( -self.config.backup_dir, core_constants.CONFIG_DIRS_MODE, uid) -util.make_or_verify_dir( -self.config.config_dir, core_constants.CONFIG_DIRS_MODE, uid) +util.make_or_verify_dir(self.config.work_dir, core_constants.CONFIG_DIRS_MODE) +util.make_or_verify_dir(self.config.backup_dir, core_constants.CONFIG_DIRS_MODE) +util.make_or_verify_dir(self.config.config_dir, core_constants.CONFIG_DIRS_MODE) def get_version(self): """Return version of Nginx Server. diff -urN '--exclude=CVS' '--exclude=.cvsignore'
commit python-certbot-nginx for openSUSE:Factory
Hello community, here is the log from the commit of package python-certbot-nginx for openSUSE:Factory checked in at 2019-07-29 17:28:10 Comparing /work/SRC/openSUSE:Factory/python-certbot-nginx (Old) and /work/SRC/openSUSE:Factory/.python-certbot-nginx.new.4126 (New) Package is "python-certbot-nginx" Mon Jul 29 17:28:10 2019 rev:9 rq:718495 version:0.36.0 Changes: --- /work/SRC/openSUSE:Factory/python-certbot-nginx/python-certbot-nginx.changes 2019-07-18 15:22:17.764123974 +0200 +++ /work/SRC/openSUSE:Factory/.python-certbot-nginx.new.4126/python-certbot-nginx.changes 2019-07-29 17:28:11.994262042 +0200 @@ -4 +4 @@ -- update to version 0.36.0 +- update to version 0.36.0 (bsc#1141928) Other differences: --
commit python-certbot-nginx for openSUSE:Factory
Hello community, here is the log from the commit of package python-certbot-nginx for openSUSE:Factory checked in at 2019-06-18 15:00:17 Comparing /work/SRC/openSUSE:Factory/python-certbot-nginx (Old) and /work/SRC/openSUSE:Factory/.python-certbot-nginx.new.4811 (New) Package is "python-certbot-nginx" Tue Jun 18 15:00:17 2019 rev:7 rq:710540 version:0.35.1 Changes: --- /work/SRC/openSUSE:Factory/python-certbot-nginx/python-certbot-nginx.changes 2019-06-03 18:50:50.876527332 +0200 +++ /work/SRC/openSUSE:Factory/.python-certbot-nginx.new.4811/python-certbot-nginx.changes 2019-06-18 15:00:20.741269474 +0200 @@ -1,0 +2,6 @@ +Tue Jun 18 10:28:18 UTC 2019 - Marketa Calabkova + +- update to version 0.35.1 + * sync with main certbot package + +--- Old: certbot-nginx-0.34.2.tar.gz New: certbot-nginx-0.35.1.tar.gz Other differences: -- ++ python-certbot-nginx.spec ++ --- /var/tmp/diff_new_pack.VE6Uum/_old 2019-06-18 15:00:21.377269223 +0200 +++ /var/tmp/diff_new_pack.VE6Uum/_new 2019-06-18 15:00:21.381269221 +0200 @@ -18,7 +18,7 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-certbot-nginx -Version:0.34.2 +Version:0.35.1 Release:0 Summary:Nginx plugin for Certbot License:Apache-2.0 ++ certbot-nginx-0.34.2.tar.gz -> certbot-nginx-0.35.1.tar.gz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/certbot-nginx-0.34.2/PKG-INFO new/certbot-nginx-0.35.1/PKG-INFO --- old/certbot-nginx-0.34.2/PKG-INFO 2019-05-07 21:17:43.0 +0200 +++ new/certbot-nginx-0.35.1/PKG-INFO 2019-06-11 00:02:21.0 +0200 @@ -1,6 +1,6 @@ Metadata-Version: 2.1 Name: certbot-nginx -Version: 0.34.2 +Version: 0.35.1 Summary: Nginx plugin for Certbot Home-page: https://github.com/letsencrypt/letsencrypt Author: Certbot Project diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/certbot-nginx-0.34.2/certbot_nginx.egg-info/PKG-INFO new/certbot-nginx-0.35.1/certbot_nginx.egg-info/PKG-INFO --- old/certbot-nginx-0.34.2/certbot_nginx.egg-info/PKG-INFO2019-05-07 21:17:43.0 +0200 +++ new/certbot-nginx-0.35.1/certbot_nginx.egg-info/PKG-INFO2019-06-11 00:02:21.0 +0200 @@ -1,6 +1,6 @@ Metadata-Version: 2.1 Name: certbot-nginx -Version: 0.34.2 +Version: 0.35.1 Summary: Nginx plugin for Certbot Home-page: https://github.com/letsencrypt/letsencrypt Author: Certbot Project diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/certbot-nginx-0.34.2/setup.py new/certbot-nginx-0.35.1/setup.py --- old/certbot-nginx-0.34.2/setup.py 2019-05-07 21:17:33.0 +0200 +++ new/certbot-nginx-0.35.1/setup.py 2019-06-11 00:02:10.0 +0200 @@ -4,7 +4,7 @@ import sys -version = '0.34.2' +version = '0.35.1' # Remember to update local-oldest-requirements.txt when changing the minimum # acme/certbot version.
commit python-certbot-nginx for openSUSE:Factory
Hello community, here is the log from the commit of package python-certbot-nginx for openSUSE:Factory checked in at 2019-06-03 18:50:49 Comparing /work/SRC/openSUSE:Factory/python-certbot-nginx (Old) and /work/SRC/openSUSE:Factory/.python-certbot-nginx.new.5148 (New) Package is "python-certbot-nginx" Mon Jun 3 18:50:49 2019 rev:6 rq:705634 version:0.34.2 Changes: --- /work/SRC/openSUSE:Factory/python-certbot-nginx/python-certbot-nginx.changes 2019-03-19 10:01:03.279912118 +0100 +++ /work/SRC/openSUSE:Factory/.python-certbot-nginx.new.5148/python-certbot-nginx.changes 2019-06-03 18:50:50.876527332 +0200 @@ -1,0 +2,6 @@ +Sat May 18 23:11:25 UTC 2019 - Dirk Mueller + +- update to 0.34.0 + * update for main certbot package + +--- Old: certbot-nginx-0.32.0.tar.gz New: certbot-nginx-0.34.2.tar.gz Other differences: -- ++ python-certbot-nginx.spec ++ --- /var/tmp/diff_new_pack.AazCNU/_old 2019-06-03 18:50:52.348526827 +0200 +++ /var/tmp/diff_new_pack.AazCNU/_new 2019-06-03 18:50:52.352526825 +0200 @@ -18,14 +18,14 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-certbot-nginx -Version:0.32.0 +Version:0.34.2 Release:0 Summary:Nginx plugin for Certbot License:Apache-2.0 Group: Development/Languages/Python URL:https://github.com/letsencrypt/letsencrypt Source: https://files.pythonhosted.org/packages/source/c/certbot-nginx/certbot-nginx-%{version}.tar.gz -BuildRequires: %{python_module certbot >= 0.22.0} +BuildRequires: %{python_module certbot >= 0.34.0} BuildRequires: %{python_module mock} BuildRequires: %{python_module pytest} BuildRequires: %{python_module setuptools} @@ -33,8 +33,8 @@ BuildRequires: nginx BuildRequires: python-rpm-macros Requires: nginx -Requires: python-acme >= 0.26.0 -Requires: python-certbot >= 0.22.0 +Requires: python-acme >= 0.29.0 +Requires: python-certbot >= 0.34.0 Requires: python-pyOpenSSL Requires: python-pyparsing >= 1.5.5 Requires: python-zope.interface ++ certbot-nginx-0.32.0.tar.gz -> certbot-nginx-0.34.2.tar.gz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/certbot-nginx-0.32.0/PKG-INFO new/certbot-nginx-0.34.2/PKG-INFO --- old/certbot-nginx-0.32.0/PKG-INFO 2019-03-06 21:18:24.0 +0100 +++ new/certbot-nginx-0.34.2/PKG-INFO 2019-05-07 21:17:43.0 +0200 @@ -1,6 +1,6 @@ Metadata-Version: 2.1 Name: certbot-nginx -Version: 0.32.0 +Version: 0.34.2 Summary: Nginx plugin for Certbot Home-page: https://github.com/letsencrypt/letsencrypt Author: Certbot Project diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/certbot-nginx-0.32.0/certbot_nginx/configurator.py new/certbot-nginx-0.34.2/certbot_nginx/configurator.py --- old/certbot-nginx-0.32.0/certbot_nginx/configurator.py 2019-03-06 21:18:08.0 +0100 +++ new/certbot-nginx-0.34.2/certbot_nginx/configurator.py 2019-05-07 21:17:32.0 +0200 @@ -1,6 +1,5 @@ """Nginx Configuration""" import logging -import os import re import socket import subprocess @@ -12,25 +11,23 @@ from acme import challenges from acme import crypto_util as acme_crypto_util +from acme.magic_typing import List, Dict, Set # pylint: disable=unused-import, no-name-in-module -from certbot import compat from certbot import constants as core_constants from certbot import crypto_util from certbot import errors from certbot import interfaces from certbot import util - +from certbot.compat import misc +from certbot.compat import os from certbot.plugins import common from certbot_nginx import constants from certbot_nginx import display_ops +from certbot_nginx import http_01 from certbot_nginx import nginxparser +from certbot_nginx import obj # pylint: disable=unused-import from certbot_nginx import parser -from certbot_nginx import tls_sni_01 -from certbot_nginx import http_01 -from certbot_nginx import obj # pylint: disable=unused-import -from acme.magic_typing import List, Dict, Set # pylint: disable=unused-import, no-name-in-module - NAME_RANK = 0 START_WILDCARD_RANK = 1 @@ -149,7 +146,6 @@ # Make sure configuration is valid self.config_test() - self.parser = parser.NginxParser(self.conf('server-root')) install_ssl_options_conf(self.mod_ssl_conf, self.updated_mod_ssl_conf_digest) @@ -170,7 +166,6 @@ # Entry point in main.py for installing cert def deploy_cert(self, domain, cert_path, key_path,
commit python-certbot-nginx for openSUSE:Factory
Hello community, here is the log from the commit of package python-certbot-nginx for openSUSE:Factory checked in at 2019-03-19 10:00:55 Comparing /work/SRC/openSUSE:Factory/python-certbot-nginx (Old) and /work/SRC/openSUSE:Factory/.python-certbot-nginx.new.28833 (New) Package is "python-certbot-nginx" Tue Mar 19 10:00:55 2019 rev:5 rq:686084 version:0.32.0 Changes: --- /work/SRC/openSUSE:Factory/python-certbot-nginx/python-certbot-nginx.changes 2019-02-11 21:27:24.859014923 +0100 +++ /work/SRC/openSUSE:Factory/.python-certbot-nginx.new.28833/python-certbot-nginx.changes 2019-03-19 10:01:03.279912118 +0100 @@ -1,0 +2,6 @@ +Mon Mar 18 12:06:47 UTC 2019 - Marketa Calabkova + +- update to version 0.32.0 + * Tests execution now relies on pytest. + +--- Old: certbot-nginx-0.31.0.tar.gz New: certbot-nginx-0.32.0.tar.gz Other differences: -- ++ python-certbot-nginx.spec ++ --- /var/tmp/diff_new_pack.cXMkws/_old 2019-03-19 10:01:03.791911584 +0100 +++ /var/tmp/diff_new_pack.cXMkws/_new 2019-03-19 10:01:03.823911551 +0100 @@ -18,7 +18,7 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-certbot-nginx -Version:0.31.0 +Version:0.32.0 Release:0 Summary:Nginx plugin for Certbot License:Apache-2.0 @@ -27,6 +27,7 @@ Source: https://files.pythonhosted.org/packages/source/c/certbot-nginx/certbot-nginx-%{version}.tar.gz BuildRequires: %{python_module certbot >= 0.22.0} BuildRequires: %{python_module mock} +BuildRequires: %{python_module pytest} BuildRequires: %{python_module setuptools} BuildRequires: fdupes BuildRequires: nginx @@ -54,7 +55,7 @@ %python_expand %fdupes %{buildroot}%{$python_sitelib} %check -%python_exec setup.py test +%pytest %files %{python_files} %doc README.rst ++ certbot-nginx-0.31.0.tar.gz -> certbot-nginx-0.32.0.tar.gz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/certbot-nginx-0.31.0/PKG-INFO new/certbot-nginx-0.32.0/PKG-INFO --- old/certbot-nginx-0.31.0/PKG-INFO 2019-02-07 22:20:46.0 +0100 +++ new/certbot-nginx-0.32.0/PKG-INFO 2019-03-06 21:18:24.0 +0100 @@ -1,6 +1,6 @@ Metadata-Version: 2.1 Name: certbot-nginx -Version: 0.31.0 +Version: 0.32.0 Summary: Nginx plugin for Certbot Home-page: https://github.com/letsencrypt/letsencrypt Author: Certbot Project diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/certbot-nginx-0.31.0/certbot_nginx/configurator.py new/certbot-nginx-0.32.0/certbot_nginx/configurator.py --- old/certbot-nginx-0.31.0/certbot_nginx/configurator.py 2019-02-07 22:20:29.0 +0100 +++ new/certbot-nginx-0.32.0/certbot_nginx/configurator.py 2019-03-06 21:18:08.0 +0100 @@ -13,6 +13,7 @@ from acme import challenges from acme import crypto_util as acme_crypto_util +from certbot import compat from certbot import constants as core_constants from certbot import crypto_util from certbot import errors @@ -164,9 +165,7 @@ util.lock_dir_until_exit(self.conf('server-root')) except (OSError, errors.LockError): logger.debug('Encountered error:', exc_info=True) -raise errors.PluginError( -'Unable to lock %s', self.conf('server-root')) - +raise errors.PluginError('Unable to lock {0}'.format(self.conf('server-root'))) # Entry point in main.py for installing cert def deploy_cert(self, domain, cert_path, key_path, @@ -899,7 +898,7 @@ have permissions of root. """ -uid = os.geteuid() +uid = compat.os_geteuid() util.make_or_verify_dir( self.config.work_dir, core_constants.CONFIG_DIRS_MODE, uid) util.make_or_verify_dir( diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/certbot-nginx-0.31.0/certbot_nginx/parser.py new/certbot-nginx-0.32.0/certbot_nginx/parser.py --- old/certbot-nginx-0.31.0/certbot_nginx/parser.py2019-02-07 22:20:29.0 +0100 +++ new/certbot-nginx-0.32.0/certbot_nginx/parser.py2019-03-06 21:18:08.0 +0100 @@ -81,9 +81,9 @@ """ if not os.path.isabs(path): -return os.path.join(self.root, path) +return os.path.normpath(os.path.join(self.root, path)) else: -return path +return os.path.normpath(path) def _build_addr_to_ssl(self): """Builds a map from address to whether it listens on ssl in any server block diff -urN '--exclude=CVS'
commit python-certbot-nginx for openSUSE:Factory
Hello community, here is the log from the commit of package python-certbot-nginx for openSUSE:Factory checked in at 2019-02-11 21:27:24 Comparing /work/SRC/openSUSE:Factory/python-certbot-nginx (Old) and /work/SRC/openSUSE:Factory/.python-certbot-nginx.new.28833 (New) Package is "python-certbot-nginx" Mon Feb 11 21:27:24 2019 rev:4 rq:673128 version:0.31.0 Changes: --- /work/SRC/openSUSE:Factory/python-certbot-nginx/python-certbot-nginx.changes 2019-02-02 21:49:13.591982000 +0100 +++ /work/SRC/openSUSE:Factory/.python-certbot-nginx.new.28833/python-certbot-nginx.changes 2019-02-11 21:27:24.859014923 +0100 @@ -1,0 +2,6 @@ +Fri Feb 8 11:11:59 UTC 2019 - Marketa Calabkova + +- update to version 0.31.0 + * sync with main certbot package + +--- Old: certbot-nginx-0.30.2.tar.gz New: certbot-nginx-0.31.0.tar.gz Other differences: -- ++ python-certbot-nginx.spec ++ --- /var/tmp/diff_new_pack.5RUeVz/_old 2019-02-11 21:27:25.487014584 +0100 +++ /var/tmp/diff_new_pack.5RUeVz/_new 2019-02-11 21:27:25.491014581 +0100 @@ -18,7 +18,7 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-certbot-nginx -Version:0.30.2 +Version:0.31.0 Release:0 Summary:Nginx plugin for Certbot License:Apache-2.0 ++ certbot-nginx-0.30.2.tar.gz -> certbot-nginx-0.31.0.tar.gz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/certbot-nginx-0.30.2/PKG-INFO new/certbot-nginx-0.31.0/PKG-INFO --- old/certbot-nginx-0.30.2/PKG-INFO 2019-01-25 21:16:00.0 +0100 +++ new/certbot-nginx-0.31.0/PKG-INFO 2019-02-07 22:20:46.0 +0100 @@ -1,6 +1,6 @@ Metadata-Version: 2.1 Name: certbot-nginx -Version: 0.30.2 +Version: 0.31.0 Summary: Nginx plugin for Certbot Home-page: https://github.com/letsencrypt/letsencrypt Author: Certbot Project diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/certbot-nginx-0.30.2/certbot_nginx.egg-info/PKG-INFO new/certbot-nginx-0.31.0/certbot_nginx.egg-info/PKG-INFO --- old/certbot-nginx-0.30.2/certbot_nginx.egg-info/PKG-INFO2019-01-25 21:16:00.0 +0100 +++ new/certbot-nginx-0.31.0/certbot_nginx.egg-info/PKG-INFO2019-02-07 22:20:46.0 +0100 @@ -1,6 +1,6 @@ Metadata-Version: 2.1 Name: certbot-nginx -Version: 0.30.2 +Version: 0.31.0 Summary: Nginx plugin for Certbot Home-page: https://github.com/letsencrypt/letsencrypt Author: Certbot Project diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/certbot-nginx-0.30.2/setup.py new/certbot-nginx-0.31.0/setup.py --- old/certbot-nginx-0.30.2/setup.py 2019-01-25 21:15:42.0 +0100 +++ new/certbot-nginx-0.31.0/setup.py 2019-02-07 22:20:31.0 +0100 @@ -2,7 +2,7 @@ from setuptools import find_packages -version = '0.30.2' +version = '0.31.0' # Remember to update local-oldest-requirements.txt when changing the minimum # acme/certbot version.
commit python-certbot-nginx for openSUSE:Factory
Hello community, here is the log from the commit of package python-certbot-nginx for openSUSE:Factory checked in at 2019-02-02 21:49:12 Comparing /work/SRC/openSUSE:Factory/python-certbot-nginx (Old) and /work/SRC/openSUSE:Factory/.python-certbot-nginx.new.28833 (New) Package is "python-certbot-nginx" Sat Feb 2 21:49:12 2019 rev:3 rq:669820 version:0.30.2 Changes: --- /work/SRC/openSUSE:Factory/python-certbot-nginx/python-certbot-nginx.changes 2018-11-18 23:33:04.233417903 +0100 +++ /work/SRC/openSUSE:Factory/.python-certbot-nginx.new.28833/python-certbot-nginx.changes 2019-02-02 21:49:13.591982000 +0100 @@ -1,0 +2,6 @@ +Tue Jan 29 12:05:46 UTC 2019 - Tomáš Chvátal + +- Update to version 0.30.2: + * lockstep update with the main package + +--- Old: certbot-nginx-0.28.0.tar.gz New: certbot-nginx-0.30.2.tar.gz Other differences: -- ++ python-certbot-nginx.spec ++ --- /var/tmp/diff_new_pack.wPjnfp/_old 2019-02-02 21:49:14.247981432 +0100 +++ /var/tmp/diff_new_pack.wPjnfp/_new 2019-02-02 21:49:14.247981432 +0100 @@ -1,7 +1,7 @@ # # spec file for package python-certbot-nginx # -# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -18,7 +18,7 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-certbot-nginx -Version:0.28.0 +Version:0.30.2 Release:0 Summary:Nginx plugin for Certbot License:Apache-2.0 ++ certbot-nginx-0.28.0.tar.gz -> certbot-nginx-0.30.2.tar.gz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/certbot-nginx-0.28.0/PKG-INFO new/certbot-nginx-0.30.2/PKG-INFO --- old/certbot-nginx-0.28.0/PKG-INFO 2018-11-07 22:15:10.0 +0100 +++ new/certbot-nginx-0.30.2/PKG-INFO 2019-01-25 21:16:00.0 +0100 @@ -1,6 +1,6 @@ Metadata-Version: 2.1 Name: certbot-nginx -Version: 0.28.0 +Version: 0.30.2 Summary: Nginx plugin for Certbot Home-page: https://github.com/letsencrypt/letsencrypt Author: Certbot Project diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/certbot-nginx-0.28.0/certbot_nginx/parser.py new/certbot-nginx-0.30.2/certbot_nginx/parser.py --- old/certbot-nginx-0.28.0/certbot_nginx/parser.py2018-11-07 22:14:56.0 +0100 +++ new/certbot-nginx-0.30.2/certbot_nginx/parser.py2019-01-25 21:15:41.0 +0100 @@ -415,7 +415,7 @@ with open(ssl_options) as _file: return nginxparser.load(_file) except IOError: -logger.warn("Missing NGINX TLS options file: %s", ssl_options) +logger.warning("Missing NGINX TLS options file: %s", ssl_options) except pyparsing.ParseBaseException as err: logger.debug("Could not parse file: %s due to %s", ssl_options, err) return [] diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/certbot-nginx-0.28.0/certbot_nginx/tests/configurator_test.py new/certbot-nginx-0.30.2/certbot_nginx/tests/configurator_test.py --- old/certbot-nginx-0.28.0/certbot_nginx/tests/configurator_test.py 2018-11-07 22:14:56.0 +0100 +++ new/certbot-nginx-0.30.2/certbot_nginx/tests/configurator_test.py 2019-01-25 21:15:41.0 +0100 @@ -194,9 +194,9 @@ def test_ipv6only(self): # ipv6_info: (ipv6_active, ipv6only_present) -self.assertEquals((True, False), self.config.ipv6_info("80")) +self.assertEqual((True, False), self.config.ipv6_info("80")) # Port 443 has ipv6only=on because of ipv6ssl.com vhost -self.assertEquals((True, True), self.config.ipv6_info("443")) +self.assertEqual((True, True), self.config.ipv6_info("443")) def test_ipv6only_detection(self): self.config.version = (1, 3, 1) @@ -807,7 +807,7 @@ self.assertTrue(vhost in mock_select_vhs.call_args[0][0]) # And the actual returned values -self.assertEquals(len(vhs), 1) +self.assertEqual(len(vhs), 1) self.assertEqual(vhs[0], vhost) def test_choose_vhosts_wildcard_redirect(self): @@ -823,7 +823,7 @@ self.assertTrue(vhost in mock_select_vhs.call_args[0][0]) # And the actual returned values -self.assertEquals(len(vhs), 1) +self.assertEqual(len(vhs), 1) self.assertEqual(vhs[0], vhost) def
commit python-certbot-nginx for openSUSE:Factory
Hello community, here is the log from the commit of package python-certbot-nginx for openSUSE:Factory checked in at 2018-11-18 23:32:55 Comparing /work/SRC/openSUSE:Factory/python-certbot-nginx (Old) and /work/SRC/openSUSE:Factory/.python-certbot-nginx.new (New) Package is "python-certbot-nginx" Sun Nov 18 23:32:55 2018 rev:2 rq:649942 version:0.28.0 Changes: --- /work/SRC/openSUSE:Factory/python-certbot-nginx/python-certbot-nginx.changes 2018-09-26 16:11:20.971493316 +0200 +++ /work/SRC/openSUSE:Factory/.python-certbot-nginx.new/python-certbot-nginx.changes 2018-11-18 23:33:04.233417903 +0100 @@ -1,0 +2,10 @@ +Fri Nov 16 17:53:06 UTC 2018 - Marketa Calabkova + +- update to version 0.28.0 + * Stop preferring TLS-SNI. + * Match Nginx parser update in allowing variable names to start +with ${. + * Fix ranking of vhosts in Nginx so that all port-matching +vhosts come first. + +--- Old: certbot-nginx-0.27.1.tar.gz New: certbot-nginx-0.28.0.tar.gz Other differences: -- ++ python-certbot-nginx.spec ++ --- /var/tmp/diff_new_pack.QXc8jA/_old 2018-11-18 23:33:04.861417149 +0100 +++ /var/tmp/diff_new_pack.QXc8jA/_new 2018-11-18 23:33:04.865417144 +0100 @@ -18,7 +18,7 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-certbot-nginx -Version:0.27.1 +Version:0.28.0 Release:0 Summary:Nginx plugin for Certbot License:Apache-2.0 ++ certbot-nginx-0.27.1.tar.gz -> certbot-nginx-0.28.0.tar.gz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/certbot-nginx-0.27.1/PKG-INFO new/certbot-nginx-0.28.0/PKG-INFO --- old/certbot-nginx-0.27.1/PKG-INFO 2018-09-07 01:13:42.0 +0200 +++ new/certbot-nginx-0.28.0/PKG-INFO 2018-11-07 22:15:10.0 +0100 @@ -1,6 +1,6 @@ Metadata-Version: 2.1 Name: certbot-nginx -Version: 0.27.1 +Version: 0.28.0 Summary: Nginx plugin for Certbot Home-page: https://github.com/letsencrypt/letsencrypt Author: Certbot Project diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/certbot-nginx-0.27.1/certbot_nginx/configurator.py new/certbot-nginx-0.28.0/certbot_nginx/configurator.py --- old/certbot-nginx-0.27.1/certbot_nginx/configurator.py 2018-09-07 01:13:29.0 +0200 +++ new/certbot-nginx-0.28.0/certbot_nginx/configurator.py 2018-11-07 22:14:56.0 +0100 @@ -8,7 +8,6 @@ import time import OpenSSL -import six import zope.interface from acme import challenges @@ -32,6 +31,12 @@ from acme.magic_typing import List, Dict, Set # pylint: disable=unused-import, no-name-in-module +NAME_RANK = 0 +START_WILDCARD_RANK = 1 +END_WILDCARD_RANK = 2 +REGEX_RANK = 3 +NO_SSL_MODIFIER = 4 + logger = logging.getLogger(__name__) @@ -136,7 +141,9 @@ """ # Verify Nginx is installed if not util.exe_exists(self.conf('ctl')): -raise errors.NoInstallationError +raise errors.NoInstallationError( +"Could not find a usable 'nginx' binary. Ensure nginx exists, " +"the binary is executable, and your PATH is set correctly.") # Make sure configuration is valid self.config_test() @@ -403,7 +410,8 @@ """ if not matches: return None -elif matches[0]['rank'] in six.moves.range(2, 6): +elif matches[0]['rank'] in [START_WILDCARD_RANK, END_WILDCARD_RANK, +START_WILDCARD_RANK + NO_SSL_MODIFIER, END_WILDCARD_RANK + NO_SSL_MODIFIER]: # Wildcard match - need to find the longest one rank = matches[0]['rank'] wildcards = [x for x in matches if x['rank'] == rank] @@ -412,10 +420,9 @@ # Exact or regex match return matches[0]['vhost'] - -def _rank_matches_by_name_and_ssl(self, vhost_list, target_name): +def _rank_matches_by_name(self, vhost_list, target_name): """Returns a ranked list of vhosts from vhost_list that match target_name. -The ranking gives preference to SSL vhosts. +This method should always be followed by a call to _select_best_name_match. :param list vhost_list: list of vhosts to filter and rank :param str target_name: The name to match @@ -435,21 +442,37 @@ if name_type == 'exact': matches.append({'vhost': vhost, 'name': name, -'rank': 0 if vhost.ssl else 1}) +'rank': NAME_RANK}) elif name_type ==
commit python-certbot-nginx for openSUSE:Factory
Hello community, here is the log from the commit of package python-certbot-nginx for openSUSE:Factory checked in at 2018-09-26 16:11:17 Comparing /work/SRC/openSUSE:Factory/python-certbot-nginx (Old) and /work/SRC/openSUSE:Factory/.python-certbot-nginx.new (New) Package is "python-certbot-nginx" Wed Sep 26 16:11:17 2018 rev:1 rq:636321 version:0.27.1 Changes: New Changes file: --- /dev/null 2018-09-06 11:34:12.900627678 +0200 +++ /work/SRC/openSUSE:Factory/.python-certbot-nginx.new/python-certbot-nginx.changes 2018-09-26 16:11:20.971493316 +0200 @@ -0,0 +1,15 @@ +--- +Fri Sep 14 09:00:23 UTC 2018 - Marketa Calabkova + +- update to version 0.27.1 + * sync with main certbot package + +--- +Mon Sep 3 12:35:14 UTC 2018 - Marketa Calabkova + +- Launch tests and update runtime requirements + +--- +Wed Aug 29 10:47:07 UTC 2018 - mcalabk...@suse.com + +- Split the module from the main certboot package New: certbot-nginx-0.27.1.tar.gz python-certbot-nginx.changes python-certbot-nginx.spec Other differences: -- ++ python-certbot-nginx.spec ++ # # spec file for package python-certbot-nginx # # Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via https://bugs.opensuse.org/ # %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-certbot-nginx Version:0.27.1 Release:0 Summary:Nginx plugin for Certbot License:Apache-2.0 Group: Development/Languages/Python URL:https://github.com/letsencrypt/letsencrypt Source: https://files.pythonhosted.org/packages/source/c/certbot-nginx/certbot-nginx-%{version}.tar.gz BuildRequires: %{python_module certbot >= 0.22.0} BuildRequires: %{python_module mock} BuildRequires: %{python_module setuptools} BuildRequires: fdupes BuildRequires: nginx BuildRequires: python-rpm-macros Requires: nginx Requires: python-acme >= 0.26.0 Requires: python-certbot >= 0.22.0 Requires: python-pyOpenSSL Requires: python-pyparsing >= 1.5.5 Requires: python-zope.interface BuildArch: noarch %python_subpackages %description The Nginx plugin for Certbot. %prep %setup -q -n certbot-nginx-%{version} %build %python_build %install %python_install %python_expand %fdupes %{buildroot}%{$python_sitelib} %check %python_exec setup.py test %files %{python_files} %doc README.rst %license LICENSE.txt %{python_sitelib}/* %changelog