pkgsrc-WIP-changes archive

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

py-letsencrypt: respect VARBASE setting. From joerg@



Module Name:	pkgsrc-wip
Committed By:	Tobias Nygren <tnn%NetBSD.org@localhost>
Pushed By:	tnn
Date:		Fri Dec 4 19:32:46 2015 +0100
Changeset:	72e05168b6664e28589547aed59a9dbf68c8d583

Modified Files:
	py-letsencrypt/Makefile

Log Message:
py-letsencrypt: respect VARBASE setting. From joerg@

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

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

diffstat:
 py-letsencrypt/Makefile | 4 ++++
 1 file changed, 4 insertions(+)

diffs:
diff --git a/py-letsencrypt/Makefile b/py-letsencrypt/Makefile
index 45e4ee6..9a5a754 100644
--- a/py-letsencrypt/Makefile
+++ b/py-letsencrypt/Makefile
@@ -39,5 +39,9 @@ SUBST_MESSAGE.path=	Fixing default paths
 SUBST_FILES.path+=	letsencrypt/constants.py letsencrypt/display/ops.py
 SUBST_FILES.path+=	letsencrypt/renewer.py letsencrypt/tests/*.py
 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
 
 .include "../../mk/bsd.pkg.mk"


Home | Main Index | Thread Index | Old Index