Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 22 Dec 2012 23:42:11 +0100 (CET)
From:      Radim Kolar <hsn@sendmail.cz>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        hsn@sendmail.cz
Subject:   ports/174647: [NEW PORT] net/infinispan: Open source highly scalable data grid
Message-ID:  <201212222242.qBMMgBjD021133@fbsd9.localdomain>
Resent-Message-ID: <201212222250.qBMMo1Ba052651@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         174647
>Category:       ports
>Synopsis:       [NEW PORT] net/infinispan: Open source highly scalable data grid
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sat Dec 22 22:50:00 UTC 2012
>Closed-Date:
>Last-Modified:
>Originator:     Radim Kolar
>Release:        FreeBSD 9.1-RELEASE i386
>Organization:
>Environment:
System: FreeBSD fbsd9.localdomain 9.1-RELEASE FreeBSD 9.1-RELEASE #1: Wed Dec  5 02:38:20 CET
>Description:

REPLACES ports/174632
^^^^^^^^^^^^^^^^^^^^^

Infinispan is extremely scalable, highly available key/value NoSQL datastore
and distributed data grid platform.

WWW: http://www.jboss.org/infinispan/

Generated with FreeBSD Port Tools 0.99_6 (mode: new)
>How-To-Repeat:
>Fix:

--- .shar begins here ---
# 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:
#
#	infinispan
#	infinispan/pkg-deinstall
#	infinispan/pkg-descr
#	infinispan/pkg-plist
#	infinispan/files
#	infinispan/files/patch-log
#	infinispan/files/patch-start
#	infinispan/files/patch-start2
#	infinispan/files/infinispan.in
#	infinispan/files/patch-javadoc
#	infinispan/Makefile
#	infinispan/distinfo
#	infinispan/pkg-install
#
echo c - infinispan
mkdir -p infinispan > /dev/null 2>&1
echo x - infinispan/pkg-deinstall
sed 's/^X//' >infinispan/pkg-deinstall << 'dc712f87794e3183119f40e3c52f5980'
X#!/bin/sh
Xif [ "$2" = "DEINSTALL" ]; then
X  if [ ! -d $PKG_PREFIX/share/infinispan/etc ]; then exit 1; fi
X  cd $PKG_PREFIX/share/infinispan/etc
X  for cfgfile in log4j.xml jgroups-udp.xml jgroups-tcp.xml; do
X     if cmp -s $cfgfile config-samples/$cfgfile; then
X        rm $cfgfile
X     fi
X  done
Xfi
dc712f87794e3183119f40e3c52f5980
echo x - infinispan/pkg-descr
sed 's/^X//' >infinispan/pkg-descr << 'ab00d14b9c183ada17285bbc5191959d'
XInfinispan is extremely scalable, highly available key/value NoSQL datastore
Xand distributed data grid platform.
X
XWWW: http://www.jboss.org/infinispan/
ab00d14b9c183ada17285bbc5191959d
echo x - infinispan/pkg-plist
sed 's/^X//' >infinispan/pkg-plist << '05667418fa9ce91c8213c5d24868e110'
X@comment $FreeBSD$
Xshare/infinispan/lib/woodstox-core-asl-4.1.1.jar
Xshare/infinispan/lib/jboss-marshalling-river-1.3.11.GA.jar
Xshare/infinispan/lib/jboss-marshalling-1.3.11.GA.jar
Xshare/infinispan/lib/jboss-logging-3.1.0.GA.jar
Xshare/infinispan/lib/org.osgi.core-4.3.0.jar
Xshare/infinispan/lib/stax2-api-3.1.1.jar
Xshare/infinispan/lib/jgroups-3.0.14.Final.jar
Xshare/infinispan/lib/rhq-pluginAnnotations-3.0.4.jar
Xshare/infinispan/lib/jcip-annotations-1.0.jar
Xshare/infinispan/lib/log4j-1.2.16.jar
Xshare/infinispan/lib/jboss-transaction-api_1.1_spec-1.0.0.Final.jar
Xshare/infinispan/infinispan-core.jar
Xshare/infinispan/etc/schema/infinispan-config-5.1.xsd
Xshare/infinispan/etc/META-INF/rhq-plugin.xml
Xshare/infinispan/etc/META-INF/services/org.infinispan.lifecycle.ModuleLifecycle
Xshare/infinispan/etc/META-INF/services/org.infinispan.commands.module.ModuleCommandExtensions
Xshare/infinispan/etc/META-INF/services/org.infinispan.factories.components.ModuleMetadataFileFinder
Xshare/infinispan/etc/xslt/jgroupsFileGen.xslt
Xshare/infinispan/etc/xslt/ehcache1x2infinispan4x.xslt
Xshare/infinispan/etc/xslt/jbc3x2infinispan4x.xslt
Xshare/infinispan/etc/xslt/indent.xslt
Xshare/infinispan/etc/xslt/coherence35x2infinispan4x.xslt
Xshare/infinispan/etc/infinispan-core-component-metadata.dat
Xshare/infinispan/etc/config-samples/relay1.xml
Xshare/infinispan/etc/config-samples/distributed-udp.xml
Xshare/infinispan/etc/config-samples/minimal.xml
Xshare/infinispan/etc/config-samples/jgroups-relay1.xml
Xshare/infinispan/etc/config-samples/jgroups-udp.xml
Xshare/infinispan/etc/config-samples/sample.xml
Xshare/infinispan/etc/config-samples/jgroups-relay2.xml
Xshare/infinispan/etc/config-samples/sample-websocket-client.html
Xshare/infinispan/etc/config-samples/distributed-ec2.xml
Xshare/infinispan/etc/config-samples/relay2.xml
Xshare/infinispan/etc/config-samples/jgroups-ec2.xml
Xshare/infinispan/etc/config-samples/jgroups-tcp.xml
Xshare/infinispan/etc/config-samples/log4j.xml
Xshare/infinispan/etc/config-samples/gui-demo-cache-config.xml
Xshare/infinispan/etc/org/infinispan/server/websocket/infinispan-ws.js
Xshare/infinispan/etc/infinispan-query-component-metadata.dat
Xshare/infinispan/bin/startServer.sh
Xshare/infinispan/bin/runGuiDemo.sh
Xshare/infinispan/bin/memcached_client.py
Xshare/infinispan/bin/functions.sh
Xshare/infinispan/bin/memcache.py
Xshare/infinispan/bin/importConfig.sh
Xshare/infinispan/modules/demos/gui/infinispan-gui-demo.jar
Xshare/infinispan/modules/demos/gui/lib/forms-1.0.7.jar
Xshare/infinispan/modules/demos/gui/lib/asm-2.2.3.jar
Xshare/infinispan/modules/demos/gui/lib/forms_rt-6.0.5.jar
Xshare/infinispan/modules/demos/gui/lib/asm-commons-2.2.3.jar
Xshare/infinispan/modules/demos/gui/lib/asm-tree-2.2.3.jar
Xshare/infinispan/modules/demos/gui/lib/jdom-1.0.jar
Xshare/infinispan/modules/demos/gui/lib/forms-1.0.5.jar
Xshare/infinispan/modules/rest/infinispan-server-rest.war
Xshare/infinispan/modules/memcached/lib/getopt-1.0.13.jar
Xshare/infinispan/modules/memcached/lib/infinispan-server-core-5.1.8.Final.jar
Xshare/infinispan/modules/memcached/lib/netty-3.4.6.Final.jar
Xshare/infinispan/modules/memcached/lib/scala-library-2.9.2.jar
Xshare/infinispan/modules/memcached/infinispan-server-memcached.jar
Xshare/infinispan/modules/lucene-directory/infinispan-lucene-directory.jar
Xshare/infinispan/modules/lucene-directory/lib/lucene-core-3.5.0.jar
Xshare/infinispan/modules/lucene-directory/lib/infinispan-cachestore-jdbc-5.1.8.Final.jar
Xshare/infinispan/modules/cdi/lib/infinispan-client-hotrod-5.1.8.Final.jar
Xshare/infinispan/modules/cdi/lib/cdi-api-1.0-SP4.jar
Xshare/infinispan/modules/cdi/lib/solder-impl-3.1.0.Final.jar
Xshare/infinispan/modules/cdi/lib/commons-pool-1.6.jar
Xshare/infinispan/modules/cdi/lib/jsr250-api-1.0.jar
Xshare/infinispan/modules/cdi/lib/javax.inject-1.jar
Xshare/infinispan/modules/cdi/lib/jboss-logging-3.1.0.GA.jar
Xshare/infinispan/modules/cdi/lib/solder-api-3.1.0.Final.jar
Xshare/infinispan/modules/cdi/lib/solder-logging-3.1.0.Final.jar
Xshare/infinispan/modules/cdi/lib/jboss-interceptors-api_1.1_spec-1.0.0.Beta1.jar
Xshare/infinispan/modules/cdi/lib/cache-api-0.4.jar
Xshare/infinispan/modules/cdi/infinispan-cdi.jar
Xshare/infinispan/modules/websocket/lib/infinispan-server-core-5.1.8.Final.jar
Xshare/infinispan/modules/websocket/lib/netty-3.4.6.Final.jar
Xshare/infinispan/modules/websocket/lib/scala-library-2.9.2.jar
Xshare/infinispan/modules/websocket/lib/json-20090211.jar
Xshare/infinispan/modules/websocket/lib/getopt-1.0.13.jar
Xshare/infinispan/modules/websocket/infinispan-server-websocket.jar
Xshare/infinispan/modules/jdbc/infinispan-cachestore-jdbc.jar
Xshare/infinispan/modules/jdbc/lib/c3p0-0.9.1.2.jar
Xshare/infinispan/modules/tree/infinispan-tree.jar
Xshare/infinispan/modules/query/lib/hibernate-search-engine-4.1.1.Final.jar
Xshare/infinispan/modules/query/lib/paranamer-2.3.jar
Xshare/infinispan/modules/query/lib/slf4j-api-1.6.1.jar
Xshare/infinispan/modules/query/lib/snappy-java-1.0.1-rc3.jar
Xshare/infinispan/modules/query/lib/lucene-core-3.5.0.jar
Xshare/infinispan/modules/query/lib/jackson-core-asl-1.9.2.jar
Xshare/infinispan/modules/query/lib/hibernate-commons-annotations-4.0.1.Final.jar
Xshare/infinispan/modules/query/lib/jackson-mapper-asl-1.9.2.jar
Xshare/infinispan/modules/query/lib/avro-1.5.1.jar
Xshare/infinispan/modules/query/infinispan-query.jar
Xshare/infinispan/modules/hotrod-client/infinispan-client-hotrod.jar
Xshare/infinispan/modules/hotrod-client/lib/commons-pool-1.6.jar
Xshare/infinispan/modules/bdbje/lib/je-4.0.92.jar
Xshare/infinispan/modules/bdbje/infinispan-cachestore-bdbje.jar
Xshare/infinispan/modules/hotrod/lib/netty-3.4.6.Final.jar
Xshare/infinispan/modules/hotrod/lib/infinispan-server-core-5.1.8.Final.jar
Xshare/infinispan/modules/hotrod/lib/scala-library-2.9.2.jar
Xshare/infinispan/modules/hotrod/lib/getopt-1.0.13.jar
Xshare/infinispan/modules/hotrod/infinispan-server-hotrod.jar
Xshare/infinispan/modules/rhq-plugin/infinispan-rhq-plugin.jar
Xshare/infinispan/modules/jdbm/lib/shared-dsml-parser-0.9.19.jar
Xshare/infinispan/modules/jdbm/lib/commons-lang-2.4.jar
Xshare/infinispan/modules/jdbm/lib/shared-i18n-0.9.19.jar
Xshare/infinispan/modules/jdbm/lib/apacheds-i18n-1.5.7.jar
Xshare/infinispan/modules/jdbm/lib/shared-ldap-jndi-0.9.19.jar
Xshare/infinispan/modules/jdbm/lib/shared-asn1-0.9.19.jar
Xshare/infinispan/modules/jdbm/lib/mina-core-2.0.0-RC1.jar
Xshare/infinispan/modules/jdbm/lib/shared-ldif-0.9.19.jar
Xshare/infinispan/modules/jdbm/lib/xpp3-1.1.4c.jar
Xshare/infinispan/modules/jdbm/lib/shared-ldap-schema-loader-0.9.19.jar
Xshare/infinispan/modules/jdbm/lib/shared-ldap-converter-0.9.19.jar
Xshare/infinispan/modules/jdbm/lib/shared-ldap-constants-0.9.19.jar
Xshare/infinispan/modules/jdbm/lib/commons-collections-3.2.1.jar
Xshare/infinispan/modules/jdbm/lib/shared-ldap-schema-manager-0.9.19.jar
Xshare/infinispan/modules/jdbm/lib/shared-ldap-schema-dao-0.9.19.jar
Xshare/infinispan/modules/jdbm/lib/apacheds-jdbm-1.5.7.jar
Xshare/infinispan/modules/jdbm/lib/shared-cursor-0.9.19.jar
Xshare/infinispan/modules/jdbm/lib/dom4j-1.6.1.jar
Xshare/infinispan/modules/jdbm/lib/xml-apis-1.0.b2.jar
Xshare/infinispan/modules/jdbm/lib/shared-asn1-codec-0.9.19.jar
Xshare/infinispan/modules/jdbm/lib/shared-ldap-schema-0.9.19.jar
Xshare/infinispan/modules/jdbm/infinispan-cachestore-jdbm.jar
X@dirrm share/infinispan/modules/websocket/lib
X@dirrm share/infinispan/modules/websocket
X@dirrm share/infinispan/modules/tree
X@dirrm share/infinispan/modules/rhq-plugin
X@dirrm share/infinispan/modules/rest
X@dirrm share/infinispan/modules/query/lib
X@dirrm share/infinispan/modules/query
X@dirrm share/infinispan/modules/memcached/lib
X@dirrm share/infinispan/modules/memcached
X@dirrm share/infinispan/modules/lucene-directory/lib
X@dirrm share/infinispan/modules/lucene-directory
X@dirrm share/infinispan/modules/jdbm/lib
X@dirrm share/infinispan/modules/jdbm
X@dirrm share/infinispan/modules/jdbc/lib
X@dirrm share/infinispan/modules/jdbc
X@dirrm share/infinispan/modules/hotrod/lib
X@dirrm share/infinispan/modules/hotrod-client/lib
X@dirrm share/infinispan/modules/hotrod-client
X@dirrm share/infinispan/modules/hotrod
X@dirrm share/infinispan/modules/demos/gui/lib
X@dirrm share/infinispan/modules/demos/gui
X@dirrm share/infinispan/modules/demos
X@dirrm share/infinispan/modules/cdi/lib
X@dirrm share/infinispan/modules/cdi
X@dirrm share/infinispan/modules/bdbje/lib
X@dirrm share/infinispan/modules/bdbje
X@dirrm share/infinispan/modules
X@dirrm share/infinispan/lib
X@dirrmtry share/infinispan/etc/xslt
X@dirrmtry share/infinispan/etc/schema
X@dirrmtry share/infinispan/etc/org/infinispan/server/websocket
X@dirrmtry share/infinispan/etc/org/infinispan/server
X@dirrmtry share/infinispan/etc/org/infinispan
X@dirrmtry share/infinispan/etc/org
X@dirrmtry share/infinispan/etc/config-samples
X@dirrmtry share/infinispan/etc/META-INF/services
X@dirrmtry share/infinispan/etc/META-INF
X@dirrmtry share/infinispan/etc
X@dirrm share/infinispan/bin
X@dirrmtry share/infinispan
05667418fa9ce91c8213c5d24868e110
echo c - infinispan/files
mkdir -p infinispan/files > /dev/null 2>&1
echo x - infinispan/files/patch-log
sed 's/^X//' >infinispan/files/patch-log << 'e8ad663e1163f6fe82f952a046fa2802'
X--- ./core/src/test/resources/log4j.xml.orig	2012-10-17 21:31:41.000000000 +0200
X+++ ./core/src/test/resources/log4j.xml	2012-12-22 14:07:52.206618364 +0100
X@@ -30,7 +30,7 @@
X 
X    <!-- A time/date based rolling appender -->
X    <appender name="FILE" class="org.apache.log4j.FileAppender">
X-      <param name="File" value="infinispan.log"/>
X+      <param name="File" value="/var/log/infinispan.log"/>
X    <!--<appender name="FILE" class="org.infinispan.util.logging.log4j.CompressedFileAppender">-->
X       <!--<param name="File" value="infinispan.log.gz"/>-->
X       <param name="Append" value="false"/>
e8ad663e1163f6fe82f952a046fa2802
echo x - infinispan/files/patch-start
sed 's/^X//' >infinispan/files/patch-start << '7c09c5d1c86eedc89be0216ff7a4d8ec'
X--- server/core/src/main/resources/startServer.sh.orig	2012-10-17 21:31:41.000000000 +0200
X+++ server/core/src/main/resources/startServer.sh	2012-12-21 21:34:10.294464848 +0100
X@@ -1,4 +1,4 @@
X-#!/bin/bash
X+#!/usr/bin/env bash
X 
X source "`dirname "$0"`/functions.sh"
X 
7c09c5d1c86eedc89be0216ff7a4d8ec
echo x - infinispan/files/patch-start2
sed 's/^X//' >infinispan/files/patch-start2 << '52cc5e65fba3ef186cf892298fd86805'
X--- core/src/main/resources/functions.sh.orig	2012-10-17 21:31:41.000000000 +0200
X+++ core/src/main/resources/functions.sh	2012-12-22 00:45:34.261812611 +0100
X@@ -175,7 +175,9 @@
X   #  ((i ++))
X   #done
X 
X-  "${START_ARGS[@]}"
X+  "${START_ARGS[@]}" &
X+  trap "kill $!" TERM
X+  wait
X }
X 
X # Find port between 2000 and 65000
52cc5e65fba3ef186cf892298fd86805
echo x - infinispan/files/infinispan.in
sed 's/^X//' >infinispan/files/infinispan.in << '6abeec48a8dafcdaf68d39ddc42f9315'
X#!/bin/sh
X#
X# Copyright (c) 2012, 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: infinispan
X# REQUIRE: LOGIN
X# KEYWORD: shutdown
X#
X# $FreeBSD: ports/net/hornetq/files/hornetq.in,v 1.3 2012/12/12 00:19:43 svnexp Exp $
X
X. /etc/rc.subr
X
Xname="infinispan"
Xrcvar=infinispan_enable
Xload_rc_config $name
X
Xinfinispan_enable=${infinispan_enable:-"NO"}
Xinfinispan_protocol=${infinispan_protocol:-"hotrod"}
Xinfinispan_vmargs=${infinispan_vmargs:-""}
Xinfinispan_args=${infinispan_args:-""}
Xinfinispan_config=${infinispan_config:-""}
X
Xcommand=%%DATADIR%%/bin/startServer.sh
Xcommand_args="-r ${infinispan_protocol} ${infinispan_args}"
Xstart_cmd="${name}_start"
Xstart_precmd="${name}_prestart"
X
Xcommand_interpreter="bash"
Xpidfile=/var/run/infinispan.pid
X
Xexport PATH=$PATH:%%LOCALBASE%%/bin
X
Xexport JAVA_VENDOR=openjdk
Xexport JAVA_VERSION=1.7
X
Xinfinispan_start()
X{
X  if [ -z "$rc_pid" ]; then
X	    echo -n "Starting $name"
X	    ${command} ${command_args} &
X	    echo -n $! > $pidfile
X	    echo "."
X  else
X	    echo "$name is already running with pid=$rc_pid."
X  fi
X}
X
Xinfinispan_prestart()
X{
X if [ ! -z ${infinispan_config} ]; then
X    if [ ! -f %%DATADIR%%/etc/${infinispan_config}.xml ]; then
X       echo "Configuration file ${infinispan_config}.xml not found in etc directory."
X       return 1
X    fi
X fi
X}
X
Xrun_rc_command "$1"
6abeec48a8dafcdaf68d39ddc42f9315
echo x - infinispan/files/patch-javadoc
sed 's/^X//' >infinispan/files/patch-javadoc << '41bcc58bc46717e40d7c3c41db34c358'
X--- pom.xml.orig	2012-10-17 21:31:41.000000000 +0200
X+++ pom.xml	2012-12-17 23:32:36.054327537 +0100
X@@ -98,6 +98,7 @@
X                            <goal>aggregate</goal>
X                         </goals>
X                         <configuration>
X+			   <maxmemory>512</maxmemory>
X                            <quiet>true</quiet>
X                            <!-- In case you anyone needs to trace javadoc issues
X                            <additionalJOption>-J-Xrunjdwp:transport=dt_socket,address=8787,server=y,suspend=y</additionalJOption>
41bcc58bc46717e40d7c3c41db34c358
echo x - infinispan/Makefile
sed 's/^X//' >infinispan/Makefile << '7eacf3f5fa97a48d6fa31a73b7497dc3'
X# Created by: Radim Kolar <hsn@filez.com>
X# $FreeBSD$
X
XPORTNAME=	infinispan
XDISTVERSION=	5.1.8.Final
XCATEGORIES=	net java
X
XMAINTAINER=	hsn@sendmail.cz
XCOMMENT=	Open source highly scalable data grid
X
XLICENSE=	LGPL21
X
XUSE_GITHUB=	yes
XGH_ACCOUNT=	infinispan
XGH_PROJECT=	infinispan
XGH_TAGNAME=	${DISTVERSION}
XGH_COMMIT=	1008b25
X
XUSE_JAVA=	yes
XJAVA_VERSION=	1.7
XJAVA_VENDOR=	openjdk
XMAVEN3=		${LOCALBASE}/share/java/maven3/bin/mvn
X
XBUILD_DEPENDS=	${MAVEN3}:${PORTSDIR}/devel/maven3
XRUN_DEPENDS=	bash:${PORTSDIR}/shells/bash
X
XMAVEN3=		${LOCALBASE}/share/java/maven3/bin/mvn
XMAKE_ENV+=	MAVEN_OPTS=-Xmx500m
X
XPORTDOCS=	apidocs
XUSE_RC_SUBR=	infinispan
X
Xpost-patch:
X		${RM} -f ${WRKSRC}/core/src/main/resources/functions.sh.orig \
X			${WRKSRC}/server/core/src/main/resources/startServer.sh.orig
X
Xdo-build:
X		cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${MAVEN3} \
X	package -Dmaven.test.skip.exec=true -P distribution
X		${CP} ${WRKSRC}/target/distribution/infinispan-${DISTVERSION}-bin.zip ${WRKDIR}/infinispan.zip
X		${RM} -r ${WRKSRC}
X		cd ${WRKDIR} && tar xzvf infinispan.zip && ${MV} infinispan-${DISTVERSION} ${WRKSRC}
X
Xpost-build:
X		${RM} -f ${WRKSRC}/bin/*.bat
X		${RM} -rf ${WRKSRC}/test ${WRKSRC}/licenses
X		cd ${WRKSRC}/etc && ${MV} jgroups-* log4j.xml config-samples && \
X		${MV} sample-websocket-client.html config-samples
X		${RM} -rf ${WRKSRC}/main
X
Xdo-install:
X		${MKDIR} ${DATADIR}
X		${MKDIR} ${DATADIR}/bin
X		${INSTALL_SCRIPT} ${WRKSRC}/bin/* ${DATADIR}/bin
X		cd ${WRKSRC} && ${COPYTREE_SHARE} modules ${DATADIR} && \
X		${COPYTREE_SHARE} etc ${DATADIR} && ${COPYTREE_SHARE} lib ${DATADIR}
X		${INSTALL_DATA} ${WRKSRC}/infinispan-core.jar ${DATADIR}
X		${MKDIR} ${DOCSDIR}
X		cd ${WRKSRC}/doc && ${COPYTREE_SHARE} . ${DOCSDIR}
X
Xpost-install:
X		PKG_PREFIX="${PREFIX}" ${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL
X
X.include <bsd.port.mk>
7eacf3f5fa97a48d6fa31a73b7497dc3
echo x - infinispan/distinfo
sed 's/^X//' >infinispan/distinfo << 'd7eab610a1929d207df44851dfdc4632'
XSHA256 (infinispan-5.1.8.Final.tar.gz) = 35a763bc7ba965835d17c77417cfcfd622dcfa0cef67a1663fc78d3b09b47628
XSIZE (infinispan-5.1.8.Final.tar.gz) = 5062479
d7eab610a1929d207df44851dfdc4632
echo x - infinispan/pkg-install
sed 's/^X//' >infinispan/pkg-install << '6af91605e3d23d418f5c0b219047e336'
X#!/bin/sh
Xif [ "$2" = "POST-INSTALL" ]; then
X  cd $PKG_PREFIX/share/infinispan/etc
X  for cfgfile in log4j.xml jgroups-udp.xml jgroups-tcp.xml; do
X    if [ ! -f $cfgfile ]; then
X        cp -a config-samples/$cfgfile .
X    fi
X  done
Xfi
6af91605e3d23d418f5c0b219047e336
exit
--- .shar ends here ---

>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201212222242.qBMMgBjD021133>