* Support for Python 3.12 was added.
* Updates `joinpath` syntax to only use one addition per call,
because the multiple inputs version was causing mypy errors
on Python 3.10.
* Makes the `reconfigure` verb actually use the staging server
for the dry run to check the new configuration.
* The default key type for new certificates is now ECDSA secp256r1 (P-256). It was
* Certbot will now error if a certificate has --reuse-key set and a conflicting --key-type,
--key-size or --elliptic-curve is requested on the CLI. Use --new-key to change the key
* The zope based interfaces in certbot.interfaces have been removed in favor of the abc
* Removed deprecated functions certbot.tests.util.patch_get_utility*. Plugins should now patch
certbot.display.util themselves in their tests or use certbot.tests.util.patch_display_util
* Fixes a bug where the certbot working directory has unusably restrictive permissions on
* Certbot will no longer respect very long challenge polling intervals, which may be suggested
by some ACME servers. Certbot will continue to wait up to 90 seconds by default, or up to
* Allow a user to modify the configuration of a certificate without renewing it using the new
* Certbot will no longer save previous CSRs and certificate private keys to /etc/letsencrypt/csr
* Certbot will now only keep the current and 5 previous certificates in the /etc/letsencrypt/archive
directory for each certificate lineage. Any prior certificates will be automatically deleted upon
* We deprecated support for the update_symlinks command. Support will be removed in a following
* Optionally sign the SOA query for dns-rfc2136, to help resolve problems with split-view DNS setups
* Certbot will no longer try to invoke plugins which do not subclass from the proper certbot.interfaces.{Installer,Authenticator}
* If Certbot exits before setting up its usual log files, the temporary
directory created to save logging information will begin with the name
certbot-log- rather than a generic name. This should not be considered a
* Fixed an incompatibility in the certbot-dns-cloudflare plugin and the
Cloudflare library which was introduced in the Cloudflare library version
2.10.1. The library would raise an error if a token was specified in the
Certbot --dns-cloudflare-credentials file as well as the cloudflare.cfg
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:certbot/python-certbot?expand=0&rev=115
104 lines
3.4 KiB
RPMSpec
104 lines
3.4 KiB
RPMSpec
#
|
|
# spec file for package python-certbot
|
|
#
|
|
# Copyright (c) 2024 SUSE LLC
|
|
#
|
|
# 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/
|
|
#
|
|
|
|
|
|
%{?sle15_python_module_pythons}
|
|
Name: python-certbot
|
|
Version: 2.9.0
|
|
Release: 0
|
|
Summary: ACME client
|
|
License: Apache-2.0
|
|
URL: https://github.com/certbot/certbot
|
|
Source0: https://files.pythonhosted.org/packages/source/c/certbot/certbot-%{version}.tar.gz
|
|
BuildRequires: %{python_module acme >= %{version}}
|
|
BuildRequires: %{python_module configargparse >= 1.5.3}
|
|
BuildRequires: %{python_module configobj >= 5.0.6}
|
|
BuildRequires: %{python_module cryptography >= 3.2.1}
|
|
BuildRequires: %{python_module distro >= 1.0.1}
|
|
BuildRequires: %{python_module importlib-metadata if %python-base < 3.10}
|
|
BuildRequires: %{python_module importlib-resources if %python-base < 3.9}
|
|
BuildRequires: %{python_module josepy >= 1.13.0}
|
|
BuildRequires: %{python_module parsedatetime >= 2.4}
|
|
BuildRequires: %{python_module pyRFC3339}
|
|
BuildRequires: %{python_module pytest}
|
|
BuildRequires: %{python_module pytz >= 2019.3}
|
|
BuildRequires: %{python_module setuptools >= 41.6.0}
|
|
BuildRequires: fdupes
|
|
BuildRequires: python-rpm-macros
|
|
Requires: python-acme >= %{version}
|
|
Requires: python-configargparse >= 1.5.3
|
|
Requires: python-configobj >= 5.0.6
|
|
Requires: python-cryptography >= 3.2.1
|
|
Requires: python-distro >= 1.0.1
|
|
Requires: python-josepy >= 1.9.0
|
|
Requires: python-parsedatetime >= 2.4
|
|
Requires: python-pyRFC3339
|
|
Requires: python-pytz >= 2019.3
|
|
Requires: python-setuptools >= 41.6.0
|
|
Requires(post): update-alternatives
|
|
Requires(postun): update-alternatives
|
|
%if %{python_version_nodots} < 310
|
|
Requires: python-importlib-metadata
|
|
%endif
|
|
%if %{python_version_nodots} < 39
|
|
Requires: python-importlib-resources
|
|
%endif
|
|
Provides: certbot = %{version}
|
|
Obsoletes: certbot < %{version}
|
|
BuildArch: noarch
|
|
%python_subpackages
|
|
|
|
%description
|
|
certbot is a free, automated certificate authority that aims
|
|
to lower the barriers to entry for encrypting all HTTP traffic on the internet.
|
|
|
|
%prep
|
|
%setup -q -n certbot-%{version}
|
|
%autopatch -p1
|
|
|
|
%build
|
|
%python_build
|
|
|
|
%install
|
|
%python_install
|
|
%python_clone -a %{buildroot}%{_bindir}/certbot
|
|
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
|
|
|
%check
|
|
%pytest
|
|
|
|
%post
|
|
%python_install_alternative certbot
|
|
# migrate from old certbot to new certbot
|
|
if test ! -h %{_sysconfdir}/certbot -a -e %{_sysconfdir}/certbot; then
|
|
echo "Migrating %{_sysconfdir}/certbot to %{_sysconfdir}/letsencrypt..."
|
|
mv %{_sysconfdir}/letsencrypt %{_sysconfdir}/letsencrypt.empty
|
|
mv %{_sysconfdir}/certbot %{_sysconfdir}/letsencrypt
|
|
cd %{_sysconfdir} ; ln -s letsencrypt certbot
|
|
fi
|
|
|
|
%postun
|
|
%python_uninstall_alternative certbot
|
|
|
|
%files %{python_files}
|
|
%license LICENSE.txt
|
|
%doc README.rst
|
|
%{python_sitelib}/*
|
|
%python_alternative %{_bindir}/certbot
|
|
|
|
%changelog
|