diff options
author | spz <spz@pkgsrc.org> | 2017-01-01 17:16:39 +0000 |
---|---|---|
committer | spz <spz@pkgsrc.org> | 2017-01-01 17:16:39 +0000 |
commit | 3ba35a90ce35414874f90cabab73952414ae0ddc (patch) | |
tree | 4a14461cdc969fceb021cdcfc732789c8f3eefd7 /databases/jdbc-mysql51 | |
parent | 18d84a97bb0c00de0d685ad377848a21cd23d5db (diff) | |
download | pkgsrc-3ba35a90ce35414874f90cabab73952414ae0ddc.tar.gz |
jdbc-mysql version 5.1
Diffstat (limited to 'databases/jdbc-mysql51')
-rw-r--r-- | databases/jdbc-mysql51/DESCR | 9 | ||||
-rw-r--r-- | databases/jdbc-mysql51/Makefile | 31 | ||||
-rw-r--r-- | databases/jdbc-mysql51/PLIST | 5 | ||||
-rw-r--r-- | databases/jdbc-mysql51/distinfo | 6 |
4 files changed, 51 insertions, 0 deletions
diff --git a/databases/jdbc-mysql51/DESCR b/databases/jdbc-mysql51/DESCR new file mode 100644 index 00000000000..755084bfe7e --- /dev/null +++ b/databases/jdbc-mysql51/DESCR @@ -0,0 +1,9 @@ +MySQL provides connectivity for client applications developed in the Java +programming language via a JDBC driver, which is called MySQL Connector/J. + +MySQL Connector/J is a JDBC Type 4 driver. Different versions are available +that are compatible with the JDBC 3.0 and JDBC 4.0 specifications. The Type +4 designation means that the driver is pure-Java implementation of the MySQL +protocol and does not rely on the MySQL client libraries. + +In the 5.1 version, useOldAliasMetadataBehavior is default false. diff --git a/databases/jdbc-mysql51/Makefile b/databases/jdbc-mysql51/Makefile new file mode 100644 index 00000000000..99136b793a8 --- /dev/null +++ b/databases/jdbc-mysql51/Makefile @@ -0,0 +1,31 @@ +# $NetBSD: Makefile,v 1.1 2017/01/01 17:16:39 spz Exp $ +# + +DISTNAME= mysql-connector-java-5.1.40 +PKGNAME= ${DISTNAME:S/mysql-connector-java/jdbc-mysql/} +CATEGORIES= databases +MASTER_SITES= ${MASTER_SITE_MYSQL:=Connector-J/} + +MAINTAINER= pkgsrc-users@NetBSD.org +HOMEPAGE= http://www.mysql.com/products/connector/j/ +COMMENT= MySQL 5.1 JDBC driver + +USE_JAVA= run +USE_JAVA2= 1.5 +NO_BUILD= yes + +DOCDIR= share/doc/${PKGBASE} +PLIST_SUBST+= DISTNAME=${DISTNAME:Q} + +do-install: + ${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/lib/java + ${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/${DOCDIR} + + ${INSTALL_DATA} ${WRKSRC}/${DISTNAME}-bin.jar \ + ${DESTDIR}${PREFIX}/lib/java + ${INSTALL_DATA} ${WRKSRC}/README ${DESTDIR}${PREFIX}/${DOCDIR} + ${INSTALL_DATA} ${WRKSRC}/docs/README.txt ${DESTDIR}${PREFIX}/${DOCDIR} + ${INSTALL_DATA} ${WRKSRC}/docs/connector-j.html ${DESTDIR}${PREFIX}/${DOCDIR} + +.include "../../mk/java-vm.mk" +.include "../../mk/bsd.pkg.mk" diff --git a/databases/jdbc-mysql51/PLIST b/databases/jdbc-mysql51/PLIST new file mode 100644 index 00000000000..e7470c62a92 --- /dev/null +++ b/databases/jdbc-mysql51/PLIST @@ -0,0 +1,5 @@ +@comment $NetBSD: PLIST,v 1.1 2017/01/01 17:16:39 spz Exp $ +lib/java/${DISTNAME}-bin.jar +share/doc/jdbc-mysql/connector-j.html +share/doc/jdbc-mysql/README +share/doc/jdbc-mysql/README.txt diff --git a/databases/jdbc-mysql51/distinfo b/databases/jdbc-mysql51/distinfo new file mode 100644 index 00000000000..49594f09750 --- /dev/null +++ b/databases/jdbc-mysql51/distinfo @@ -0,0 +1,6 @@ +$NetBSD: distinfo,v 1.1 2017/01/01 17:16:39 spz Exp $ + +SHA1 (mysql-connector-java-5.1.40.tar.gz) = 8a298f3cc1229ef2c13be2091b1bd97ba0dc6436 +RMD160 (mysql-connector-java-5.1.40.tar.gz) = 468d0552fdec5fb3dce65380280983f56849450a +SHA512 (mysql-connector-java-5.1.40.tar.gz) = a9682066c5c6b6869315415848f7054b9c607c1636bf30fd87732e8e141bafd31dd9136aa76f21c0c8c5f2e12a65a76f30a4e4778dbafb52cbaa5d5baf6186db +Size (mysql-connector-java-5.1.40.tar.gz) = 3911557 bytes |