pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/databases/p5-Rose-DBx-AutoReconnect Import p5-Rose-DBx...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/69f561220787
branches:  trunk
changeset: 551513:69f561220787
user:      he <he%pkgsrc.org@localhost>
date:      Wed Dec 17 00:44:06 2008 +0000

description:
Import p5-Rose-DBx-AutoReconnect version 0.02.

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.

diffstat:

 databases/p5-Rose-DBx-AutoReconnect/DESCR    |  14 ++++++++++++++
 databases/p5-Rose-DBx-AutoReconnect/Makefile |  20 ++++++++++++++++++++
 databases/p5-Rose-DBx-AutoReconnect/distinfo |   5 +++++
 3 files changed, 39 insertions(+), 0 deletions(-)

diffs (51 lines):

diff -r f3d1096ebac1 -r 69f561220787 databases/p5-Rose-DBx-AutoReconnect/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/databases/p5-Rose-DBx-AutoReconnect/DESCR Wed Dec 17 00:44:06 2008 +0000
@@ -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 -r f3d1096ebac1 -r 69f561220787 databases/p5-Rose-DBx-AutoReconnect/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/databases/p5-Rose-DBx-AutoReconnect/Makefile      Wed Dec 17 00:44:06 2008 +0000
@@ -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@localhost
+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 -r f3d1096ebac1 -r 69f561220787 databases/p5-Rose-DBx-AutoReconnect/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/databases/p5-Rose-DBx-AutoReconnect/distinfo      Wed Dec 17 00:44:06 2008 +0000
@@ -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



Home | Main Index | Thread Index | Old Index