From owner-freebsd-ports-bugs@FreeBSD.ORG Fri Oct 1 14:40:33 2004 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3A01016A4DF for ; Fri, 1 Oct 2004 14:40:33 +0000 (GMT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id CAA6643D4C for ; Fri, 1 Oct 2004 14:40:27 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) i91EeQgM073759 for ; Fri, 1 Oct 2004 14:40:26 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.11/8.12.11/Submit) id i91EeQhk073758; Fri, 1 Oct 2004 14:40:26 GMT (envelope-from gnats) Resent-Date: Fri, 1 Oct 2004 14:40:26 GMT Resent-Message-Id: <200410011440.i91EeQhk073758@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, Alexander Novitsky Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8599816A4CE for ; Fri, 1 Oct 2004 14:37:04 +0000 (GMT) Received: from mail.icc-vvd.ru (mail.icc-vvd.ru [62.141.104.17]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5540343D45 for ; Fri, 1 Oct 2004 14:37:02 +0000 (GMT) (envelope-from alecn@server.v42of.icc-vvd.ru) Received: from server.v42of.icc-vvd.ru (localhost.icc-vvd.ru [127.0.0.1]) by mail.icc-vvd.ru (8.12.10/8.12.9) with ESMTP id i91Eb0I3009487; Fri, 1 Oct 2004 18:37:00 +0400 (MSD) (envelope-from alecn@server.v42of.icc-vvd.ru) Received: (from root@localhost) by server.v42of.icc-vvd.ru (8.12.10/8.12.9/Submit) id i91Eb08K009486; Fri, 1 Oct 2004 18:37:00 +0400 (MSD) Message-Id: <200410011437.i91Eb08K009486@server.v42of.icc-vvd.ru> Date: Fri, 1 Oct 2004 18:37:00 +0400 (MSD) From: Alexander Novitsky To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 cc: alecn2002@yandex.ru Subject: ports/72227: [NEW PORT] database/oracle-instantclient-basic X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Alexander Novitsky List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 01 Oct 2004 14:40:34 -0000 >Number: 72227 >Category: ports >Synopsis: [NEW PORT] database/oracle-instantclient-basic >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: Fri Oct 01 14:40:26 GMT 2004 >Closed-Date: >Last-Modified: >Originator: Alexander Novitsky >Release: FreeBSD 5.2-RELEASE i386 >Organization: Inzhcomcentre VVD >Environment: System: FreeBSD server.v42of.icc-vvd.ru 5.2-RELEASE FreeBSD 5.2-RELEASE #2: Mon Jul 12 21:45:44 MSD 2004 root@server.v42of.icc-vvd.ru:/usr/src/sys/i386/compile/ORACLE i386 >Description: [NEW PORT] database/oracle-instantclient-basic Port of basic distro of Oracle Instant Client released by Oracle Corp. with RDBMS ver.10. Works with any Oracle RDBMS (reported as from ver.8.1.2) and any Oracle client software which both support OCI/OCCI technology >How-To-Repeat: >Fix: --- oracle-instantclient-basic.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: # # oracle-instantclient-basic # oracle-instantclient-basic/Makefile # oracle-instantclient-basic/distinfo # oracle-instantclient-basic/pkg-descr # oracle-instantclient-basic/pkg-plist # echo c - oracle-instantclient-basic mkdir -p oracle-instantclient-basic > /dev/null 2>&1 echo x - oracle-instantclient-basic/Makefile sed 's/^X//' >oracle-instantclient-basic/Makefile << 'END-of-oracle-instantclient-basic/Makefile' X# New ports collection makefile for: oracle-instantclient-basic X# Date created: 03 June 2004 X# Whom: Alexander Novitsky X# X# $FreeBSD$ X# X XPORTNAME= instantclient XPORTVERSION= ${MAJOR_VER}.${MINOR_VER} XCATEGORIES= databases XMASTER_SITES= http://www.oracle.com/technology/software/tech/oci/instantclient/ XPKGNAMEPREFIX= oracle- XPKGNAMESUFFIX= -basic XDISTNAME= ${PKGNAMEPREFIX}${PORTNAME}${PKGNAMESUFFIX}-${MAJOR_VER}-${MINOR_VER}.${ARCH} XEXTRACT_SUFX= .rpm XDIST_SUBDIR= oracle X XMAINTAINER= alecn2002@yandex.ru XCOMMENT= Oracle 10 InstantClient basics. Works with Oracle RDBMS 8.1.2+ X XEXTRACT_DEPENDS= rpm:${PORTSDIR}/archivers/rpm X XONLY_FOR_ARCHS= i386 ia64 XNO_BUILD= yes XINSTALLS_SHLIB= yes XLDCONFIG_DIRS+= ${INSTLIBDIR} X X.if defined(WITHOUT_JDBC) XJLIB_LIST= XPLIST_SUB+= "MYJAVAJARDIR=@comment " X.else XUSE_JAVA= yes XJAVA_VERSION= 1.4+ XJLIB_LIST= ojdbc14.jar XPLIST_SUB+= "MYJAVAJARDIR=${JAVAJARDIR:S/${LOCALBASE}\///}" X.endif X XNO_INSTALL_MANPAGES= yes XNO_FILTER_SHLIBS= yes X XRESTRICTED= Packaging prohibited by Oracle license X XMAJOR_VER= 10.1.0.2 XMINOR_VER= 1 X XLIB_LIST= libclntsh.so.10.1 \ X libocci.so.10.1 \ X libnnz10.so \ X libociei.so \ X libocijdbc10.so X X.for i in ${LIB_LIST} Xii_${i}= ${i:C/\.so(\.10\.1)?/.so.10/} X.endfor X XWRKSRC= ${WRKDIR}/usr/lib/oracle/${MAJOR_VER}/client/lib X XINSTLIBDIR= ${PREFIX}/lib/oracle X XPLIST_SUB+= "INSTLIBDIR=${INSTLIBDIR:C/^${PREFIX}\///}" X X.include X X.if !exists(${DISTDIR}/${DIST_SUBDIR}/${DISTNAME}${EXTRACT_SUFX}) XECHO_MSG= ${PRINTF} %b X XIGNORE+= \n\n-=< MARKED AS IGNORED: >=-\n XIGNORE+= \n XIGNORE+= Due to Oracle license restrictions, you must fetch the source \n XIGNORE+= distribution manually. Please access \n XIGNORE+= ${MASTER_SITES}index.html \n XIGNORE+= with a web browser and follow the link for the \n XIGNORE+= \"${DISTFILES}\". \n XIGNORE+= You will be required to register and log in, \n XIGNORE+= but you can create an account on that page. \n XIGNORE+= After registration and accepting the Oracle License, \n XIGNORE+= download the distribution file, \n ${DISTFILES}, \n XIGNORE+= into ${DISTDIR}/${DIST_SUBDIR}/ \n XIGNORE+= and then restart this installation\n\n X.endif X Xdo-extract: X ${INSTALL_DATA} -d ${WRKDIR} X cd ${WRKDIR}; \ X rpm2cpio < ${DISTDIR}/${DIST_SUBDIR}/${DISTFILES} | ${CPIO} -id X Xdo-install: X ${INSTALL_DATA} -d ${INSTLIBDIR} X.for i in ${LIB_LIST} X ${INSTALL_DATA} ${WRKSRC}/${i} ${INSTLIBDIR}/${i} X ${LN} -s ${INSTLIBDIR}/${i} ${INSTLIBDIR}/${ii_${i}} X.endfor X.if !defined(WITHOUT_JDBC) X ${INSTALL_DATA} -d ${JAVAJARDIR} X.for i in ${JLIB_LIST} X ${INSTALL_DATA} ${WRKSRC}/${i} ${JAVAJARDIR} X.endfor X.endif X X# X# These targets are for testing purposes X# Xnoharm-extract: X @${ECHO} ${INSTALL_DATA} -d ${WRKDIR} X @${ECHO} 'cd ${WRKDIR}; \ X rpm2cpio < ${DISTDIR}/${DIST_SUBDIR}/${DISTFILES} | ${CPIO} -id' X Xnoharm-install: X @${ECHO} ${INSTALL_DATA} -d ${INSTLIBDIR} X.for i in ${LIB_LIST} X @${ECHO} ${INSTALL_DATA} ${WRKSRC}/${i} ${INSTLIBDIR}/${i} X @${ECHO} ${LN} -s ${INSTLIBDIR}/${i} ${INSTLIBDIR}/${ii_${i}} X.endfor X.if !defined(WITHOUT_JDBC) X @${ECHO} ${INSTALL_DATA} -d ${JAVAJARDIR} X.for i in ${JLIB_LIST} X @${ECHO} ${INSTALL_DATA} ${WRKSRC}/${i} ${JAVAJARDIR} X.endfor X.endif X X.include END-of-oracle-instantclient-basic/Makefile echo x - oracle-instantclient-basic/distinfo sed 's/^X//' >oracle-instantclient-basic/distinfo << 'END-of-oracle-instantclient-basic/distinfo' XMD5 (oracle/oracle-instantclient-basic-10.1.0.2-1.i386.rpm) = 39fb478b851bd411acf3ff35daae20cf XSIZE (oracle/oracle-instantclient-basic-10.1.0.2-1.i386.rpm) = 40065717 END-of-oracle-instantclient-basic/distinfo echo x - oracle-instantclient-basic/pkg-descr sed 's/^X//' >oracle-instantclient-basic/pkg-descr << 'END-of-oracle-instantclient-basic/pkg-descr' XOracle instant client - basic distribution X XInstant Client allows you to run your applications without installing Xthe standard Oracle client or having an ORACLE_HOME. OCI, OCCI, ODBC, Xand JDBC applications work without modification, while using Xsignificantly less disk space than before. Even SQL*Plus can be used Xwith Instant Client. No recompile, no hassle. X XWWW: http://www.oracle.com/technology/tech/oci/instantclient/instantclient.html END-of-oracle-instantclient-basic/pkg-descr echo x - oracle-instantclient-basic/pkg-plist sed 's/^X//' >oracle-instantclient-basic/pkg-plist << 'END-of-oracle-instantclient-basic/pkg-plist' X%%INSTLIBDIR%%/libclntsh.so.10 X%%INSTLIBDIR%%/libclntsh.so.10.1 X%%INSTLIBDIR%%/libocci.so.10 X%%INSTLIBDIR%%/libocci.so.10.1 X%%INSTLIBDIR%%/libnnz10.so.10 X%%INSTLIBDIR%%/libnnz10.so X%%INSTLIBDIR%%/libociei.so.10 X%%INSTLIBDIR%%/libociei.so X%%INSTLIBDIR%%/libocijdbc10.so.10 X%%INSTLIBDIR%%/libocijdbc10.so X%%MYJAVAJARDIR%%/ojdbc14.jar X@dirrm %%INSTLIBDIR%% END-of-oracle-instantclient-basic/pkg-plist exit --- oracle-instantclient-basic.shar ends here --- >Release-Note: >Audit-Trail: >Unformatted: