From alecn@server.v42of.icc-vvd.ru  Fri Oct  1 14:37:04 2004
Return-Path: <alecn@server.v42of.icc-vvd.ru>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 8599816A4CE
	for <FreeBSD-gnats-submit@freebsd.org>; 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 <FreeBSD-gnats-submit@freebsd.org>; 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 <alecn2002@yandex.ru>
Reply-To: Alexander Novitsky <alecn2002@yandex.ru>
To: FreeBSD-gnats-submit@freebsd.org
Cc: alecn2002@yandex.ru
Subject: [NEW PORT] database/oracle-instantclient-basic
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         72227
>Category:       ports
>Synopsis:       [NEW PORT] database/oracle-instantclient-basic
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    thierry
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Fri Oct 01 14:40:26 GMT 2004
>Closed-Date:    Wed Jan 12 20:27:54 GMT 2005
>Last-Modified:  Wed Jan 12 20:27:54 GMT 2005
>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 <bsd.port.pre.mk>
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 <bsd.port.post.mk>
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:
State-Changed-From-To: open->feedback 
State-Changed-By: thierry 
State-Changed-When: Mon Jan 10 23:25:49 GMT 2005 
State-Changed-Why:  

oracle-instantclient-basic-10.1.0.2-1.i386.rpm is no more 
fetchable from OTN: 
they propose oracle-instantclient-basic-10.1.0.3-1.i386.rpm. 

Could you please upgrade your PR to this RPM? 



Responsible-Changed-From-To: freebsd-ports-bugs->thierry 
Responsible-Changed-By: thierry 
Responsible-Changed-When: Mon Jan 10 23:25:49 GMT 2005 
Responsible-Changed-Why:  

I shall handle this PR. 


http://www.freebsd.org/cgi/query-pr.cgi?pr=72227 
State-Changed-From-To: feedback->closed 
State-Changed-By: thierry 
State-Changed-When: Wed Jan 12 20:27:20 GMT 2005 
State-Changed-Why:  

Superseded by 76166. 


http://www.freebsd.org/cgi/query-pr.cgi?pr=72227 
>Unformatted:
