summaryrefslogtreecommitdiffstats
path: root/security
diff options
context:
space:
mode:
authorVlad Glagolev2019-03-02 04:52:23 +0000
committerVlad Glagolev2019-03-02 04:52:23 +0000
commit4264939708dbec4f7e904327f5a16b762a5ce617 (patch)
tree1cdb3c4a625b1b6b8053670132878422b9dd8943 /security
parent6dd3d619314a918edc482d1b6c09af87488bb7d5 (diff)
dehydrated: new spell, letsencrypt/acme client implemented as a shell-script
Diffstat (limited to 'security')
-rwxr-xr-xsecurity/dehydrated/BUILD1
-rwxr-xr-xsecurity/dehydrated/DEPENDS2
-rwxr-xr-xsecurity/dehydrated/DETAILS28
-rw-r--r--security/dehydrated/HISTORY3
-rwxr-xr-xsecurity/dehydrated/INSTALL21
-rw-r--r--security/dehydrated/dehydrated.gpgbin0 -> 13967 bytes
6 files changed, 55 insertions, 0 deletions
diff --git a/security/dehydrated/BUILD b/security/dehydrated/BUILD
new file mode 100755
index 0000000000..27ba77ddaf
--- /dev/null
+++ b/security/dehydrated/BUILD
@@ -0,0 +1 @@
+true
diff --git a/security/dehydrated/DEPENDS b/security/dehydrated/DEPENDS
new file mode 100755
index 0000000000..f0968dc762
--- /dev/null
+++ b/security/dehydrated/DEPENDS
@@ -0,0 +1,2 @@
+runtime_depends SSL &&
+runtime_depends curl
diff --git a/security/dehydrated/DETAILS b/security/dehydrated/DETAILS
new file mode 100755
index 0000000000..0660c8b2bf
--- /dev/null
+++ b/security/dehydrated/DETAILS
@@ -0,0 +1,28 @@
+ SPELL=dehydrated
+ VERSION=0.6.2
+ SOURCE=${SPELL}-${VERSION}.tar.gz
+ SOURCE2=${SOURCE}.asc
+ SOURCE_URL[0]=https://github.com/lukas2511/${SPELL}/releases/download/v${VERSION}/${SOURCE}
+ SOURCE2_URL[0]=${SOURCE_URL}.asc
+ SOURCE_GPG=dehydrated.gpg:${SOURCE2}:UPSTREAM_KEY
+ SOURCE2_IGNORE=signature
+ DOC_DIRS=""
+ DOCS="CHANGELOG LICENSE README.md docs/*.md"
+SOURCE_DIRECTORY="${BUILD_DIRECTORY}/${SPELL}-${VERSION}"
+ WEB_SITE=https://dehydrated.io/
+ LICENSE[0]=MIT
+ ENTERED=20190301
+ SHORT="letsencrypt/acme client implemented as a shell-script"
+cat << EOF
+Dehydrated is a client for signing certificates with an ACME-server (e.g.
+Let's Encrypt) implemented as a relatively simple bash-script.
+
+This client supports both ACME v1 and the new ACME v2 including support for
+wildcard certificates.
+
+Current features:
+- Signing of a list of domains
+- Signing of a custom CSR
+- Renewal if a certificate is about to expire or defined set of domains changed
+- Certificate revocation
+EOF
diff --git a/security/dehydrated/HISTORY b/security/dehydrated/HISTORY
new file mode 100644
index 0000000000..eb2406676e
--- /dev/null
+++ b/security/dehydrated/HISTORY
@@ -0,0 +1,3 @@
+2019-03-01 Vlad Glagolev <stealth@sourcemage.org>
+ * DEPENDS, DETAILS, BUILD, INSTALL, dehydrated.gpg: created spell,
+ version 0.6.2
diff --git a/security/dehydrated/INSTALL b/security/dehydrated/INSTALL
new file mode 100755
index 0000000000..dc48ea7fcb
--- /dev/null
+++ b/security/dehydrated/INSTALL
@@ -0,0 +1,21 @@
+install -vm 755 dehydrated "${INSTALL_ROOT}/usr/bin/dehydrated" &&
+
+local DEHYDRATED_ETC="${INSTALL_ROOT}/etc/dehydrated" &&
+local DEHYDRATED_MAN="${INSTALL_ROOT}/usr/share/man/man1" &&
+
+if [ ! -d "${DEHYDRATED_ETC}" ]; then
+ install -vm 755 -d "${DEHYDRATED_ETC}"
+fi &&
+
+if [ ! -d "${DEHYDRATED_MAN}" ]; then
+ mkdir -p "${DEHYDRATED_MAN}"
+fi &&
+
+install_config_file docs/examples/config \
+ "${DEHYDRATED_ETC}/config" &&
+install_config_file docs/examples/domains.txt \
+ "${DEHYDRATED_ETC}/domains.txt" &&
+install_config_file docs/examples/hook.sh \
+ "${DEHYDRATED_ETC}/hook.sh" &&
+
+install -vm 644 docs/man/dehydrated.1 "${DEHYDRATED_MAN}/dehydrated.1"
diff --git a/security/dehydrated/dehydrated.gpg b/security/dehydrated/dehydrated.gpg
new file mode 100644
index 0000000000..90899a1b2a
--- /dev/null
+++ b/security/dehydrated/dehydrated.gpg
Binary files differ