pkgsrc/www/py-graphite-web/patches/patch-bin_build-index.sh
riz 75f9a626e7 Add py-graphite-web 0.9.15 from pkgsrc-wip.
Graphite consists of a storage backend and a web-based visualization frontend.
Client applications send streams of numeric time-series data to the Graphite
backend (called carbon), where it gets stored in fixed-size database files
similar in design to RRD. The web frontend provides 2 distinct user interfaces
for visualizing this data in graphs as well as a simple URL-based API for
direct graph generation.

Graphite's design is focussed on providing simple interfaces (both to users
and applications), real-time visualization, high-availability, and enterprise
scalability.

See https://github.com/graphite-project/ for more information.
aVS: ----------------------------------------------------------------------
2015-12-11 21:45:07 +00:00

20 lines
452 B
Bash

$NetBSD: patch-bin_build-index.sh,v 1.1 2015/12/11 21:45:07 riz Exp $
Fix default paths.
--- bin/build-index.sh.orig 2013-08-21 17:11:04.000000000 +0000
+++ bin/build-index.sh
@@ -2,12 +2,12 @@
if [ "$GRAPHITE_ROOT" = "" ]
then
- GRAPHITE_ROOT="/opt/graphite"
+ GRAPHITE_ROOT="@PREFIX@/graphite"
fi
if [ "$GRAPHITE_STORAGE_DIR" = "" ]
then
- GRAPHITE_STORAGE_DIR="${GRAPHITE_ROOT}/storage"
+ GRAPHITE_STORAGE_DIR="@GRAPHITE_DIR@"
fi