summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoradrianp <adrianp>2009-02-11 23:10:16 +0000
committeradrianp <adrianp>2009-02-11 23:10:16 +0000
commit1e3069db76bc805d97c562c232dd4c146484a21b (patch)
tree45d115b5f5f76cdb3e9f9b13534853bd29cc4547
parent7e9d339fa0d183a2a073704ceccc49793abe7a92 (diff)
downloadpkgsrc-1e3069db76bc805d97c562c232dd4c146484a21b.tar.gz
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.
-rw-r--r--databases/jdbc-mysql31/.nfsC6EF5
-rw-r--r--databases/jdbc-mysql31/DESCR7
-rw-r--r--databases/jdbc-mysql31/Makefile33
-rw-r--r--databases/jdbc-mysql31/PLIST7
-rw-r--r--databases/jdbc-mysql31/distinfo5
5 files changed, 57 insertions, 0 deletions
diff --git a/databases/jdbc-mysql31/.nfsC6EF b/databases/jdbc-mysql31/.nfsC6EF
new file mode 100644
index 00000000000..bb12dc7a1a8
--- /dev/null
+++ b/databases/jdbc-mysql31/.nfsC6EF
@@ -0,0 +1,5 @@
+$NetBSD: .nfsC6EF,v 1.1.1.1 2009/02/11 23:10:16 adrianp Exp $
+
+SHA1 (mysql-connector-java-5.0.8.tar.gz) = c76df144d24b4c654dd5417b9b18e094534acba8
+RMD160 (mysql-connector-java-5.0.8.tar.gz) = 8aba23c16c4a7c955be052cdbbecce8ef4286ac8
+Size (mysql-connector-java-5.0.8.tar.gz) = 8652406 bytes
diff --git a/databases/jdbc-mysql31/DESCR b/databases/jdbc-mysql31/DESCR
new file mode 100644
index 00000000000..bf443863411
--- /dev/null
+++ b/databases/jdbc-mysql31/DESCR
@@ -0,0 +1,7 @@
+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.
diff --git a/databases/jdbc-mysql31/Makefile b/databases/jdbc-mysql31/Makefile
new file mode 100644
index 00000000000..1ca3008b0ac
--- /dev/null
+++ b/databases/jdbc-mysql31/Makefile
@@ -0,0 +1,33 @@
+# $NetBSD: Makefile,v 1.1.1.1 2009/02/11 23:10:16 adrianp Exp $
+#
+
+DISTNAME= mysql-connector-java-3.1.14
+PKGNAME= ${DISTNAME:S/mysql-connector-java/jdbc-mysql/}
+CATEGORIES= databases
+MASTER_SITES= ${MASTER_SITE_MYSQL:=Connector-J/}
+
+MAINTAINER= adrianp@NetBSD.org
+HOMEPAGE= http://dev.mysql.com/doc/refman/5.0/en/connector-j.html
+COMMENT= MySQL 3.1 JDBC driver
+
+PKG_DESTDIR_SUPPORT= user-destdir
+
+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}/docs/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-mysql31/PLIST b/databases/jdbc-mysql31/PLIST
new file mode 100644
index 00000000000..cc20b71ce28
--- /dev/null
+++ b/databases/jdbc-mysql31/PLIST
@@ -0,0 +1,7 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2009/02/11 23:10:16 adrianp Exp $
+lib/java/${DISTNAME}-bin.jar
+share/doc/jdbc-mysql/connector-j.html
+share/doc/jdbc-mysql/README
+share/doc/jdbc-mysql/README.txt
+@dirrm share/doc/jdbc-mysql
+@unexec ${RMDIR} %D/lib/java 2>/dev/null || ${TRUE}
diff --git a/databases/jdbc-mysql31/distinfo b/databases/jdbc-mysql31/distinfo
new file mode 100644
index 00000000000..d2087eef364
--- /dev/null
+++ b/databases/jdbc-mysql31/distinfo
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1.1.1 2009/02/11 23:10:16 adrianp Exp $
+
+SHA1 (mysql-connector-java-3.1.14.tar.gz) = 08d031085ee8a40e92df91491b900a4d00f24158
+RMD160 (mysql-connector-java-3.1.14.tar.gz) = 0a447be57bbfdedf02263c031af79b965b63446a
+Size (mysql-connector-java-3.1.14.tar.gz) = 28936239 bytes