databases/linux-oracle-instantclient-*: fix download link, take maintainer

- The download link given in the IGNORE message was out-dated.
- ldconfig was not invoked so the shared libraries were not found
- taking maintainer
This commit is contained in:
Kurt Jaeger 2014-11-23 16:55:31 +00:00
parent 6c9ef173dc
commit 7031d14847
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=373168
4 changed files with 41 additions and 20 deletions

View File

@ -3,7 +3,7 @@
PORTNAME= instantclient
PORTVERSION= ${ORACLEVERSION}.${DISTDATE}
PORTREVISION= 4
PORTREVISION= 5
CATEGORIES= databases
MASTER_SITES= #http://www.oracle.com/technology/software/tech/oci/instantclient/
PKGNAMEPREFIX= linux-oracle-
@ -11,7 +11,7 @@ PKGNAMESUFFIX= -basic
DISTNAME= ${PORTNAME}${PKGNAMESUFFIX}-${LINUXARCH}-${ORACLEVERSION}-${DISTDATE}
DIST_SUBDIR= oracle
MAINTAINER= ports@FreeBSD.org
MAINTAINER= pi@FreeBSD.org
COMMENT= Oracle 10 32Bit Linux InstantClient basics for RDBMS 8.1.2+
ONLY_FOR_ARCHS= i386 amd64
@ -40,7 +40,7 @@ WRKSRC= ${WRKDIR}/instantclient_10_2
INSTBINSDIR= ${STAGEDIR}${PREFIX}/usr/bin
INSTLIBSDIR= ${STAGEDIR}${PREFIX}/usr/lib/oracle/${ORACLEVERSION}/client/lib
USE_LDCONFIG= ${PREFIX}/usr/lib/oracle/${ORACLEVERSION}/client/lib
USE_LDCONFIG= yes
PLIST_SUB= ORACLEVERSION=${ORACLEVERSION}
@ -48,6 +48,7 @@ PLIST_SUB= ORACLEVERSION=${ORACLEVERSION}
#.if ${ARCH} == "i386"
LINUXARCH= linux32
LINUXXVAL= x86
DISTDATE= 20061115
#.elif ${ARCH} == "amd64"
#LINUXARCH= linux-x86-64
@ -55,12 +56,19 @@ DISTDATE= 20061115
#.endif
.if !exists(${DISTDIR}/${DIST_SUBDIR}/${DISTNAME}${EXTRACT_SUFX})
IGNORE+= due to Oracle license restrictions, you must fetch the source distribution manually from http://www.oracle.com/technology/software/tech/oci/instantclient/index.html , follow the link for ${DISTFILES} and place them in ${DISTDIR}/${DIST_SUBDIR}/
IGNORE=\
Due to Oracle license restrictions, you must fetch the source\
distribution manually from\
http://www.oracle.com/technetwork/database/features/instant-client/index-097480.html\
, follow the link for Linux ${LINUXXVAL}, download ${DISTFILES}\
and place it in ${DISTDIR}/${DIST_SUBDIR}/
.endif
do-install:
@${MKDIR} -m 0755 ${INSTBINSDIR}
@${MKDIR} -m 0755 ${INSTLIBSDIR}
${MKDIR} -m 0755 ${INSTBINSDIR}
${MKDIR} -m 0755 ${INSTLIBSDIR}
${MKDIR} ${STAGEDIR}${PREFIX}/etc/ld.so.conf.d
${ECHO} /usr/lib/oracle/${ORACLEVERSION}/client/lib > ${STAGEDIR}${PREFIX}/etc/ld.so.conf.d/oracle10.conf
.for i in ${BINS_LIST}
${INSTALL_PROGRAM} ${WRKSRC}/${i} ${INSTBINSDIR}/${i}
.endfor

View File

@ -1,3 +1,4 @@
etc/ld.so.conf.d/oracle10.conf
usr/bin/genezi
usr/lib/oracle/%%ORACLEVERSION%%/client/lib/libclntsh.so.10.1
usr/lib/oracle/%%ORACLEVERSION%%/client/lib/libnnz10.so

View File

