FreeBSD Bugzilla – Attachment 122160 Details for
Bug 165283
New port databases/py-carbon
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
file.shar
file.shar (text/plain), 9.82 KB, created by
Chris McCoy
on 2012-02-19 00:30:03 UTC
(
hide
)
Description:
file.shar
Filename:
MIME Type:
Creator:
Chris McCoy
Created:
2012-02-19 00:30:03 UTC
Size:
9.82 KB
patch
obsolete
># This is a shell archive. Save it in a file, remove anything before ># this line, and then unpack it by entering "sh file". Note, it may ># create directories; files and directories will be owned by you and ># have default permissions. ># ># This archive contains: ># ># py-carbon ># py-carbon/files ># py-carbon/files/patch-setup.cfg ># py-carbon/files/pkg_message.in ># py-carbon/files/carbon.in ># py-carbon/files/patch-setup.py ># py-carbon/Makefile ># py-carbon/distinfo ># py-carbon/pkg-descr ># py-carbon/pkg-plist ># >echo c - py-carbon >mkdir -p py-carbon > /dev/null 2>&1 >echo c - py-carbon/files >mkdir -p py-carbon/files > /dev/null 2>&1 >echo x - py-carbon/files/patch-setup.cfg >sed 's/^X//' >py-carbon/files/patch-setup.cfg << 'ca4622eb396bbd264092fa7044c29027' >X--- setup.cfg.org 2011-05-05 20:55:25.000000000 -0400 >X+++ setup.cfg 2011-05-05 20:55:31.000000000 -0400 >X@@ -1,3 +1 @@ >X [install] >X-prefix = /opt/graphite >X-install-lib = %(prefix)s/lib >ca4622eb396bbd264092fa7044c29027 >echo x - py-carbon/files/pkg_message.in >sed 's/^X//' >py-carbon/files/pkg_message.in << '3d7de4a7f3d59f6faee687cda19ee535' >X* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * >X >XThis port now includes an rc script: >X >X%%PREFIX%%/etc/rc.d/carbon >X >XAdd: >X >Xcarbon_enable="YES" >X >Xto /etc/rc.conf, then start it via: >X >X%%PREFIX%%/etc/rc.d/carbon start >X >XOnce started, finish setting up Graphite >X >X >X* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * >X >3d7de4a7f3d59f6faee687cda19ee535 >echo x - py-carbon/files/carbon.in >sed 's/^X//' >py-carbon/files/carbon.in << '9aceafa47bdcfdbc5d149aa0261fb02f' >X#!/bin/sh >X# >X# PROVIDE: carbon >X# KEYWORD: shutdown >X# >X# Add the following lines to /etc/rc.conf.local or /etc/rc.conf >X# to enable this service: >X# >X# carbon_enable (bool): Set to NO by default. >X# Set it to YES to enable it. >X# carbon_conf_dir: Directory where sabnzbd configuration >X# data is stored. >X# Default: /usr/local/sabnzbd >X# carbon_user: The user account sabnzbd daemon runs as what >X# you want it to be. It uses 'www' user by >X# default. Do not sets it as empty or it will run >X# as root. >X# carbon_group: The group account sabnzbd daemon runs as what >X# you want it to be. It uses 'www' group by >X# default. Do not sets it as empty or it will run >X# as wheel. >X >X. /etc/rc.subr >X >Xname="carbon" >Xrcvar=${name}_enable >X >Xload_rc_config ${name} >X >X: ${carbon_enable:="NO"} >X: ${carbon_user:="root"} >X: ${carbon_group:="wheel"} >X: ${carbon_conf:="/usr/local/etc/carbon/carbon.conf"} >X: ${carbon_debug:="NO"} >X: ${carbon_logdir:="/usr/local/graphite/storage/log"} >X: ${carbon_pidfile:="/var/run/carbon.pid"} >X >Xstatus_cmd="${name}_status" >Xstop_cmd="${name}_stop" >X >Xcommand_interpreter="/usr/local/bin/python2.7" >Xcommand="/usr/local/bin/carbon-cache.py" >Xcommand_args="--config=${carbon_conf} --logdir ${carbon_logdir} --pidfile ${carbon_pidfile} start" >X >Xcarbon_stop() { >X echo "Stopping $name" >X >X /usr/local/bin/carbon-cache.py --config=${carbon_conf} --pidfile ${carbon_pidfile} stop >X} >X >Xcarbon_status() { >X /usr/local/bin/carbon-cache.py --config=${carbon_conf} --pidfile ${carbon_pidfile} status >X >X} >X >Xrun_rc_command "$1" >X >9aceafa47bdcfdbc5d149aa0261fb02f >echo x - py-carbon/files/patch-setup.py >sed 's/^X//' >py-carbon/files/patch-setup.py << 'ef069219445b1210f91de639f04c1e44' >X--- setup.py.orig 2011-04-03 22:20:13.000000000 -0400 >X+++ setup.py 2011-05-05 22:03:42.000000000 -0400 >X@@ -12,9 +12,9 @@ >X setup_kwargs = dict() >X >X >X-storage_dirs = [ ('storage/whisper',[]), ('storage/lists',[]), >X- ('storage/log',[]), ('storage/rrd',[]) ] >X-conf_files = [ ('conf', glob('conf/*.example')) ] >X+storage_dirs = [ ('/var/db/graphite/storage/whisper',[]), ('/var/db/graphite/storage/lists',[]), >X+ ('/var/db/graphite/storage/log',[]), ('/var/db/graphite/storage/rrd',[]) ] >X+conf_files = [ ('/usr/local/etc/carbon', glob('conf/*.example')) ] >X >X setup( >X name='carbon', >ef069219445b1210f91de639f04c1e44 >echo x - py-carbon/Makefile >sed 's/^X//' >py-carbon/Makefile << 'b456de5c952142054c582065da667cdd' >X# New ports collection makefile for: py-carbon >X# Date created: 2011-05-01 >X# Whom: Evan Sarmiento <bsdports@wayfair.com> >X# >X# $FreeBSD$ >X# >X >XPORTNAME= carbon >XPORTVERSION= 0.9.9 >XCATEGORIES= databases python >XMASTER_SITES= http://launchpad.net/graphite/0.9/${PORTVERSION}/+download/ >XPKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} >X >XMAINTAINER= bsdports@wayfair.com >XCOMMENT= Backend storage application for graphite >X >XRUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}txamqp>=0.3:${PORTSDIR}/net/py-txamqp \ >X ${PYTHON_PKGNAMEPREFIX}whisper>=0.9.9:${PORTSDIR}/databases/py-whisper \ >X ${PYTHON_PKGNAMEPREFIX}twisted>=11.0.0:${PORTSDIR}/devel/py-twisted >XBUILD_DEPENDS= ${RUN_DEPENDS} >X >XUSE_PYTHON= 2.6+ >XUSE_PYDISTUTILS= yes >XUSE_TWISTED= yes >XFETCH_ARGS= -pRr >XUSE_RC_SUBR= carbon >X >X.include <bsd.port.mk> >b456de5c952142054c582065da667cdd >echo x - py-carbon/distinfo >sed 's/^X//' >py-carbon/distinfo << '24da0b8603b84d54b1948683bb02164c' >XSHA256 (carbon-0.9.9.tar.gz) = b3d42e3b93c09a82646168d7439e25cfc52143d77eba8a1f8ed45e415bb3b5cb >XSIZE (carbon-0.9.9.tar.gz) = 39813 >24da0b8603b84d54b1948683bb02164c >echo x - py-carbon/pkg-descr >sed 's/^X//' >py-carbon/pkg-descr << '781200e65ef008160ab1ca278d081168' >XCarbon is a backend data caching and persistence daemon for Graphite >X >XWWW: http://launchpad.net/graphite >781200e65ef008160ab1ca278d081168 >echo x - py-carbon/pkg-plist >sed 's/^X//' >py-carbon/pkg-plist << '46f6acee39ddd092a64741a2828985d1' >Xbin/carbon-aggregator.py >Xbin/carbon-cache.py >Xbin/carbon-client.py >Xbin/carbon-relay.py >Xbin/validate-storage-schemas.py >Xetc/carbon >Xetc/carbon/rewrite-rules.conf.example >Xetc/carbon/carbon.amqp.conf.example >Xetc/carbon/carbon.conf.example >Xetc/carbon/aggregation-rules.conf.example >Xetc/carbon/relay-rules.conf.example >Xetc/carbon/storage-schemas.conf.example >X%%PYTHON_SITELIBDIR%%/twisted/plugins/carbon_aggregator_plugin.py >X%%PYTHON_SITELIBDIR%%/twisted/plugins/carbon_relay_plugin.py >X%%PYTHON_SITELIBDIR%%/twisted/plugins/carbon_cache_plugin.py >X%%PYTHON_SITELIBDIR%%/twisted/plugins/carbon_aggregator_plugin.pyc >X%%PYTHON_SITELIBDIR%%/twisted/plugins/carbon_relay_plugin.pyc >X%%PYTHON_SITELIBDIR%%/twisted/plugins/carbon_cache_plugin.pyc >X%%PYTHON_SITELIBDIR%%/twisted/plugins/carbon_aggregator_plugin.pyo >X%%PYTHON_SITELIBDIR%%/twisted/plugins/carbon_relay_plugin.pyo >X%%PYTHON_SITELIBDIR%%/twisted/plugins/carbon_cache_plugin.pyo >X%%PYTHON_SITELIBDIR%%/carbon >X%%PYTHON_SITELIBDIR%%/carbon/amqp_publisher.py >X%%PYTHON_SITELIBDIR%%/carbon/cache.py >X%%PYTHON_SITELIBDIR%%/carbon/client.py >X%%PYTHON_SITELIBDIR%%/carbon/util.py >X%%PYTHON_SITELIBDIR%%/carbon/relayrules.py >X%%PYTHON_SITELIBDIR%%/carbon/hashing.py >X%%PYTHON_SITELIBDIR%%/carbon/log.py >X%%PYTHON_SITELIBDIR%%/carbon/manhole.py >X%%PYTHON_SITELIBDIR%%/carbon/events.py >X%%PYTHON_SITELIBDIR%%/carbon/__init__.py >X%%PYTHON_SITELIBDIR%%/carbon/routers.py >X%%PYTHON_SITELIBDIR%%/carbon/conf.py >X%%PYTHON_SITELIBDIR%%/carbon/management.py >X%%PYTHON_SITELIBDIR%%/carbon/writer.py >X%%PYTHON_SITELIBDIR%%/carbon/amqp_listener.py >X%%PYTHON_SITELIBDIR%%/carbon/rewrite.py >X%%PYTHON_SITELIBDIR%%/carbon/instrumentation.py >X%%PYTHON_SITELIBDIR%%/carbon/storage.py >X%%PYTHON_SITELIBDIR%%/carbon/state.py >X%%PYTHON_SITELIBDIR%%/carbon/service.py >X%%PYTHON_SITELIBDIR%%/carbon/protocols.py >X%%PYTHON_SITELIBDIR%%/carbon/aggregator >X%%PYTHON_SITELIBDIR%%/carbon/aggregator/rules.py >X%%PYTHON_SITELIBDIR%%/carbon/aggregator/__init__.py >X%%PYTHON_SITELIBDIR%%/carbon/aggregator/receiver.py >X%%PYTHON_SITELIBDIR%%/carbon/aggregator/buffers.py >X%%PYTHON_SITELIBDIR%%/carbon/aggregator/rules.pyc >X%%PYTHON_SITELIBDIR%%/carbon/aggregator/__init__.pyc >X%%PYTHON_SITELIBDIR%%/carbon/aggregator/receiver.pyc >X%%PYTHON_SITELIBDIR%%/carbon/aggregator/buffers.pyc >X%%PYTHON_SITELIBDIR%%/carbon/aggregator/rules.pyo >X%%PYTHON_SITELIBDIR%%/carbon/aggregator/__init__.pyo >X%%PYTHON_SITELIBDIR%%/carbon/aggregator/receiver.pyo >X%%PYTHON_SITELIBDIR%%/carbon/aggregator/buffers.pyo >X%%PYTHON_SITELIBDIR%%/carbon/amqp0-8.xml >X%%PYTHON_SITELIBDIR%%/carbon/amqp_publisher.pyc >X%%PYTHON_SITELIBDIR%%/carbon/cache.pyc >X%%PYTHON_SITELIBDIR%%/carbon/client.pyc >X%%PYTHON_SITELIBDIR%%/carbon/util.pyc >X%%PYTHON_SITELIBDIR%%/carbon/relayrules.pyc >X%%PYTHON_SITELIBDIR%%/carbon/hashing.pyc >X%%PYTHON_SITELIBDIR%%/carbon/log.pyc >X%%PYTHON_SITELIBDIR%%/carbon/manhole.pyc >X%%PYTHON_SITELIBDIR%%/carbon/events.pyc >X%%PYTHON_SITELIBDIR%%/carbon/__init__.pyc >X%%PYTHON_SITELIBDIR%%/carbon/routers.pyc >X%%PYTHON_SITELIBDIR%%/carbon/conf.pyc >X%%PYTHON_SITELIBDIR%%/carbon/management.pyc >X%%PYTHON_SITELIBDIR%%/carbon/writer.pyc >X%%PYTHON_SITELIBDIR%%/carbon/amqp_listener.pyc >X%%PYTHON_SITELIBDIR%%/carbon/rewrite.pyc >X%%PYTHON_SITELIBDIR%%/carbon/instrumentation.pyc >X%%PYTHON_SITELIBDIR%%/carbon/storage.pyc >X%%PYTHON_SITELIBDIR%%/carbon/state.pyc >X%%PYTHON_SITELIBDIR%%/carbon/service.pyc >X%%PYTHON_SITELIBDIR%%/carbon/protocols.pyc >X%%PYTHON_SITELIBDIR%%/carbon/amqp_publisher.pyo >X%%PYTHON_SITELIBDIR%%/carbon/cache.pyo >X%%PYTHON_SITELIBDIR%%/carbon/client.pyo >X%%PYTHON_SITELIBDIR%%/carbon/util.pyo >X%%PYTHON_SITELIBDIR%%/carbon/relayrules.pyo >X%%PYTHON_SITELIBDIR%%/carbon/hashing.pyo >X%%PYTHON_SITELIBDIR%%/carbon/log.pyo >X%%PYTHON_SITELIBDIR%%/carbon/manhole.pyo >X%%PYTHON_SITELIBDIR%%/carbon/events.pyo >X%%PYTHON_SITELIBDIR%%/carbon/__init__.pyo >X%%PYTHON_SITELIBDIR%%/carbon/routers.pyo >X%%PYTHON_SITELIBDIR%%/carbon/conf.pyo >X%%PYTHON_SITELIBDIR%%/carbon/management.pyo >X%%PYTHON_SITELIBDIR%%/carbon/writer.pyo >X%%PYTHON_SITELIBDIR%%/carbon/amqp_listener.pyo >X%%PYTHON_SITELIBDIR%%/carbon/rewrite.pyo >X%%PYTHON_SITELIBDIR%%/carbon/instrumentation.pyo >X%%PYTHON_SITELIBDIR%%/carbon/storage.pyo >X%%PYTHON_SITELIBDIR%%/carbon/state.pyo >X%%PYTHON_SITELIBDIR%%/carbon/service.pyo >X%%PYTHON_SITELIBDIR%%/carbon/protocols.pyo >X@dirrm etc/carbon >X@dirrm %%PYTHON_SITELIBDIR%%/carbon/aggregator >X@dirrm %%PYTHON_SITELIBDIR%%/carbon >46f6acee39ddd092a64741a2828985d1 >exit
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 165283
: 122160