diff options
author | he <he> | 2008-12-17 00:44:06 +0000 |
---|---|---|
committer | he <he> | 2008-12-17 00:44:06 +0000 |
commit | 2fcca907fa43421d60246e323157fc5ccd3f3920 (patch) | |
tree | c42aad6437b39b073767b181ad742a2ca434f5ae | |
parent | 6184129380be3e4e8a66f76a924cc84ae9a181ec (diff) | |
download | pkgsrc-2fcca907fa43421d60246e323157fc5ccd3f3920.tar.gz |
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.
-rw-r--r-- | databases/p5-Rose-DBx-AutoReconnect/DESCR | 14 | ||||
-rw-r--r-- | databases/p5-Rose-DBx-AutoReconnect/Makefile | 20 | ||||
-rw-r--r-- | databases/p5-Rose-DBx-AutoReconnect/distinfo | 5 |
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 |