pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Imported dehydrated-0.3.1, a letsencrypt/acme client implemented as a shell-script



Module Name:	pkgsrc-wip
Committed By:	Nils Ratusznik <nils%NetBSD.org@localhost>
Pushed By:	nils
Date:		Thu Dec 29 15:58:36 2016 +0100
Changeset:	c194de3e198b746a0c61aa097dacf9fa02e69aca

Modified Files:
	Makefile
Added Files:
	dehydrated/DESCR
	dehydrated/Makefile
	dehydrated/PLIST
	dehydrated/distinfo

Log Message:
Imported dehydrated-0.3.1, a letsencrypt/acme client implemented as a shell-script

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=c194de3e198b746a0c61aa097dacf9fa02e69aca

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 Makefile            |  1 +
 dehydrated/DESCR    | 10 ++++++++++
 dehydrated/Makefile | 43 +++++++++++++++++++++++++++++++++++++++++++
 dehydrated/PLIST    | 18 ++++++++++++++++++
 dehydrated/distinfo |  6 ++++++
 5 files changed, 78 insertions(+)

diffs:
diff --git a/Makefile b/Makefile
index 5559fd4..8d0f440 100644
--- a/Makefile
+++ b/Makefile
@@ -494,6 +494,7 @@ SUBDIR+=	deforaos-probe
 SUBDIR+=	deforaos-surfer
 SUBDIR+=	deforaos-terminal
 SUBDIR+=	deforaos-todo
+SUBDIR+=	dehydrated
 SUBDIR+=	denyhosts
 SUBDIR+=	depsolver
 SUBDIR+=	deskcribe
diff --git a/dehydrated/DESCR b/dehydrated/DESCR
new file mode 100644
index 0000000..8426ee1
--- /dev/null
+++ b/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/dehydrated/Makefile b/dehydrated/Makefile
new file mode 100644
index 0000000..8e2a8de
--- /dev/null
+++ b/dehydrated/Makefile
@@ -0,0 +1,43 @@
+# $NetBSD$
+
+DISTNAME=	dehydrated-0.3.1
+CATEGORIES=	security
+MASTER_SITES=	${MASTER_SITE_GITHUB:=lukas2511/}
+
+MAINTAINER=	nils%NetBSD.org@localhost
+HOMEPAGE=	https://github.com/lukas2511/
+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/dehydrated/PLIST b/dehydrated/PLIST
new file mode 100644
index 0000000..0231916
--- /dev/null
+++ b/dehydrated/PLIST
@@ -0,0 +1,18 @@
+@comment $NetBSD$
+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/dehydrated/distinfo b/dehydrated/distinfo
new file mode 100644
index 0000000..a08f19c
--- /dev/null
+++ b/dehydrated/distinfo
@@ -0,0 +1,6 @@
+$NetBSD$
+
+SHA1 (dehydrated-0.3.1.tar.gz) = 405ac61cfc74a22b710d3b8bde398bd697b714c6
+RMD160 (dehydrated-0.3.1.tar.gz) = a3f8c5139f8b6e2309d772864fcd00bac932b021
+SHA512 (dehydrated-0.3.1.tar.gz) = 34b57edc6ab950c2c0163795ef45d6fa104dcf02978bbfa325da63f7d844176ecf20cb8d7604cfedc6b2f47d8c12ce1db5b37f532eda7fffa194b4603e4ee3b9
+Size (dehydrated-0.3.1.tar.gz) = 71375 bytes


Home | Main Index | Thread Index | Old Index