From owner-freebsd-ports-bugs@FreeBSD.ORG Wed Aug 22 13:30:02 2007 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D6F7516A419 for ; Wed, 22 Aug 2007 13:30:02 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id B51B013C46E for ; Wed, 22 Aug 2007 13:30:02 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.1/8.14.1) with ESMTP id l7MDU2IA079828 for ; Wed, 22 Aug 2007 13:30:02 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.1/8.14.1/Submit) id l7MDU2aL079827; Wed, 22 Aug 2007 13:30:02 GMT (envelope-from gnats) Resent-Date: Wed, 22 Aug 2007 13:30:02 GMT Resent-Message-Id: <200708221330.l7MDU2aL079827@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Anton Yudin Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 196D316A474 for ; Wed, 22 Aug 2007 13:25:54 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21]) by mx1.freebsd.org (Postfix) with ESMTP id DDEBE13C474 for ; Wed, 22 Aug 2007 13:25:53 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.14.1/8.14.1) with ESMTP id l7MDPrEL003787 for ; Wed, 22 Aug 2007 13:25:53 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.14.1/8.14.1/Submit) id l7MDPrvW003781; Wed, 22 Aug 2007 13:25:53 GMT (envelope-from nobody) Message-Id: <200708221325.l7MDPrvW003781@www.freebsd.org> Date: Wed, 22 Aug 2007 13:25:53 GMT From: Anton Yudin To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: ports/115717: New port: java/exist, eXist is an Open Source native XML database X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 22 Aug 2007 13:30:02 -0000 >Number: 115717 >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 13:30:02 GMT 2007 >Closed-Date: >Last-Modified: >Originator: Anton Yudin >Release: FreeBSD 7.0-CURRENT i386 >Organization: >Environment: 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 () 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 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: