Compare commits
3 Commits
test-apach
...
v0.18.1
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
8010822a0b | ||
|
|
d2493bff62 | ||
|
|
9fb8c91588 |
@@ -4,7 +4,7 @@ from setuptools import setup
|
|||||||
from setuptools import find_packages
|
from setuptools import find_packages
|
||||||
|
|
||||||
|
|
||||||
version = '0.18.0'
|
version = '0.18.1'
|
||||||
|
|
||||||
# Please update tox.ini when modifying dependency version requirements
|
# Please update tox.ini when modifying dependency version requirements
|
||||||
install_requires = [
|
install_requires = [
|
||||||
|
|||||||
@@ -4,7 +4,7 @@ from setuptools import setup
|
|||||||
from setuptools import find_packages
|
from setuptools import find_packages
|
||||||
|
|
||||||
|
|
||||||
version = '0.18.0'
|
version = '0.18.1'
|
||||||
|
|
||||||
# Please update tox.ini when modifying dependency version requirements
|
# Please update tox.ini when modifying dependency version requirements
|
||||||
install_requires = [
|
install_requires = [
|
||||||
|
|||||||
42
certbot-auto
42
certbot-auto
@@ -31,7 +31,7 @@ if [ -z "$VENV_PATH" ]; then
|
|||||||
fi
|
fi
|
||||||
VENV_BIN="$VENV_PATH/bin"
|
VENV_BIN="$VENV_PATH/bin"
|
||||||
BOOTSTRAP_VERSION_PATH="$VENV_PATH/certbot-auto-bootstrap-version.txt"
|
BOOTSTRAP_VERSION_PATH="$VENV_PATH/certbot-auto-bootstrap-version.txt"
|
||||||
LE_AUTO_VERSION="0.18.0"
|
LE_AUTO_VERSION="0.18.1"
|
||||||
BASENAME=$(basename $0)
|
BASENAME=$(basename $0)
|
||||||
USAGE="Usage: $BASENAME [OPTIONS]
|
USAGE="Usage: $BASENAME [OPTIONS]
|
||||||
A self-updating wrapper script for the Certbot ACME client. When run, updates
|
A self-updating wrapper script for the Certbot ACME client. When run, updates
|
||||||
@@ -187,8 +187,7 @@ SetRootAuthMechanism() {
|
|||||||
|
|
||||||
if [ "$1" = "--cb-auto-has-root" ]; then
|
if [ "$1" = "--cb-auto-has-root" ]; then
|
||||||
shift 1
|
shift 1
|
||||||
elif [ "$1" != "--le-auto-phase2" ]; then
|
else
|
||||||
# if $1 is --le-auto-phase2, we've executed this branch before
|
|
||||||
SetRootAuthMechanism
|
SetRootAuthMechanism
|
||||||
if [ -n "$SUDO" ]; then
|
if [ -n "$SUDO" ]; then
|
||||||
echo "Requesting to rerun $0 with root privileges..."
|
echo "Requesting to rerun $0 with root privileges..."
|
||||||
@@ -197,6 +196,14 @@ elif [ "$1" != "--le-auto-phase2" ]; then
|
|||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
# Runs this script again with the given arguments. --cb-auto-has-root is added
|
||||||
|
# to the command line arguments to ensure we don't try to acquire root a
|
||||||
|
# second time. After the script is rerun, we exit the current script.
|
||||||
|
RerunWithArgs() {
|
||||||
|
"$0" --cb-auto-has-root "$@"
|
||||||
|
exit 0
|
||||||
|
}
|
||||||
|
|
||||||
BootstrapMessage() {
|
BootstrapMessage() {
|
||||||
# Arguments: Platform name
|
# Arguments: Platform name
|
||||||
say "Bootstrapping dependencies for $1... (you can skip this with --no-bootstrap)"
|
say "Bootstrapping dependencies for $1... (you can skip this with --no-bootstrap)"
|
||||||
@@ -825,8 +832,7 @@ if [ "$1" = "--le-auto-phase2" ]; then
|
|||||||
# if non-interactive mode or stdin and stdout are connected to a terminal
|
# if non-interactive mode or stdin and stdout are connected to a terminal
|
||||||
if [ \( "$NONINTERACTIVE" = 1 \) -o \( \( -t 0 \) -a \( -t 1 \) \) ]; then
|
if [ \( "$NONINTERACTIVE" = 1 \) -o \( \( -t 0 \) -a \( -t 1 \) \) ]; then
|
||||||
rm -rf "$VENV_PATH"
|
rm -rf "$VENV_PATH"
|
||||||
"$0" "$@"
|
RerunWithArgs "$@"
|
||||||
exit 0
|
|
||||||
else
|
else
|
||||||
error "Skipping upgrade because new OS dependencies may need to be installed."
|
error "Skipping upgrade because new OS dependencies may need to be installed."
|
||||||
error
|
error
|
||||||
@@ -1071,18 +1077,18 @@ letsencrypt==0.7.0 \
|
|||||||
--hash=sha256:105a5fb107e45bcd0722eb89696986dcf5f08a86a321d6aef25a0c7c63375ade \
|
--hash=sha256:105a5fb107e45bcd0722eb89696986dcf5f08a86a321d6aef25a0c7c63375ade \
|
||||||
--hash=sha256:c36e532c486a7e92155ee09da54b436a3c420813ec1c590b98f635d924720de9
|
--hash=sha256:c36e532c486a7e92155ee09da54b436a3c420813ec1c590b98f635d924720de9
|
||||||
|
|
||||||
certbot==0.18.0 \
|
certbot==0.18.1 \
|
||||||
--hash=sha256:941925f045aaae2a7e5b1d322b68ea3e042a1c2d6a3b3de76c5b8a5122e515a7 \
|
--hash=sha256:46e5f0b225ceef0afe81f7f2442c0dd23485f96b5e16cbd78c9e692dc551203e \
|
||||||
--hash=sha256:f70bdfd7a455f0c1f72610b48bf4a462e4aecd8e66baa9d2278f7bc4a4f4195f
|
--hash=sha256:ae0aaf0cc1af53713232a222fb20891475ec9ff9d128a277c4e0f92ea7c36b4c
|
||||||
acme==0.18.0 \
|
acme==0.18.1 \
|
||||||
--hash=sha256:e35b2dbc27a40ca35d9120cb417abde667e9c59436662a10f260f3eaa2eb8fe0 \
|
--hash=sha256:a1c3d8dddb573b69573294ccc089f9a12fd91ebdfe72d9bfcacc260df28c50cf \
|
||||||
--hash=sha256:301b0c9108f80d1182add10e8fd0fa962a143731b8208615631a711b8cd98938
|
--hash=sha256:1e4c6c0a3fb9906f0d1389a39c76d730e2691d7f168a219e464237381ddcc667
|
||||||
certbot-apache==0.18.0 \
|
certbot-apache==0.18.1 \
|
||||||
--hash=sha256:e08504b1e13e0698dffd4b6437cdf24480f6666b60455c83e9a55cad56ab8c2d \
|
--hash=sha256:2eb78c6b22bc6028e4d7f169e1cbdca1ddedf3aa60e69f5f38952654b7a2a94d \
|
||||||
--hash=sha256:44b65d61f4d284da188c578ad0dc700d4743d03ae5382be86716ff26a82def94
|
--hash=sha256:2a25b2909167ae5c583b034957e59e9923017cf52c6fa4b310cfca2a3a005fb4
|
||||||
certbot-nginx==0.18.0 \
|
certbot-nginx==0.18.1 \
|
||||||
--hash=sha256:da58201350b0d02cd4b43ea53abd34a4a56cbb7d5564004c25607bdcbec5e890 \
|
--hash=sha256:19be0c3800cacf97d4ca8a20c7a65585fb24af3a2c9164484b12c4da634b6833 \
|
||||||
--hash=sha256:528db0f8e5d5ac6956e4df15ab4809f313114ff2817c4b2f04c43913d750ca28
|
--hash=sha256:bda89d4ebcfc9dc7ee41fe23ea2fc19e6c773a4a2873737d4b19210c752f5aca
|
||||||
|
|
||||||
UNLIKELY_EOF
|
UNLIKELY_EOF
|
||||||
# -------------------------------------------------------------------------
|
# -------------------------------------------------------------------------
|
||||||
@@ -1491,5 +1497,5 @@ UNLIKELY_EOF
|
|||||||
fi # A newer version is available.
|
fi # A newer version is available.
|
||||||
fi # Self-upgrading is allowed.
|
fi # Self-upgrading is allowed.
|
||||||
|
|
||||||
"$0" --le-auto-phase2 "$@"
|
RerunWithArgs --le-auto-phase2 "$@"
|
||||||
fi
|
fi
|
||||||
|
|||||||
@@ -4,7 +4,7 @@ from setuptools import setup
|
|||||||
from setuptools import find_packages
|
from setuptools import find_packages
|
||||||
|
|
||||||
|
|
||||||
version = '0.18.0'
|
version = '0.18.1'
|
||||||
|
|
||||||
install_requires = [
|
install_requires = [
|
||||||
'certbot',
|
'certbot',
|
||||||
|
|||||||
@@ -4,7 +4,7 @@ from setuptools import setup
|
|||||||
from setuptools import find_packages
|
from setuptools import find_packages
|
||||||
|
|
||||||
|
|
||||||
version = '0.18.0'
|
version = '0.18.1'
|
||||||
|
|
||||||
# Please update tox.ini when modifying dependency version requirements
|
# Please update tox.ini when modifying dependency version requirements
|
||||||
install_requires = [
|
install_requires = [
|
||||||
|
|||||||
@@ -4,7 +4,7 @@ from setuptools import setup
|
|||||||
from setuptools import find_packages
|
from setuptools import find_packages
|
||||||
|
|
||||||
|
|
||||||
version = '0.18.0'
|
version = '0.18.1'
|
||||||
|
|
||||||
# Please update tox.ini when modifying dependency version requirements
|
# Please update tox.ini when modifying dependency version requirements
|
||||||
install_requires = [
|
install_requires = [
|
||||||
|
|||||||
@@ -4,7 +4,7 @@ from setuptools import setup
|
|||||||
from setuptools import find_packages
|
from setuptools import find_packages
|
||||||
|
|
||||||
|
|
||||||
version = '0.18.0'
|
version = '0.18.1'
|
||||||
|
|
||||||
# Please update tox.ini when modifying dependency version requirements
|
# Please update tox.ini when modifying dependency version requirements
|
||||||
install_requires = [
|
install_requires = [
|
||||||
|
|||||||
@@ -4,7 +4,7 @@ from setuptools import setup
|
|||||||
from setuptools import find_packages
|
from setuptools import find_packages
|
||||||
|
|
||||||
|
|
||||||
version = '0.18.0'
|
version = '0.18.1'
|
||||||
|
|
||||||
# Please update tox.ini when modifying dependency version requirements
|
# Please update tox.ini when modifying dependency version requirements
|
||||||
install_requires = [
|
install_requires = [
|
||||||
|
|||||||
@@ -4,7 +4,7 @@ from setuptools import setup
|
|||||||
from setuptools import find_packages
|
from setuptools import find_packages
|
||||||
|
|
||||||
|
|
||||||
version = '0.18.0'
|
version = '0.18.1'
|
||||||
|
|
||||||
# Please update tox.ini when modifying dependency version requirements
|
# Please update tox.ini when modifying dependency version requirements
|
||||||
install_requires = [
|
install_requires = [
|
||||||
|
|||||||
@@ -4,7 +4,7 @@ from setuptools import setup
|
|||||||
from setuptools import find_packages
|
from setuptools import find_packages
|
||||||
|
|
||||||
|
|
||||||
version = '0.18.0'
|
version = '0.18.1'
|
||||||
|
|
||||||
# Please update tox.ini when modifying dependency version requirements
|
# Please update tox.ini when modifying dependency version requirements
|
||||||
install_requires = [
|
install_requires = [
|
||||||
|
|||||||
@@ -4,7 +4,7 @@ from setuptools import setup
|
|||||||
from setuptools import find_packages
|
from setuptools import find_packages
|
||||||
|
|
||||||
|
|
||||||
version = '0.18.0'
|
version = '0.18.1'
|
||||||
|
|
||||||
# Please update tox.ini when modifying dependency version requirements
|
# Please update tox.ini when modifying dependency version requirements
|
||||||
install_requires = [
|
install_requires = [
|
||||||
|
|||||||
@@ -4,7 +4,7 @@ from setuptools import setup
|
|||||||
from setuptools import find_packages
|
from setuptools import find_packages
|
||||||
|
|
||||||
|
|
||||||
version = '0.18.0'
|
version = '0.18.1'
|
||||||
|
|
||||||
# Please update tox.ini when modifying dependency version requirements
|
# Please update tox.ini when modifying dependency version requirements
|
||||||
install_requires = [
|
install_requires = [
|
||||||
|
|||||||
@@ -4,7 +4,7 @@ from setuptools import setup
|
|||||||
from setuptools import find_packages
|
from setuptools import find_packages
|
||||||
|
|
||||||
|
|
||||||
version = '0.18.0'
|
version = '0.18.1'
|
||||||
|
|
||||||
# Please update tox.ini when modifying dependency version requirements
|
# Please update tox.ini when modifying dependency version requirements
|
||||||
install_requires = [
|
install_requires = [
|
||||||
|
|||||||
@@ -3,7 +3,7 @@ import sys
|
|||||||
from distutils.core import setup
|
from distutils.core import setup
|
||||||
from setuptools import find_packages
|
from setuptools import find_packages
|
||||||
|
|
||||||
version = '0.18.0'
|
version = '0.18.1'
|
||||||
|
|
||||||
install_requires = [
|
install_requires = [
|
||||||
'acme=={0}'.format(version),
|
'acme=={0}'.format(version),
|
||||||
|
|||||||
@@ -4,7 +4,7 @@ from setuptools import setup
|
|||||||
from setuptools import find_packages
|
from setuptools import find_packages
|
||||||
|
|
||||||
|
|
||||||
version = '0.18.0'
|
version = '0.18.1'
|
||||||
|
|
||||||
# Please update tox.ini when modifying dependency version requirements
|
# Please update tox.ini when modifying dependency version requirements
|
||||||
install_requires = [
|
install_requires = [
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
"""Certbot client."""
|
"""Certbot client."""
|
||||||
|
|
||||||
# version number like 1.2.3a0, must have at least 2 parts, like 1.2
|
# version number like 1.2.3a0, must have at least 2 parts, like 1.2
|
||||||
__version__ = '0.18.0'
|
__version__ = '0.18.1'
|
||||||
|
|||||||
@@ -49,8 +49,13 @@ if "CERTBOT_AUTO" in os.environ:
|
|||||||
# user saved the script under a different name
|
# user saved the script under a different name
|
||||||
LEAUTO = os.path.basename(os.environ["CERTBOT_AUTO"])
|
LEAUTO = os.path.basename(os.environ["CERTBOT_AUTO"])
|
||||||
|
|
||||||
fragment = os.path.join(".local", "share", "letsencrypt")
|
old_path_fragment = os.path.join(".local", "share", "letsencrypt")
|
||||||
cli_command = LEAUTO if fragment in sys.argv[0] else "certbot"
|
new_path_prefix = os.path.abspath(os.path.join(os.sep, "opt",
|
||||||
|
"eff.org", "certbot", "venv"))
|
||||||
|
if old_path_fragment in sys.argv[0] or sys.argv[0].startswith(new_path_prefix):
|
||||||
|
cli_command = LEAUTO
|
||||||
|
else:
|
||||||
|
cli_command = "certbot"
|
||||||
|
|
||||||
# Argparse's help formatting has a lot of unhelpful peculiarities, so we want
|
# Argparse's help formatting has a lot of unhelpful peculiarities, so we want
|
||||||
# to replace as much of it as we can...
|
# to replace as much of it as we can...
|
||||||
|
|||||||
@@ -102,7 +102,7 @@ optional arguments:
|
|||||||
case, and to know when to deprecate support for past
|
case, and to know when to deprecate support for past
|
||||||
Python versions and flags. If you wish to hide this
|
Python versions and flags. If you wish to hide this
|
||||||
information from the Let's Encrypt server, set this to
|
information from the Let's Encrypt server, set this to
|
||||||
"". (default: CertbotACMEClient/0.18.0 (certbot;
|
"". (default: CertbotACMEClient/0.18.1 (certbot;
|
||||||
Ubuntu 16.04.3 LTS) Authenticator/XXX Installer/YYY
|
Ubuntu 16.04.3 LTS) Authenticator/XXX Installer/YYY
|
||||||
(SUBCOMMAND; flags: FLAGS) Py/2.7.12). The flags
|
(SUBCOMMAND; flags: FLAGS) Py/2.7.12). The flags
|
||||||
encoded in the user agent are: --duplicate, --force-
|
encoded in the user agent are: --duplicate, --force-
|
||||||
|
|||||||
@@ -31,7 +31,7 @@ if [ -z "$VENV_PATH" ]; then
|
|||||||
fi
|
fi
|
||||||
VENV_BIN="$VENV_PATH/bin"
|
VENV_BIN="$VENV_PATH/bin"
|
||||||
BOOTSTRAP_VERSION_PATH="$VENV_PATH/certbot-auto-bootstrap-version.txt"
|
BOOTSTRAP_VERSION_PATH="$VENV_PATH/certbot-auto-bootstrap-version.txt"
|
||||||
LE_AUTO_VERSION="0.18.0"
|
LE_AUTO_VERSION="0.18.1"
|
||||||
BASENAME=$(basename $0)
|
BASENAME=$(basename $0)
|
||||||
USAGE="Usage: $BASENAME [OPTIONS]
|
USAGE="Usage: $BASENAME [OPTIONS]
|
||||||
A self-updating wrapper script for the Certbot ACME client. When run, updates
|
A self-updating wrapper script for the Certbot ACME client. When run, updates
|
||||||
@@ -187,8 +187,7 @@ SetRootAuthMechanism() {
|
|||||||
|
|
||||||
if [ "$1" = "--cb-auto-has-root" ]; then
|
if [ "$1" = "--cb-auto-has-root" ]; then
|
||||||
shift 1
|
shift 1
|
||||||
elif [ "$1" != "--le-auto-phase2" ]; then
|
else
|
||||||
# if $1 is --le-auto-phase2, we've executed this branch before
|
|
||||||
SetRootAuthMechanism
|
SetRootAuthMechanism
|
||||||
if [ -n "$SUDO" ]; then
|
if [ -n "$SUDO" ]; then
|
||||||
echo "Requesting to rerun $0 with root privileges..."
|
echo "Requesting to rerun $0 with root privileges..."
|
||||||
@@ -197,6 +196,14 @@ elif [ "$1" != "--le-auto-phase2" ]; then
|
|||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
# Runs this script again with the given arguments. --cb-auto-has-root is added
|
||||||
|
# to the command line arguments to ensure we don't try to acquire root a
|
||||||
|
# second time. After the script is rerun, we exit the current script.
|
||||||
|
RerunWithArgs() {
|
||||||
|
"$0" --cb-auto-has-root "$@"
|
||||||
|
exit 0
|
||||||
|
}
|
||||||
|
|
||||||
BootstrapMessage() {
|
BootstrapMessage() {
|
||||||
# Arguments: Platform name
|
# Arguments: Platform name
|
||||||
say "Bootstrapping dependencies for $1... (you can skip this with --no-bootstrap)"
|
say "Bootstrapping dependencies for $1... (you can skip this with --no-bootstrap)"
|
||||||
@@ -825,8 +832,7 @@ if [ "$1" = "--le-auto-phase2" ]; then
|
|||||||
# if non-interactive mode or stdin and stdout are connected to a terminal
|
# if non-interactive mode or stdin and stdout are connected to a terminal
|
||||||
if [ \( "$NONINTERACTIVE" = 1 \) -o \( \( -t 0 \) -a \( -t 1 \) \) ]; then
|
if [ \( "$NONINTERACTIVE" = 1 \) -o \( \( -t 0 \) -a \( -t 1 \) \) ]; then
|
||||||
rm -rf "$VENV_PATH"
|
rm -rf "$VENV_PATH"
|
||||||
"$0" "$@"
|
RerunWithArgs "$@"
|
||||||
exit 0
|
|
||||||
else
|
else
|
||||||
error "Skipping upgrade because new OS dependencies may need to be installed."
|
error "Skipping upgrade because new OS dependencies may need to be installed."
|
||||||
error
|
error
|
||||||
@@ -1071,18 +1077,18 @@ letsencrypt==0.7.0 \
|
|||||||
--hash=sha256:105a5fb107e45bcd0722eb89696986dcf5f08a86a321d6aef25a0c7c63375ade \
|
--hash=sha256:105a5fb107e45bcd0722eb89696986dcf5f08a86a321d6aef25a0c7c63375ade \
|
||||||
--hash=sha256:c36e532c486a7e92155ee09da54b436a3c420813ec1c590b98f635d924720de9
|
--hash=sha256:c36e532c486a7e92155ee09da54b436a3c420813ec1c590b98f635d924720de9
|
||||||
|
|
||||||
certbot==0.18.0 \
|
certbot==0.18.1 \
|
||||||
--hash=sha256:941925f045aaae2a7e5b1d322b68ea3e042a1c2d6a3b3de76c5b8a5122e515a7 \
|
--hash=sha256:46e5f0b225ceef0afe81f7f2442c0dd23485f96b5e16cbd78c9e692dc551203e \
|
||||||
--hash=sha256:f70bdfd7a455f0c1f72610b48bf4a462e4aecd8e66baa9d2278f7bc4a4f4195f
|
--hash=sha256:ae0aaf0cc1af53713232a222fb20891475ec9ff9d128a277c4e0f92ea7c36b4c
|
||||||
acme==0.18.0 \
|
acme==0.18.1 \
|
||||||
--hash=sha256:e35b2dbc27a40ca35d9120cb417abde667e9c59436662a10f260f3eaa2eb8fe0 \
|
--hash=sha256:a1c3d8dddb573b69573294ccc089f9a12fd91ebdfe72d9bfcacc260df28c50cf \
|
||||||
--hash=sha256:301b0c9108f80d1182add10e8fd0fa962a143731b8208615631a711b8cd98938
|
--hash=sha256:1e4c6c0a3fb9906f0d1389a39c76d730e2691d7f168a219e464237381ddcc667
|
||||||
certbot-apache==0.18.0 \
|
certbot-apache==0.18.1 \
|
||||||
--hash=sha256:e08504b1e13e0698dffd4b6437cdf24480f6666b60455c83e9a55cad56ab8c2d \
|
--hash=sha256:2eb78c6b22bc6028e4d7f169e1cbdca1ddedf3aa60e69f5f38952654b7a2a94d \
|
||||||
--hash=sha256:44b65d61f4d284da188c578ad0dc700d4743d03ae5382be86716ff26a82def94
|
--hash=sha256:2a25b2909167ae5c583b034957e59e9923017cf52c6fa4b310cfca2a3a005fb4
|
||||||
certbot-nginx==0.18.0 \
|
certbot-nginx==0.18.1 \
|
||||||
--hash=sha256:da58201350b0d02cd4b43ea53abd34a4a56cbb7d5564004c25607bdcbec5e890 \
|
--hash=sha256:19be0c3800cacf97d4ca8a20c7a65585fb24af3a2c9164484b12c4da634b6833 \
|
||||||
--hash=sha256:528db0f8e5d5ac6956e4df15ab4809f313114ff2817c4b2f04c43913d750ca28
|
--hash=sha256:bda89d4ebcfc9dc7ee41fe23ea2fc19e6c773a4a2873737d4b19210c752f5aca
|
||||||
|
|
||||||
UNLIKELY_EOF
|
UNLIKELY_EOF
|
||||||
# -------------------------------------------------------------------------
|
# -------------------------------------------------------------------------
|
||||||
@@ -1491,5 +1497,5 @@ UNLIKELY_EOF
|
|||||||
fi # A newer version is available.
|
fi # A newer version is available.
|
||||||
fi # Self-upgrading is allowed.
|
fi # Self-upgrading is allowed.
|
||||||
|
|
||||||
"$0" --le-auto-phase2 "$@"
|
RerunWithArgs --le-auto-phase2 "$@"
|
||||||
fi
|
fi
|
||||||
|
|||||||
@@ -1,11 +1,11 @@
|
|||||||
-----BEGIN PGP SIGNATURE-----
|
-----BEGIN PGP SIGNATURE-----
|
||||||
Version: GnuPG v2
|
Version: GnuPG v2
|
||||||
|
|
||||||
iQEcBAABCAAGBQJZry3aAAoJEE0XyZXNl3Xy2foH/0ehCksUM0JQWdHNjmEexo0l
|
iQEcBAABCAAGBQJZsuPcAAoJEE0XyZXNl3XyrCkIAI+fJyipTParZlfPd87cYWOY
|
||||||
XBvtZz59BkQpERZRd7tuwiXzFCJ9VwxlCUo4DhmdT7IYrM3/qb5HoVWPMrw70ySX
|
QJeg7madSmRajYCUvtOn4Cm6bwcXZClHwXtiAlS7qXfDRDlKECoKGak7aUP7pd5w
|
||||||
CgKB/SKKYiHFXLT0w/sT6RJDp1y/dt1+8+BWCCztI+1yaQiAsJBK3rzVjpcQRb15
|
qG+efRB53XOyVGjl0PVSqOslhKaSved4k6vTZtHl/qqruVaDxiipoX3NdzWfeYdu
|
||||||
yoQs9tNQIBBKdocZISjOTX1pYcwkA7fBGbnep9ndsM1PSuGXk3CBDF2YRfVnxnwF
|
LN0j87/y7BNxRqL9UirjsASfmMlx+41eDOuCC8tmnMsHOSnMll5siPSCngv/Mn4Q
|
||||||
Y6R1Psjjk6vsUK9KY8uPtNtH4w3W30tRVbQmBf2qOsPrr532W/Zjvo1UERhqpM/w
|
itHJRAGL4P8oRI7qsId3Yv+HwK46tT0L8ZbaxfsGbHUFWw5pOgb+Ea8QDqCSnqfR
|
||||||
fxjgo8XyJdMvilL/U3lZEsdzq2WTbS8nXto1mB0/QgVLENICsWoE8SVSql10iYo=
|
uuqHfNzjvY6wwcyAV945A3LK5MizxRkP3UX1MmvT8EWPT7lXMsf22Cicm8eas+k=
|
||||||
=wcEX
|
=QEPM
|
||||||
-----END PGP SIGNATURE-----
|
-----END PGP SIGNATURE-----
|
||||||
|
|||||||
@@ -31,7 +31,7 @@ if [ -z "$VENV_PATH" ]; then
|
|||||||
fi
|
fi
|
||||||
VENV_BIN="$VENV_PATH/bin"
|
VENV_BIN="$VENV_PATH/bin"
|
||||||
BOOTSTRAP_VERSION_PATH="$VENV_PATH/certbot-auto-bootstrap-version.txt"
|
BOOTSTRAP_VERSION_PATH="$VENV_PATH/certbot-auto-bootstrap-version.txt"
|
||||||
LE_AUTO_VERSION="0.18.0"
|
LE_AUTO_VERSION="0.18.1"
|
||||||
BASENAME=$(basename $0)
|
BASENAME=$(basename $0)
|
||||||
USAGE="Usage: $BASENAME [OPTIONS]
|
USAGE="Usage: $BASENAME [OPTIONS]
|
||||||
A self-updating wrapper script for the Certbot ACME client. When run, updates
|
A self-updating wrapper script for the Certbot ACME client. When run, updates
|
||||||
@@ -187,8 +187,7 @@ SetRootAuthMechanism() {
|
|||||||
|
|
||||||
if [ "$1" = "--cb-auto-has-root" ]; then
|
if [ "$1" = "--cb-auto-has-root" ]; then
|
||||||
shift 1
|
shift 1
|
||||||
elif [ "$1" != "--le-auto-phase2" ]; then
|
else
|
||||||
# if $1 is --le-auto-phase2, we've executed this branch before
|
|
||||||
SetRootAuthMechanism
|
SetRootAuthMechanism
|
||||||
if [ -n "$SUDO" ]; then
|
if [ -n "$SUDO" ]; then
|
||||||
echo "Requesting to rerun $0 with root privileges..."
|
echo "Requesting to rerun $0 with root privileges..."
|
||||||
@@ -197,6 +196,14 @@ elif [ "$1" != "--le-auto-phase2" ]; then
|
|||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
# Runs this script again with the given arguments. --cb-auto-has-root is added
|
||||||
|
# to the command line arguments to ensure we don't try to acquire root a
|
||||||
|
# second time. After the script is rerun, we exit the current script.
|
||||||
|
RerunWithArgs() {
|
||||||
|
"$0" --cb-auto-has-root "$@"
|
||||||
|
exit 0
|
||||||
|
}
|
||||||
|
|
||||||
BootstrapMessage() {
|
BootstrapMessage() {
|
||||||
# Arguments: Platform name
|
# Arguments: Platform name
|
||||||
say "Bootstrapping dependencies for $1... (you can skip this with --no-bootstrap)"
|
say "Bootstrapping dependencies for $1... (you can skip this with --no-bootstrap)"
|
||||||
@@ -825,8 +832,7 @@ if [ "$1" = "--le-auto-phase2" ]; then
|
|||||||
# if non-interactive mode or stdin and stdout are connected to a terminal
|
# if non-interactive mode or stdin and stdout are connected to a terminal
|
||||||
if [ \( "$NONINTERACTIVE" = 1 \) -o \( \( -t 0 \) -a \( -t 1 \) \) ]; then
|
if [ \( "$NONINTERACTIVE" = 1 \) -o \( \( -t 0 \) -a \( -t 1 \) \) ]; then
|
||||||
rm -rf "$VENV_PATH"
|
rm -rf "$VENV_PATH"
|
||||||
"$0" "$@"
|
RerunWithArgs "$@"
|
||||||
exit 0
|
|
||||||
else
|
else
|
||||||
error "Skipping upgrade because new OS dependencies may need to be installed."
|
error "Skipping upgrade because new OS dependencies may need to be installed."
|
||||||
error
|
error
|
||||||
@@ -1071,18 +1077,18 @@ letsencrypt==0.7.0 \
|
|||||||
--hash=sha256:105a5fb107e45bcd0722eb89696986dcf5f08a86a321d6aef25a0c7c63375ade \
|
--hash=sha256:105a5fb107e45bcd0722eb89696986dcf5f08a86a321d6aef25a0c7c63375ade \
|
||||||
--hash=sha256:c36e532c486a7e92155ee09da54b436a3c420813ec1c590b98f635d924720de9
|
--hash=sha256:c36e532c486a7e92155ee09da54b436a3c420813ec1c590b98f635d924720de9
|
||||||
|
|
||||||
certbot==0.18.0 \
|
certbot==0.18.1 \
|
||||||
--hash=sha256:941925f045aaae2a7e5b1d322b68ea3e042a1c2d6a3b3de76c5b8a5122e515a7 \
|
--hash=sha256:46e5f0b225ceef0afe81f7f2442c0dd23485f96b5e16cbd78c9e692dc551203e \
|
||||||
--hash=sha256:f70bdfd7a455f0c1f72610b48bf4a462e4aecd8e66baa9d2278f7bc4a4f4195f
|
--hash=sha256:ae0aaf0cc1af53713232a222fb20891475ec9ff9d128a277c4e0f92ea7c36b4c
|
||||||
acme==0.18.0 \
|
acme==0.18.1 \
|
||||||
--hash=sha256:e35b2dbc27a40ca35d9120cb417abde667e9c59436662a10f260f3eaa2eb8fe0 \
|
--hash=sha256:a1c3d8dddb573b69573294ccc089f9a12fd91ebdfe72d9bfcacc260df28c50cf \
|
||||||
--hash=sha256:301b0c9108f80d1182add10e8fd0fa962a143731b8208615631a711b8cd98938
|
--hash=sha256:1e4c6c0a3fb9906f0d1389a39c76d730e2691d7f168a219e464237381ddcc667
|
||||||
certbot-apache==0.18.0 \
|
certbot-apache==0.18.1 \
|
||||||
--hash=sha256:e08504b1e13e0698dffd4b6437cdf24480f6666b60455c83e9a55cad56ab8c2d \
|
--hash=sha256:2eb78c6b22bc6028e4d7f169e1cbdca1ddedf3aa60e69f5f38952654b7a2a94d \
|
||||||
--hash=sha256:44b65d61f4d284da188c578ad0dc700d4743d03ae5382be86716ff26a82def94
|
--hash=sha256:2a25b2909167ae5c583b034957e59e9923017cf52c6fa4b310cfca2a3a005fb4
|
||||||
certbot-nginx==0.18.0 \
|
certbot-nginx==0.18.1 \
|
||||||
--hash=sha256:da58201350b0d02cd4b43ea53abd34a4a56cbb7d5564004c25607bdcbec5e890 \
|
--hash=sha256:19be0c3800cacf97d4ca8a20c7a65585fb24af3a2c9164484b12c4da634b6833 \
|
||||||
--hash=sha256:528db0f8e5d5ac6956e4df15ab4809f313114ff2817c4b2f04c43913d750ca28
|
--hash=sha256:bda89d4ebcfc9dc7ee41fe23ea2fc19e6c773a4a2873737d4b19210c752f5aca
|
||||||
|
|
||||||
UNLIKELY_EOF
|
UNLIKELY_EOF
|
||||||
# -------------------------------------------------------------------------
|
# -------------------------------------------------------------------------
|
||||||
@@ -1491,5 +1497,5 @@ UNLIKELY_EOF
|
|||||||
fi # A newer version is available.
|
fi # A newer version is available.
|
||||||
fi # Self-upgrading is allowed.
|
fi # Self-upgrading is allowed.
|
||||||
|
|
||||||
"$0" --le-auto-phase2 "$@"
|
RerunWithArgs --le-auto-phase2 "$@"
|
||||||
fi
|
fi
|
||||||
|
|||||||
Binary file not shown.
@@ -187,8 +187,7 @@ SetRootAuthMechanism() {
|
|||||||
|
|
||||||
if [ "$1" = "--cb-auto-has-root" ]; then
|
if [ "$1" = "--cb-auto-has-root" ]; then
|
||||||
shift 1
|
shift 1
|
||||||
elif [ "$1" != "--le-auto-phase2" ]; then
|
else
|
||||||
# if $1 is --le-auto-phase2, we've executed this branch before
|
|
||||||
SetRootAuthMechanism
|
SetRootAuthMechanism
|
||||||
if [ -n "$SUDO" ]; then
|
if [ -n "$SUDO" ]; then
|
||||||
echo "Requesting to rerun $0 with root privileges..."
|
echo "Requesting to rerun $0 with root privileges..."
|
||||||
@@ -197,6 +196,14 @@ elif [ "$1" != "--le-auto-phase2" ]; then
|
|||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
# Runs this script again with the given arguments. --cb-auto-has-root is added
|
||||||
|
# to the command line arguments to ensure we don't try to acquire root a
|
||||||
|
# second time. After the script is rerun, we exit the current script.
|
||||||
|
RerunWithArgs() {
|
||||||
|
"$0" --cb-auto-has-root "$@"
|
||||||
|
exit 0
|
||||||
|
}
|
||||||
|
|
||||||
BootstrapMessage() {
|
BootstrapMessage() {
|
||||||
# Arguments: Platform name
|
# Arguments: Platform name
|
||||||
say "Bootstrapping dependencies for $1... (you can skip this with --no-bootstrap)"
|
say "Bootstrapping dependencies for $1... (you can skip this with --no-bootstrap)"
|
||||||
@@ -406,8 +413,7 @@ if [ "$1" = "--le-auto-phase2" ]; then
|
|||||||
# if non-interactive mode or stdin and stdout are connected to a terminal
|
# if non-interactive mode or stdin and stdout are connected to a terminal
|
||||||
if [ \( "$NONINTERACTIVE" = 1 \) -o \( \( -t 0 \) -a \( -t 1 \) \) ]; then
|
if [ \( "$NONINTERACTIVE" = 1 \) -o \( \( -t 0 \) -a \( -t 1 \) \) ]; then
|
||||||
rm -rf "$VENV_PATH"
|
rm -rf "$VENV_PATH"
|
||||||
"$0" "$@"
|
RerunWithArgs "$@"
|
||||||
exit 0
|
|
||||||
else
|
else
|
||||||
error "Skipping upgrade because new OS dependencies may need to be installed."
|
error "Skipping upgrade because new OS dependencies may need to be installed."
|
||||||
error
|
error
|
||||||
@@ -567,5 +573,5 @@ UNLIKELY_EOF
|
|||||||
fi # A newer version is available.
|
fi # A newer version is available.
|
||||||
fi # Self-upgrading is allowed.
|
fi # Self-upgrading is allowed.
|
||||||
|
|
||||||
"$0" --le-auto-phase2 "$@"
|
RerunWithArgs --le-auto-phase2 "$@"
|
||||||
fi
|
fi
|
||||||
|
|||||||
@@ -1,12 +1,12 @@
|
|||||||
certbot==0.18.0 \
|
certbot==0.18.1 \
|
||||||
--hash=sha256:941925f045aaae2a7e5b1d322b68ea3e042a1c2d6a3b3de76c5b8a5122e515a7 \
|
--hash=sha256:46e5f0b225ceef0afe81f7f2442c0dd23485f96b5e16cbd78c9e692dc551203e \
|
||||||
--hash=sha256:f70bdfd7a455f0c1f72610b48bf4a462e4aecd8e66baa9d2278f7bc4a4f4195f
|
--hash=sha256:ae0aaf0cc1af53713232a222fb20891475ec9ff9d128a277c4e0f92ea7c36b4c
|
||||||
acme==0.18.0 \
|
acme==0.18.1 \
|
||||||
--hash=sha256:e35b2dbc27a40ca35d9120cb417abde667e9c59436662a10f260f3eaa2eb8fe0 \
|
--hash=sha256:a1c3d8dddb573b69573294ccc089f9a12fd91ebdfe72d9bfcacc260df28c50cf \
|
||||||
--hash=sha256:301b0c9108f80d1182add10e8fd0fa962a143731b8208615631a711b8cd98938
|
--hash=sha256:1e4c6c0a3fb9906f0d1389a39c76d730e2691d7f168a219e464237381ddcc667
|
||||||
certbot-apache==0.18.0 \
|
certbot-apache==0.18.1 \
|
||||||
--hash=sha256:e08504b1e13e0698dffd4b6437cdf24480f6666b60455c83e9a55cad56ab8c2d \
|
--hash=sha256:2eb78c6b22bc6028e4d7f169e1cbdca1ddedf3aa60e69f5f38952654b7a2a94d \
|
||||||
--hash=sha256:44b65d61f4d284da188c578ad0dc700d4743d03ae5382be86716ff26a82def94
|
--hash=sha256:2a25b2909167ae5c583b034957e59e9923017cf52c6fa4b310cfca2a3a005fb4
|
||||||
certbot-nginx==0.18.0 \
|
certbot-nginx==0.18.1 \
|
||||||
--hash=sha256:da58201350b0d02cd4b43ea53abd34a4a56cbb7d5564004c25607bdcbec5e890 \
|
--hash=sha256:19be0c3800cacf97d4ca8a20c7a65585fb24af3a2c9164484b12c4da634b6833 \
|
||||||
--hash=sha256:528db0f8e5d5ac6956e4df15ab4809f313114ff2817c4b2f04c43913d750ca28
|
--hash=sha256:bda89d4ebcfc9dc7ee41fe23ea2fc19e6c773a4a2873737d4b19210c752f5aca
|
||||||
|
|||||||
Reference in New Issue
Block a user