@ -3,7 +3,7 @@
PORTNAME= instantclient
PORTVERSION= ${ORACLEVERSION}.${DISTDATE}
PORTEPOCH= 1
PORTEPOCH= 1
CATEGORIES= databases
MASTER_SITES= #http://www.oracle.com/technology/software/tech/oci/instantclient/
PKGNAMEPREFIX= linux-oracle-
@ -11,7 +11,7 @@ PKGNAMESUFFIX= -sdk
DISTNAME= ${PORTNAME}${PKGNAMESUFFIX}-${LINUXARCH}-${ORACLEVERSION}-${DISTDATE}
DIST_SUBDIR= oracle
MAINTAINER= ports@FreeBSD.org
MAINTAINER= pi@FreeBSD.org
COMMENT= Oracle 10 InstantClient SDK. Works with Oracle RDBMS 8.1.2+
RUN_DEPENDS= ${LINUXBASE}/usr/lib/oracle/${ORACLEVERSION}/client/lib/libocci.so.10.1:${PORTSDIR}/databases/linux-oracle-instantclient-basic
@ -75,15 +75,16 @@ PLIST_SUB= PORTVERSION=${PORTVERSION}
.include <bsd.port.pre.mk>
LINUXARCH= linux32
LINUXXVAL= x86
DISTDATE= 20061115
.if !exists(${DISTDIR}/${DIST_SUBDIR}/${DISTNAME}${EXTRACT_SUFX})
IGNORE+= due to Oracle license restrictions, you must fetch the source\
distribution manually. Please do a network search for\
${DISTFILES} and find the current Oracle Downloads Web site.\
After registration and accepting the Oracle License, download\
the distribution files and place them in\
${DISTDIR}/${DIST_SUBDIR}/
IGNORE=\
Due to Oracle license restrictions, you must fetch the source\
distribution manually from\
http://www.oracle.com/technetwork/database/features/instant-client/index-097480.html\
, follow the link for Linux ${LINUXXVAL}, download ${DISTFILES}\
and place it in ${DISTDIR}/${DIST_SUBDIR}/
.endif
do-install:

View File

@ -11,7 +11,7 @@ PKGNAMESUFFIX= -sqlplus
DISTNAME= ${PORTNAME}${PKGNAMESUFFIX}-${LINUXARCH}-${ORACLEVERSION}-${DISTDATE}
DIST_SUBDIR= oracle
MAINTAINER= ports@FreeBSD.org
MAINTAINER= pi@FreeBSD.org
COMMENT= Oracle 10 32 Bit Linux InstantClient SQLPlus for RDBMS 8.1.2+
ONLY_FOR_ARCHS= i386 amd64
@ -20,8 +20,11 @@ DISTINFO_FILE= ${MASTERDIR}/distinfo.i386
RESTRICTED= Packaging prohibited by Oracle license
# base
RUN_DEPENDS+= linux-oracle-instantclient-basic>0:${PORTSDIR}/databases/linux-oracle-instantclient-basic
USES= zip
USE_LINUX= yes
USE_LINUX= c6
USE_LINUX_PREFIX= yes
ORACLEVERSION= 10.2.0.3
@ -37,14 +40,17 @@ WRKSRC= ${WRKDIR}/instantclient_10_2
INSTBINSDIR= ${STAGEDIR}${PREFIX}/usr/bin
INSTLIBSDIR= ${STAGEDIR}${PREFIX}/usr/lib/oracle/${ORACLEVERSION}/client/lib
USE_LDCONFIG= ${PREFIX}/usr/lib/oracle/${ORACLEVERSION}/client/lib
#USE_LDCONFIG= ${PREFIX}/usr/lib/oracle/${ORACLEVERSION}/client/lib
USE_LDCONFIG= yes
PLIST_SUB= ORACLEVERSION=${ORACLEVERSION}
.include <bsd.port.pre.mk>
#LINUXXVAL= x86-64
#.if ${ARCH} == "i386"
LINUXARCH= linux32
LINUXXVAL= x86
DISTDATE= 20061115
#.elif ${ARCH} == "amd64"
#LINUXARCH= linux-x86-64
@ -52,12 +58,17 @@ DISTDATE= 20061115
#.endif
.if !exists(${DISTDIR}/${DIST_SUBDIR}/${DISTNAME}${EXTRACT_SUFX})
IGNORE+= due to Oracle license restrictions, you must fetch the source distribution manually from http://www.oracle.com/technology/software/tech/oci/instantclient/index.html , follow the link for ${DISTFILES} and place them in ${DISTDIR}/${DIST_SUBDIR}/
IGNORE=\
Due to Oracle license restrictions, you must fetch the source\
distribution manually from\
http://www.oracle.com/technetwork/database/features/instant-client/index-097480.html\
, follow the link for Linux ${LINUXXVAL} and ${DISTFILES}\
and place them in ${DISTDIR}/${DIST_SUBDIR}/
.endif
do-install:
@${MKDIR} -m 0755 ${INSTBINSDIR}
@${MKDIR} -m 0755 ${INSTLIBSDIR}
${MKDIR} -m 0755 ${INSTBINSDIR}
${MKDIR} -m 0755 ${INSTLIBSDIR}
.for i in ${BINS_LIST}
${INSTALL_PROGRAM} ${WRKSRC}/${i} ${INSTBINSDIR}/${i}
.endfor