FreeBSD Bugzilla – Attachment 212303 Details for
Bug 237374
[NEW PORT] textproc/kibana7: Browser based analytics and search interface to ElasticSearch
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
shar to add kibana7 - 7.6.1
kibana7.shar (text/plain), 5.70 KB, created by
Miroslav Lachman
on 2020-03-10 13:31:01 UTC
(
hide
)
Description:
shar to add kibana7 - 7.6.1
Filename:
MIME Type:
Creator:
Miroslav Lachman
Created:
2020-03-10 13:31:01 UTC
Size:
5.70 KB
patch
obsolete
># This is a shell archive. Save it in a file, remove anything before ># this line, and then unpack it by entering "sh file". Note, it may ># create directories; files and directories will be owned by you and ># have default permissions. ># ># This archive contains: ># ># kibana7 ># kibana7/files ># kibana7/files/pkg-deinstall.in ># kibana7/files/kibana.in ># kibana7/files/patch-src_setup__node__env_index.js ># kibana7/distinfo ># kibana7/Makefile ># kibana7/pkg-descr ># >echo c - kibana7 >mkdir -p kibana7 > /dev/null 2>&1 >echo c - kibana7/files >mkdir -p kibana7/files > /dev/null 2>&1 >echo x - kibana7/files/pkg-deinstall.in >sed 's/^X//' >kibana7/files/pkg-deinstall.in << '9a5c874beb8a030bf7340d4ed8a476d7' >X#!/bin/sh >X >Xcase "$2" in >XPOST-DEINSTALL) >X if [ -d %%WWWDIR%%/optimize ]; then >X /usr/bin/find %%WWWDIR%%/optimize/ -delete >X fi >X >X cat <<EOMSG >X >XIf %%PORTNAME%%%%PKGNAMESUFFIX%% is being deleted permanently, and you do not wish to keep any >Xdata that was in the cluster, then you may wish to delete the >X%%WWWDIR%% directory. This can be done by with the command: >X >X # rm -rf %%WWWDIR%% >X >XPlease ignore this if %%PORTNAME%%%%PKGNAMESUFFIX%% is being upgraded >XEOMSG >X ;; >Xesac >9a5c874beb8a030bf7340d4ed8a476d7 >echo x - kibana7/files/kibana.in >sed 's/^X//' >kibana7/files/kibana.in << '16b3f24fa11064ea239ceedf576ff8eb' >X#!/bin/sh >X# >X# $FreeBSD: head/textproc/kibana6/files/kibana.in 484109 2018-11-04 16:58:30Z feld $ >X# >X >X# PROVIDE: kibana >X# REQUIRE: DAEMON >X# KEYWORD: shutdown >X >X. /etc/rc.subr >X >Xname=kibana >Xrcvar=kibana_enable >X >Xload_rc_config $name >X >X: ${kibana_enable:="NO"} >X: ${kibana_config:="%%ETCDIR%%/kibana.yml"} >X: ${kibana_user:="www"} >X: ${kibana_group:="www"} >X: ${kibana_log:="/var/log/kibana.log"} >X >Xexport BABEL_DISABLE_CACHE=1 >Xexport NODE_ENV=production >X# ml and reporting modules not supported on FreeBSD >Xexport XPACK_ML_ENABLED=false >Xexport XPACK_REPORTING_ENABLED=false >X >Xrequired_files="${kibana_config}" >Xpidfile="/var/run/${name}/${name}.pid" >Xstart_precmd="kibana_precmd" >Xprocname="%%LOCALBASE%%/bin/node" >Xcommand="/usr/sbin/daemon" >Xcommand_args="-f -p ${pidfile} ${procname} --no-warnings %%WWWDIR%%/src/cli serve --config ${kibana_config} --log-file ${kibana_log}" >X >Xkibana_precmd() >X{ >X if [ ! -d $(dirname ${pidfile}) ]; then >X install -d -o ${kibana_user} -g ${kibana_group} $(dirname ${pidfile}) >X fi >X >X if [ ! -f ${kibana_log} ]; then >X install -o ${kibana_user} -g ${kibana_group} -m 640 /dev/null ${kibana_log} >X fi >X >X if [ ! -d %%WWWDIR%%/optimize ]; then >X install -d -o ${kibana_user} -g ${kibana_group} %%WWWDIR%%/optimize >X else >X # We may have installed a plugin as root which will cause files in here >X # to be owned by root:wheel. Fix with a chown. >X chown -R ${kibana_user}:${kibana_group} %%WWWDIR%%/optimize >X fi >X} >X >Xrun_rc_command "$1" >16b3f24fa11064ea239ceedf576ff8eb >echo x - kibana7/files/patch-src_setup__node__env_index.js >sed 's/^X//' >kibana7/files/patch-src_setup__node__env_index.js << 'ccbd52736845623939cb84726220722a' >X--- src/setup_node_env/index.js.orig 2018-11-04 14:48:57 UTC >X+++ src/setup_node_env/index.js >X@@ -19,5 +19,5 @@ >X * under the License. >X */ >X >X-require('./node_version_validator'); >X-require('./babel_register'); >X\ No newline at end of file >X+//require('./node_version_validator'); >X+require('./babel_register'); >ccbd52736845623939cb84726220722a >echo x - kibana7/distinfo >sed 's/^X//' >kibana7/distinfo << '3098f52d99ba2bf081bbe6767c72c643' >XTIMESTAMP = 1583840704 >XSHA256 (kibana-7.6.1-darwin-x86_64.tar.gz) = 846efd53d7a7d4ccb41222f3b1f771016a3e904d9116804ed95df417c9e1e842 >XSIZE (kibana-7.6.1-darwin-x86_64.tar.gz) = 259198456 >3098f52d99ba2bf081bbe6767c72c643 >echo x - kibana7/Makefile >sed 's/^X//' >kibana7/Makefile << '3fd36d5ff8603a0d263ca028a7de1f61' >X# Created by: Tom Judge <tj@FreeBSD.org> >X# $FreeBSD: head/textproc/kibana6/Makefile 521865 2020-01-02 18:52:15Z glewis $ >X >XPORTNAME= kibana >XPORTVERSION= 7.6.1 >XDISTVERSIONSUFFIX= -darwin-x86_64 >XCATEGORIES= textproc www >XMASTER_SITES= https://artifacts.elastic.co/downloads/kibana/ \ >X http://artifacts.elastic.co/downloads/kibana/ >XPKGNAMESUFFIX?= 7 >X >XMAINTAINER= elastic@FreeBSD.org >XCOMMENT= Browser based analytics and search interface to ElasticSearch >X >XLICENSE= APACHE20 >X >XRUN_DEPENDS= node12>=12.10.0:www/node12 >X >XCONFLICTS= kibana[6]* >X >XNO_BUILD= yes >XWWWDIR= ${PREFIX}/www/${PORTNAME}${PKGNAMESUFFIX} >XUSE_RC_SUBR= ${PORTNAME} >X >XSUB_FILES= pkg-deinstall >XSUB_LIST+= PORTNAME=${PORTNAME} PKGNAMESUFFIX=${PKGNAMESUFFIX} >X >Xpost-patch: >X ${FIND} -s ${WRKSRC}/node_modules -type d -empty -delete >X >Xdo-install: >X ${MKDIR} ${STAGEDIR}${WWWDIR} ${STAGEDIR}${ETCDIR} >X ${INSTALL_DATA} ${WRKSRC}/config/kibana.yml ${STAGEDIR}${ETCDIR}/kibana.yml.sample >X (cd ${WRKSRC} && \ >X ${RM} -r config node optimize && \ >X ${COPYTREE_SHARE} . ${STAGEDIR}${WWWDIR} && \ >X ${COPYTREE_BIN} bin ${STAGEDIR}${WWWDIR}) >X ${INSTALL} -lrs ${STAGEDIR}${ETCDIR} ${STAGEDIR}${WWWDIR}/config >X >Xpost-install: >X ${ECHO} "@sample ${ETCDIR}/kibana.yml.sample" >> ${TMPPLIST} >X ${FIND} -s ${STAGEDIR}${WWWDIR} -not -type d | ${SORT} | \ >X ${SED} -e 's#^${STAGEDIR}${PREFIX}/##' >> ${TMPPLIST} >X ${ECHO} "@dir(www,www) ${WWWDIR}/data" >> ${TMPPLIST} >X ${ECHO} "@dir ${WWWDIR}/plugins" >> ${TMPPLIST} >X >X.include <bsd.port.mk> >3fd36d5ff8603a0d263ca028a7de1f61 >echo x - kibana7/pkg-descr >sed 's/^X//' >kibana7/pkg-descr << 'b631812d70542dec00df09cd93bdc277' >XKibana is an open source (Apache Licensed), browser based analytics and search >Xdashboard for Elasticsearch. Kibana is a snap to setup and start using. Kibana >Xstrives to be easy to get started with, while also being flexible and powerful, >Xjust like Elasticsearch. >X >XKibana 6.x is compatible with Elasticsearch 6.x >X >XWWW: https://www.elastic.co/products/kibana >b631812d70542dec00df09cd93bdc277 >exit >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 237374
:
209063
|
212303
|
212304
|
212305
|
212315
|
212348
|
212349