Index: databases/py-carbonate/Makefile =================================================================== --- databases/py-carbonate/Makefile (nonexistent) +++ databases/py-carbonate/Makefile (working copy) @@ -0,0 +1,22 @@ +# $FreeBSD$ + +PORTNAME= carbonate +DISTVERSION= 1.1.2 +CATEGORIES= databases python +MASTER_SITES= CHEESESHOP +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} + +MAINTAINER= a.andersson.thn@gmail.com +COMMENT= Utilities for dealing with whisper files + +LICENSE= MIT +#LICENSE_FILE= ${WRKSRC}/LICENSE + +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}carbon>0:databases/py-carbon@${FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}whisper>0:databases/py-whisper@${FLAVOR} \ + rsync:net/rsync + +USES= python:2.7 +USE_PYTHON= distutils autoplist + +.include Property changes on: databases/py-carbonate/Makefile ___________________________________________________________________ Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:keywords ## -0,0 +1 ## +FreeBSD=%H \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: databases/py-carbonate/distinfo =================================================================== --- databases/py-carbonate/distinfo (nonexistent) +++ databases/py-carbonate/distinfo (working copy) @@ -0,0 +1,3 @@ +TIMESTAMP = 1522492113 +SHA256 (carbonate-1.1.2.tar.gz) = 0820a2ff9516080ef5734bab994ce570e49b0666bd947aaba4a538d7abe8e726 +SIZE (carbonate-1.1.2.tar.gz) = 14513 Property changes on: databases/py-carbonate/distinfo ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: databases/py-carbonate/files/patch-carbonate_cli.py =================================================================== --- databases/py-carbonate/files/patch-carbonate_cli.py (nonexistent) +++ databases/py-carbonate/files/patch-carbonate_cli.py (working copy) @@ -0,0 +1,11 @@ +--- carbonate/cli.py.orig 2018-04-01 06:25:54 UTC ++++ carbonate/cli.py +@@ -23,7 +23,7 @@ from .config import Config + from .cluster import Cluster + + +-STORAGE_DIR = '/opt/graphite/storage/whisper' ++STORAGE_DIR = '/var/db/carbon/whisper' + + + def carbon_hosts(): Property changes on: databases/py-carbonate/files/patch-carbonate_cli.py ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: databases/py-carbonate/files/patch-carbonate_cluster.py =================================================================== --- databases/py-carbonate/files/patch-carbonate_cluster.py (nonexistent) +++ databases/py-carbonate/files/patch-carbonate_cluster.py (working copy) @@ -0,0 +1,10 @@ +--- carbonate/cluster.py.orig 2018-04-01 06:16:40 UTC ++++ carbonate/cluster.py +@@ -28,6 +28,7 @@ class Cluster(): + class Settings(object): + REPLICATION_FACTOR = config.replication_factor(cluster) + DIVERSE_REPLICAS = False ++ ROUTER_HASH_TYPE = None + r = ConsistentHashingRouter(Settings()) + + # 'hash_type' was added only in carbon 1.0.2 or master Property changes on: databases/py-carbonate/files/patch-carbonate_cluster.py ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: databases/py-carbonate/files/patch-carbonate_util.py =================================================================== --- databases/py-carbonate/files/patch-carbonate_util.py (nonexistent) +++ databases/py-carbonate/files/patch-carbonate_util.py (working copy) @@ -0,0 +1,11 @@ +--- carbonate/util.py.orig 2018-04-01 06:26:39 UTC ++++ carbonate/util.py +@@ -15,7 +15,7 @@ def common_parser(description='untitled' + formatter_class=argparse.ArgumentDefaultsHelpFormatter) + + config_file = os.environ.get('CARBONATE_CONFIG', +- '/opt/graphite/conf/carbonate.conf') ++ '/usr/local/etc/carbonate.conf') + cluster = os.environ.get('CARBONATE_CLUSTER', 'main') + + parser.add_argument( Property changes on: databases/py-carbonate/files/patch-carbonate_util.py ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: databases/py-carbonate/pkg-descr =================================================================== --- databases/py-carbonate/pkg-descr (nonexistent) +++ databases/py-carbonate/pkg-descr (working copy) @@ -0,0 +1,3 @@ +Tools for managing federated carbon clusters. + +WWW: https://github.com/graphite-project/carbonate Property changes on: databases/py-carbonate/pkg-descr ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property