mirror of
https://github.com/certbot/certbot.git
synced 2026-08-01 02:44:21 +02:00
Merge pull request #3173 from certbot/candidate-0.8.1
Update the autos in response to 0.8.1 release
This commit is contained in:
+40
-12
@@ -19,7 +19,7 @@ XDG_DATA_HOME=${XDG_DATA_HOME:-~/.local/share}
|
|||||||
VENV_NAME="letsencrypt"
|
VENV_NAME="letsencrypt"
|
||||||
VENV_PATH=${VENV_PATH:-"$XDG_DATA_HOME/$VENV_NAME"}
|
VENV_PATH=${VENV_PATH:-"$XDG_DATA_HOME/$VENV_NAME"}
|
||||||
VENV_BIN="$VENV_PATH/bin"
|
VENV_BIN="$VENV_PATH/bin"
|
||||||
LE_AUTO_VERSION="0.8.0"
|
LE_AUTO_VERSION="0.8.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
|
||||||
@@ -172,7 +172,7 @@ BootstrapDebCommon() {
|
|||||||
# distro version (#346)
|
# distro version (#346)
|
||||||
|
|
||||||
virtualenv=
|
virtualenv=
|
||||||
if apt-cache show virtualenv > /dev/null 2>&1; then
|
if apt-cache show virtualenv > /dev/null 2>&1 && ! apt-cache --quiet=0 show virtualenv 2>&1 | grep -q 'No packages found'; then
|
||||||
virtualenv="virtualenv"
|
virtualenv="virtualenv"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
@@ -458,12 +458,39 @@ BootstrapSmartOS() {
|
|||||||
pkgin -y install 'gcc49' 'py27-augeas' 'py27-virtualenv'
|
pkgin -y install 'gcc49' 'py27-augeas' 'py27-virtualenv'
|
||||||
}
|
}
|
||||||
|
|
||||||
|
BootstrapMageiaCommon() {
|
||||||
|
if ! $SUDO urpmi --force \
|
||||||
|
python \
|
||||||
|
libpython-devel \
|
||||||
|
python-virtualenv
|
||||||
|
then
|
||||||
|
echo "Could not install Python dependencies. Aborting bootstrap!"
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
|
||||||
|
if ! $SUDO urpmi --force \
|
||||||
|
git \
|
||||||
|
gcc \
|
||||||
|
cdialog \
|
||||||
|
python-augeas \
|
||||||
|
libopenssl-devel \
|
||||||
|
libffi-devel \
|
||||||
|
rootcerts
|
||||||
|
then
|
||||||
|
echo "Could not install additional dependencies. Aborting bootstrap!"
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
# Install required OS packages:
|
# Install required OS packages:
|
||||||
Bootstrap() {
|
Bootstrap() {
|
||||||
if [ -f /etc/debian_version ]; then
|
if [ -f /etc/debian_version ]; then
|
||||||
echo "Bootstrapping dependencies for Debian-based OSes..."
|
echo "Bootstrapping dependencies for Debian-based OSes..."
|
||||||
BootstrapDebCommon
|
BootstrapDebCommon
|
||||||
|
elif [ -f /etc/mageia-release ] ; then
|
||||||
|
# Mageia has both /etc/mageia-release and /etc/redhat-release
|
||||||
|
ExperimentalBootstrap "Mageia" BootstrapMageiaCommon
|
||||||
elif [ -f /etc/redhat-release ]; then
|
elif [ -f /etc/redhat-release ]; then
|
||||||
echo "Bootstrapping dependencies for RedHat-based OSes..."
|
echo "Bootstrapping dependencies for RedHat-based OSes..."
|
||||||
BootstrapRpmCommon
|
BootstrapRpmCommon
|
||||||
@@ -476,7 +503,7 @@ Bootstrap() {
|
|||||||
BootstrapArchCommon
|
BootstrapArchCommon
|
||||||
else
|
else
|
||||||
echo "Please use pacman to install letsencrypt packages:"
|
echo "Please use pacman to install letsencrypt packages:"
|
||||||
echo "# pacman -S letsencrypt letsencrypt-apache"
|
echo "# pacman -S certbot certbot-apache"
|
||||||
echo
|
echo
|
||||||
echo "If you would like to use the virtualenv way, please run the script again with the"
|
echo "If you would like to use the virtualenv way, please run the script again with the"
|
||||||
echo "--debug flag."
|
echo "--debug flag."
|
||||||
@@ -500,6 +527,7 @@ Bootstrap() {
|
|||||||
echo "You will need to bootstrap, configure virtualenv, and run pip install manually."
|
echo "You will need to bootstrap, configure virtualenv, and run pip install manually."
|
||||||
echo "Please see https://letsencrypt.readthedocs.org/en/latest/contributing.html#prerequisites"
|
echo "Please see https://letsencrypt.readthedocs.org/en/latest/contributing.html#prerequisites"
|
||||||
echo "for more info."
|
echo "for more info."
|
||||||
|
exit 1
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -719,15 +747,15 @@ letsencrypt==0.7.0 \
|
|||||||
|
|
||||||
# THE LINES BELOW ARE EDITED BY THE RELEASE SCRIPT; ADD ALL DEPENDENCIES ABOVE.
|
# THE LINES BELOW ARE EDITED BY THE RELEASE SCRIPT; ADD ALL DEPENDENCIES ABOVE.
|
||||||
|
|
||||||
acme==0.8.0 \
|
acme==0.8.1 \
|
||||||
--hash=sha256:8561d590e496afb41a8ff2dac389199661d9cd785b1636ae08325771511189af \
|
--hash=sha256:ccd7883772efbf933f91713b8241455993834f3620c8fbd459d9ed5e50bbaaca \
|
||||||
--hash=sha256:dfa86b547628b231f275c7e0efc7a09bec5dfaec866f89f5c5b59b78c14564da
|
--hash=sha256:d3ea4acf280bf6253ad7d641cb0970f230a19805acfed809e7a8ddcf62157d9f
|
||||||
certbot==0.8.0 \
|
certbot==0.8.1 \
|
||||||
--hash=sha256:395c5840ff6b75aa51ee6449c86d016c14c5f65a71281e7bcef5feecac6a3293 \
|
--hash=sha256:89805d9f70249ae859ec4d7a99c00b4bb7083ca90cd12d4d202b76dfc284f7c5 \
|
||||||
--hash=sha256:3c3c70b484fb3243a166515adc81ae0401c5d687a2763c75b40df9d8241a4314
|
--hash=sha256:6ca8df3d310ced6687d38aac17c0fb8c1b2ec7a3bea156a254e4cc2a1c132771
|
||||||
certbot-apache==0.8.0 \
|
certbot-apache==0.8.1 \
|
||||||
--hash=sha256:f4d4fc962ecc19646f6745d49c62a265d26e5b2df3acf34ef4865351594156e3 \
|
--hash=sha256:c9e3fdc15e65589c2e39eb0e6b1f61f0c0a1db3c17b00bb337f0ff636cc61cb3 \
|
||||||
--hash=sha256:cfb211debbcb0d0645c88d7e8bb38c591fca263bfdb5337242c023956055e268
|
--hash=sha256:0faf2879884d3b7a58b071902fba37d4b8b58a50e2c3b8ac262c0a74134045ed
|
||||||
|
|
||||||
UNLIKELY_EOF
|
UNLIKELY_EOF
|
||||||
# -------------------------------------------------------------------------
|
# -------------------------------------------------------------------------
|
||||||
|
|||||||
@@ -200,6 +200,15 @@ renew:
|
|||||||
and keys; the shell variable $RENEWED_DOMAINS will
|
and keys; the shell variable $RENEWED_DOMAINS will
|
||||||
contain a space-delimited list of renewed cert domains
|
contain a space-delimited list of renewed cert domains
|
||||||
(default: None)
|
(default: None)
|
||||||
|
--disable-hook-validation
|
||||||
|
Ordinarily the commands specified for --pre-hook
|
||||||
|
/--post-hook/--renew-hook will be checked for
|
||||||
|
validity, to see if the programs being run are in the
|
||||||
|
$PATH, so that mistakes can be caught early, even when
|
||||||
|
the hooks aren't being run just yet. The validation is
|
||||||
|
rather simplistic and fails if you use more advanced
|
||||||
|
shell constructs, so you can use this switch to
|
||||||
|
disable it. (default: True)
|
||||||
|
|
||||||
certonly:
|
certonly:
|
||||||
Options for modifying how a cert is obtained
|
Options for modifying how a cert is obtained
|
||||||
|
|||||||
+40
-12
@@ -19,7 +19,7 @@ XDG_DATA_HOME=${XDG_DATA_HOME:-~/.local/share}
|
|||||||
VENV_NAME="letsencrypt"
|
VENV_NAME="letsencrypt"
|
||||||
VENV_PATH=${VENV_PATH:-"$XDG_DATA_HOME/$VENV_NAME"}
|
VENV_PATH=${VENV_PATH:-"$XDG_DATA_HOME/$VENV_NAME"}
|
||||||
VENV_BIN="$VENV_PATH/bin"
|
VENV_BIN="$VENV_PATH/bin"
|
||||||
LE_AUTO_VERSION="0.8.0"
|
LE_AUTO_VERSION="0.8.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
|
||||||
@@ -172,7 +172,7 @@ BootstrapDebCommon() {
|
|||||||
# distro version (#346)
|
# distro version (#346)
|
||||||
|
|
||||||
virtualenv=
|
virtualenv=
|
||||||
if apt-cache show virtualenv > /dev/null 2>&1; then
|
if apt-cache show virtualenv > /dev/null 2>&1 && ! apt-cache --quiet=0 show virtualenv 2>&1 | grep -q 'No packages found'; then
|
||||||
virtualenv="virtualenv"
|
virtualenv="virtualenv"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
@@ -458,12 +458,39 @@ BootstrapSmartOS() {
|
|||||||
pkgin -y install 'gcc49' 'py27-augeas' 'py27-virtualenv'
|
pkgin -y install 'gcc49' 'py27-augeas' 'py27-virtualenv'
|
||||||
}
|
}
|
||||||
|
|
||||||
|
BootstrapMageiaCommon() {
|
||||||
|
if ! $SUDO urpmi --force \
|
||||||
|
python \
|
||||||
|
libpython-devel \
|
||||||
|
python-virtualenv
|
||||||
|
then
|
||||||
|
echo "Could not install Python dependencies. Aborting bootstrap!"
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
|
||||||
|
if ! $SUDO urpmi --force \
|
||||||
|
git \
|
||||||
|
gcc \
|
||||||
|
cdialog \
|
||||||
|
python-augeas \
|
||||||
|
libopenssl-devel \
|
||||||
|
libffi-devel \
|
||||||
|
rootcerts
|
||||||
|
then
|
||||||
|
echo "Could not install additional dependencies. Aborting bootstrap!"
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
# Install required OS packages:
|
# Install required OS packages:
|
||||||
Bootstrap() {
|
Bootstrap() {
|
||||||
if [ -f /etc/debian_version ]; then
|
if [ -f /etc/debian_version ]; then
|
||||||
echo "Bootstrapping dependencies for Debian-based OSes..."
|
echo "Bootstrapping dependencies for Debian-based OSes..."
|
||||||
BootstrapDebCommon
|
BootstrapDebCommon
|
||||||
|
elif [ -f /etc/mageia-release ] ; then
|
||||||
|
# Mageia has both /etc/mageia-release and /etc/redhat-release
|
||||||
|
ExperimentalBootstrap "Mageia" BootstrapMageiaCommon
|
||||||
elif [ -f /etc/redhat-release ]; then
|
elif [ -f /etc/redhat-release ]; then
|
||||||
echo "Bootstrapping dependencies for RedHat-based OSes..."
|
echo "Bootstrapping dependencies for RedHat-based OSes..."
|
||||||
BootstrapRpmCommon
|
BootstrapRpmCommon
|
||||||
@@ -476,7 +503,7 @@ Bootstrap() {
|
|||||||
BootstrapArchCommon
|
BootstrapArchCommon
|
||||||
else
|
else
|
||||||
echo "Please use pacman to install letsencrypt packages:"
|
echo "Please use pacman to install letsencrypt packages:"
|
||||||
echo "# pacman -S letsencrypt letsencrypt-apache"
|
echo "# pacman -S certbot certbot-apache"
|
||||||
echo
|
echo
|
||||||
echo "If you would like to use the virtualenv way, please run the script again with the"
|
echo "If you would like to use the virtualenv way, please run the script again with the"
|
||||||
echo "--debug flag."
|
echo "--debug flag."
|
||||||
@@ -500,6 +527,7 @@ Bootstrap() {
|
|||||||
echo "You will need to bootstrap, configure virtualenv, and run pip install manually."
|
echo "You will need to bootstrap, configure virtualenv, and run pip install manually."
|
||||||
echo "Please see https://letsencrypt.readthedocs.org/en/latest/contributing.html#prerequisites"
|
echo "Please see https://letsencrypt.readthedocs.org/en/latest/contributing.html#prerequisites"
|
||||||
echo "for more info."
|
echo "for more info."
|
||||||
|
exit 1
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -719,15 +747,15 @@ letsencrypt==0.7.0 \
|
|||||||
|
|
||||||
# THE LINES BELOW ARE EDITED BY THE RELEASE SCRIPT; ADD ALL DEPENDENCIES ABOVE.
|
# THE LINES BELOW ARE EDITED BY THE RELEASE SCRIPT; ADD ALL DEPENDENCIES ABOVE.
|
||||||
|
|
||||||
acme==0.8.0 \
|
acme==0.8.1 \
|
||||||
--hash=sha256:8561d590e496afb41a8ff2dac389199661d9cd785b1636ae08325771511189af \
|
--hash=sha256:ccd7883772efbf933f91713b8241455993834f3620c8fbd459d9ed5e50bbaaca \
|
||||||
--hash=sha256:dfa86b547628b231f275c7e0efc7a09bec5dfaec866f89f5c5b59b78c14564da
|
--hash=sha256:d3ea4acf280bf6253ad7d641cb0970f230a19805acfed809e7a8ddcf62157d9f
|
||||||
certbot==0.8.0 \
|
certbot==0.8.1 \
|
||||||
--hash=sha256:395c5840ff6b75aa51ee6449c86d016c14c5f65a71281e7bcef5feecac6a3293 \
|
--hash=sha256:89805d9f70249ae859ec4d7a99c00b4bb7083ca90cd12d4d202b76dfc284f7c5 \
|
||||||
--hash=sha256:3c3c70b484fb3243a166515adc81ae0401c5d687a2763c75b40df9d8241a4314
|
--hash=sha256:6ca8df3d310ced6687d38aac17c0fb8c1b2ec7a3bea156a254e4cc2a1c132771
|
||||||
certbot-apache==0.8.0 \
|
certbot-apache==0.8.1 \
|
||||||
--hash=sha256:f4d4fc962ecc19646f6745d49c62a265d26e5b2df3acf34ef4865351594156e3 \
|
--hash=sha256:c9e3fdc15e65589c2e39eb0e6b1f61f0c0a1db3c17b00bb337f0ff636cc61cb3 \
|
||||||
--hash=sha256:cfb211debbcb0d0645c88d7e8bb38c591fca263bfdb5337242c023956055e268
|
--hash=sha256:0faf2879884d3b7a58b071902fba37d4b8b58a50e2c3b8ac262c0a74134045ed
|
||||||
|
|
||||||
UNLIKELY_EOF
|
UNLIKELY_EOF
|
||||||
# -------------------------------------------------------------------------
|
# -------------------------------------------------------------------------
|
||||||
|
|||||||
@@ -1,11 +1,11 @@
|
|||||||
-----BEGIN PGP SIGNATURE-----
|
-----BEGIN PGP SIGNATURE-----
|
||||||
Version: GnuPG v1
|
Version: GnuPG v1
|
||||||
|
|
||||||
iQEcBAABAgAGBQJXUJvwAAoJEE0XyZXNl3XyvKsH/3qn7Xa/GQx3HvB6Io/Csn/E
|
iQEcBAABAgAGBQJXYJmBAAoJEE0XyZXNl3XyyIMH/jtYFb7rl5XXN8hjlKuK5frq
|
||||||
v1nbUg5RPwvrTyyol8BJ6UrHiJw+gTbUgCAnBkZ7DYKaC8AQmQXVRcWXNALMMTzB
|
z7/jdK7fvI+mtYJ4i2Cy3yMz8T4wscXGkhxNtipbATWlpevPfjYzm4ZGC25coFZx
|
||||||
6LpBXjQQ2xrBYamGj70N7KnTM1QmxI96GUQouiHMJVugV4uihKJDjtR8/f2JWKok
|
fDX44w0hBBgel7EISXGR1ABXb2rj24TZxIYXwaeClylsK9n5CxcWBocn8tDlfr8t
|
||||||
ZSox6E4LqC45HzqLWiOqc13TrHbti32Mo8DyC63PBnSwMnypGLK6XcqM0L9Re62W
|
7VQUJEL3l1IlrnKnvpoL4Eq11sxlIPtitDPJ5c98ZM1293ZbWzIqyZKoXLIUkKHg
|
||||||
smoKu1VWKwWZYRYXIQr0dvK4JmVTrIsdASdZkhTC/vc8y4tGkdN0DcF2EHzci6OA
|
pkaa80j/QMmFumxzXFenU91JusLdeoblvjjg+kzjGonjslAYIuH4wEEjz2VJuUYe
|
||||||
Tx0W+Ao+HM1ZcaaH3BJ1y3kYfT+mlt6o4OaK3UB/wtUzMmVih7l1UeiNkVL0oYk=
|
P2+2ZyW4eLA6rRZhZ3CMtV79HzTPTWiELCYbXezb+yXJJEqzCYtIXkmbNQ3jUEY=
|
||||||
=t3L6
|
=86lB
|
||||||
-----END PGP SIGNATURE-----
|
-----END PGP SIGNATURE-----
|
||||||
|
|||||||
@@ -747,15 +747,15 @@ letsencrypt==0.7.0 \
|
|||||||
|
|
||||||
# THE LINES BELOW ARE EDITED BY THE RELEASE SCRIPT; ADD ALL DEPENDENCIES ABOVE.
|
# THE LINES BELOW ARE EDITED BY THE RELEASE SCRIPT; ADD ALL DEPENDENCIES ABOVE.
|
||||||
|
|
||||||
acme==0.8.0 \
|
acme==0.8.1 \
|
||||||
--hash=sha256:8561d590e496afb41a8ff2dac389199661d9cd785b1636ae08325771511189af \
|
--hash=sha256:ccd7883772efbf933f91713b8241455993834f3620c8fbd459d9ed5e50bbaaca \
|
||||||
--hash=sha256:dfa86b547628b231f275c7e0efc7a09bec5dfaec866f89f5c5b59b78c14564da
|
--hash=sha256:d3ea4acf280bf6253ad7d641cb0970f230a19805acfed809e7a8ddcf62157d9f
|
||||||
certbot==0.8.0 \
|
certbot==0.8.1 \
|
||||||
--hash=sha256:395c5840ff6b75aa51ee6449c86d016c14c5f65a71281e7bcef5feecac6a3293 \
|
--hash=sha256:89805d9f70249ae859ec4d7a99c00b4bb7083ca90cd12d4d202b76dfc284f7c5 \
|
||||||
--hash=sha256:3c3c70b484fb3243a166515adc81ae0401c5d687a2763c75b40df9d8241a4314
|
--hash=sha256:6ca8df3d310ced6687d38aac17c0fb8c1b2ec7a3bea156a254e4cc2a1c132771
|
||||||
certbot-apache==0.8.0 \
|
certbot-apache==0.8.1 \
|
||||||
--hash=sha256:f4d4fc962ecc19646f6745d49c62a265d26e5b2df3acf34ef4865351594156e3 \
|
--hash=sha256:c9e3fdc15e65589c2e39eb0e6b1f61f0c0a1db3c17b00bb337f0ff636cc61cb3 \
|
||||||
--hash=sha256:cfb211debbcb0d0645c88d7e8bb38c591fca263bfdb5337242c023956055e268
|
--hash=sha256:0faf2879884d3b7a58b071902fba37d4b8b58a50e2c3b8ac262c0a74134045ed
|
||||||
|
|
||||||
UNLIKELY_EOF
|
UNLIKELY_EOF
|
||||||
# -------------------------------------------------------------------------
|
# -------------------------------------------------------------------------
|
||||||
|
|||||||
Binary file not shown.
@@ -181,12 +181,12 @@ letsencrypt==0.7.0 \
|
|||||||
|
|
||||||
# THE LINES BELOW ARE EDITED BY THE RELEASE SCRIPT; ADD ALL DEPENDENCIES ABOVE.
|
# THE LINES BELOW ARE EDITED BY THE RELEASE SCRIPT; ADD ALL DEPENDENCIES ABOVE.
|
||||||
|
|
||||||
acme==0.8.0 \
|
acme==0.8.1 \
|
||||||
--hash=sha256:8561d590e496afb41a8ff2dac389199661d9cd785b1636ae08325771511189af \
|
--hash=sha256:ccd7883772efbf933f91713b8241455993834f3620c8fbd459d9ed5e50bbaaca \
|
||||||
--hash=sha256:dfa86b547628b231f275c7e0efc7a09bec5dfaec866f89f5c5b59b78c14564da
|
--hash=sha256:d3ea4acf280bf6253ad7d641cb0970f230a19805acfed809e7a8ddcf62157d9f
|
||||||
certbot==0.8.0 \
|
certbot==0.8.1 \
|
||||||
--hash=sha256:395c5840ff6b75aa51ee6449c86d016c14c5f65a71281e7bcef5feecac6a3293 \
|
--hash=sha256:89805d9f70249ae859ec4d7a99c00b4bb7083ca90cd12d4d202b76dfc284f7c5 \
|
||||||
--hash=sha256:3c3c70b484fb3243a166515adc81ae0401c5d687a2763c75b40df9d8241a4314
|
--hash=sha256:6ca8df3d310ced6687d38aac17c0fb8c1b2ec7a3bea156a254e4cc2a1c132771
|
||||||
certbot-apache==0.8.0 \
|
certbot-apache==0.8.1 \
|
||||||
--hash=sha256:f4d4fc962ecc19646f6745d49c62a265d26e5b2df3acf34ef4865351594156e3 \
|
--hash=sha256:c9e3fdc15e65589c2e39eb0e6b1f61f0c0a1db3c17b00bb337f0ff636cc61cb3 \
|
||||||
--hash=sha256:cfb211debbcb0d0645c88d7e8bb38c591fca263bfdb5337242c023956055e268
|
--hash=sha256:0faf2879884d3b7a58b071902fba37d4b8b58a50e2c3b8ac262c0a74134045ed
|
||||||
|
|||||||
Reference in New Issue
Block a user