From owner-freebsd-ports-bugs@FreeBSD.ORG Mon May 26 04:30:07 2008 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 A0426106566C for ; Mon, 26 May 2008 04:30:07 +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 68A568FC1E for ; Mon, 26 May 2008 04:30:07 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.2/8.14.2) with ESMTP id m4Q4U7hk006511 for ; Mon, 26 May 2008 04:30:07 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.2/8.14.1/Submit) id m4Q4U7tM006508; Mon, 26 May 2008 04:30:07 GMT (envelope-from gnats) Resent-Date: Mon, 26 May 2008 04:30:07 GMT Resent-Message-Id: <200805260430.m4Q4U7tM006508@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, Mitchell Smith Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 616C5106566C for ; Mon, 26 May 2008 04:28:33 +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 39E378FC19 for ; Mon, 26 May 2008 04:28:33 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.14.2/8.14.2) with ESMTP id m4Q4Qxdg015988 for ; Mon, 26 May 2008 04:26:59 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.14.2/8.14.1/Submit) id m4Q4QxLs015987; Mon, 26 May 2008 04:26:59 GMT (envelope-from nobody) Message-Id: <200805260426.m4Q4QxLs015987@www.freebsd.org> Date: Mon, 26 May 2008 04:26:59 GMT From: Mitchell Smith To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: ports/123994: (New Port) databases/frontbase version 4.2.8 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: Mon, 26 May 2008 04:30:07 -0000 >Number: 123994 >Category: ports >Synopsis: (New Port) databases/frontbase version 4.2.8 >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: Mon May 26 04:30:07 UTC 2008 >Closed-Date: >Last-Modified: >Originator: Mitchell Smith >Release: 7.0 >Organization: >Environment: >Description: FrontBase is a high performance SQL92 compliant relational database available for FreeBSD, Linux, Mac and Windows. Although this software is made available for FreeBSD at www.frontbase.com there is no way to install it using the FreeBSD packaging system. >How-To-Repeat: >Fix: The attached shar archive contains the necessary files to install FrontBase via the FreeBSD ports system. Patch attached with submission follows: # 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: # # frontbase # frontbase/files # frontbase/files/frontbase.sh.in # frontbase/files/LICENSE.txt # frontbase/files/pkg-message.in # frontbase/pkg-deinstall # frontbase/Makefile # frontbase/distinfo # frontbase/pkg-descr # frontbase/pkg-install # frontbase/pkg-plist # echo c - frontbase mkdir -p frontbase > /dev/null 2>&1 echo c - frontbase/files mkdir -p frontbase/files > /dev/null 2>&1 echo x - frontbase/files/frontbase.sh.in sed 's/^X//' >frontbase/files/frontbase.sh.in << 'END-of-frontbase/files/frontbase.sh.in' X#!/bin/sh X# $FreeBSD$ X X# PROVIDE: frontbase X# REQUIRE: DAEMON X# BEFORE: LOGIN X# KEYWORD: shutdown X X# Define these frontbase_* variables in one of these files: X# /etc/rc.conf X# /etc/rc.conf.local X# X# DO NOT CHANGE THESE DEFAULT VALUES HERE X# Xname="frontbase" X Xfrontbase_enable="${frontbase_enable-NO}" Xfrontbase_user="${frontbase_user-frontbase}" Xfrontbase_flags="${frontbase_flags--autostart}" Xfrontbase_pidfile="${frontbase_pidfile-/var/run/frontbase.pid}" Xfrontbase_logfile="${frontbase_logfile-/var/log/frontbase.log}" X X. %%RC_SUBR%% X Xrcvar=`set_rcvar` X Xlogfile=${frontbase_logfile} Xrunuser=${frontbase_user} X Xprocname1="%%PREFIX%%/FrontBase/bin/FBExec" Xprocname2="%%PREFIX%%/FrontBase/bin/FrontBase" Xlogargs=">>${logfile} 2>&1" Xcommand="%%PREFIX%%/FrontBase/bin/FBExec" Xcommand_args="-daemon ${logargs}" X Xload_rc_config $name Xstart_precmd="start_precmd" Xstop_cmd="stop_cmd" X Xstart_precmd() { X touch ${logfile} && chown ${runuser} ${logfile} X} X Xstop_cmd() { X rc_pid="$(check_process ${procname1}) $(check_process ${procname2})" X X echo "Stopping ${name}." X _doit="kill -${sig_stop:-TERM} $rc_pid" X if [ -n "$_user" ]; then X _doit="su -m $_user -c 'sh -c \"$_doit\"'" X fi X eval $_doit X _return=$? X [ $_return -ne 0 ] && [ -z "$rc_force" ] && return 1 X wait_for_pids $rc_pid X} X Xrun_rc_command "$1" END-of-frontbase/files/frontbase.sh.in echo x - frontbase/files/LICENSE.txt sed 's/^X//' >frontbase/files/LICENSE.txt << 'END-of-frontbase/files/LICENSE.txt' XFRONTBASE, INC. END USER LICENSE AGREEMENT X X XPlease read this document carefully. This is a legal agreement between you ("Licensee") and FrontBase, Inc. ("FrontBase"). BY CLICKING THE ACCEPTANCE BUTTON, LICENSEE REPRESENTS AND AGREES THAT LICENSEE IS AUTHORIZED TO CONSENT TO (AND HEREBY AGREES TO) THE TERMS OF THIS AGREEMENT. IF LICENSEE DOES NOT AGREE TO ALL OF THE TERMS, PLEASE SELECT THE BUTTON INDICATING NON-ACCEPTANCE. X XTERMS AND CONDITIONS OF SOFTWARE LICENSE X X1. GRANT OF LICENSE; USE RESTRICTIONS. This End User License Agreement ("Agreement") permits Licensee to download and use one copy of the Software on a single database server ("Server") and to use and install the Software on multiple CPUs that are networked to the Server. Licensee agrees that it shall not modify, translate, reverse compile, decrypt, extract, disassemble, or otherwise reverse engineer any portion of the Software. X X2. COPY RESTRICTIONS. Licensee may make copies (full or partial) for backup or archival purposes to support the right to use licensed herein. Licensee agrees that all copies of the Software shall be owned by FrontBase, shall be considered Software subject to this Agreement, and shall include the same proprietary and copyright notices and legends as supplied by FrontBase and its licensors. X X3. OWNERSHIP OF SOFTWARE. FrontBase retains all right, title, and interest in the Software. Licensee agrees that no title to the Software, or the intellectual property in any of the Software, or in any Software copy, is transferred to Licensee. This license is not a sale of the original Software or any copy thereof. X X4. TRANSFER RESTRICTIONS. Licensee may transfer the Software and all licenses and rights in Software granted under this Agreement, provided that all Software copies are also transferred or destroyed and provided that the transferee agrees to accept the terms and conditions of this Agreement. Licensee's license will automatically terminate upon any transfer of the Software. X X5. TERMINATION. Licensee may terminate this License, without the right of refund, by notifying FrontBase of such termination. FrontBase may terminate this license upon notice for Licensee's failure to comply with any of these License Terms. Upon termination, Licensee must immediately destroy the Software, together with all copies, in any form. X X6. GOVERNING LAW; DISPUTES. This Agreement shall be governed by and interpreted in accordance with the State of California, excluding its choice of law rules. The parties hereby agree that any dispute regarding the interpretation or validity of, or otherwise arising out of, this Agreement, or relating to the products licensed hereunder shall be subject to the exclusive jurisdiction of the California state courts (or, if there is federal jurisdiction, one of the United Stated District Courts for the State of California, and the parties agree to submit to the personal and exclusive jurisdiction and the venue of these courts. X X7. INTEGRATION. This Agreement is the entire agreement between Licensee and FrontBase relating to Software and: (i) supersedes all prior or contemporaneous oral or written communications, proposals and representations with respect to its subject matter; and (ii) prevails over any conflicting or additional terms of any quote, order, acknowledgment, or similar communication between parties during the term of this Agreement. No modification to the Agreement will be binding, unless in writing and signed by a duly authorized representative of each party. X X8. SEVERABILITY. If any provision of this contract is found, by a court of competent jurisdiction, to be invalid, the parties nevertheless agree that the court should endeavor to give effect to the parties' intentions as reflected in the provision and all other provisions shall remain in effect. X X9. LIMITED WARRANTY AND DISCLAIMER OF WARRANTY; LIMITATION OF LIABILITY. FrontBase warrants that it has the authority and right to license the Software, and that the Software will substantially conform to the material printed specifications therefore which are in effect on the date of original delivery of such Software. FrontBase's entire liability under this warranty shall be, at FrontBase's option, to either (a) refund the price paid for the Software, or (b) repair and replace the full Software. FrontBase's warranty and obligation shall extend for thirty (30) days after initial installation of the Software by Licensee ("Warranty Period"), and is solely for the benefit of Licensee, who has no authority to assign or pass through this warranty to any other person or entity. This warranty shall not apply if Software is used other than in accordance with FrontBase's written instructions, or if any of Licensee's hardware equipment associated with the use of Software malfunctio ns. X XExcept as provided in this Section, the Software is provided to Licensee on an "AS IS" basis, and FrontBase makes no other warranty of any kind, express or implied, with regard to the Software licensed hereunder. FrontBase does not warrant or represent that the Software will operate uninterrupted or error free or that all defects in the Software are correctable or will be corrected. X XEXCEPT AS EXPRESSLY PROVIDED IN THIS LICENSE OR REQUIRED BY APPLICABLE LAW, ALL WARRANTIES, CONDITIONS, REPRESENTATIONS, INDEMNITIES AND GUARANTEES WITH RESPECT TO THE PRODUCTS, WHETHER EXPRESS OR IMPLIED, ARISING BY LAW, CUSTOM, PRIOR ORAL OR WRITTEN STATEMENTS BY LICENSOR, ITS LICENSORS OR REPRESENTATIVES OR OTHERWISE (INCLUDING, BUT NOT LIMITED TO ANY WARRANTY OF MERCHANTABILITY, SATISFACTION AND FITNESS FOR A PARTICULAR PURPOSE) ARE HEREBY OVERRIDDEN, EXCLUDED AND DISCLAIMED. IN NO EVENT SHALL FRONTBASE BE LIABLE FOR ANY SPECIAL, CONSEQUENTIAL, INCIDENTAL OR INDIRECT DAMAGES OF ANY KIND (INCLUDING WITHOUT LIMITATION LOSS OF PROFITS OR DATA AND PERSONAL INJURY), WHETHER OR NOT FRONTBASE HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH LOSS, AND ON ANY THEORY OF LIABILITY, ARISING OUT OF THIS AGREEMENT OR ARISING OUT OF LICENSEE'S USE OF THE SOFTWARE. THESE LIMITATIONS SHALL APPLY NOTWITHSTANDING THE FAILURE OF THE ESSENTIAL PURPOSE OF ANY LIMITED REMEDY. In no event will Front Base be liable for any claim against Licensee by a third party, and Licensee hereby agrees to defend, indemnify, and hold FrontBase harmless for any claims for costs, damages, expenses (including without limitation, reasonable attorneys' fees) or liability arising out of or in connection with the installation, use and performance of the Software licensed hereunder, whether alone or in combination with any other product or service. X X10. LIMITATION ON ACTIONS. Regardless of any statute or law to the contrary, any claim or cause of action arising out of or related to the use of the Software in this Agreement must be filed within one (1) year after such claim or cause of action arose or be forever barred. X X11. WAIVER AND MODIFICATION. Any waiver or modification to this License will not be effective unless executed in writing and signed by an authorized representative of FrontBase. X X12. U.S. EXPORT RESTRICTIONS AND GOVERNMENT RESTRICTED RIGHTS LEGEND. You may not export or re-export the Software or any copy or adaptation in violation of any applicable laws or regulations. Licensee agrees that Licensee does not intend to, and will not, without the prior written approval, if required, of the Office of Export Administration of the U.S. Department of Commerce, Washington, D.C. 20230, transmit either directly or indirectly, any portion of the Software to any country for which such approval is required. X XThe Software and Documentation have been developed entirely at private expense. Use, duplication or disclosure of the Software by the Government is subject to restrictions as set forth in FAR 52.227-19(c) or subparagraph (c)(1)(ii) of the Rights in Technical Data and Computer Software clause at DFARS 52.227-7013 and/or in similar or successor clauses in the FAR, or the DOD or NASA FAR supplement. Unpublished rights are reserved under the Copyright Laws of the United States. X END-of-frontbase/files/LICENSE.txt echo x - frontbase/files/pkg-message.in sed 's/^X//' >frontbase/files/pkg-message.in << 'END-of-frontbase/files/pkg-message.in' X XFrontBase SQL Server has now been installed. X XTo run FrontBase on startup add frontbase_enable="YES" to /etc/rc.conf X XTo start the database manually, add the above config and run, X %%PREFIX%%/etc/rc.d/frontbase start X END-of-frontbase/files/pkg-message.in echo x - frontbase/pkg-deinstall sed 's/^X//' >frontbase/pkg-deinstall << 'END-of-frontbase/pkg-deinstall' X#!/bin/sh X# $FreeBSD$ X# X Xif [ "$2" != "POST-DEINSTALL" ]; then X exit 0 Xfi X XUSER=frontbase X Xif pw usershow "${USER}" 2>/dev/null 1>&2; then X echo "To delete the FrontBase user permanently, use 'pw userdel ${USER}'" Xfi X Xexit 0 END-of-frontbase/pkg-deinstall echo x - frontbase/Makefile sed 's/^X//' >frontbase/Makefile << 'END-of-frontbase/Makefile' X# New ports collection makefile for: frontbase X# Date created: Mon Apr 16 07:07:22 EST 2007 X# Whom: Quinton Dolan X# X# $FreeBSD$ X# X XPORTNAME= frontbase XPORTVERSION= 4.2.8 XCATEGORIES= databases XMASTER_SITES= http://www.frontbase.com/download/Download_${PORTVERSION}/FreeBSD5/:db XMASTER_SITES+= http://www.frontbase.com/download/WO5Plugin/UnixLinux/:plugin XDISTNAME= FrontBase-${PORTVERSION} XDISTFILES= FrontBase-${PORTVERSION}.tar:db X XMAINTAINER?= mjs@bur.st XCOMMENT= Frontbase SQL Database Server X XIS_INTERACTIVE= yes XRESTRICTED= License doesn't allow redistribution X X.include X XUSE_RC_SUBR= frontbase.sh XUSE_LDCONFIG= yes XPKGMESSAGE= ${WRKDIR}/pkg-message XPKGDEINSTALL= pkg-deinstall XSUB_FILES+= pkg-message X XONLY_FOR_ARCHS= i386 X X# Binary is built for 5.X : X.if ${OSVERSION} < 500000 XIGNORE= only supports FreeBSD 5.X and newer X.endif X.if ${OSVERSION} >= 600000 XLIB_DEPENDS+= c.5:${PORTSDIR}/misc/compat5x X.endif X XFB_USER= frontbase XFB_GROUP= frontbase XNO_BUILD= yes XFBPKGNAME= Package.tar.gz XFBDATADIRS= Collations Library Translations X Xpost-extract: X @(cd ${WRKSRC} && ${EXTRACT_CMD} ${EXTRACT_BEFORE_ARGS} \ X ${WRKSRC}/${FBPKGNAME} ${EXTRACT_AFTER_ARGS}) X Xdo-install: X @${MKDIR} ${PREFIX}/FrontBase X @${ECHO_MSG} -n ">> Installing FrontBase..." X.for dir in ${FBDATADIRS} X @(cd ${WRKSRC}/FrontBase/${dir} && ${COPYTREE_SHARE} \* \ X ${PREFIX}/FrontBase/${dir}/) X.endfor X @(cd ${WRKSRC}/FrontBase/bin && ${COPYTREE_BIN} \* \ X ${PREFIX}/FrontBase/bin/) X.if !defined(NOPORTDOCS) X @(cd ${WRKSRC}/FrontBase/Documentation && \ X ${COPYTREE_SHARE} \* ${DOCSDIR}) X.endif X @(cd ${WRKSRC}/FrontBase/include && ${CP} -R * \ X ${PREFIX}/include) X @(cd ${WRKSRC}/FrontBase/lib && ${CP} -R * \ X ${PREFIX}/lib) X @${LN} -f ${PREFIX}/FrontBase/bin/sql92 ${PREFIX}/bin/sql92 X @${ECHO_MSG} " [ DONE ]" X Xpre-install: X @PKG_PREFIX=${PREFIX} ${SH} ${PKGINSTALL} ${PKGNAME} PRE-INSTALL X Xpost-install: X @PKG_PREFIX=${PREFIX} ${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL X @${CAT} ${PKGMESSAGE} X X.include END-of-frontbase/Makefile echo x - frontbase/distinfo sed 's/^X//' >frontbase/distinfo << 'END-of-frontbase/distinfo' XMD5 (FrontBase-4.2.8.tar) = a54e852d9abbe033797ac94dc85904bc XSHA256 (FrontBase-4.2.8.tar) = 94267e1cdaee97e8850b53a42bab372f72348a67b5292b82a3fb77a3b5914b0a XSIZE (FrontBase-4.2.8.tar) = 3102208 END-of-frontbase/distinfo echo x - frontbase/pkg-descr sed 's/^X//' >frontbase/pkg-descr << 'END-of-frontbase/pkg-descr' XFrontBase is a high performance, scalable, SQL 92 compliant relational Xdatabase server created in the internet age for universal deployment. X XWWW: http://www.frontbase.com/ END-of-frontbase/pkg-descr echo x - frontbase/pkg-install sed 's/^X//' >frontbase/pkg-install << 'END-of-frontbase/pkg-install' X#! /bin/sh X X# $FreeBSD$ X XPATH=/bin:/usr/sbin:/usr/bin XFBUSER=frontbase XDB_DIR=${PKG_PREFIX}/FrontBase/Databases X Xbackupwarning() { echo " X X =========== BACKUP YOUR DATA! ============= X As always, backup your data before X upgrading. This is *NOT* done by the port! X X Press ctrl-C *now* if you need to backup. X =========================================== X" X sleep 5 X} X Xlicensestring() { echo " X You will need to obtain and install a valid license string. X Go to http://www.frontbase.com and request a license X X Once you have obtained a valid license string, install it as follows: X X Create a file ${PKG_PREFIX}/FrontBase/LicenseString with a single line X consisting of the 64-character license string, followed by a colon (:) X and the 16-character license check, i.e. a total of 81 characters. X X Once the license file has been installed, restart FrontBase. X X To verify that the license string has been installed correctly, X run ${PKG_PREFIX}/FrontBase/bin/FBInfoCenter X" X} X X Xpre-install() { X backupwarning X USER=${FBUSER} X GROUP=${USER} X UID=90 X GID=${UID} X X if pw group show "${GROUP}" 2>/dev/null; then X echo "You already have a group \"${GROUP}\", so I will use it." X else X if pw groupadd ${GROUP} -g ${GID}; then X echo "Added group \"${GROUP}\"." X else X echo "Adding group \"${GROUP}\" failed..." X exit 1 X fi X fi X X if pw user show "${USER}" 2>/dev/null; then X echo "You already have a user \"${USER}\", so I will use it." X else X if pw useradd ${USER} -u ${UID} -g ${GROUP} -h - \ X -d ${DB_DIR} -c "FrontBase Daemon" X then X echo "Added user \"${USER}\"." X else X echo "Adding user \"${USER}\" failed..." X exit 1 X fi X fi X X if ! [ -x ~${FBUSER} ] ; then X mkdir -p ${DB_DIR} X chown frontbase:frontbase ${DB_DIR} X fi X} X Xpost-install() { X mkdir -p ${PKG_PREFIX}/FrontBase/Backups X mkdir -p ${PKG_PREFIX}/FrontBase/Databases X mkdir -p ${PKG_PREFIX}/FrontBase/TransactionLogs X chmod 750 ${PKG_PREFIX}/FrontBase/Backups X chmod 750 ${PKG_PREFIX}/FrontBase/Databases X chmod 750 ${PKG_PREFIX}/FrontBase/TransactionLogs X chown -R frontbase:wheel ${PKG_PREFIX}/FrontBase/Backups \ X ${PKG_PREFIX}/FrontBase/Databases \ X ${PKG_PREFIX}/FrontBase/TransactionLogs X licensestring X} X Xshow_license() { X more << EOF_LICENSE X XFRONTBASE, INC. END USER LICENSE AGREEMENT X X XPlease read this document carefully. This is a legal agreement Xbetween you ("Licensee") and FrontBase, Inc. ("FrontBase"). BY XCLICKING THE ACCEPTANCE BUTTON, LICENSEE REPRESENTS AND AGREES THAT XLICENSEE IS AUTHORIZED TO CONSENT TO (AND HEREBY AGREES TO) THE XTERMS OF THIS AGREEMENT. IF LICENSEE DOES NOT AGREE TO ALL OF THE XTERMS, PLEASE SELECT THE BUTTON INDICATING NON-ACCEPTANCE. X XTERMS AND CONDITIONS OF SOFTWARE LICENSE X X1. GRANT OF LICENSE; USE RESTRICTIONS. This End User License XAgreement ("Agreement") permits Licensee to download and use one Xcopy of the Software on a single database server ("Server") and to Xuse and install the Software on multiple CPUs that are networked Xto the Server. Licensee agrees that it shall not modify, translate, Xreverse compile, decrypt, extract, disassemble, or otherwise reverse Xengineer any portion of the Software. X X2. COPY RESTRICTIONS. Licensee may make copies (full or partial) Xfor backup or archival purposes to support the right to use licensed Xherein. Licensee agrees that all copies of the Software shall be Xowned by FrontBase, shall be considered Software subject to this XAgreement, and shall include the same proprietary and copyright Xnotices and legends as supplied by FrontBase and its licensors. X X3. OWNERSHIP OF SOFTWARE. FrontBase retains all right, title, and Xinterest in the Software. Licensee agrees that no title to the XSoftware, or the intellectual property in any of the Software, or Xin any Software copy, is transferred to Licensee. This license is Xnot a sale of the original Software or any copy thereof. X X4. TRANSFER RESTRICTIONS. Licensee may transfer the Software and Xall licenses and rights in Software granted under this Agreement, Xprovided that all Software copies are also transferred or destroyed Xand provided that the transferee agrees to accept the terms and Xconditions of this Agreement. Licensee's license will automatically Xterminate upon any transfer of the Software. X X5. TERMINATION. Licensee may terminate this License, without the Xright of refund, by notifying FrontBase of such termination. FrontBase Xmay terminate this license upon notice for Licensee's failure to Xcomply with any of these License Terms. Upon termination, Licensee Xmust immediately destroy the Software, together with all copies, Xin any form. X X6. GOVERNING LAW; DISPUTES. This Agreement shall be governed by Xand interpreted in accordance with the State of California, excluding Xits choice of law rules. The parties hereby agree that any dispute Xregarding the interpretation or validity of, or otherwise arising Xout of, this Agreement, or relating to the products licensed hereunder Xshall be subject to the exclusive jurisdiction of the California Xstate courts (or, if there is federal jurisdiction, one of the XUnited Stated District Courts for the State of California, and the Xparties agree to submit to the personal and exclusive jurisdiction Xand the venue of these courts. X X7. INTEGRATION. This Agreement is the entire agreement between XLicensee and FrontBase relating to Software and: (i) supersedes all Xprior or contemporaneous oral or written communications, proposals Xand representations with respect to its subject matter; and (ii) Xprevails over any conflicting or additional terms of any quote, Xorder, acknowledgment, or similar communication between parties Xduring the term of this Agreement. No modification to the Agreement Xwill be binding, unless in writing and signed by a duly authorized Xrepresentative of each party. X X8. SEVERABILITY. If any provision of this contract is found, by a Xcourt of competent jurisdiction, to be invalid, the parties Xnevertheless agree that the court should endeavor to give effect Xto the parties' intentions as reflected in the provision and all Xother provisions shall remain in effect. X X9. LIMITED WARRANTY AND DISCLAIMER OF WARRANTY; LIMITATION OF XLIABILITY. FrontBase warrants that it has the authority and right Xto license the Software, and that the Software will substantially Xconform to the material printed specifications therefore which are Xin effect on the date of original delivery of such Software. XFrontBase's entire liability under this warranty shall be, at XFrontBase's option, to either (a) refund the price paid for the XSoftware, or (b) repair and replace the full Software. FrontBase's Xwarranty and obligation shall extend for thirty (30) days after Xinitial installation of the Software by Licensee ("Warranty Period"), Xand is solely for the benefit of Licensee, who has no authority to Xassign or pass through this warranty to any other person or entity. XThis warranty shall not apply if Software is used other than in Xaccordance with FrontBase's written instructions, or if any of XLicensee's hardware equipment associated with the use of Software Xmalfunctions. X XExcept as provided in this Section, the Software is provided to XLicensee on an "AS IS" basis, and FrontBase makes no other warranty Xof any kind, express or implied, with regard to the Software licensed Xhereunder. FrontBase does not warrant or represent that the Software Xwill operate uninterrupted or error free or that all defects in the XSoftware are correctable or will be corrected. X XEXCEPT AS EXPRESSLY PROVIDED IN THIS LICENSE OR REQUIRED BY APPLICABLE XLAW, ALL WARRANTIES, CONDITIONS, REPRESENTATIONS, INDEMNITIES AND XGUARANTEES WITH RESPECT TO THE PRODUCTS, WHETHER EXPRESS OR IMPLIED, XARISING BY LAW, CUSTOM, PRIOR ORAL OR WRITTEN STATEMENTS BY LICENSOR, XITS LICENSORS OR REPRESENTATIVES OR OTHERWISE (INCLUDING, BUT NOT XLIMITED TO ANY WARRANTY OF MERCHANTABILITY, SATISFACTION AND FITNESS XFOR A PARTICULAR PURPOSE) ARE HEREBY OVERRIDDEN, EXCLUDED AND XDISCLAIMED. IN NO EVENT SHALL FRONTBASE BE LIABLE FOR ANY SPECIAL, XCONSEQUENTIAL, INCIDENTAL OR INDIRECT DAMAGES OF ANY KIND (INCLUDING XWITHOUT LIMITATION LOSS OF PROFITS OR DATA AND PERSONAL INJURY), XWHETHER OR NOT FRONTBASE HAS BEEN ADVISED OF THE POSSIBILITY OF XSUCH LOSS, AND ON ANY THEORY OF LIABILITY, ARISING OUT OF THIS XAGREEMENT OR ARISING OUT OF LICENSEE'S USE OF THE SOFTWARE. THESE XLIMITATIONS SHALL APPLY NOTWITHSTANDING THE FAILURE OF THE ESSENTIAL XPURPOSE OF ANY LIMITED REMEDY. In no event will FrontBase be liable Xfor any claim against Licensee by a third party, and Licensee hereby Xagrees to defend, indemnify, and hold FrontBase harmless for any Xclaims for costs, damages, expenses (including without limitation, Xreasonable attorneys' fees) or liability arising out of or in Xconnection with the installation, use and performance of the Software Xlicensed hereunder, whether alone or in combination with any other Xproduct or service. X X10. LIMITATION ON ACTIONS. Regardless of any statute or law to the Xcontrary, any claim or cause of action arising out of or related Xto the use of the Software in this Agreement must be filed within Xone (1) year after such claim or cause of action arose or be forever Xbarred. X X11. WAIVER AND MODIFICATION. Any waiver or modification to this XLicense will not be effective unless executed in writing and signed Xby an authorized representative of FrontBase. X X12. U.S. EXPORT RESTRICTIONS AND GOVERNMENT RESTRICTED RIGHTS XLEGEND. You may not export or re-export the Software or any copy Xor adaptation in violation of any applicable laws or regulations. XLicensee agrees that Licensee does not intend to, and will not, Xwithout the prior written approval, if required, of the Office of XExport Administration of the U.S. Department of Commerce, Washington, XD.C. 20230, transmit either directly or indirectly, any portion of Xthe Software to any country for which such approval is required. X XThe Software and Documentation have been developed entirely at Xprivate expense. Use, duplication or disclosure of the Software by Xthe Government is subject to restrictions as set forth in FAR X52.227-19(c) or subparagraph (c)(1)(ii) of the Rights in Technical XData and Computer Software clause at DFARS 52.227-7013 and/or in Xsimilar or successor clauses in the FAR, or the DOD or NASA FAR Xsupplement. Unpublished rights are reserved under the Copyright XLaws of the United States. X XEOF_LICENSE X Xagreed= Xwhile [ x$agreed = x ]; do X echo X echo "Do you agree to the above license terms? [yes or no] " X read reply leftover X case $reply in X y* | Y*) X agreed=1 X ;; X n* | n*) X echo X echo "If you don't agree to the license you can't install this software" X exit 1 X ;; X esac Xdone X} X Xcase $2 in XPRE-INSTALL) X show_license X pre-install X exit 0 X ;; XPOST-INSTALL) X post-install X exit 0 X ;; XBACKUPWARNING) X backupwarning X exit 0 X ;; X*) X exit 1 X ;; Xesac END-of-frontbase/pkg-install echo x - frontbase/pkg-plist sed 's/^X//' >frontbase/pkg-plist << 'END-of-frontbase/pkg-plist' XFrontBase/Collations/CaseInsensitive.coll1 XFrontBase/Collations/Dansk.coll1 X%%PORTDOCS%%%%DOCSDIR%%/graphics/fb_logo.gif X%%PORTDOCS%%%%DOCSDIR%%/Examples/sql075.sql X%%PORTDOCS%%%%DOCSDIR%%/ReadmeFreeBSD.html X%%PORTDOCS%%%%DOCSDIR%%/LookSeeIntro-2.3.html X%%PORTDOCS%%%%DOCSDIR%%/LookSeeIntro-2.4.html X%%PORTDOCS%%%%DOCSDIR%%/ReleaseNote.rtf X%%PORTDOCS%%%%DOCSDIR%%/License.html XFrontBase/Library/FBSQLErrors.array XFrontBase/Library/DefinitionSchema.sql XFrontBase/Library/InformationSchema.sql XFrontBase/Library/OpenBaseImport.sql XFrontBase/Library/Keywords.txt XFrontBase/Library/ISO8859-1.ucm XFrontBase/Library/NeXT.ucm XFrontBase/Library/MacOSRoman.ucm XFrontBase/Library/MacOSCyrillic.ucm XFrontBase/Library/ISO8859-9.ucm XFrontBase/Library/ISO8859-8.ucm XFrontBase/Library/ISO8859-7.ucm XFrontBase/Library/ISO8859-6.ucm XFrontBase/Library/ISO8859-5.ucm XFrontBase/Library/ISO8859-4.ucm XFrontBase/Library/ISO8859-2.ucm XFrontBase/Library/ISO8859-15.ucm XFrontBase/Library/ISO8859-14.ucm XFrontBase/Library/ISO8859-13.ucm XFrontBase/Library/ISO8859-10.ucm XFrontBase/Library/us-ascii.ucm XFrontBase/Translations/ToLower.trans XFrontBase/Translations/ToUpper.trans XFrontBase/bin/FrontBase XFrontBase/bin/FBExec XFrontBase/bin/FBInfoCenter XFrontBase/bin/FBKeyGenerator XFrontBase/bin/FBChangeKey XFrontBase/bin/FBRAccess XFrontBase/bin/FBTLogs XFrontBase/bin/FBTLog XFrontBase/bin/FBReplicator XFrontBase/bin/sql92 Xbin/sql92 Xinclude/FBCAccess/FBCRow.h Xinclude/FBCAccess/FBDatabaseDefs.h Xinclude/FBCAccess/FBRSAccess.h Xinclude/FBCAccess/FBCXML.h Xinclude/FBCAccess/FBCRowHandler.h Xinclude/FBCAccess/FBCPList.h Xinclude/FBCAccess/FBCNull.h Xinclude/FBCAccess/FBCMetaData.h Xinclude/FBCAccess/FBCKeywords.h Xinclude/FBCAccess/FBCInitialize.h Xinclude/FBCAccess/FBCExecHandler.h Xinclude/FBCAccess/FBCErrorMetaData.h Xinclude/FBCAccess/FBCDigestPassword.h Xinclude/FBCAccess/FBCDbNames.h Xinclude/FBCAccess/FBCDateSupport.h Xinclude/FBCAccess/FBCTimeZones.h Xinclude/FBCAccess/FBCDatatypeMetaData.h Xinclude/FBCAccess/FBCDatabaseConnection.h Xinclude/FBCAccess/FBCColumnMetaData.h Xinclude/FBCAccess/FBCClusterAdmin.h Xinclude/FBCAccess/FBCBlobStream.h Xinclude/FBCAccess/FBCBlobHandle.h Xinclude/FBCAccess/FBCAutoStartInfo.h Xinclude/FBCAccess/FBDataTypeDefs.h Xinclude/FBCAccess/FBCAccess.h Xinclude/FBCAccess.h Xlib/FBCAccess.o Xlib/libFBCAccess.a Xlib/libFBCAccess.so Xlib/libFBCAccess.so.1 X@dirrmtry FrontBase/Backups X@dirrm FrontBase/Collations X@dirrmtry FrontBase/Databases X@dirrm FrontBase/Library X@dirrmtry FrontBase/TransactionLogs X@dirrm FrontBase/Translations X@dirrm FrontBase/bin X@dirrmtry FrontBase X@dirrm include/FBCAccess X%%PORTDOCS%%@dirrm %%DOCSDIR%%/graphics X%%PORTDOCS%%@dirrm %%DOCSDIR%%/Examples X%%PORTDOCS%%@dirrm %%DOCSDIR%% END-of-frontbase/pkg-plist exit >Release-Note: >Audit-Trail: >Unformatted: