Date: Wed, 22 Aug 2007 16:22:31 +0300 (EEST) From: Anton Yudin <contact@toha.org.ua> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/115718: New port: java/exist, eXist is an Open Source native XML database Message-ID: <200708221322.l7MDMVud016900@pandemonium.toha.org.ua> Resent-Message-ID: <200708221410.l7MEA1JS082179@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 115718 >Category: ports >Synopsis: New port: java/exist, eXist is an Open Source native XML database >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Wed Aug 22 14:10:01 GMT 2007 >Closed-Date: >Last-Modified: >Originator: Anton Yudin >Release: FreeBSD 7.0-CURRENT i386 >Organization: >Environment: System: FreeBSD pandemonium.toha.org.ua 7.0-CURRENT FreeBSD 7.0-CURRENT #0: Tue Aug 14 16:22:49 EEST 2007 root@pandemonium.toha.org.ua:/obj/usr/src/sys/NKERNEL i386 >Description: new port: eXist is an Open Source native XML database featuring efficient, index-based XQuery processing, automatic indexing, extensions for full-text search, XUpdate support, XQuery update extensions and tight integration with existing XML development tools. The database implements the current XQuery 1.0 working drafts, with exception of the schema import and schema validation features defined as optional in the XQuery specification. >How-To-Repeat: >Fix: shar: # 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: # # java/exist # java/exist/pkg-descr # java/exist/Makefile # java/exist/distinfo # java/exist/files # java/exist/files/eXist.in # echo c - java/exist mkdir -p java/exist > /dev/null 2>&1 echo x - java/exist/pkg-descr sed 's/^X//' >java/exist/pkg-descr << 'END-of-java/exist/pkg-descr' XeXist is an Open Source native XML database featuring efficient, index-based XXQuery processing, automatic indexing, extensions for full-text search, XXUpdate support, XQuery update extensions and tight integration with existing XXML development tools. The database implements the current XQuery 1.0 working Xdrafts, with exception of the schema import and schema validation features Xdefined as optional in the XQuery specification. X XWWW: http://exist-db.org/ END-of-java/exist/pkg-descr echo x - java/exist/Makefile sed 's/^X//' >java/exist/Makefile << 'END-of-java/exist/Makefile' X# Ports collection makefile for: eXist X# Date created: August 9, 2007 X# Whom: Anton Yudin (<contact@toha.org.ua>) X# X# $FreeBSD$ X# X XPORTNAME= exist XPORTVERSION= 1.1.1 XCATEGORIES= java devel XMASTER_SITES= ${MASTER_SITE_SOURCEFORGE} XMASTER_SITE_SUBDIR= exist XDISTFILES= eXist-${PORTVERSION}-newcore-build4311.jar X XMAINTAINER= contact@toha.org.ua XCOMMENT= Open Source Native XML Database X XUSE_ZIP= yes XUSE_JAVA= yes XUSE_RC_SUBR= eXist XJAVA_VERSION= 1.5+ XNO_BUILD= yes X XUSER= www XGROUP= www X XINSTALL_DIR= ${PREFIX}/eXist X Xdo-extract: X @${RM} -rf ${WRKDIR} X @${MKDIR} ${WRKDIR} X Xdo-install: X @${JAVA} -Djava.awt.headless=true -jar ${DISTDIR}/${DISTFILES} -p ${INSTALL_DIR} X ${CHOWN} -R ${USER}:${GROUP} ${INSTALL_DIR} X Xpost-install: X cd ${WRKDIR} && \ X ${FIND} ${INSTALL_DIR} -not -type d \ X | ${SED} -ne 's,^${PREFIX}/,,p' >> ${TMPPLIST} X ${FIND} -d ${INSTALL_DIR} -type d \ X | ${SED} -ne 's,^${PREFIX},@dirrm ,p' >> ${TMPPLIST} X X.include <bsd.port.mk> END-of-java/exist/Makefile echo x - java/exist/distinfo sed 's/^X//' >java/exist/distinfo << 'END-of-java/exist/distinfo' XMD5 (eXist-1.1.1-newcore-build4311.jar) = cbb35e3452209b39cfb7c9d4fc11dece XSHA256 (eXist-1.1.1-newcore-build4311.jar) = bbb10e037a939b8fcee57bff63380ca6a94ccf369d9365ddf700c63ad60c50c3 XSIZE (eXist-1.1.1-newcore-build4311.jar) = 28535724 END-of-java/exist/distinfo echo c - java/exist/files mkdir -p java/exist/files > /dev/null 2>&1 echo x - java/exist/files/eXist.in sed 's/^X//' >java/exist/files/eXist.in << 'END-of-java/exist/files/eXist.in' X#!/bin/sh X# X# eXist startup script. X# X# $FreeBSD$ X# X X# PROVIDE: eXist X# REQUIRE: NETWORKING SERVERS X X# Add the following lines to /etc/rc.conf to enable eXist: X# eXist_enable (bool): Set to "NO" by default. X# Set it to "YES" to enable eXist X# eXist_flags (str): Set to "-server" by default. X# Extra JVM flags. X# X. /etc/rc.subr X Xname="eXist" Xrcvar=`set_rcvar` X XeXist_path="/usr/local/eXist" X Xstart_cmd="eXist_start" Xstop_cmd="eXist_stop" Xpidfile="/var/run/eXist.pid" Xprocname="/usr/local/jdk1.5.0/bin/java" X X[ -z "$eXist_enable" ] && eXist_enable="NO" X[ -z "$eXist_flags" ] && eXist_flags="-server -Djetty.port=8081" X Xif echo $PATH | grep -q /usr/local/bin; then X export PATH=$PATH:/usr/local/bin Xfi X XeXist_start () X{ X checkyesno eXist_enable && X { X export JAVA_OPTIONS="$eXist_flags -Dfile.encoding=UTF-8" X echo "Starting eXist." X su -m www -c "/bin/sh ${eXist_path}/bin/startup.sh" > ${eXist_path}/startup.log 2>&1 & X } X} X XeXist_stop () X{ X checkyesno eXist_enable && X { X export JAVA_OPTIONS="$eXist_flags -Dfile.encoding=UTF-8" X echo "Stoping eXist." X su -m www -c "/bin/sh ${eXist_path}/bin/shutdown.sh" > ${eXist_path}/shutdown.log 2>&1 X } X} Xload_rc_config $name X Xrun_rc_command "$1" END-of-java/exist/files/eXist.in exit >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200708221322.l7MDMVud016900>