Bug 226732 - [NEW PORT] databases/go-carbon
Summary: [NEW PORT] databases/go-carbon
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:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-03-19 17:05 UTC by Andreas Andersson
Modified: 2018-03-19 20:23 UTC (History)
1 user (show)

See Also:


Attachments
go-carbon (6.99 KB, patch)
2018-03-19 17:05 UTC, Andreas Andersson
a.andersson.thn: maintainer-approval+
Details | Diff
Add GID and UID (7.63 KB, patch)
2018-03-19 20:13 UTC, Andreas Andersson
a.andersson.thn: maintainer-approval+
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Andreas Andersson 2018-03-19 17:05:20 UTC
Created attachment 191634 [details]
go-carbon

This brings the go implementation of carbon (currently at v0.12.0). https://github.com/lomik/go-carbon/


While I tried keeping stuff as simple as possible there were some issues using daemon utility to manage go-carbon. It would start, but it was unable to kill due to unknown class.

Please let me know if something needs changing or if there are simplifications to make to the port.

Poudriere testport fine on 10.3, 10.4, 11.1 and 12-CURRENT. Portlint -AC also fine.
Comment 1 Kurt Jaeger freebsd_committer freebsd_triage 2018-03-19 20:02:45 UTC
You allocate a user and group -- which one did you select in UIDs and GIDs ?

Or should I test with the next free one ?
Comment 2 Andreas Andersson 2018-03-19 20:13:25 UTC
Created attachment 191639 [details]
Add GID and UID

Add GID and UID for carbon user.
Comment 3 Kurt Jaeger freebsd_committer freebsd_triage 2018-03-19 20:22:43 UTC
Committed, thanks!
Comment 4 commit-hook freebsd_committer freebsd_triage 2018-03-19 20:23:14 UTC
A commit references this bug:

Author: pi
Date: Mon Mar 19 20:22:30 UTC 2018
New revision: 465028
URL: https://svnweb.freebsd.org/changeset/ports/465028

Log:
  New port: databases/go-carbon

  go-carbon is a go implementation of the carbon component of the graphite
  project. It has support for multiple cpu's and can achieve higher concurrency.

  WWW: https://github.com/lomik/go-carbon

  PR:		226732
  Submitted by:	Andreas Andersson <a.andersson.thn@gmail.com>

Changes:
  head/GIDs
  head/UIDs
  head/databases/Makefile
  head/databases/go-carbon/
  head/databases/go-carbon/Makefile
  head/databases/go-carbon/distinfo
  head/databases/go-carbon/files/
  head/databases/go-carbon/files/go-carbon.in
  head/databases/go-carbon/files/patch-deploy_go-carbon.conf
  head/databases/go-carbon/pkg-descr
  head/databases/go-carbon/pkg-plist