pkgsrc-WIP-changes archive

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

Add a letsencrypt example config file, and a MESSAGE file.



Module Name:	pkgsrc-wip
Committed By:	Filip Hajny <filip%joyent.com@localhost>
Pushed By:	fhajny
Date:		Mon Dec 7 11:35:21 2015 +0000
Changeset:	c52d746a403f4d1f939ed0416e6c09951bf91cf2

Modified Files:
	py-letsencrypt/Makefile
	py-letsencrypt/PLIST
Added Files:
	py-letsencrypt/MESSAGE

Log Message:
Add a letsencrypt example config file, and a MESSAGE file.

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

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

diffstat:
 py-letsencrypt/MESSAGE  | 17 +++++++++++++++++
 py-letsencrypt/Makefile |  8 +++++++-
 py-letsencrypt/PLIST    |  1 +
 3 files changed, 25 insertions(+), 1 deletion(-)

diffs:
diff --git a/py-letsencrypt/MESSAGE b/py-letsencrypt/MESSAGE
new file mode 100644
index 0000000..1330a60
--- /dev/null
+++ b/py-letsencrypt/MESSAGE
@@ -0,0 +1,17 @@
+===========================================================================
+$NetBSD$
+
+This package installs the standalone letsencrypt client. Following
+modes of obtaining certificates will work:
+
+  letsencrypt --standalone -d <domain_name> certonly
+
+    Spawns a temporary daemon on port 80 or 443, the web server (if
+    any) will need to be shut down for the operation to succeed.
+
+  letsencrypt --webroot -d <domain_name> -w <web_root> certonly
+
+    Doesn't spawn daemons, authenticates using temporary files
+    put in the document root directory.
+
+===========================================================================
diff --git a/py-letsencrypt/Makefile b/py-letsencrypt/Makefile
index 9a5a754..2630f3b 100644
--- a/py-letsencrypt/Makefile
+++ b/py-letsencrypt/Makefile
@@ -42,6 +42,12 @@ SUBST_SED.path+=	-e 's,/etc/letsencrypt,${PKG_SYSCONFDIR},g'
 SUBST_SED.path+=	-e 's,/var/lib/letsencrypt,${VARBASE}/letsencrypt,g'
 SUBST_SED.path+=	-e 's,/var/log/letsencrypt,${VARBASE}/letsencrypt/log,g'
 
-MAKE_DIRS+=	${VARBASE}/letsencrypt/log
+MAKE_DIRS+=		${VARBASE}/letsencrypt/log
+
+INSTALLATION_DIRS+=	share/examples/letsencrypt
+
+post-install:
+	${INSTALL_DATA} ${WRKSRC}/examples/cli.ini \
+		${DESTDIR}${PREFIX}/share/examples/letsencrypt
 
 .include "../../mk/bsd.pkg.mk"
diff --git a/py-letsencrypt/PLIST b/py-letsencrypt/PLIST
index b193c5a..c3bddb3 100644
--- a/py-letsencrypt/PLIST
+++ b/py-letsencrypt/PLIST
@@ -224,3 +224,4 @@ ${PYSITELIB}/letsencrypt/tests/validator_test.pyo
 ${PYSITELIB}/letsencrypt/validator.py
 ${PYSITELIB}/letsencrypt/validator.pyc
 ${PYSITELIB}/letsencrypt/validator.pyo
+share/examples/letsencrypt/cli.ini


Home | Main Index | Thread Index | Old Index