ports/76166: [NEW PORT] databases/oracle-instantclient-basic: Oracle 10 InstantClient basics. Works with Oracle RDBMS 8.1.2+

Alexander Novitsky alecn2002 at yandex.ru
Wed Jan 12 17:30:26 UTC 2005


>Number:         76166
>Category:       ports
>Synopsis:       [NEW PORT] databases/oracle-instantclient-basic: Oracle 10 InstantClient basics. Works with Oracle RDBMS 8.1.2+
>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:   Wed Jan 12 17:30:25 GMT 2005
>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
>Description:
Oracle instant client - basic distribution

Instant Client allows you to run your applications without installing
the standard Oracle client or having an ORACLE_HOME.  OCI, OCCI, ODBC,
and JDBC applications work without modification, while using
significantly less disk space than before.  Even SQL*Plus can be used
with Instant Client.  No recompile, no hassle.

WWW: http://www.oracle.com/technology/tech/oci/instantclient/instantclient.html

Generated with FreeBSD Port Tools 0.63

Please remove PR ports/72227 as it's obsoleted with this one

>How-To-Repeat:
>Fix:

--- oracle-instantclient-basic-10.1.0.3.1.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
#	oracle-instantclient-basic/Makefile.ins
#
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:S/sdk/devel/}-${MAJOR_VER}-${MINOR_VER}.${ARCH}
XEXTRACT_SUFX=	.rpm
XDIST_SUBDIR=	oracle
X
XMAINTAINER=	alecn2002 at yandex.ru
XCOMMENT=	Oracle 10 InstantClient basics. Works with Oracle RDBMS 8.1.2+
X
XEXTRACT_DEPENDS=	rpm:${PORTSDIR}/archivers/rpm
X
X.include "Makefile.ins"
X
XONLY_FOR_ARCHS=		i386
X# Couldn't test for IA64, so commented it out
X# ONLY_FOR_ARCHS+=	ia64
XNO_BUILD=			yes
XNO_FILTER_SHLIBS=	yes
X
XRESTRICTED=	Packaging prohibited by Oracle license
X
XINSTALLS_SHLIB=		yes
XLDCONFIG_DIRS+=		${INSTLIBDIR}
X
XOPTIONS=	JDBC "JDBC support (requires Java installation)" on
X
XNO_INSTALL_MANPAGES=	yes
XNO_FILTER_SHLIBS=		yes
X
XRESTRICTED=	Packaging prohibited by Oracle license
X
X.if defined(WITHOUT_JDBC)
XJLIB_LIST=
XPLIST_SUB+=		INSTJAVA="@comment "
X.else
XUSE_JAVA=		yes
XJAVA_VERSION=	1.4+
XJLIB_LIST=		ojdbc14.jar \
X				classes12.jar
XPLIST_SUB+=		INSTJAVA=""
X.endif
X
XLIB_LIST=	libclntsh.so.10.1 \
X			libnnz10.so \
X			libocci.so.10.1 \
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.3-1.i386.rpm) = 5c7e6cf154959887a6ebb58358f8af33
XSIZE (oracle/oracle-instantclient-basic-10.1.0.3-1.i386.rpm) = 30791288
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%%INSTJAVA%%%%JAVAJARDIR%%/ojdbc14.jar
X%%INSTJAVA%%%%JAVAJARDIR%%/classes12.jar
X at dirrm %%INSTLIBDIR%%
END-of-oracle-instantclient-basic/pkg-plist
echo x - oracle-instantclient-basic/Makefile.ins
sed 's/^X//' >oracle-instantclient-basic/Makefile.ins << 'END-of-oracle-instantclient-basic/Makefile.ins'
XMAJOR_VER=	10.1.0.3
XMINOR_VER=	1
X
END-of-oracle-instantclient-basic/Makefile.ins
exit
--- oracle-instantclient-basic-10.1.0.3.1.shar ends here ---

>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list