# 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: # # linux-oracle-instantclient-sqlplus # linux-oracle-instantclient-sqlplus/Makefile # linux-oracle-instantclient-sqlplus/distinfo.i386 # linux-oracle-instantclient-sqlplus/pkg-descr # linux-oracle-instantclient-sqlplus/pkg-plist # echo c - linux-oracle-instantclient-sqlplus mkdir -p linux-oracle-instantclient-sqlplus > /dev/null 2>&1 echo x - linux-oracle-instantclient-sqlplus/Makefile sed 's/^X//' >linux-oracle-instantclient-sqlplus/Makefile << '67376e3bdcc6814e191f0569b0dfa921' X# Created by: nork@FreeBSD.org X# $FreeBSD: head/databases/linux-oracle-instantclient-sqlplus/Makefile 421387 2016-09-05 19:23:42Z tijl $ X XPORTNAME= instantclient XPORTVERSION= ${ORACLEVERSION} XPORTREVISION= 5 XPORTEPOCH= 2 XCATEGORIES= databases XMASTER_SITES= #https://www.oracle.com/database/technologies/instant-client.html XPKGNAMEPREFIX= linux-oracle- XPKGNAMESUFFIX= -sqlplus XDISTNAME= ${PORTNAME}${PKGNAMESUFFIX}-${LINUXARCH}-${ORACLEVERSION} XDIST_SUBDIR= oracle X XMAINTAINER= pi@FreeBSD.org XCOMMENT= Oracle 11 32 Bit Linux InstantClient SQLPlus for RDBMS 8.1.2+ X XLICENSE= UNKNOWN XLICENSE_NAME= Oracle Instant Client XLICENSE_TEXT= See https://www.oracle.com/downloads/licenses/instant-client-lic.html \ X for Oracle Instant Client license terms XLICENSE_PERMS= no-dist-mirror no-pkg-mirror no-pkg-sell auto-accept X XONLY_FOR_ARCHS= amd64 i386 X XUSES= linux zip X XNO_BUILD= yes XDISTINFO_FILE= ${MASTERDIR}/distinfo.i386 X XRESTRICTED= Packaging prohibited by Oracle license X X# base XRUN_DEPENDS+= linux-oracle-instantclient-basic>0:databases/linux-oracle-instantclient-basic X XUSE_LINUX_PREFIX= yes X XORACLEVERSION= 11.1.0.7 X XBINS_LIST= sqlplus X XLIBS_LIST= glogin.sql \ X libsqlplus.so \ X libsqlplusic.so X XWRKSRC= ${WRKDIR}/instantclient_11_1 X XINSTBINSDIR= ${STAGEDIR}${PREFIX}/usr/bin XINSTLIBSDIR= ${STAGEDIR}${PREFIX}/usr/lib/oracle/${ORACLEVERSION}/client/lib X X#USE_LDCONFIG= ${PREFIX}/usr/lib/oracle/${ORACLEVERSION}/client/lib XUSE_LDCONFIG= yes X XPLIST_SUB= ORACLEVERSION=${ORACLEVERSION} X X.include X X#.if ${ARCH} == "i386" XLINUXARCH= linux32 XLINUXXVAL= Version 11.1.0.7 X#.elif ${ARCH} == "amd64" X#LINUXARCH= linux-x86-64 X#.endif X X.if !exists(${DISTDIR}/${DIST_SUBDIR}/${DISTNAME}${EXTRACT_SUFX}) XIGNORE=\ X Due to Oracle license restrictions, you must fetch the source\ X distribution manually from\ X https://www.oracle.com/database/technologies/instant-client/linux-x86-32-downloads.html\ X , scroll down to ${LINUXXVAL}, download ${DISTFILES}\ X and place it in ${DISTDIR}/${DIST_SUBDIR}/ X.endif X Xdo-install: X ${MKDIR} -m 0755 ${INSTBINSDIR} X ${MKDIR} -m 0755 ${INSTLIBSDIR} X.for i in ${BINS_LIST} X ${INSTALL_PROGRAM} ${WRKSRC}/${i} ${INSTBINSDIR}/${i} X.endfor X.for i in ${LIBS_LIST} X ${INSTALL_DATA} ${WRKSRC}/${i} ${INSTLIBSDIR}/${i} X.endfor X X.include 67376e3bdcc6814e191f0569b0dfa921 echo x - linux-oracle-instantclient-sqlplus/distinfo.i386 sed 's/^X//' >linux-oracle-instantclient-sqlplus/distinfo.i386 << '46d2e8fc7772209f52da23ce1e0f7057' XTIMESTAMP = 1584977306 XSHA256 (oracle/instantclient-sqlplus-linux32-11.1.0.7.zip) = f9628cb025d09f0b9fa3ebcdffba80bb5c08820980048f290808cc3019ae6cd8 XSIZE (oracle/instantclient-sqlplus-linux32-11.1.0.7.zip) = 785374 46d2e8fc7772209f52da23ce1e0f7057 echo x - linux-oracle-instantclient-sqlplus/pkg-descr sed 's/^X//' >linux-oracle-instantclient-sqlplus/pkg-descr << '0f727c57efcc040c334e2fd38673fcb7' XOracle instant client - Software Development Kit 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: https://www.oracle.com/database/technologies/instant-client.html 0f727c57efcc040c334e2fd38673fcb7 echo x - linux-oracle-instantclient-sqlplus/pkg-plist sed 's/^X//' >linux-oracle-instantclient-sqlplus/pkg-plist << 'df0e88e9cff6a4dad1d1a29191ffa9eb' Xusr/bin/sqlplus Xusr/lib/oracle/%%ORACLEVERSION%%/client/lib/glogin.sql Xusr/lib/oracle/%%ORACLEVERSION%%/client/lib/libsqlplus.so Xusr/lib/oracle/%%ORACLEVERSION%%/client/lib/libsqlplusic.so df0e88e9cff6a4dad1d1a29191ffa9eb exit