From owner-svn-ports-head@FreeBSD.ORG Tue Jul 22 21:09:52 2014 Return-Path: Delivered-To: svn-ports-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 543A175C; Tue, 22 Jul 2014 21:09:52 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 3432A2696; Tue, 22 Jul 2014 21:09:52 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.8/8.14.8) with ESMTP id s6ML9q0d003751; Tue, 22 Jul 2014 21:09:52 GMT (envelope-from rene@svn.freebsd.org) Received: (from rene@localhost) by svn.freebsd.org (8.14.8/8.14.8/Submit) id s6ML9ptP003749; Tue, 22 Jul 2014 21:09:51 GMT (envelope-from rene@svn.freebsd.org) Message-Id: <201407222109.s6ML9ptP003749@svn.freebsd.org> From: Rene Ladan Date: Tue, 22 Jul 2014 21:09:51 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r362582 - head/databases/linux-oracle-instantclient-sqlplus X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 22 Jul 2014 21:09:52 -0000 Author: rene Date: Tue Jul 22 21:09:51 2014 New Revision: 362582 URL: http://svnweb.freebsd.org/changeset/ports/362582 QAT: https://qat.redports.org/buildarchive/r362582/ Log: - Stage support - Enable usage on amd64 - Clean up Makefile (especially IGNORE message) PR: 191993 Submitted by: papowell@astart.com Modified: head/databases/linux-oracle-instantclient-sqlplus/Makefile head/databases/linux-oracle-instantclient-sqlplus/pkg-plist Modified: head/databases/linux-oracle-instantclient-sqlplus/Makefile ============================================================================== --- head/databases/linux-oracle-instantclient-sqlplus/Makefile Tue Jul 22 21:08:01 2014 (r362581) +++ head/databases/linux-oracle-instantclient-sqlplus/Makefile Tue Jul 22 21:09:51 2014 (r362582) @@ -3,7 +3,7 @@ PORTNAME= instantclient PORTVERSION= ${ORACLEVERSION}.${DISTDATE} -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= databases MASTER_SITES= #http://www.oracle.com/technology/software/tech/oci/instantclient/ PKGNAMEPREFIX= linux-oracle- @@ -12,17 +12,16 @@ DISTNAME= ${PORTNAME}${PKGNAMESUFFIX}-$ DIST_SUBDIR= oracle MAINTAINER= ports@FreeBSD.org -COMMENT= Oracle 10 InstantClient SQLPlus. Works with Oracle RDBMS 8.1.2+ +COMMENT= Oracle 10 32 Bit Linux InstantClient SQLPlus for RDBMS 8.1.2+ -RUN_DEPENDS= ${LINUXBASE}/usr/lib/oracle/${ORACLEVERSION}/client/lib/libocci.so.10.1:${PORTSDIR}/databases/linux-oracle-instantclient-basic - -ONLY_FOR_ARCHS= i386 # amd64(not yet on own) +ONLY_FOR_ARCHS= i386 amd64 NO_BUILD= yes -DISTINFO_FILE= ${MASTERDIR}/distinfo.${ARCH} +DISTINFO_FILE= ${MASTERDIR}/distinfo.i386 RESTRICTED= Packaging prohibited by Oracle license USES= zip +USE_LINUX= yes USE_LINUX_PREFIX= yes ORACLEVERSION= 10.2.0.3 @@ -35,50 +34,35 @@ LIBS_LIST= glogin.sql \ WRKSRC= ${WRKDIR}/instantclient_10_2 -INSTBINSDIR= ${PREFIX}/usr/lib/oracle/${ORACLEVERSION}/client/bin -INSTLIBSDIR= ${PREFIX}/usr/lib/oracle/${ORACLEVERSION}/client/lib +INSTBINSDIR= ${STAGEDIR}${PREFIX}/usr/bin +INSTLIBSDIR= ${STAGEDIR}${PREFIX}/usr/lib/oracle/${ORACLEVERSION}/client/lib + +USE_LDCONFIG=${INSTLIBSDIR} PLIST_SUB= ORACLEVERSION=${ORACLEVERSION} -NO_STAGE= yes .include -.if ${ARCH} == "i386" +#.if ${ARCH} == "i386" LINUXARCH= linux32 DISTDATE= 20061115 -.elif ${ARCH} == "amd64" -LINUXARCH= linux-x86-64 -DISTDATE= 20070103 -.endif +#.elif ${ARCH} == "amd64" +#LINUXARCH= linux-x86-64 +#DISTDATE= 20070103 +#.endif .if !exists(${DISTDIR}/${DIST_SUBDIR}/${DISTNAME}${EXTRACT_SUFX}) -ECHO_MSG= ${PRINTF} %b - -IGNORE+= \n\n-=< MARKED AS IGNORED: >=-\n -IGNORE+= \n -IGNORE+= Due to Oracle license restrictions, you must fetch the source \n -IGNORE+= distribution manually. Please access \n -IGNORE+= http://www.oracle.com/technology/software/tech/oci/instantclient/index.html \n -IGNORE+= with a web browser and follow the link for the \n -IGNORE+= "${DISTFILES}". \n -IGNORE+= You will be required to register and log in, \n -IGNORE+= but you can create an account on that page. \n -IGNORE+= After registration and accepting the Oracle License, \n -IGNORE+= download the distribution file, \n ${DISTFILES}, \n -IGNORE+= into ${DISTDIR}/${DIST_SUBDIR}/ \n -IGNORE+= and then restart this installation\n\n +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}/ .endif do-install: - ${MKDIR} -m 0755 ${INSTBINSDIR} - ${MKDIR} -m 0755 ${INSTLIBSDIR} - ${LN} -s ../lib/oracle/${ORACLEVERSION}/client/bin/sqlplus ${PREFIX}/usr/bin/sqlplus + @${MKDIR} -m 0755 ${INSTBINSDIR} + @${MKDIR} -m 0755 ${INSTLIBSDIR} .for i in ${BINS_LIST} - ${INSTALL_SCRIPT} ${WRKSRC}/${i} ${INSTBINSDIR}/${i} + ${INSTALL_PROGRAM} ${WRKSRC}/${i} ${INSTBINSDIR}/${i} .endfor .for i in ${LIBS_LIST} - ${INSTALL_DATA} ${WRKSRC}/${i} ${INSTLIBSDIR}/${i} + ${INSTALL_DATA} ${WRKSRC}/${i} ${INSTLIBSDIR}/${i} .endfor - ${PREFIX}/sbin/ldconfig .include Modified: head/databases/linux-oracle-instantclient-sqlplus/pkg-plist ============================================================================== --- head/databases/linux-oracle-instantclient-sqlplus/pkg-plist Tue Jul 22 21:08:01 2014 (r362581) +++ head/databases/linux-oracle-instantclient-sqlplus/pkg-plist Tue Jul 22 21:09:51 2014 (r362582) @@ -1,8 +1,8 @@ usr/bin/sqlplus -usr/lib/oracle/%%ORACLEVERSION%%/client/bin/sqlplus usr/lib/oracle/%%ORACLEVERSION%%/client/lib/glogin.sql usr/lib/oracle/%%ORACLEVERSION%%/client/lib/libsqlplus.so usr/lib/oracle/%%ORACLEVERSION%%/client/lib/libsqlplusic.so -@dirrm usr/lib/oracle/%%ORACLEVERSION%%/client/bin -@dirrmtry usr/bin -@exec %D/sbin/ldconfig +@dirrmtry usr/lib/oracle/%%ORACLEVERSION%%/client/lib +@dirrmtry usr/lib/oracle/%%ORACLEVERSION%%/client +@dirrmtry usr/lib/oracle/%%ORACLEVERSION%% +@dirrmtry usr/lib/oracle