summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbad <bad>1999-06-10 18:32:36 +0000
committerbad <bad>1999-06-10 18:32:36 +0000
commit36c50032a4fe88b87ab631a8fb3e6c4a71c1163e (patch)
tree9ffbb84e5035fc359e80920c899128f763dac97c
parent78779a9ad3dad4d22f245920b5c4aa552d5e506f (diff)
downloadpkgsrc-36c50032a4fe88b87ab631a8fb3e6c4a71c1163e.tar.gz
Initial import of p5-DBD-mysql based on msql-mysql-modules-1.2017.
This is the DBI backend for mysql databases.
-rw-r--r--databases/p5-DBD-mysql/Makefile29
-rw-r--r--databases/p5-DBD-mysql/files/md53
-rw-r--r--databases/p5-DBD-mysql/patches/patch-aa13
-rw-r--r--databases/p5-DBD-mysql/pkg/COMMENT1
-rw-r--r--databases/p5-DBD-mysql/pkg/DESCR10
-rw-r--r--databases/p5-DBD-mysql/pkg/PLIST-md.shared4
-rw-r--r--databases/p5-DBD-mysql/pkg/PLIST-md.static4
-rw-r--r--databases/p5-DBD-mysql/pkg/PLIST-mi13
8 files changed, 77 insertions, 0 deletions
diff --git a/databases/p5-DBD-mysql/Makefile b/databases/p5-DBD-mysql/Makefile
new file mode 100644
index 00000000000..b2f4a63bd97
--- /dev/null
+++ b/databases/p5-DBD-mysql/Makefile
@@ -0,0 +1,29 @@
+# $NetBSD: Makefile,v 1.1.1.1 1999/06/10 18:32:36 bad Exp $
+#
+
+DISTNAME= Msql-Mysql-modules-1.2017
+PKGNAME= p5-DBD-mysql-1.2017
+CATEGORIES= databases perl5
+MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=DBD/}
+
+MAINTAINER= bad@netbsd.org
+HOMEPAGE= http://www.mysql.com.org/
+
+DEPENDS+= mysql-client-3.22.22:../../databases/mysql-client
+DEPENDS+= p5-DBI-1.08:../../databases/p5-DBI
+DEPENDS+= p5-Data-Dumper-2.10:../../devel/p5-Data-Dumper
+DEPENDS+= p5-Data-ShowTable-3.3:../../devel/p5-Data-ShowTable
+
+USE_PERL5= YES
+
+MYSQL_HEADERDIR= ${LOCALBASE}/include/mysql
+MYSQL_LIBDIR= ${LOCALBASE}/lib/mysql
+
+CONFIGURE_ENV+= MYSQL_HEADERDIR="${MYSQL_HEADERDIR}"
+CONFIGURE_ENV+= MYSQL_LIBDIR="${MYSQL_LIBDIR}"
+CONFIGURE_ENV+= IN_MYSQL_DISTRIBUTION=1
+
+do-configure:
+ @cd ${WRKSRC}; ${SETENV} ${CONFIGURE_ENV} ${MAKE_ENV} ${LOCALBASE}/bin/perl Makefile.PL
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/databases/p5-DBD-mysql/files/md5 b/databases/p5-DBD-mysql/files/md5
new file mode 100644
index 00000000000..388e3e74a07
--- /dev/null
+++ b/databases/p5-DBD-mysql/files/md5
@@ -0,0 +1,3 @@
+$NetBSD: md5,v 1.1.1.1 1999/06/10 18:32:36 bad Exp $
+
+MD5 (Msql-Mysql-modules-1.2017.tar.gz) = 8979a52abdc6642679a2f68e329dd9e8
diff --git a/databases/p5-DBD-mysql/patches/patch-aa b/databases/p5-DBD-mysql/patches/patch-aa
new file mode 100644
index 00000000000..533077e4b25
--- /dev/null
+++ b/databases/p5-DBD-mysql/patches/patch-aa
@@ -0,0 +1,13 @@
+$NetBSD: patch-aa,v 1.1.1.1 1999/06/10 18:32:37 bad Exp $
+
+--- Makefile.PL.orig Tue Jan 26 21:22:04 1999
++++ Makefile.PL Thu Jun 10 19:04:20 1999
+@@ -417,7 +417,7 @@
+ $cfg->{'Mysql'}->{'FINAL_LIBS'} = $final_libs;
+
+ my(@headerfiles) = ("$headerdir/mysql.h");
+- $X{dynamic_lib} = { OTHERLDFLAGS => "-L$libdir $linkwith" };
++ $X{dynamic_lib} = { OTHERLDFLAGS => "-R$libdir -L$libdir $linkwith" };
+ $X{DEFINE} = $defines;
+ $X{LIBS} = $sysliblist;
+ $X{INC} = "-I$headerdir -I../dbd -I\$(INSTALLSITEARCH)/auto/DBI"
diff --git a/databases/p5-DBD-mysql/pkg/COMMENT b/databases/p5-DBD-mysql/pkg/COMMENT
new file mode 100644
index 00000000000..abd30601fbd
--- /dev/null
+++ b/databases/p5-DBD-mysql/pkg/COMMENT
@@ -0,0 +1 @@
+perl DBI/DBD driver for MySQL databases.
diff --git a/databases/p5-DBD-mysql/pkg/DESCR b/databases/p5-DBD-mysql/pkg/DESCR
new file mode 100644
index 00000000000..72de65e8b24
--- /dev/null
+++ b/databases/p5-DBD-mysql/pkg/DESCR
@@ -0,0 +1,10 @@
+Mysql.pm and DBD::mysql implement two different approaches to
+communicate with an mysql server. DBD::mysql is built
+upon the DBI, the generic Perl Database Interface. It brings you an
+identical interface to a broad variety of databases and is in this
+regard comparable to ODBC. The advantage of the DBI approach is
+portability and interoperability. Mysql.pm is the elder species.
+It was written before DBI was available but inspired by an early
+draft of the DBI specification. As has been been circulating longer
+it are more mature and pretty stable. It is also more complete
+than DBD::mysql.
diff --git a/databases/p5-DBD-mysql/pkg/PLIST-md.shared b/databases/p5-DBD-mysql/pkg/PLIST-md.shared
new file mode 100644
index 00000000000..4486f8c92f7
--- /dev/null
+++ b/databases/p5-DBD-mysql/pkg/PLIST-md.shared
@@ -0,0 +1,4 @@
+@comment $NetBSD: PLIST-md.shared,v 1.1.1.1 1999/06/10 18:32:37 bad Exp $
+lib/perl5/site_perl/${MACHINE_ARCH}-${LOWER_OPSYS}/auto/DBD/mysql/mysql.bs
+lib/perl5/site_perl/${MACHINE_ARCH}-${LOWER_OPSYS}/auto/DBD/mysql/mysql.so
+@dirrm lib/perl5/site_perl/${MACHINE_ARCH}-${LOWER_OPSYS}/auto/DBD/mysql
diff --git a/databases/p5-DBD-mysql/pkg/PLIST-md.static b/databases/p5-DBD-mysql/pkg/PLIST-md.static
new file mode 100644
index 00000000000..fec62efc811
--- /dev/null
+++ b/databases/p5-DBD-mysql/pkg/PLIST-md.static
@@ -0,0 +1,4 @@
+@comment $NetBSD: PLIST-md.static,v 1.1.1.1 1999/06/10 18:32:36 bad Exp $
+lib/perl5/site_perl/${MACHINE_ARCH}-${LOWER_OPSYS}/auto/DBD/mysql/mysql.a
+lib/perl5/site_perl/${MACHINE_ARCH}-${LOWER_OPSYS}/auto/DBD/mysql/extralibs.ld
+@dirrm lib/perl5/site_perl/${MACHINE_ARCH}-${LOWER_OPSYS}/auto/DBD/mysql
diff --git a/databases/p5-DBD-mysql/pkg/PLIST-mi b/databases/p5-DBD-mysql/pkg/PLIST-mi
new file mode 100644
index 00000000000..8177280a7e1
--- /dev/null
+++ b/databases/p5-DBD-mysql/pkg/PLIST-mi
@@ -0,0 +1,13 @@
+@comment $NetBSD: PLIST-mi,v 1.1.1.1 1999/06/10 18:32:36 bad Exp $
+bin/dbimon
+man/man1/dbimon.1
+lib/perl5/man/man3/Bundle::DBD::mysql.3
+lib/perl5/man/man3/DBD::mysql.3
+lib/perl5/man/man3/Mysql.3
+lib/perl5/site_perl/Bundle/DBD/mysql.pm
+lib/perl5/site_perl/DBD/mysql.pm
+lib/perl5/site_perl/Mysql.pm
+lib/perl5/site_perl/Mysql/Statement.pm
+@dirrm lib/perl5/site_perl/Mysql
+lib/perl5/site_perl/i386-netbsd/auto/Msql-Mysql-modules/.packlist
+@dirrm lib/perl5/site_perl/i386-netbsd/auto/Msql-Mysql-modules