summaryrefslogtreecommitdiff
path: root/network
diff options
context:
space:
mode:
authorCorrado Franco <conraid (at) linux (dot) it>2019-05-10 23:46:20 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2019-05-10 23:46:20 +0700
commita5059a0c2d8e84db56ad432ae7cc326d44f0bdaf (patch)
treef5831c0a35c8966d450e3fce12d4f68896bc3322 /network
parentc2585636fb57ec170aa06ec641ed29f5358f370d (diff)
downloadslackbuilds-a5059a0c2d8e84db56ad432ae7cc326d44f0bdaf.tar.gz
network/acme.sh: Added (ACME client protocol).
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'network')
-rw-r--r--network/acme.sh/README15
-rw-r--r--network/acme.sh/acme.sh.SlackBuild78
-rw-r--r--network/acme.sh/acme.sh.info10
-rw-r--r--network/acme.sh/slack-desc19
4 files changed, 122 insertions, 0 deletions
diff --git a/network/acme.sh/README b/network/acme.sh/README
new file mode 100644
index 0000000000..374de32be7
--- /dev/null
+++ b/network/acme.sh/README
@@ -0,0 +1,15 @@
+An ACME Shell script
+
+ - An ACME protocol client written purely in Shell (Unix shell) language.
+ - Full ACME protocol implementation.
+ - Support ACME v1 and ACME v2
+ - Support ACME v2 wildcard certs
+ - Simple, powerful and very easy to use. You only need 3 minutes to learn it.
+ - Bash, dash and sh compatible.
+ - Simplest shell script for Let's Encrypt free certificate client.
+ - Purely written in Shell with no dependencies on python or the official Let's Encrypt client.
+ - Just one script to issue, renew and install your certificates automatically.
+ - DOES NOT require root/sudoer access.
+ - Docker friendly
+ - IPv6 support
+ - Cron job notifications for renewal or error etc.
diff --git a/network/acme.sh/acme.sh.SlackBuild b/network/acme.sh/acme.sh.SlackBuild
new file mode 100644
index 0000000000..4cfb5bca53
--- /dev/null
+++ b/network/acme.sh/acme.sh.SlackBuild
@@ -0,0 +1,78 @@
+#!/bin/bash
+#
+# Slackware build script for acme.sh
+#
+# Copyright 2019 Corrado Franco (https://conraid.net)
+# All rights reserved.
+#
+# This program is free software: you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version, with the following exception:
+# the text of the GPL license may be omitted.
+
+# This program is distributed in the hope that it will be useful, but
+# without any warranty; without even the implied warranty of
+# merchantability or fitness for a particular purpose. Compiling,
+# interpreting, executing or merely reading the text of the program
+# may result in lapses of consciousness and/or very being, up to and
+# including the end of all existence and the Universe as we know it.
+# See the GNU General Public License for more details.
+
+# You may have received a copy of the GNU General Public License along
+# with this program (most likely, a file named COPYING). If not, see
+# <http://www.gnu.org/licenses/>.
+#
+# Latest version of this SlackBuild at https://github.com/conraid/SlackBuilds
+
+PRGNAM=acme.sh
+VERSION=${VERSION:-2.8.1}
+BUILD=${BUILD:-1}
+TAG=${TAG:-_SBo}
+
+DOCFILES="*.md"
+
+CWD=$(pwd)
+TMP=${TMP:-/tmp/SBo}
+PKG=$TMP/package-$PRGNAM
+OUTPUT=${OUTPUT:-/tmp}
+
+ARCH=noarch
+
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME:-""}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD.txz "
+ exit 0
+fi
+
+set -eu
+
+rm -rf $PKG
+mkdir -p $TMP $PKG $OUTPUT
+cd $TMP
+rm -rf $PRGNAM-$VERSION
+tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
+cd $PRGNAM-$VERSION
+
+chown -R root:root .
+find -L . \
+ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
+ -o -perm 511 \) -exec chmod 755 {} \; -o \
+ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+
+install -Dm755 acme.sh $PKG/usr/bin/acme.sh
+install -Dm755 deploy/*.sh -t $PKG/usr/share/$PRGNAM/deploy/
+install -Dm755 dnsapi/*.sh -t $PKG/usr/share/$PRGNAM/dnsapi/
+
+mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a *.md $PKG/usr/doc/$PRGNAM-$VERSION || true
+cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+
+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}
diff --git a/network/acme.sh/acme.sh.info b/network/acme.sh/acme.sh.info
new file mode 100644
index 0000000000..d2bf202082
--- /dev/null
+++ b/network/acme.sh/acme.sh.info
@@ -0,0 +1,10 @@
+PRGNAM="acme.sh"
+VERSION="2.8.1"
+HOMEPAGE="https://acme.sh/"
+DOWNLOAD="https://github.com/Neilpang/acme.sh/archive/2.8.1/acme.sh-2.8.1.tar.gz"
+MD5SUM="86e2c16c0bd96fcf89bc2488d7589b43"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES=""
+MAINTAINER="Corrado Franco"
+EMAIL="conraid (at) linux (dot) it"
diff --git a/network/acme.sh/slack-desc b/network/acme.sh/slack-desc
new file mode 100644
index 0000000000..f16d030865
--- /dev/null
+++ b/network/acme.sh/slack-desc
@@ -0,0 +1,19 @@
+# HOW TO EDIT THIS FILE:
+# The "handy ruler" below makes it easier to edit a package description. Line
+# up the first '|' above the ':' following the base package name, and the '|'
+# on the right side marks the last column you can put a character in. You must
+# make exactly 11 lines for the formatting to be correct. It's also
+# customary to leave one space after the ':' except on otherwise blank lines.
+
+ |-----handy-ruler------------------------------------------------------|
+acme.sh: acme.sh (ACME client protocol)
+acme.sh:
+acme.sh: A pure Unix shell script implementing ACME client protocol
+acme.sh:
+acme.sh:
+acme.sh:
+acme.sh:
+acme.sh:
+acme.sh:
+acme.sh:
+acme.sh: