pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/databases/p5-DBI Updated to 1.47:



details:   https://anonhg.NetBSD.org/pkgsrc/rev/cb7a027a8b3b
branches:  trunk
changeset: 489652:cb7a027a8b3b
user:      wiz <wiz%pkgsrc.org@localhost>
date:      Thu Feb 24 15:36:53 2005 +0000

description:
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:

 databases/p5-DBI/Makefile         |   5 ++---
 databases/p5-DBI/distinfo         |  10 ++++------
 databases/p5-DBI/patches/patch-aa |  13 -------------
 databases/p5-DBI/patches/patch-ab |  36 ------------------------------------
 4 files changed, 6 insertions(+), 58 deletions(-)

diffs (88 lines):

diff -r d1a0203521ee -r cb7a027a8b3b databases/p5-DBI/Makefile
--- a/databases/p5-DBI/Makefile Thu Feb 24 15:35:16 2005 +0000
+++ b/databases/p5-DBI/Makefile Thu Feb 24 15:36:53 2005 +0000
@@ -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 -r d1a0203521ee -r cb7a027a8b3b databases/p5-DBI/distinfo
--- a/databases/p5-DBI/distinfo Thu Feb 24 15:35:16 2005 +0000
+++ b/databases/p5-DBI/distinfo Thu Feb 24 15:36:53 2005 +0000
@@ -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 -r d1a0203521ee -r cb7a027a8b3b databases/p5-DBI/patches/patch-aa
--- a/databases/p5-DBI/patches/patch-aa Thu Feb 24 15:35:16 2005 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -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 -r d1a0203521ee -r cb7a027a8b3b databases/p5-DBI/patches/patch-ab
--- a/databases/p5-DBI/patches/patch-ab Thu Feb 24 15:35:16 2005 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -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>)
- 



Home | Main Index | Thread Index | Old Index