summaryrefslogtreecommitdiffstats
path: root/system/letsencrypt
diff options
context:
space:
mode:
Diffstat (limited to 'system/letsencrypt')
-rw-r--r--system/letsencrypt/README10
-rw-r--r--system/letsencrypt/letsencrypt.SlackBuild19
-rw-r--r--system/letsencrypt/letsencrypt.info8
3 files changed, 22 insertions, 15 deletions
diff --git a/system/letsencrypt/README b/system/letsencrypt/README
index 98bc09e09f..30b4362b96 100644
--- a/system/letsencrypt/README
+++ b/system/letsencrypt/README
@@ -1,12 +1,12 @@
The Let's Encrypt Client (now called certbot) is a tool to
-automatically receive and install X.509 certificates to enable TLS on servers.
-The client will interoperate with the Let's Encrypt CA which will be
-issuing browser-trusted certificates for free.
+automatically receive and install X.509 certificates to enable TLS on
+servers. The client will interoperate with the Let's Encrypt CA which
+will be issuing browser-trusted certificates for free.
See README.Slackware for more detailed instructions.
-Note: the certificate client tool is now certbot, but a symlink is provided
-to be backward compatible with previous letsencrypt version.
+Note: the certificate client tool is now certbot, but a symlink is
+provided to be backward compatible with previous letsencrypt version.
Please rename the script to the new name: certbot
Since 1.1.0, most of deps must be (re)built against Python3.
diff --git a/system/letsencrypt/letsencrypt.SlackBuild b/system/letsencrypt/letsencrypt.SlackBuild
index 4c017a7441..30aa229826 100644
--- a/system/letsencrypt/letsencrypt.SlackBuild
+++ b/system/letsencrypt/letsencrypt.SlackBuild
@@ -1,8 +1,8 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for letsencrypt
-# Copyright 2015-2021 Willy Sudiarto Raharjo <willysr@slackbuilds.org>
+# Copyright 2015-2024 Willy Sudiarto Raharjo <willysr@slackbuilds.org>
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -22,11 +22,14 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=letsencrypt
SRCNAM=certbot
-VERSION=${VERSION:-1.12.0}
+VERSION=${VERSION:-2.10.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -36,7 +39,11 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -97,7 +104,7 @@ cd ..
# We include default options for Apache
mkdir -p $PKG/etc/letsencrypt/
-cp $PKG/usr/lib${LIBDIRSUFFIX}/python$(python3 -c 'import sys; print("%d.%d" % sys.version_info[:2])')/site-packages/certbot_apache/_internal/tls_configs/current-options-ssl-apache.conf \
+cp $PKG/usr/lib*/python$(python3 -c 'import sys; print("%d.%d" % sys.version_info[:2])')/site-packages/certbot_apache/_internal/tls_configs/current-options-ssl-apache.conf \
$PKG/etc/letsencrypt/options-ssl-apache.conf
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
@@ -114,4 +121,4 @@ mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/system/letsencrypt/letsencrypt.info b/system/letsencrypt/letsencrypt.info
index d4831ccca7..318e59fc28 100644
--- a/system/letsencrypt/letsencrypt.info
+++ b/system/letsencrypt/letsencrypt.info
@@ -1,10 +1,10 @@
PRGNAM="letsencrypt"
-VERSION="1.12.0"
+VERSION="2.10.0"
HOMEPAGE="https://letsencrypt.org/"
-DOWNLOAD="https://github.com/certbot/certbot/archive/v1.12.0/certbot-1.12.0.tar.gz"
-MD5SUM="c1f0ec078646026f4a60b81f198fef7e"
+DOWNLOAD="https://github.com/certbot/certbot/archive/v2.10.0/certbot-2.10.0.tar.gz"
+MD5SUM="6de5a7810a2157c632b4343f895d2f59"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="configobj mock pytz python3-pythondialog zope.component pyrfc3339 psutil python-parsedatetime python-configargparse werkzeug ndg_httpsclient python3-augeas josepy funcsigs requests-toolbelt python-distro python-certifi python3-packaging"
+REQUIRES="configobj pytz python3-pythondialog zope.component pyrfc3339 python3-psutil python-parsedatetime python3-configargparse werkzeug ndg_httpsclient python3-augeas josepy funcsigs requests-toolbelt python-importlib_metadata"
MAINTAINER="Willy Sudiarto Raharjo"
EMAIL="willysr@slackbuilds.org"