Bug 210071 - [NEW PORT] www/uchiwa: Simple dashboard for the Sensu Monitoring system
Summary: [NEW PORT] www/uchiwa: Simple dashboard for the Sensu Monitoring system
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://uchiwa.io/
Keywords: feature, needs-qa, patch
Depends on:
Blocks:
 
Reported: 2016-06-06 09:02 UTC by Alexander Holte-Davidsen
Modified: 2016-06-30 19:24 UTC (History)
3 users (show)

See Also:


Attachments
uchiwa-0.15.0.shar (56.05 KB, text/plain)
2016-06-06 09:02 UTC, Alexander Holte-Davidsen
no flags Details
uchiwa-0.15.0.shar (56.46 KB, text/plain)
2016-06-13 10:13 UTC, Alexander Holte-Davidsen
no flags Details
uchiwa-0.15.0.shar (61.22 KB, text/plain)
2016-06-13 12:26 UTC, Alexander Holte-Davidsen
no flags Details
uchiwa-0.16.0.shar (61.15 KB, text/plain)
2016-06-30 12:19 UTC, Alexander Holte-Davidsen
no flags Details
uchiwa-0.16.0.shar (181.70 KB, text/plain)
2016-06-30 18:44 UTC, Alexander Holte-Davidsen
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Alexander Holte-Davidsen 2016-06-06 09:02:13 UTC
Created attachment 171086 [details]
uchiwa-0.15.0.shar

Uchiwa is a simple dashboard for Sensu written in Go.
Comment 1 Alexander Holte-Davidsen 2016-06-06 12:01:23 UTC
Uchiwa also needs it's own user. I added the following:

/usr/ports/UIDs
UIDs:uchiwa:*:815:815::0:0:Uchiwa Dashboard:/nonexistent:/usr/sbin/nologin

/usr/ports/GIDs
GIDs:uchiwa:*:815:
Comment 3 Alexander Holte-Davidsen 2016-06-13 10:13:01 UTC
Created attachment 171372 [details]
uchiwa-0.15.0.shar

Updated port
Comment 4 Alexander Holte-Davidsen 2016-06-13 10:14:58 UTC
(In reply to Mikanoshi from comment #2)
Please try the new version. It seems to be a bug in the code that downloads files from github. Using a dash ( - ) in the group name made the download fail. Make tried to download http://distcache.FreeBSD.org/ports-distfiles/godgrijalva-jwt-go-61124b62ad244d655f87d944aefaa2ae5a0d2f16_GH0.tar.gz instead of http://distcache.FreeBSD.org/ports-distfiles/dgrijalva-jwt-go-61124b62ad244d655f87d944aefaa2ae5a0d2f16_GH0.tar.gz.
I will create a bug report for this.
Comment 5 Alexander Holte-Davidsen 2016-06-13 12:26:53 UTC
Created attachment 171377 [details]
uchiwa-0.15.0.shar

I rewrote the port use not use npm for installation for java-script files. All files are now fetched from github. BUILD_DEPENDS are now down to only go>=1.6.0.
Comment 6 Mikanoshi 2016-06-13 12:36:40 UTC
I think I'll go with Kapacitor+Alerta, but thanks anyway :) it compiles now
Comment 7 Alexander Holte-Davidsen 2016-06-30 12:19:25 UTC
Created attachment 171973 [details]
uchiwa-0.16.0.shar

Updated port to latest version
Comment 8 Kurt Jaeger freebsd_committer freebsd_triage 2016-06-30 16:58:46 UTC
testbuild@work
Comment 9 Alexander Holte-Davidsen 2016-06-30 18:44:09 UTC
Created attachment 171978 [details]
uchiwa-0.16.0.shar

New version with correct pkg-plist, and UIDs and GIDs attached.
Comment 10 commit-hook freebsd_committer freebsd_triage 2016-06-30 19:23:21 UTC
A commit references this bug:

Author: pi
Date: Thu Jun 30 19:22:22 UTC 2016
New revision: 417836
URL: https://svnweb.freebsd.org/changeset/ports/417836

Log:
  New port: www/uchiwa

  Uchiwa is a simple dashboard for the Sensu monitoring framework.

  WWW: http://uchiwa.io/

  PR:		210071
  Submitted by:	Alexander Holte-Davidsen <ports@treg.io>

Changes:
  head/GIDs
  head/UIDs
  head/www/Makefile
  head/www/uchiwa/
  head/www/uchiwa/Makefile
  head/www/uchiwa/distinfo
  head/www/uchiwa/files/
  head/www/uchiwa/files/uchiwa.in
  head/www/uchiwa/pkg-descr
  head/www/uchiwa/pkg-plist
Comment 11 Kurt Jaeger freebsd_committer freebsd_triage 2016-06-30 19:24:15 UTC
Committed, thanks!