Bug 196240 - [NEW PORT] net-mgmt/statsite: C implementation of statsd
Summary: [NEW PORT] net-mgmt/statsite: C implementation of statsd
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Kurt Jaeger
URL: https://github.com/armon/statsite
Keywords: needs-qa, patch
Depends on:
Blocks:
 
Reported: 2014-12-23 22:13 UTC by Robert Barabas
Modified: 2015-01-14 14:09 UTC (History)
1 user (show)

See Also:


Attachments
shar file for statsite port (1.62 KB, text/plain)
2014-12-23 22:13 UTC, Robert Barabas
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Robert Barabas 2014-12-23 22:13:08 UTC
Created attachment 150926 [details]
shar file for statsite port

C implementation of statsd
Comment 1 Kurt Jaeger freebsd_committer freebsd_triage 2015-01-13 21:02:43 UTC
Testing @work
Comment 2 Kurt Jaeger freebsd_committer freebsd_triage 2015-01-13 21:33:43 UTC
fails to build on 8.4 (both amd64 and i386):

gcc -o src/networking.o -c -g -std=c99 -D_GNU_SOURCE -O3 -pthread -Ideps/inih/ -Ideps/libev/ -Isrc/ src/networking.c
In file included from src/networking.c:4:
/usr/include/netinet/tcp.h:40: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'tcp_seq'
/usr/include/netinet/tcp.h:50: error: expected specifier-qualifier-list before 'u_short'
/usr/include/netinet/tcp.h:180: error: expected specifier-qualifier-list before 'u_int8_t'

any ideas ?
Comment 3 Kurt Jaeger freebsd_committer freebsd_triage 2015-01-14 05:21:01 UTC
(In reply to Kurt Jaeger from comment #2)
Found a fix.
Comment 4 Kurt Jaeger freebsd_committer freebsd_triage 2015-01-14 05:21:35 UTC
See
https://github.com/armon/statsite/issues/100
Comment 5 commit-hook freebsd_committer freebsd_triage 2015-01-14 05:25:59 UTC
A commit references this bug:

Author: pi
Date: Wed Jan 14 05:25:46 UTC 2015
New revision: 376996
URL: https://svnweb.freebsd.org/changeset/ports/376996

Log:
  New port: net-mgmt/statsite

  Statsite is a metrics aggregation server.

  Statsite is based on Etsy's StatsD, https://github.com/etsy/statsd,
  wire compatible and implemented in C.

  WWW: https://github.com/armon/statsite

  PR:		196240
  Submitted by:	robert.barabas@percona.com

Changes:
  head/net-mgmt/Makefile
  head/net-mgmt/statsite/
  head/net-mgmt/statsite/Makefile
  head/net-mgmt/statsite/distinfo
  head/net-mgmt/statsite/files/
  head/net-mgmt/statsite/files/patch-src_networking.c
  head/net-mgmt/statsite/pkg-descr
Comment 6 Kurt Jaeger freebsd_committer freebsd_triage 2015-01-14 05:30:36 UTC
Committed with changes, thanks!
Comment 7 commit-hook freebsd_committer freebsd_triage 2015-01-14 06:15:02 UTC
A commit references this bug:

Author: pi
Date: Wed Jan 14 06:14:29 UTC 2015
New revision: 376997
URL: https://svnweb.freebsd.org/changeset/ports/376997

Log:
  net-mgmt/statsite: simplify Makefile

  PR:		196240
  Submitted by:	danfe

Changes:
  head/net-mgmt/statsite/Makefile
Comment 8 Robert Barabas 2015-01-14 14:09:41 UTC
Nice catch! I'll submit a PR on github to upstream, that should make the merging of the include fix simple.