summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--databases/p5-Rose-DBx-AutoReconnect/DESCR14
-rw-r--r--databases/p5-Rose-DBx-AutoReconnect/Makefile20
-rw-r--r--databases/p5-Rose-DBx-AutoReconnect/distinfo5
3 files changed, 39 insertions, 0 deletions
diff --git a/databases/p5-Rose-DBx-AutoReconnect/DESCR b/databases/p5-Rose-DBx-AutoReconnect/DESCR
new file mode 100644
index 00000000000..e9c97376524
--- /dev/null
+++ b/databases/p5-Rose-DBx-AutoReconnect/DESCR
@@ -0,0 +1,14 @@
+Rose::DBx::AutoReconnect is a subclass of Rose::DB. Additional
+features include:
+
+ * If using new_or_cached() method, will ping() dbh on every
+ fetch from cache to ensure that the dbh is connected. This
+ extends the basic Rose::DB::Cache behaviour beyond
+ mod_perl/Apache::DBI.
+ * Convenient logger() method for debugging.
+ * Always uses DBI connect_cached() method when creating handles.
+
+Rose::DBx::AutoReconnect was written to allow new_or_cached() to
+work with MySQL's "morning bug" and to allow for restarting your
+database without restarting your application. See also
+Rose::DBx::Cache::Anywhere.
diff --git a/databases/p5-Rose-DBx-AutoReconnect/Makefile b/databases/p5-Rose-DBx-AutoReconnect/Makefile
new file mode 100644
index 00000000000..b21891f70e6
--- /dev/null
+++ b/databases/p5-Rose-DBx-AutoReconnect/Makefile
@@ -0,0 +1,20 @@
+# $NetBSD: Makefile,v 1.1.1.1 2008/12/17 00:44:06 he Exp $
+#
+
+DISTNAME= Rose-DBx-AutoReconnect-0.02
+SVR4_PKGNAME= p5rda
+CATEGORIES= databases perl5
+MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=Rose/}
+
+MAINTAINER= pkgsrc-users@NetBSD.org
+HOMEPAGE= http://search.cpan.org/dist/Rose-DBx-AutoReconnect/
+COMMENT= Perl5 module for Rose::DB with auto-reconnect to server
+
+DEPENDS+= p5-Rose-DB>=0.743:../../databases/p5-Rose-DB
+
+PKG_DESTDIR_SUPPORT= user-destdir
+
+PERL5_PACKLIST= auto/Rose/DBx/AutoReconnect/.packlist
+
+.include "../../lang/perl5/module.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/databases/p5-Rose-DBx-AutoReconnect/distinfo b/databases/p5-Rose-DBx-AutoReconnect/distinfo
new file mode 100644
index 00000000000..50b01114bab
--- /dev/null
+++ b/databases/p5-Rose-DBx-AutoReconnect/distinfo
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1.1.1 2008/12/17 00:44:06 he Exp $
+
+SHA1 (Rose-DBx-AutoReconnect-0.02.tar.gz) = 1c2e4294ae632380e1506d3cf8ad1f37cdcc5e05
+RMD160 (Rose-DBx-AutoReconnect-0.02.tar.gz) = 90f731b455053bed3e9c02bdfadd2e41ac01be7a
+Size (Rose-DBx-AutoReconnect-0.02.tar.gz) = 3667 bytes