system/letsencrypt: Updated for version 1.1.0.

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
Willy Sudiarto Raharjo 2020-01-18 07:59:20 +07:00
parent e7c5997b93
commit c49d9f10b5
No known key found for this signature in database
GPG Key ID: 887B8374D7333381
3 changed files with 16 additions and 11 deletions

View File

@ -8,3 +8,8 @@ See README.Slackware for more detailed instructions.
Note: the certificate client tool is now certbot, but a symlink is provided Note: the certificate client tool is now certbot, but a symlink is provided
to be backward compatible with previous letsencrypt version. to be backward compatible with previous letsencrypt version.
Please rename the script to the new name: certbot Please rename the script to the new name: certbot
Since 1.1.0, most of deps must be (re)built against Python3.
While most of the scripts have python3 support already, some scripts have to be
installed using custom parameter (PYTHON3=yes):
- psutil

View File

@ -2,7 +2,7 @@
# Slackware build script for letsencrypt # Slackware build script for letsencrypt
# Copyright 2015-2019 Willy Sudiarto Raharjo <willysr@slackbuilds.org> # Copyright 2015-2020 Willy Sudiarto Raharjo <willysr@slackbuilds.org>
# All rights reserved. # All rights reserved.
# #
# Redistribution and use of this script, with or without modification, is # Redistribution and use of this script, with or without modification, is
@ -24,7 +24,7 @@
PRGNAM=letsencrypt PRGNAM=letsencrypt
SRCNAM=certbot SRCNAM=certbot
VERSION=${VERSION:-1.0.0} VERSION=${VERSION:-1.1.0}
BUILD=${BUILD:-1} BUILD=${BUILD:-1}
TAG=${TAG:-_SBo} TAG=${TAG:-_SBo}
@ -80,24 +80,24 @@ done
# install acme-protocol first # install acme-protocol first
cd acme cd acme
python setup.py install --root=$PKG python3 setup.py install --root=$PKG
# install letsencrypt client # install letsencrypt client
cd ../certbot cd ../certbot
python setup.py install --root=$PKG python3 setup.py install --root=$PKG
# install apache plugin # install apache plugin
cd ../certbot-apache cd ../certbot-apache
python setup.py install --root=$PKG python3 setup.py install --root=$PKG
cd .. cd ..
# install nginx plugin # install nginx plugin
#cd ../certbot-nginx #cd ../certbot-nginx
#python setup.py install --root=$PKG #python3 setup.py install --root=$PKG
# We include default options for Apache # We include default options for Apache
mkdir -p $PKG/etc/letsencrypt/ mkdir -p $PKG/etc/letsencrypt/
cp $PKG/usr/lib${LIBDIRSUFFIX}/python2.7/site-packages/certbot_apache/_internal/options-ssl-apache.conf \ cp $PKG/usr/lib${LIBDIRSUFFIX}/python3.7/site-packages/certbot_apache/_internal/options-ssl-apache.conf \
$PKG/etc/letsencrypt/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 \ find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \

View File

@ -1,10 +1,10 @@
PRGNAM="letsencrypt" PRGNAM="letsencrypt"
VERSION="1.0.0" VERSION="1.1.0"
HOMEPAGE="https://letsencrypt.org/" HOMEPAGE="https://letsencrypt.org/"
DOWNLOAD="https://github.com/certbot/certbot/archive/v1.0.0/certbot-1.0.0.tar.gz" DOWNLOAD="https://github.com/certbot/certbot/archive/v1.1.0/certbot-1.1.0.tar.gz"
MD5SUM="b315bc17f96689f729b2e72366658709" MD5SUM="7ad231b513910a0e8d2d8d32365589d5"
DOWNLOAD_x86_64="" DOWNLOAD_x86_64=""
MD5SUM_x86_64="" MD5SUM_x86_64=""
REQUIRES="configobj mock pytz python2-pythondialog zope.component pyrfc3339 psutil python-parsedatetime python-configargparse werkzeug ndg_httpsclient python-augeas pyparsing josepy funcsigs requests-toolbelt python-distro" 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 python3-certifi python3-packaging"
MAINTAINER="Willy Sudiarto Raharjo" MAINTAINER="Willy Sudiarto Raharjo"
EMAIL="willysr@slackbuilds.org" EMAIL="willysr@slackbuilds.org"