FreeBSD Bugzilla – Attachment 146590 Details for
Bug 191633
[new port] devel/storm - distributed realtime computation system used at twitter
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
Storm port shar
storm.shar (text/plain), 8.15 KB, created by
Radim Kolar
on 2014-08-31 10:50:23 UTC
(
hide
)
Description:
Storm port shar
Filename:
MIME Type:
Creator:
Radim Kolar
Created:
2014-08-31 10:50:23 UTC
Size:
8.15 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: ># ># storm ># storm/Makefile ># storm/pkg-descr ># storm/distinfo ># storm/files ># storm/files/storm-nimbus.in ># storm/files/storm-supervisor.in ># >echo c - storm >mkdir -p storm > /dev/null 2>&1 >echo x - storm/Makefile >sed 's/^X//' >storm/Makefile << 'bf820bef53b517c8d183d562307e4b9f' >X# Created by: Radim Kolar <hsn@sanatana.localdomain> >X# $FreeBSD$ >X >XPORTNAME= storm >XDISTVERSION= 0.9.2-incubating >XCATEGORIES= devel java >XMASTER_SITES= APACHE >XMASTER_SITE_SUBDIR= incubator/${PORTNAME}/apache-${PORTNAME}-${DISTVERSION} >XDISTNAME= apache-storm-${DISTVERSION} >X >XMAINTAINER= hsn@sendmail.cz >XCOMMENT= Distributed realtime computation system >X >XLICENSE= APACHE20 >X >XUSE_PYTHON= 2.7 >XUSE_JAVA= yes >XJAVA_VERSION= 1.7 >XJAVA_VENDOR= openjdk >XUSE_RC_SUBR= storm-nimbus storm-supervisor >X >XNO_BUILD= yes >XPLIST= ${WRKDIR}/pkg-plist >X >XSTORM_DIRS= bin examples external lib public >XSTORM_CFG_DIRS= conf logback >XSTORM_CFG_FILES= conf/storm.yaml conf/storm_env.ini logback/cluster.xml >X >Xpost-extract: >X ${RM} -f ${WRKSRC}/bin/*.cmd >X >Xpost-patch: >X ${REINPLACE_CMD} -e "s|/usr/bin/python|${LOCALBASE}/bin/python2.7|" ${WRKSRC}/bin/storm >X ${RM} -f ${WRKSRC}/bin/*.bak >X.for i in ${STORM_CFG_FILES} >X ${MV} ${WRKSRC}/${i} ${WRKSRC}/${i}.sample >X.endfor >X >Xpre-install: >X cd ${WRKSRC} && ${FIND} ${STORM_DIRS} -type f -exec \ >X ${ECHO_CMD} "%%DATADIR%%/{}" \; | \ >X ${SED} -e "s-\./--" > ${PLIST} >X cd ${WRKSRC} && ${FIND} -d ${STORM_DIRS} -type d -exec \ >X ${ECHO_CMD} "@dirrm %%DATADIR%%/{}" \; | \ >X ${SED} -e "s-/\.--" >> ${PLIST} >X ${ECHO_CMD} "bin/storm" >> ${PLIST} >X ${ECHO_CMD} "%%DATADIR%%/RELEASE" >> ${PLIST} >X.for i in ${STORM_CFG_FILES} >X ${ECHO_CMD} "@sample %%DATADIR%%/${i}.sample" >> ${PLIST} >X.endfor >X.for i in ${STORM_CFG_DIRS} >X ${ECHO_CMD} "@dirrmtry %%DATADIR%%/${i}" >> ${PLIST} >X.endfor >X ${ECHO_CMD} "@dirrmtry %%DATADIR%%" >> ${PLIST} >X >Xdo-install: >X ${MKDIR} ${STAGEDIR}${DATADIR} >X cd ${WRKSRC} && ${FIND} ${STORM_DIRS} ${STORM_CFG_DIRS} | \ >X ${CPIO} --quiet -pdmu ${STAGEDIR}${DATADIR} >X ${INSTALL_DATA} ${WRKSRC}/RELEASE ${STAGEDIR}${DATADIR} >X ${LN} -s ${PREFIX}${DATADIR}/bin/storm ${STAGEDIR}${PREFIX}/bin/storm >X ${CHMOD} +x ${STAGEDIR}${DATADIR}/bin/storm >X >X.include <bsd.port.mk> >bf820bef53b517c8d183d562307e4b9f >echo x - storm/pkg-descr >sed 's/^X//' >storm/pkg-descr << 'b9ba959a77306df224f525ba1b0b6bbd' >XApache Storm is a free and open source distributed realtime >Xcomputation system. Storm makes it easy to reliably process >Xunbounded streams of data, doing for realtime processing >Xwhat Hadoop did for batch processing. Storm is simple, can >Xbe used with any programming language, and is a lot of fun >Xto use! >X >XStorm has many use cases: realtime analytics, online machine >Xlearning, continuous computation, distributed RPC, ETL, and >Xmore. Storm is fast: a benchmark clocked it at over a >Xmillion tuples processed per second per node. It is >Xscalable, fault-tolerant, guarantees your data will be >Xprocessed, and is easy to set up and operate. >X >XWWW: http://storm.incubator.apache.org/ >b9ba959a77306df224f525ba1b0b6bbd >echo x - storm/distinfo >sed 's/^X//' >storm/distinfo << '8f1e58d74b68ae6a351d3f6c43aa8428' >XSHA256 (apache-storm-0.9.2-incubating.tar.gz) = 8881e8e95bc8bc258dcba7b8be0b7ded942795f69f4aa6c682c9f3c4d927c492 >XSIZE (apache-storm-0.9.2-incubating.tar.gz) = 20077564 >8f1e58d74b68ae6a351d3f6c43aa8428 >echo c - storm/files >mkdir -p storm/files > /dev/null 2>&1 >echo x - storm/files/storm-nimbus.in >sed 's/^X//' >storm/files/storm-nimbus.in << '5f704761d62d40e81bf6977b0f61f802' >X#!/bin/sh >X# >X# Copyright (c) 2014, Radim Kolar >X# All rights reserved. >X# >X# Redistribution and use in source and binary forms, with or without >X# modification, are permitted provided that the following conditions are met: >X# >X# * Redistributions of source code must retain the above copyright notice, >X# this list of conditions and the following disclaimer. >X# * Redistributions in binary form must reproduce the above copyright >X# notice, this list of conditions and the following disclaimer in the >X# documentation and/or other materials provided with the distribution. >X# >X# THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND ANY >X# EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED >X# WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE >X# DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE FOR ANY >X# DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES >X# (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR >X# SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER >X# CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT >X# LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY >X# OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH >X# DAMAGE. >X >X# PROVIDE: storm-nimbus >X# REQUIRE: LOGIN >X# KEYWORD: shutdown >X# >X# $FreeBSD$ >X >X. /etc/rc.subr >X >Xname="storm_nimbus" >Xrcvar=storm_nimbus_enable >Xload_rc_config $name >X >X: ${storm_nimbus_enable:="NO"} >X: ${storm_nimbus_wrkdir:="/var/cache/storm"} >X >Xrequired_files="%%DATADIR%%/bin/storm %%DATADIR%%/conf/storm.yaml" >Xpidfile=/var/run/storm-nimbus.pid >Xcommand=/usr/sbin/daemon >Xcommand_args="-f -p ${pidfile} %%DATADIR%%/bin/storm nimbus" >Xstart_precmd="${name}_prestart" >Xprocname="%%LOCALBASE%%/openjdk7/bin/java" >X >Xexport PATH=$PATH:%%LOCALBASE%%/bin >Xexport JAVA_VENDOR=openjdk >Xexport JAVA_VERSION=1.7 >X >Xstorm_nimbus_prestart() { >X mkdir -p ${storm_nimbus_wrkdir} >X chmod 740 ${storm_nimbus_wrkdir} >X cd ${storm_nimbus_wrkdir} >X return 0 >X} >X >Xrun_rc_command "$1" >5f704761d62d40e81bf6977b0f61f802 >echo x - storm/files/storm-supervisor.in >sed 's/^X//' >storm/files/storm-supervisor.in << 'b7416e36a559c3c5436347360b52334e' >X#!/bin/sh >X# >X# Copyright (c) 2014, Radim Kolar >X# All rights reserved. >X# >X# Redistribution and use in source and binary forms, with or without >X# modification, are permitted provided that the following conditions are met: >X# >X# * Redistributions of source code must retain the above copyright notice, >X# this list of conditions and the following disclaimer. >X# * Redistributions in binary form must reproduce the above copyright >X# notice, this list of conditions and the following disclaimer in the >X# documentation and/or other materials provided with the distribution. >X# >X# THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND ANY >X# EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED >X# WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE >X# DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE FOR ANY >X# DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES >X# (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR >X# SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER >X# CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT >X# LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY >X# OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH >X# DAMAGE. >X >X# PROVIDE: storm-supervisor >X# REQUIRE: LOGIN >X# KEYWORD: shutdown >X# >X# $FreeBSD$ >X >X. /etc/rc.subr >X >Xname="storm_supervisor" >Xrcvar=storm_supervisor_enable >Xload_rc_config $name >X >X: ${storm_supervisor_enable:="NO"} >X: ${storm_supervisor_wrkdir:="/var/db/storm-supervisor"} >X >Xrequired_files="%%DATADIR%%/bin/storm %%DATADIR%%/conf/storm.yaml" >Xpidfile=/var/run/storm-supervisor.pid >Xcommand=/usr/sbin/daemon >Xcommand_args="-f -r -P ${pidfile} %%DATADIR%%/bin/storm supervisor" >Xstart_precmd="${name}_prestart" >X#procname="%%LOCALBASE%%/openjdk7/bin/java" >X >Xexport PATH=$PATH:%%LOCALBASE%%/bin >Xexport JAVA_VENDOR=openjdk >Xexport JAVA_VERSION=1.7 >X >Xstorm_supervisor_prestart() { >X mkdir -p ${storm_supervisor_wrkdir} >X chmod 740 ${storm_supervisor_wrkdir} >X cd ${storm_supervisor_wrkdir} >X return 0 >X} >X >Xrun_rc_command "$1" >b7416e36a559c3c5436347360b52334e >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 191633
:
144426
|
146590
|
146606
|
146614