ports/166243: New port databases/jdbc-oracle10g: JDBD driver for Oracle 10g
José García Juanino
jjuanino at gmail.com
Mon Mar 19 12:50:07 UTC 2012
>Number: 166243
>Category: ports
>Synopsis: New port databases/jdbc-oracle10g: JDBD driver for Oracle 10g
>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: Mon Mar 19 12:50:06 UTC 2012
>Closed-Date:
>Last-Modified:
>Originator: José García Juanino
>Release: FreeBSD 9.0-RELEASE
>Organization:
>Environment:
>Description:
>How-To-Repeat:
>Fix:
Patch attached with submission follows:
# 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:
#
# jdbc-oracle10g
# jdbc-oracle10g/Makefile
# jdbc-oracle10g/distinfo
# jdbc-oracle10g/pkg-descr
# jdbc-oracle10g/pkg-plist
#
echo c - jdbc-oracle10g
mkdir -p jdbc-oracle10g > /dev/null 2>&1
echo x - jdbc-oracle10g/Makefile
sed 's/^X//' >jdbc-oracle10g/Makefile << 'd5cbb6371e0a2aef98674bbc77e4439d'
X# New ports collection makefile for: jdbc-oracle10g
X# Date created: March 19, 2012
X# Whom: José García Juanino <jjuanino at gmail.com>
X#
X# $FreeBSD$
X#
X
XPORTNAME= oracle10g
XPORTVERSION= 10.2.0.5
XCATEGORIES= databases java
XMASTER_SITES= # http://www.oracle.com/technetwork/database/enterprise-edition/jdbc-10201-088211.html
XPKGNAMEPREFIX= jdbc-
XDISTNAME= ${CLASSES}
XEXTRACT_SUFX= # none
XDIST_SUBDIR= oracle10g
X
XMAINTAINER= jjuanino at gmail.com
XCOMMENT= The JDBC drivers for Oracle 10g
X
XUSE_JAVA= yes
XJAVA_VERSION= 1.5+
X
XNO_BUILD= yes
X
XRESTRICTED= Packaging prohibited by Oracle license
XNO_CDROM= Packaging prohibited by Oracle license
X
XDATADIR= ${JAVAJARDIR}/${PORTNAME}
X
XNO_WRKSUBDIR= yes
X
XCLASSES= ojdbc14.jar
X
X.include <bsd.port.pre.mk>
X
X.if !exists(${DISTDIR}/${DIST_SUBDIR}/${DISTFILES})
X
XDISTFILE_INSTRUCTIONS = \n
XDISTFILE_INSTRUCTIONS += Due to Oracle license restrictions, you must fetch the source \n
XDISTFILE_INSTRUCTIONS += distribution manually. Please access \n
XDISTFILE_INSTRUCTIONS += http://www.oracle.com/technetwork/database/enterprise-edition/jdbc-10201-088211.html \n
XDISTFILE_INSTRUCTIONS += (Oracle Database 10g Release 2 (${PORTVERSION}) JDBC Drivers) \n
XDISTFILE_INSTRUCTIONS += with a web browser and follow the link for the \n
XDISTFILE_INSTRUCTIONS += \"${DISTFILES}\". \n
XDISTFILE_INSTRUCTIONS += You will be required to register and log in, \n
XDISTFILE_INSTRUCTIONS += but you can create an account on that page. \n
XDISTFILE_INSTRUCTIONS += After registration and accepting the Oracle License, \n
XDISTFILE_INSTRUCTIONS += download the distribution file, \n ${DISTFILES}, \n
XDISTFILE_INSTRUCTIONS += into ${DISTDIR}/${DIST_SUBDIR}/ \n
XDISTFILE_INSTRUCTIONS += and then restart this installation\n\n
X.endif
X
Xpre-fetch:
X.if defined(DISTFILE_INSTRUCTIONS)
X @${PRINTF} "${DISTFILE_INSTRUCTIONS}"
X @exit 1
X.endif
X
Xdo-install:
X ${MKDIR} ${DATADIR}
X ${INSTALL_DATA} ${DISTDIR}/${DIST_SUBDIR}/${DISTFILES} ${DATADIR}/${CLASSES}
X
X.include <bsd.port.post.mk>
d5cbb6371e0a2aef98674bbc77e4439d
echo x - jdbc-oracle10g/distinfo
sed 's/^X//' >jdbc-oracle10g/distinfo << 'c480894e7092f31faa5ee01e10064760'
XSHA256 (oracle10g/ojdbc14.jar) = 94aed57a98dc5ed77c78a39c47dc8d8ec3ad3ca5e571a4cf4851fe9f96cf3738
XSIZE (oracle10g/ojdbc14.jar) = 1569316
c480894e7092f31faa5ee01e10064760
echo x - jdbc-oracle10g/pkg-descr
sed 's/^X//' >jdbc-oracle10g/pkg-descr << '4a9a96f633b75a24131ccc7bcde39f11'
XThis is a port of the JDBC driver which is used to access Oracle 10g databases
Xusing a database-independant API in Java for use with JDK 1.4.
X
XWWW: http://www.oracle.com/technology/tech/java/sqlj_jdbc/index.html
4a9a96f633b75a24131ccc7bcde39f11
echo x - jdbc-oracle10g/pkg-plist
sed 's/^X//' >jdbc-oracle10g/pkg-plist << '3c219230d3ee143ea883837d4e118dcb'
X at comment $FreeBSD$
X%%DATADIR%%/ojdbc14.jar
X at dirrm %%DATADIR%%
3c219230d3ee143ea883837d4e118dcb
exit
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list