summaryrefslogtreecommitdiff
path: root/databases/p5-DBI
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2005-02-24 15:36:53 +0000
committerwiz <wiz@pkgsrc.org>2005-02-24 15:36:53 +0000
commitf2ae7f35820d787348f288c72954dab04755f8a7 (patch)
tree02ba059e75ec348e9ae8692792fead212eb258f2 /databases/p5-DBI
parent1a28eb1bc214e58a937880360c022a9ea3d7c8d6 (diff)
downloadpkgsrc-f2ae7f35820d787348f288c72954dab04755f8a7.tar.gz
Updated to 1.47:
o Changes in DBI 1.47 (svn rev 854), 2nd February 2005 Fixed DBI::ProxyServer to not create pid files by default. References: Ubuntu Security Notice USN-70-1, CAN-2005-0077 Thanks to Javier Fernández-Sanguino Peña from the Debian Security Audit Project, and Jonathan Leffler. [we already had a patch for that in pkgsrc] Fixed some tests to work with older Test::More versions. Fixed setting $DBI::err/errstr in DBI::PurePerl. Fixed potential undef warning from connect_cached(). Fixed $DBI::lasth handling for DESTROY so lasth points to parent even if DESTROY called other methods. Fixed DBD::Proxy method calls to not alter $@. Fixed DBD::File problem with encoding pragma thanks to Erik Rijkers. Changed error handling so undef errstr doesn't cause warning. Changed DBI::DBD docs to use =head3/=head4 pod thanks to Jonathan Leffler. This may generate warnings for perl 5.6. Changed DBI::PurePerl to set autoflush on trace filehandle. Changed DBD::Proxy to treat Username as a local attribute so recent DBI version can be used with old DBI::ProxyServer. Changed driver handle caching in DBD::File. Added $GetInfoType{SQL_DATABASE_NAME} thanks to Steffen Goeldner. Updated docs to recommend some common DSN string attributes. Updated connect_cached() docs with issues and suggestions. Updated docs for NULL Value placeholders thanks to Brian Campbell. Updated docs for primary_key_info and primary_keys. Updated docs to clarify that the default fetchrow_hashref behaviour, of returning a ref to a new hash for each row, will not change. Updated err/errstr/state docs for DBD authors thanks to Steffen Goeldner. Updated handle/attribute docs for DBD authors thanks to Steffen Goeldner. Corrected and updated LongReadLen docs thanks to Bart Lateur. Added DBD::JDBC as a registered driver.
Diffstat (limited to 'databases/p5-DBI')
-rw-r--r--databases/p5-DBI/Makefile5
-rw-r--r--databases/p5-DBI/distinfo10
-rw-r--r--databases/p5-DBI/patches/patch-aa13
-rw-r--r--databases/p5-DBI/patches/patch-ab36
4 files changed, 6 insertions, 58 deletions
diff --git a/databases/p5-DBI/Makefile b/databases/p5-DBI/Makefile
index 815dc5410d3..8f2611a26ec 100644
--- a/databases/p5-DBI/Makefile
+++ b/databases/p5-DBI/Makefile
@@ -1,10 +1,9 @@
-# $NetBSD: Makefile,v 1.28 2005/01/29 18:30:47 kim Exp $
+# $NetBSD: Makefile,v 1.29 2005/02/24 15:36:53 wiz Exp $
#
-DISTNAME= DBI-1.46
+DISTNAME= DBI-1.47
PKGNAME= p5-${DISTNAME}
SVR4_PKGNAME= p5dbi
-PKGREVISION= 2
CATEGORIES= databases perl5
MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=DBD/}
diff --git a/databases/p5-DBI/distinfo b/databases/p5-DBI/distinfo
index 7ce2eb9abae..4ed69b44e69 100644
--- a/databases/p5-DBI/distinfo
+++ b/databases/p5-DBI/distinfo
@@ -1,7 +1,5 @@
-$NetBSD: distinfo,v 1.15 2005/02/23 16:33:07 agc Exp $
+$NetBSD: distinfo,v 1.16 2005/02/24 15:36:53 wiz Exp $
-SHA1 (DBI-1.46.tar.gz) = 47867153d057ce6668c2cbcf0a69b45b0967401d
-RMD160 (DBI-1.46.tar.gz) = 6e49434f30a5575c083e5401112e7596a02395c3
-Size (DBI-1.46.tar.gz) = 372350 bytes
-SHA1 (patch-aa) = c8b31125bd92e789d25577a57a3959e440fb69e3
-SHA1 (patch-ab) = a4b49751563a5b4fed68fe5a6eb578952cc40687
+SHA1 (DBI-1.47.tar.gz) = d4b96392e4909ae84878fde73a56c7acc1cc86cf
+RMD160 (DBI-1.47.tar.gz) = 5704d264668b126df60b84208260ab7a694490c2
+Size (DBI-1.47.tar.gz) = 375545 bytes
diff --git a/databases/p5-DBI/patches/patch-aa b/databases/p5-DBI/patches/patch-aa
deleted file mode 100644
index 798a9b8e310..00000000000
--- a/databases/p5-DBI/patches/patch-aa
+++ /dev/null
@@ -1,13 +0,0 @@
-$NetBSD: patch-aa,v 1.1 2005/01/29 18:30:47 kim Exp $
-
---- dbiproxy.PL.orig 2004-02-02 08:04:42.000000000 -0500
-+++ dbiproxy.PL 2005-01-29 13:24:49.000000000 -0500
-@@ -146,7 +146,7 @@
- =item B<--pidfile=file>
-
- (UNIX only) If this option is present, a PID file will be created at the
--given location.
-+given location. Default is do not create a pidfile.
-
- =item B<--user=uid>
-
diff --git a/databases/p5-DBI/patches/patch-ab b/databases/p5-DBI/patches/patch-ab
deleted file mode 100644
index 74d3a200d05..00000000000
--- a/databases/p5-DBI/patches/patch-ab
+++ /dev/null
@@ -1,36 +0,0 @@
-$NetBSD: patch-ab,v 1.1 2005/01/29 18:30:47 kim Exp $
-
---- lib/DBI/ProxyServer.pm.orig 2003-05-14 07:10:55.000000000 -0400
-+++ lib/DBI/ProxyServer.pm 2005-01-29 13:24:49.000000000 -0500
-@@ -33,12 +33,6 @@
- package DBI::ProxyServer;
-
-
--my $haveFileSpec = eval { require File::Spec };
--my $tmpDir = $haveFileSpec ? File::Spec->tmpdir() :
-- ($ENV{'TMP'} || $ENV{'TEMP'} || '/tmp');
--my $defaultPidFile = $haveFileSpec ?
-- File::Spec->catdir($tmpDir, "dbiproxy.pid") : "/tmp/dbiproxy.pid";
--
-
- ############################################################################
- #
-@@ -109,7 +103,8 @@
- } else {
- $o->{'mode'} = 'single';
- }
-- $o->{'pidfile'} = $defaultPidFile;
-+ # No pidfile by default, configuration must provide one if needed
-+ $o->{'pidfile'} = 'none';
- $o->{'user'} = undef;
- };
-
-@@ -520,7 +515,7 @@
- =item I<pidfile> (B<--pidfile=file>)
-
- (UNIX only) If this option is present, a PID file will be created at the
--given location.
-+given location. Default is do not create a pidfile.
-
- =item I<user> (B<--user=uid>)
-