ports/databases/py-carbon/files/patch-setup.py
Steve Wills f25b2a7304 - Enhance init script [1]
- Fix with newer Django [2]
- Lots of other cleanups and improvements, including moving the data to a more
  standard location
- Take maintainership, maintainer has not responded to PRs in many months

PR:		ports/181043 [1]
PR:		ports/185097 [2]
Submitted by:	brd [1]
Submitted by:	swills (myself) [2]
Approved by:	maintainer timeout (bsdports@wayfair.com, >3 months)
2014-02-18 15:43:57 +00:00

16 lines
590 B
Python

--- setup.py.orig 2013-08-20 17:37:08.000000000 +0000
+++ setup.py 2013-08-21 01:19:40.025390594 +0000
@@ -13,9 +13,9 @@
setup_kwargs = dict()
-storage_dirs = [ ('storage/whisper',[]), ('storage/lists',[]),
- ('storage/log',[]), ('storage/rrd',[]) ]
-conf_files = [ ('conf', glob('conf/*.example')) ]
+storage_dirs = [ ('/var/db/carbon/whisper',[]), ('/var/db/carbon/lists',[]),
+ ('/var/db/carbon/log',[]), ('/var/db/carbon/rrd',[]) ]
+conf_files = [ ('/usr/local/etc/carbon', glob('conf/*.example')) ]
install_files = storage_dirs + conf_files