summaryrefslogtreecommitdiff
path: root/www/py-graphite-web/files/patch-setup.py
diff options
context:
space:
mode:
authorPhilip M. Gollucci <pgollucci@FreeBSD.org>2012-02-22 03:41:01 +0000
committerPhilip M. Gollucci <pgollucci@FreeBSD.org>2012-02-22 03:41:01 +0000
commit819d4f978a3eef47685bdf8e6ea0ad7bdde15217 (patch)
tree6ed3fce327185a6b26b82d28762c44c0a81f6597 /www/py-graphite-web/files/patch-setup.py
parentCarbon is a backend data caching and persistence daemon for Graphite (diff)
Graphite provides real-time visualization and storage
of numeric time-series data on an enterprise level. WWW: http://launchpad.net/graphite PR: ports/165285 Submitted by: Evan Sarmiento <esarmiento@wayfair.com>
Diffstat (limited to 'www/py-graphite-web/files/patch-setup.py')
-rw-r--r--www/py-graphite-web/files/patch-setup.py25
1 files changed, 25 insertions, 0 deletions
diff --git a/www/py-graphite-web/files/patch-setup.py b/www/py-graphite-web/files/patch-setup.py
new file mode 100644
index 000000000000..3068e6dd7092
--- /dev/null
+++ b/www/py-graphite-web/files/patch-setup.py
@@ -0,0 +1,25 @@
+--- setup.py.orig 2011-04-03 22:20:03.000000000 -0400
++++ setup.py 2011-05-24 11:48:33.000000000 -0400
+@@ -15,11 +15,11 @@
+ storage_dirs = []
+
+ for subdir in ('whisper', 'lists', 'rrd', 'log', 'log/webapp'):
+- storage_dirs.append( ('storage/%s' % subdir, []) )
++ storage_dirs.append( ('graphite/storage/%s' % subdir, []) )
+
+ webapp_content = {}
+
+-for root, dirs, files in os.walk('webapp/content'):
++for root, dirs, files in os.walk('graphite/webapp/content'):
+ for filename in files:
+ filepath = os.path.join(root, filename)
+
+@@ -29,7 +29,7 @@
+ webapp_content[root].append(filepath)
+
+
+-conf_files = [ ('conf', glob('conf/*.example')) ]
++conf_files = [ ('/usr/local/etc/graphite', glob('conf/*.example')) ]
+
+ setup(
+ name='graphite-web',