Index: head/net-mgmt/Makefile =================================================================== --- head/net-mgmt/Makefile (revision 465192) +++ head/net-mgmt/Makefile (revision 465193) @@ -1,406 +1,407 @@ # $FreeBSD$ # COMMENT = Network management tools SUBDIR += 2ping SUBDIR += TkTopNetFlows SUBDIR += adcli SUBDIR += aggregate SUBDIR += aircrack-ng SUBDIR += alertmanager SUBDIR += ap-utils SUBDIR += argus3 SUBDIR += argus3-clients SUBDIR += arpalert SUBDIR += arpscan SUBDIR += arpwatch SUBDIR += arts++ SUBDIR += bandwidthd SUBDIR += bgpq SUBDIR += bgpq3 SUBDIR += bgpuma SUBDIR += blackbox_exporter SUBDIR += bpft SUBDIR += braa SUBDIR += bsnmp-jails SUBDIR += bsnmp-regex SUBDIR += bsnmp-ucd SUBDIR += bwm-ng SUBDIR += cacti SUBDIR += cacti-spine SUBDIR += cacti88 SUBDIR += cacti88-spine + SUBDIR += carbonzipper SUBDIR += ccnet-client SUBDIR += ccnet-server SUBDIR += cdpd SUBDIR += cdpr SUBDIR += cdpsnarf SUBDIR += centreon-clib SUBDIR += check_ipmi_sensor SUBDIR += check_logfiles SUBDIR += check_multi SUBDIR += check_mysql_health SUBDIR += chillispot SUBDIR += choparp SUBDIR += cidr SUBDIR += ciscoconf SUBDIR += clog SUBDIR += cnagios SUBDIR += collectd5 SUBDIR += confregdecode SUBDIR += coovachilli SUBDIR += cowpatty SUBDIR += cricket SUBDIR += crmsh SUBDIR += darkstat SUBDIR += devmon SUBDIR += devmon-templates SUBDIR += dhcdrop SUBDIR += dhcp_probe SUBDIR += disco SUBDIR += dnsmap SUBDIR += docsis SUBDIR += driftnet SUBDIR += ehnt SUBDIR += etherape SUBDIR += ettercap SUBDIR += fastnetmon SUBDIR += fetchconfig SUBDIR += flow-extract SUBDIR += flow-tools SUBDIR += flowd SUBDIR += flowviewer SUBDIR += fprobe SUBDIR += glpi-plugins-fusioninventory-server SUBDIR += gnu-ipcalc SUBDIR += grepcidr SUBDIR += grepip SUBDIR += grok_exporter SUBDIR += gsnmp SUBDIR += guifi-snpservices SUBDIR += hastmon SUBDIR += hawk SUBDIR += icinga SUBDIR += icinga-classicweb SUBDIR += icinga-core SUBDIR += icinga2 SUBDIR += icingaweb2 SUBDIR += icingaweb2-module-businessprocess SUBDIR += icingaweb2-module-cube SUBDIR += icingaweb2-module-director SUBDIR += icingaweb2-module-elasticsearch SUBDIR += icingaweb2-module-fileshipper SUBDIR += icingaweb2-module-generictts SUBDIR += icingaweb2-module-grafana SUBDIR += icingaweb2-module-graphite SUBDIR += icingaweb2-module-map SUBDIR += icingaweb2-module-vsphere SUBDIR += icli SUBDIR += icmpmonitor SUBDIR += icmpquery SUBDIR += iftop SUBDIR += intel-snap SUBDIR += iog SUBDIR += ipacctd SUBDIR += ipaudit SUBDIR += ipcad SUBDIR += ipcalc SUBDIR += ipplan SUBDIR += iprange SUBDIR += ipv6calc SUBDIR += ipv6gen SUBDIR += ipv6mon SUBDIR += irrtoolset SUBDIR += isic SUBDIR += jnettop SUBDIR += kapacitor SUBDIR += kismet SUBDIR += klg SUBDIR += lanmap SUBDIR += lg SUBDIR += librenms SUBDIR += librenms-agent SUBDIR += libsmi SUBDIR += lldpd SUBDIR += mbrowse SUBDIR += mdata-client SUBDIR += metronome SUBDIR += mk-livestatus SUBDIR += monitoring-plugins SUBDIR += mrtg SUBDIR += mrtg-ping-probe SUBDIR += mtrace SUBDIR += mysqld_exporter SUBDIR += nagcon SUBDIR += nagios SUBDIR += nagios-certexp-plugin SUBDIR += nagios-check_bacula SUBDIR += nagios-check_bacula9 SUBDIR += nagios-check_clamav SUBDIR += nagios-check_cpu_usage SUBDIR += nagios-check_dhcp.pl SUBDIR += nagios-check_email_delivery SUBDIR += nagios-check_hdd_health SUBDIR += nagios-check_hp_bladechassis SUBDIR += nagios-check_memcached_paranoid SUBDIR += nagios-check_mysql_slave SUBDIR += nagios-check_netsnmp SUBDIR += nagios-check_ports SUBDIR += nagios-check_postgres SUBDIR += nagios-check_puppet SUBDIR += nagios-check_relayd_status SUBDIR += nagios-check_smartmon SUBDIR += nagios-check_tftp SUBDIR += nagios-check_zpools SUBDIR += nagios-geom SUBDIR += nagios-openldap-plugins SUBDIR += nagios-pf-plugin SUBDIR += nagios-plugins SUBDIR += nagios-snmp-plugins SUBDIR += nagios-snmp-plugins-extras SUBDIR += nagios-spamd-plugin SUBDIR += nagios4 SUBDIR += nagiosagent SUBDIR += nagiosgraph SUBDIR += nagiosql SUBDIR += nagircbot SUBDIR += nagnu SUBDIR += nagstamon SUBDIR += nagtail SUBDIR += nagvis SUBDIR += nbtscan SUBDIR += ndoutils SUBDIR += ndpmon SUBDIR += nedi SUBDIR += nefu SUBDIR += net-snmp SUBDIR += netdata SUBDIR += netdisco SUBDIR += netdisco-mibs SUBDIR += netdot SUBDIR += netleak SUBDIR += netmagis-common SUBDIR += netmagis-database SUBDIR += netmagis-detecteq SUBDIR += netmagis-metro SUBDIR += netmagis-servers SUBDIR += netmagis-topo SUBDIR += netmagis-utils SUBDIR += netmagis-www SUBDIR += netmask SUBDIR += netspoc SUBDIR += netustad SUBDIR += networkmgr SUBDIR += netwox SUBDIR += netxms SUBDIR += nfdump SUBDIR += nfsen SUBDIR += ng_ipacct SUBDIR += nitpicker SUBDIR += nrpe3 SUBDIR += nsca SUBDIR += nsca-client SUBDIR += nsca-ng SUBDIR += nsca-ng-client SUBDIR += nsca27 SUBDIR += nsca27-client SUBDIR += nstat SUBDIR += nstreams SUBDIR += observium SUBDIR += ocsinventory-agent SUBDIR += ocsinventory-ng SUBDIR += omping SUBDIR += onionlauncher SUBDIR += openbmp SUBDIR += openlldp SUBDIR += openvmps SUBDIR += p0f SUBDIR += p0f2 SUBDIR += p5-AnyEvent-SNMP SUBDIR += p5-BigIP-iControl SUBDIR += p5-Cflow SUBDIR += p5-Cisco-CopyConfig SUBDIR += p5-Cisco-Reconfig SUBDIR += p5-Data-Validate-IP SUBDIR += p5-FusionInventory-Agent SUBDIR += p5-FusionInventory-Agent-Task-NetDiscovery SUBDIR += p5-FusionInventory-Agent-Task-SNMPQuery SUBDIR += p5-GRNOC-Config SUBDIR += p5-GRNOC-TL1 SUBDIR += p5-MRTG-Parse SUBDIR += p5-Mon SUBDIR += p5-Monitoring-Plugin SUBDIR += p5-NSNMP SUBDIR += p5-Nagios-Object SUBDIR += p5-Nagios-Plugin SUBDIR += p5-Nagios-Plugin-Beanstalk SUBDIR += p5-Nagios-Plugin-LDAP SUBDIR += p5-Nagios-Plugins-Memcached SUBDIR += p5-Net-ACL SUBDIR += p5-Net-Abuse-Utils SUBDIR += p5-Net-Abuse-Utils-Spamhaus SUBDIR += p5-Net-CIDR SUBDIR += p5-Net-ILO SUBDIR += p5-Net-IP SUBDIR += p5-Net-IP-Match-Regexp SUBDIR += p5-Net-IP-Match-XS SUBDIR += p5-Net-IP-Resolver SUBDIR += p5-Net-IPAddress SUBDIR += p5-Net-IPv4Addr SUBDIR += p5-Net-IPv6Addr SUBDIR += p5-Net-NSCA-Client SUBDIR += p5-Net-Netmask SUBDIR += p5-Net-OpenVPN-Manage SUBDIR += p5-Net-SNMP SUBDIR += p5-Net-SNMP-Util SUBDIR += p5-Net-SNMPTrapd SUBDIR += p5-Net-Telnet-Cisco-IOS SUBDIR += p5-NetAddr-IP SUBDIR += p5-NetAddr-IP-Lite SUBDIR += p5-NetApp SUBDIR += p5-POE-Component-SNMP SUBDIR += p5-SNMP-Info SUBDIR += p5-SNMP-MIB-Compiler SUBDIR += p5-SNMP-Simple SUBDIR += p5-SNMP-Trapinfo SUBDIR += p5-SNMP-Util SUBDIR += p5-SNMP_Session SUBDIR += p5-Telnet-Cisco SUBDIR += p5-Tie-NetAddr-IP SUBDIR += p5-Xymon SUBDIR += p5-Xymon-Client SUBDIR += p5-Xymon-Server SUBDIR += p5-Zenoss SUBDIR += p5-jmx4perl SUBDIR += packit SUBDIR += pads SUBDIR += pancho SUBDIR += pandorafms_agent SUBDIR += pandorafms_console SUBDIR += pandorafms_server SUBDIR += pdagent-integrations SUBDIR += percona-monitoring-plugins SUBDIR += pftabled SUBDIR += php56-snmp SUBDIR += php70-snmp SUBDIR += php71-snmp SUBDIR += php72-snmp SUBDIR += phpip SUBDIR += phpipam SUBDIR += phpweathermap SUBDIR += pixilate SUBDIR += pktstat SUBDIR += pmacct SUBDIR += pnp SUBDIR += pnp-icinga SUBDIR += pnp-icinga2 SUBDIR += portmon SUBDIR += prometheus1 SUBDIR += prometheus2 SUBDIR += prometheus-collectd-exporter SUBDIR += pushgateway SUBDIR += py-adal SUBDIR += py-dnsdiag SUBDIR += py-ipcalc SUBDIR += py-ipy SUBDIR += py-msrest SUBDIR += py-msrestazure SUBDIR += py-pdagent SUBDIR += py-pyang SUBDIR += py-pynsca SUBDIR += py-pysmi SUBDIR += py-pyzabbix SUBDIR += py-snmp4 SUBDIR += py-snmp4-apps SUBDIR += py-snmp4-mibs SUBDIR += py-snmp_passpersist SUBDIR += py-yapsnmp SUBDIR += qkismet SUBDIR += rackmonkey SUBDIR += rancid3 SUBDIR += rate SUBDIR += rcpd SUBDIR += remarp SUBDIR += resource-agents SUBDIR += riemann SUBDIR += riemann-c-client SUBDIR += rotorouter SUBDIR += routers2 SUBDIR += routers2-extensions SUBDIR += routers2-extras SUBDIR += rrdbot SUBDIR += rtrlib SUBDIR += rubygem-blimpy SUBDIR += rubygem-oxidized SUBDIR += rubygem-oxidized-script SUBDIR += rubygem-oxidized-web SUBDIR += rubygem-snmp SUBDIR += rubygem-visage-app SUBDIR += sblim-wbemcli SUBDIR += scli SUBDIR += sdig SUBDIR += seafile-client SUBDIR += seafile-gui SUBDIR += seafile-server SUBDIR += semaphore SUBDIR += send SUBDIR += sendip SUBDIR += sipcalc SUBDIR += sjitter SUBDIR += slate SUBDIR += smokeping SUBDIR += snmp++ SUBDIR += snmp4nagios SUBDIR += snmptt SUBDIR += softflowd SUBDIR += spectools SUBDIR += ssgless SUBDIR += statsd SUBDIR += statsite SUBDIR += subcalc SUBDIR += super_mediator SUBDIR += sx SUBDIR += sysmon SUBDIR += tcpreplay SUBDIR += tcptrack SUBDIR += telegraf SUBDIR += tornova SUBDIR += torrus SUBDIR += triton-guesttools SUBDIR += unbound_exporter SUBDIR += unifi-devel SUBDIR += unifi5 SUBDIR += victorops-nagios SUBDIR += vidalia SUBDIR += virt-viewer SUBDIR += wdiag SUBDIR += weplab SUBDIR += whatmask SUBDIR += wifimgr SUBDIR += wmi-client SUBDIR += xymon-client SUBDIR += xymon-server SUBDIR += yaf SUBDIR += zabbix2-agent SUBDIR += zabbix2-frontend SUBDIR += zabbix2-proxy SUBDIR += zabbix2-server SUBDIR += zabbix22-agent SUBDIR += zabbix22-frontend SUBDIR += zabbix22-proxy SUBDIR += zabbix22-server SUBDIR += zabbix3-agent SUBDIR += zabbix3-frontend SUBDIR += zabbix3-proxy SUBDIR += zabbix3-server SUBDIR += zabbix32-agent SUBDIR += zabbix32-frontend SUBDIR += zabbix32-proxy SUBDIR += zabbix32-server SUBDIR += zabbix34-agent SUBDIR += zabbix34-frontend SUBDIR += zabbix34-proxy SUBDIR += zabbix34-server .include Index: head/net-mgmt/carbonzipper/Makefile =================================================================== --- head/net-mgmt/carbonzipper/Makefile (nonexistent) +++ head/net-mgmt/carbonzipper/Makefile (revision 465193) @@ -0,0 +1,58 @@ +# $FreeBSD$ + +PORTNAME= carbonzipper +DISTVERSION= 0.74 +CATEGORIES= net-mgmt + +MAINTAINER= a.andersson.thn@gmail.com +COMMENT= Proxy between carbonapi and go-carbon + +LICENSE= BSD2CLAUSE +LICENSE_FILE= ${WRKSRC}/LICENSE + +BUILD_DEPENDS= go>=1.8:lang/go + +USES= go + +USE_GITHUB= yes +GH_ACCOUNT= go-graphite +GH_SUBDIR= src/github.com/go-graphite/${PORTNAME} +GH_TUPLE= bradfitz:gomemcache:1952afa:gomemcache/src/github.com/bradfitz/gomemcache \ + dgryski:httputil:189c2918:httputil/src/github.com/dgryski/httputil \ + dgryski:go-expirecache:743ef98:goexpirecache/src/github.com/dgryski/go-expirecache \ + facebookgo:atomicfile:2de1f20:atomicfile/src/github.com/facebookgo/atomicfile \ + facebookgo:clock:600d898:clock/src/github.com/facebookgo/clock \ + facebookgo:grace:4afe952:grace/src/github.com/facebookgo/grace \ + facebookgo:httpdown:a3b1354:httpdown/src/github.com/facebookgo/httpdown \ + facebookgo:pidfile:f242e299:pidfile/src/github.com/facebookgo/pidfile \ + facebookgo:stats:1b76add:stats/src/github.com/facebookgo/stats \ + gogo:protobuf:v0.4:protobuf/src/github.com/gogo/protobuf \ + go-yaml:yaml:v2.1.1:yaml/src/gopkg.in/yaml.v2 \ + lestrrat:go-strftime:04ef93e:gostrftime/src/github.com/lestrrat/go-strftime \ + lestrrat-go:file-rotatelogs:v2.1.0:filerotatelogs/src/github.com/lestrrat/go-file-rotatelogs \ + lomik:og-rek:628eefe:ogrek/src/github.com/lomik/og-rek \ + lomik:zapwriter:d4499a3:zapwriter/src/github.com/lomik/zapwriter \ + peterbourgon:g2g:0c2bab2:g2g/src/github.com/peterbourgon/g2g \ + pkg:errors:v0.8.0:errors/src/github.com/pkg/errors \ + satori:go.uuid:v1.1.0:gouuid/src/github.com/satori/go.uuid \ + uber-go:atomic:v1.2.0:atomic/src/go.uber.org/atomic \ + uber-go:multierr:v1.1.0:multierr/src/go.uber.org/multierr \ + uber-go:zap:v1.5.0:zap/src/go.uber.org/zap + +USE_RC_SUBR= ${PORTNAME} + +USERS= carbon +GROUPS= carbon + +do-build: + @cd ${WRKSRC}/ && \ + ${SETENV} ${MAKE_ENV} GOPATH=${WRKSRC} \ + go build --ldflags '-X main.BuildVersion=${DISTVERSION}' -o carbonzipper + +do-install: + @${MKDIR} ${STAGEDIR}/${PREFIX}/etc/carbonzipper + @${MKDIR} ${STAGEDIR}/var/log/carbonzipper + ${INSTALL_PROGRAM} ${WRKSRC}/carbonzipper ${STAGEDIR}${PREFIX}/bin + ${INSTALL_DATA} ${WRKSRC}/example.conf ${STAGEDIR}${PREFIX}/etc/carbonzipper + +.include Property changes on: head/net-mgmt/carbonzipper/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: head/net-mgmt/carbonzipper/distinfo =================================================================== --- head/net-mgmt/carbonzipper/distinfo (nonexistent) +++ head/net-mgmt/carbonzipper/distinfo (revision 465193) @@ -0,0 +1,45 @@ +TIMESTAMP = 1521620905 +SHA256 (go-graphite-carbonzipper-0.74_GH0.tar.gz) = 498b36912a8ef60dcef705ed00c3cf11c098ae89f62dc39fb023a8a89d3516ac +SIZE (go-graphite-carbonzipper-0.74_GH0.tar.gz) = 41391 +SHA256 (bradfitz-gomemcache-1952afa_GH0.tar.gz) = b1a6ff097539342a2b8a7844b12d5e486379cdd0ef2de804385811b59c0a139f +SIZE (bradfitz-gomemcache-1952afa_GH0.tar.gz) = 13053 +SHA256 (dgryski-httputil-189c2918_GH0.tar.gz) = 2d50c6383ab5b483b381da2bc5e4f0c7ae27c8bdbda0e0e8231e7394421c0b77 +SIZE (dgryski-httputil-189c2918_GH0.tar.gz) = 1690 +SHA256 (dgryski-go-expirecache-743ef98_GH0.tar.gz) = 37438da21d42bba99d1dbb2d227687189bcc8c07b746ed56319ab18a69684ce0 +SIZE (dgryski-go-expirecache-743ef98_GH0.tar.gz) = 3363 +SHA256 (facebookgo-atomicfile-2de1f20_GH0.tar.gz) = 69863fac5d2e112cdd0b356cd69d100d2f49345f34d41914589182126a56baac +SIZE (facebookgo-atomicfile-2de1f20_GH0.tar.gz) = 3486 +SHA256 (facebookgo-clock-600d898_GH0.tar.gz) = ef0cdd71a3df0cf2de528d6b8a7db5df5d7a974774d04ec156f0bcba7fb6a6fa +SIZE (facebookgo-clock-600d898_GH0.tar.gz) = 6375 +SHA256 (facebookgo-grace-4afe952_GH0.tar.gz) = e9a47dcc8764c5124eb7250a6ab5263a431f4d183130f84ca0257bb6aa296c94 +SIZE (facebookgo-grace-4afe952_GH0.tar.gz) = 13379 +SHA256 (facebookgo-httpdown-a3b1354_GH0.tar.gz) = 220f737bccc8fa03ac4bd73426c143e5e95c3a5ea9dddaffe3aefd9625ae2468 +SIZE (facebookgo-httpdown-a3b1354_GH0.tar.gz) = 9738 +SHA256 (facebookgo-pidfile-f242e299_GH0.tar.gz) = 5e0cb574b851bc7c92ac58a02a158e8472cc122476fb565a9931b26d34d010e3 +SIZE (facebookgo-pidfile-f242e299_GH0.tar.gz) = 3416 +SHA256 (facebookgo-stats-1b76add_GH0.tar.gz) = 568616050c1d4022b4becf0871c6f87f4ccea6cd5e772238e88060decc66c0d4 +SIZE (facebookgo-stats-1b76add_GH0.tar.gz) = 5655 +SHA256 (gogo-protobuf-v0.4_GH0.tar.gz) = 64fb508b9a8d4af156409804c8a75f2c4885ff9601d8f86b765b5d3ec1a6ef70 +SIZE (gogo-protobuf-v0.4_GH0.tar.gz) = 2430215 +SHA256 (go-yaml-yaml-v2.1.1_GH0.tar.gz) = c14dd951766d03b4480820faece16d1bc756c2c479efd52594fcdb2c826415c3 +SIZE (go-yaml-yaml-v2.1.1_GH0.tar.gz) = 69159 +SHA256 (lestrrat-go-strftime-04ef93e_GH0.tar.gz) = 622be10ee786496a9c825b02cb726785924a21a2a94fd590ba9b5ea90ec75bc5 +SIZE (lestrrat-go-strftime-04ef93e_GH0.tar.gz) = 7273 +SHA256 (lestrrat-go-file-rotatelogs-v2.1.0_GH0.tar.gz) = ba46fb785e23a290190d286165e1e414a730264223c7d6f6e8e18303626cfb45 +SIZE (lestrrat-go-file-rotatelogs-v2.1.0_GH0.tar.gz) = 6565 +SHA256 (lomik-og-rek-628eefe_GH0.tar.gz) = 28d74084b2c7888f7ec85d694baf1623a4a258434594cdc9c579ec1b385e192f +SIZE (lomik-og-rek-628eefe_GH0.tar.gz) = 320232 +SHA256 (lomik-zapwriter-d4499a3_GH0.tar.gz) = cd09dce82d47991e4645ab588fdbebf40e30e3d29feca3e84678711df299d13c +SIZE (lomik-zapwriter-d4499a3_GH0.tar.gz) = 9524 +SHA256 (peterbourgon-g2g-0c2bab2_GH0.tar.gz) = a9304102095692897cb35d0cffed810d24731d0ebdb5dfb7d77f98a5d97913e1 +SIZE (peterbourgon-g2g-0c2bab2_GH0.tar.gz) = 3833 +SHA256 (pkg-errors-v0.8.0_GH0.tar.gz) = bacf6c58e490911398cee61742ddc6a90c560733e4c9dcb3d867b17a894c9dd5 +SIZE (pkg-errors-v0.8.0_GH0.tar.gz) = 11344 +SHA256 (satori-go.uuid-v1.1.0_GH0.tar.gz) = a9509d7769794df7d26964d5dc297c8ad7349f8ff5585f294e8fddd1c6abe946 +SIZE (satori-go.uuid-v1.1.0_GH0.tar.gz) = 7609 +SHA256 (uber-go-atomic-v1.2.0_GH0.tar.gz) = 48179cf603b9a7aaefad6373c6df2c66896c0f9a78c1fcdc47322904f2f1eea0 +SIZE (uber-go-atomic-v1.2.0_GH0.tar.gz) = 6818 +SHA256 (uber-go-multierr-v1.1.0_GH0.tar.gz) = 45405583513302d57d4715fada5ef8c8dbd9c9992956f2d0faa8758d9d885851 +SIZE (uber-go-multierr-v1.1.0_GH0.tar.gz) = 9234 +SHA256 (uber-go-zap-v1.5.0_GH0.tar.gz) = f0c1580f39153ee2aae03d57564a819865dfd4528d59eb15629e063dc48f86fc +SIZE (uber-go-zap-v1.5.0_GH0.tar.gz) = 96068 Property changes on: head/net-mgmt/carbonzipper/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: head/net-mgmt/carbonzipper/files/carbonzipper.in =================================================================== --- head/net-mgmt/carbonzipper/files/carbonzipper.in (nonexistent) +++ head/net-mgmt/carbonzipper/files/carbonzipper.in (revision 465193) @@ -0,0 +1,44 @@ +#!/bin/sh + +# $FreeBSD$ +# +# PROVIDE: carbonzipper +# REQUIRE: LOGIN +# KEYWORD: shutdown + +# Add the following lines to /etc/rc.conf to enable carbonzipper +# carbonzipper_enable="YES" +# +# carbonzipper_enable (bool): Set to YES to enable carbonzipper +# Default: NO +# carbonzipper_conf (str): carbonzipper configration file +# Default: empty +# carbonzipper_user (str): carbonzipper daemon user +# Default: carbon +# carbonzipper_group (str): carbonzipper daemon group +# Default: carbon + +. /etc/rc.subr + +name="carbonzipper" +rcvar=carbonzipper_enable +load_rc_config $name + +: ${carbonzipper_enable:="NO"} +: ${carbonzipper_user:="carbon"} +: ${carbonzipper_group:="carbon"} +: ${carbonzipper_conf:=""} +: ${carbonzipper_options:="-config ${carbonzipper_conf}"} + +pidfile="/var/run/${name}.pid" +procname="%%PREFIX%%/bin/carbonzipper" +command=/usr/sbin/daemon +command_args="-f -c -p ${pidfile} ${procname} ${carbonzipper_options}" +start_precmd="carbonzipper_precmd" + +carbonzipper_precmd() +{ + install -o ${carbonzipper_user} /dev/null ${pidfile} +} + +run_rc_command "$1" Property changes on: head/net-mgmt/carbonzipper/files/carbonzipper.in ___________________________________________________________________ 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: head/net-mgmt/carbonzipper/files/patch-example.conf =================================================================== --- head/net-mgmt/carbonzipper/files/patch-example.conf (nonexistent) +++ head/net-mgmt/carbonzipper/files/patch-example.conf (revision 465193) @@ -0,0 +1,10 @@ +--- example.conf.orig 2018-03-21 08:39:06 UTC ++++ example.conf +@@ -101,6 +101,6 @@ logger: + encodingDuration: "seconds" + - + logger: "" +- file: "carbonapi.log" ++ file: "/var/log/carbonzipper/carbonzipper.log" + level: "info" + encoding: "json" Property changes on: head/net-mgmt/carbonzipper/files/patch-example.conf ___________________________________________________________________ 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: head/net-mgmt/carbonzipper/pkg-descr =================================================================== --- head/net-mgmt/carbonzipper/pkg-descr (nonexistent) +++ head/net-mgmt/carbonzipper/pkg-descr (revision 465193) @@ -0,0 +1,4 @@ +carbonzipper is part of the go implementation of the carbon stack. It sits +between carbonapi and go-carbon + +WWW: https://github.com/go-graphite/carbonzipper/ Property changes on: head/net-mgmt/carbonzipper/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 Index: head/net-mgmt/carbonzipper/pkg-plist =================================================================== --- head/net-mgmt/carbonzipper/pkg-plist (nonexistent) +++ head/net-mgmt/carbonzipper/pkg-plist (revision 465193) @@ -0,0 +1,4 @@ +bin/%%GO_PKGNAME%% +@sample %%ETCDIR%%/example.conf +@dir(carbon,carbon,0755) %%ETCDIR%% +@dir(carbon,carbon,0755) /var/log/%%GO_PKGNAME%% Property changes on: head/net-mgmt/carbonzipper/pkg-plist ___________________________________________________________________ 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