pkgsrc-WIP-changes archive

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

Add a MESSAGE, and depend on py-sqlite3.



Module Name:	pkgsrc-wip
Committed By:	Jeff Rizzo <riz%tastylime.net@localhost>
Pushed By:	riz
Date:		Mon Dec 7 15:36:42 2015 -0800
Changeset:	9b1050ef76429fb448df1e0cdfd90fef794c8f4b

Modified Files:
	py-graphite-web/Makefile
Added Files:
	py-graphite-web/MESSAGE

Log Message:
Add a MESSAGE, and depend on py-sqlite3.

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

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

diffstat:
 py-graphite-web/MESSAGE  | 12 ++++++++++++
 py-graphite-web/Makefile |  6 ++++++
 2 files changed, 18 insertions(+)

diffs:
diff --git a/py-graphite-web/MESSAGE b/py-graphite-web/MESSAGE
new file mode 100644
index 0000000..8983c6a
--- /dev/null
+++ b/py-graphite-web/MESSAGE
@@ -0,0 +1,12 @@
+===========================================================================
+$NetBSD$
+
+If your webserver does not run as "${WWW_USER}", you should
+chown ${GRAPHITE_LOG_DIR}/webapp and ${GRAPHITE_DIR} (but
+not the subdirectories) to be owned by the user your webserver
+runs as.
+
+If you will be using a different database (besides sqlite3),
+you will need to install the appropriate python package
+to support it.
+===========================================================================
diff --git a/py-graphite-web/Makefile b/py-graphite-web/Makefile
index 2f41ad5..2098dfd 100644
--- a/py-graphite-web/Makefile
+++ b/py-graphite-web/Makefile
@@ -14,6 +14,7 @@ DEPENDS+=	${PYPKGPREFIX}-carbon>=${PKGREVISION_NOREV}:../../wip/py-carbon
 DEPENDS+=	${PYPKGPREFIX}-django>=1.3.1:../../www/py-django
 DEPENDS+=	${PYPKGPREFIX}-django-tagging>=0.3.1:../../www/py-django-tagging
 DEPENDS+=	${PYPKGPREFIX}-pytz-[0-9]*:../../time/py-pytz
+DEPENDS+=	${PYPKGPREFIX}-sqlite3-[0-9]*:../../databases/py-sqlite3
 
 EGG_NAME=	${DISTNAME:S/graphite-/graphite_/}
 
@@ -43,6 +44,11 @@ SUBST_SED.dirs+=	-e 's,/opt/graphite/storage,${GRAPHITE_DIR},g'
 SUBST_SED.dirs+=	-e 's,/opt/graphite,${PREFIX}/graphite,g'
 SUBST_VARS.dirs=	GRAPHITE_DIR GRAPHITE_EGDIR GRAPHITE_LOG_DIR PREFIX
 
+MESSAGE_SUBST+=		GRAPHITE_DIR=${GRAPHITE_DIR}
+MESSAGE_SUBST+=		GRAPHITE_LOG_DIR=${GRAPHITE_LOG_DIR}
+MESSAGE_SUBST+=		GRAPHITE_USER=${GRAPHITE_USER}
+MESSAGE_SUBST+=		WWW_USER=${WWW_USER}
+
 PKG_SYSCONFSUBDIR=	graphite
 
 GRAPHITE_CONF_FILES=	dashboard.conf graphite.wsgi graphTemplates.conf


Home | Main Index | Thread Index | Old Index