diff options
author | nils <nils@pkgsrc.org> | 2017-03-10 08:30:51 +0000 |
---|---|---|
committer | nils <nils@pkgsrc.org> | 2017-03-10 08:30:51 +0000 |
commit | ad73e93c7b7214200317a253a14d79abeff07d6a (patch) | |
tree | 7dea41c23081bf0fd0413fc2fac2d6b066372cef /security/dehydrated | |
parent | b8af6c74d70f43b085a33b85663f291da51b79c7 (diff) | |
download | pkgsrc-ad73e93c7b7214200317a253a14d79abeff07d6a.tar.gz |
Import dehydrated-0.4.0 as security/dehydrated.
This is a client for signing certificates with an ACME-server
(currently only provided by letsencrypt) implemented as a
relatively simple bash-script.
It uses the openssl utility for everything related to
actually handling keys and certificates,
so you need to have that installed.
Other dependencies are: curl, sed, grep, mktemp
(all found on almost any system, curl being the only exception)
Diffstat (limited to 'security/dehydrated')
-rw-r--r-- | security/dehydrated/DESCR | 10 | ||||
-rw-r--r-- | security/dehydrated/Makefile | 43 | ||||
-rw-r--r-- | security/dehydrated/PLIST | 18 | ||||
-rw-r--r-- | security/dehydrated/distinfo | 6 |
4 files changed, 77 insertions, 0 deletions
diff --git a/security/dehydrated/DESCR b/security/dehydrated/DESCR new file mode 100644 index 00000000000..8426ee17032 --- /dev/null +++ b/security/dehydrated/DESCR @@ -0,0 +1,10 @@ +This is a client for signing certificates with an ACME-server +(currently only provided by letsencrypt) implemented as a +relatively simple bash-script. + +It uses the openssl utility for everything related to +actually handling keys and certificates, +so you need to have that installed. + +Other dependencies are: curl, sed, grep, mktemp +(all found on almost any system, curl being the only exception) diff --git a/security/dehydrated/Makefile b/security/dehydrated/Makefile new file mode 100644 index 00000000000..394925a968a --- /dev/null +++ b/security/dehydrated/Makefile @@ -0,0 +1,43 @@ +# $NetBSD: Makefile,v 1.1 2017/03/10 08:30:51 nils Exp $ + +DISTNAME= dehydrated-0.4.0 +CATEGORIES= security +MASTER_SITES= ${MASTER_SITE_GITHUB:=lukas2511/} + +MAINTAINER= nils@NetBSD.org +HOMEPAGE= https://github.com/lukas2511/dehydrated +COMMENT= Letsencrypt/acme client implemented as a shell-script +LICENSE= mit + +GITHUB_PROJECT= dehydrated +GITHUB_TAG= v${PKGVERSION_NOREV} + +NO_BUILD= yes + +USE_TOOLS+= bash:run sed:run awk:run curl:run pax openssl +REPLACE_BASH= dehydrated test.sh docs/examples/hook.sh + +EGDIR= ${PREFIX}/share/examples/dehydrated +CONF_FILES= ${EGDIR}/config ${PKG_SYSCONFDIR}/dehydrated/config +CONF_FILES+= ${EGDIR}/domains.txt ${PKG_SYSCONFDIR}/dehydrated/domains.txt +OWN_DIRS= ${PKG_SYSCONFDIR}/dehydrated +DOCDIR= share/doc/dehydrated +INSTALLATION_DIRS+= ${EGDIR} ${PKG_SYSCONFDIR} ${OWN_DIRS} ${DOCDIR} bin +AUTO_MKDIRS= yes + +SUBST_CLASSES+= paths +SUBST_STAGE.paths= post-extract +SUBST_FILES.paths= ${WRKSRC}/dehydrated +SUBST_SED.paths= -e 's|/usr/local/etc|${PKG_SYSCONFDIR}|g' + +do-install: + ${INSTALL_SCRIPT} ${WRKSRC}/dehydrated ${DESTDIR}${PREFIX}/bin/dehydrated + ${INSTALL_DATA} ${WRKSRC}/CHANGELOG ${DESTDIR}${PREFIX}/${DOCDIR} + ${INSTALL_DATA} ${WRKSRC}/LICENSE ${DESTDIR}${PREFIX}/${DOCDIR} + ${INSTALL_DATA} ${WRKSRC}/README.md ${DESTDIR}${PREFIX}/${DOCDIR} + cd ${WRKSRC}/docs && pax -rw *.md ${DESTDIR}${PREFIX}/${DOCDIR} + ${INSTALL_DATA} ${WRKSRC}/docs/examples/config ${DESTDIR}${EGDIR} + ${INSTALL_DATA} ${WRKSRC}/docs/examples/domains.txt ${DESTDIR}${EGDIR} + ${INSTALL_DATA} ${WRKSRC}/docs/examples/hook.sh ${DESTDIR}${EGDIR} + +.include "../../mk/bsd.pkg.mk" diff --git a/security/dehydrated/PLIST b/security/dehydrated/PLIST new file mode 100644 index 00000000000..2e199ef385c --- /dev/null +++ b/security/dehydrated/PLIST @@ -0,0 +1,18 @@ +@comment $NetBSD: PLIST,v 1.1 2017/03/10 08:30:51 nils Exp $ +bin/dehydrated +share/doc/dehydrated/CHANGELOG +share/doc/dehydrated/LICENSE +share/doc/dehydrated/README.md +share/doc/dehydrated/dns-verification.md +share/doc/dehydrated/domains_txt.md +share/doc/dehydrated/ecc.md +share/doc/dehydrated/hook_chain.md +share/doc/dehydrated/import-from-official-client.md +share/doc/dehydrated/per-certificate-config.md +share/doc/dehydrated/staging.md +share/doc/dehydrated/troubleshooting.md +share/doc/dehydrated/wellknown.md +share/examples/dehydrated/config +share/examples/dehydrated/domains.txt +share/examples/dehydrated/hook.sh +@pkgdir etc/dehydrated diff --git a/security/dehydrated/distinfo b/security/dehydrated/distinfo new file mode 100644 index 00000000000..51fb844248a --- /dev/null +++ b/security/dehydrated/distinfo @@ -0,0 +1,6 @@ +$NetBSD: distinfo,v 1.1 2017/03/10 08:30:51 nils Exp $ + +SHA1 (dehydrated-0.4.0.tar.gz) = 58ef0848645641a70492ff0b39ddfac7b9976194 +RMD160 (dehydrated-0.4.0.tar.gz) = 19032b84f379d8ef2ec9266aa51af71846cd45c2 +SHA512 (dehydrated-0.4.0.tar.gz) = 3c8c0f2fab57a432b69451f8372c02666dd953985679d12a2af9f6b917335b5b10a1196699106e317660039178ce1139a4d5455d4825a152b6911596fba16738 +Size (dehydrated-0.4.0.tar.gz) = 74005 bytes |