Created attachment 157354 [details] Port's shar archive There is the textproc/kibana port already, but the new, 4th version is completely different from the 3rd one, so I've decided it should be another port. The WWWDIR is overridden, if not - the files of 3rd and 4th kibanas' mix up in ${PREFIX}/www/kibana directory without causing a conflict, which seems bad for me. The port fetches the Linux x86 version, but it can be any version elastic provides, it doesn't mean the port is for x86 only. The difference in kibana4 versions on elastic website is in the bundled node binaries, which are not copied alongside the application by the port. The port depends on node010, because that's the version elastic bundles inside their platform-specific downloads. I made some smoke testing on node 0.12, and they are fine, but decided to follow the elastic's style anyway.
Created attachment 157355 [details] poudriere testport results
Thanks! There is a recent security advisory for an XSS attack in 4.0.0, 4.0.1, and 4.0.2. That would have to be addressed before this could go in the tree. See the link below for more details. https://discuss.elastic.co/t/kibana-cross-site-scripting-vulnerability-cve-2015-4093/2258 `portlint -Ac` shows the following. Thanks for being thorough. looks fine.
Created attachment 157637 [details] Port's shar archive 4.1.0
Created attachment 157638 [details] poudriere testport results 4.1.0
Updated to 4.1.0
I had submitted a 4.0.2 a few weeks back turned out not too long after your's sergey. I will close that submission in hopes 4.1.0 comes fast :) I already build 4.1.0 from a custom subdir hack in my local ports tree. will be great to have it in the usual svnlite soon :) Thank You. My submission was https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=200653 and please feel free to use anything in it if you find it useful. Thanks again.
*** Bug 200653 has been marked as a duplicate of this bug. ***
Created attachment 158565 [details] Port's shar archive 4.1.1 Updated to 4.1.1
Created attachment 158566 [details] poudriere testport results 4.1.1
I've opened https://reviews.FreeBSD.org/D3290 for a review on getting this port added.
A commit references this bug: Author: junovitch Date: Thu Aug 6 01:22:37 UTC 2015 New revision: 393628 URL: https://svnweb.freebsd.org/changeset/ports/393628 Log: New Port: textproc/kibana4 Kibana is an open source (Apache Licensed), browser based analytics and search dashboard for Elasticsearch. Kibana is a snap to setup and start using. Kibana strives to be easy to get started with, while also being flexible and powerful, just like Elasticsearch WWW: https://www.elastic.co/products/kibana PR: 200582 Submitted by: Sergey Kozlov <kozlov.sergey.404@gmail.com> Approved by: delphij (mentor) Differential Revision: https://reviews.freebsd.org/D3290 Changes: head/textproc/Makefile head/textproc/kibana4/ head/textproc/kibana4/Makefile head/textproc/kibana4/distinfo head/textproc/kibana4/files/ head/textproc/kibana4/files/kibana.in head/textproc/kibana4/pkg-descr head/textproc/kibana4/pkg-plist
Created attachment 159598 [details] Add to contributors Sergey, Committed with extremely minor whitespace changes to kibana.in to better match /etc/rc.d style. Great work! Thanks! Do you want your name added to contributors? I see you have multiple ports and your name is not in the list. Patch attached would do just that.
(In reply to Jason Unovitch from comment #12) Yes, sure I want that to happen. Thanks!
(In reply to Sergey Kozlov from comment #13) Committed in https://svnweb.FreeBSD.org/changeset/doc/47172 I will mark this closed and assigned to myself once my PR for Bugzilla rights gets updated.