Hello community,

here is the log from the commit of package perl-BerkeleyDB for openSUSE:Factory 
checked in at 2019-07-22 12:21:40
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/perl-BerkeleyDB (Old)
 and      /work/SRC/openSUSE:Factory/.perl-BerkeleyDB.new.4126 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "perl-BerkeleyDB"

Mon Jul 22 12:21:40 2019 rev:38 rq:717469 version:0.62

Changes:
--------
--- /work/SRC/openSUSE:Factory/perl-BerkeleyDB/perl-BerkeleyDB.changes  
2019-04-01 12:39:31.837948566 +0200
+++ 
/work/SRC/openSUSE:Factory/.perl-BerkeleyDB.new.4126/perl-BerkeleyDB.changes    
    2019-07-22 12:21:41.899643777 +0200
@@ -1,0 +2,43 @@
+Sun Jul 21 11:08:51 UTC 2019 - Stephan Kulow <co...@suse.com>
+
+- updated to 0.62
+   see /usr/share/doc/packages/perl-BerkeleyDB/Changes
+
+  0.62  20 July 2019
+  
+          * default to /usr/local/BerkeleyDB
+            fcc0ad8adf310f7c8cc65788806439f2f8c39f90
+  
+          * __heap_exist prototype needed for db 5.2 or better
+            7fe4ad8d74190d7f41a816c79e5ccf044c02c7c9
+  
+          * t/joint.: Silence Valgrinf
+            https://rt.cpan.org/Ticket/Display.html?id=125605
+            40d03924570f8516efe4a05982f402e8ce569637
+  
+          * db_remove missing txn code
+            https://rt.cpan.org/Ticket/Display.html?id=124979
+            b91875a9f3f55bb779ad7a448c9fff0645d8a527
+  
+          * Fix test failure when TRACE is enabled
+            bb80b7d0fb83643ccddd8243d4c6b6ab637428df
+  
+          * Added BERKELEYDB_DEFINE_TRACE variable to allow TRACE to be enabled
+            from .travis file.
+            bd9ebf5aa149172afab55d6ba6f27d77cf08d91a
+  
+          * Add test with BERKELEYDB_DEFINE_TRACE set to .travis
+            000b1d8dffe542d6476fe78f218cc95534f1c1c3
+  
+          * my_db_strerror: Add missing dTHX declaration 
+            Merge pull request https://github.com/pmqs/BerkeleyDB/pull/2
+            4273345d8eff5f521788b3c5e71fb291bf46a646
+            80ca9b77968ab84aaf8b546f2933d135202e16e0
+  
+          * create .appveyor.yml 
+            4e7b034ddbe76a7c2dcd189e1e0c935c1559aa2c
+  
+          * sync dbinfo from DB_File
+            27b499fa9dbfca78adcc7a12ada43f0b05b6ece6
+
+-------------------------------------------------------------------

Old:
----
  BerkeleyDB-0.61.tar.gz

New:
----
  BerkeleyDB-0.62.tar.gz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ perl-BerkeleyDB.spec ++++++
--- /var/tmp/diff_new_pack.zm42gE/_old  2019-07-22 12:21:42.507643617 +0200
+++ /var/tmp/diff_new_pack.zm42gE/_new  2019-07-22 12:21:42.511643616 +0200
@@ -17,7 +17,7 @@
 
 
 Name:           perl-BerkeleyDB
-Version:        0.61
+Version:        0.62
 Release:        0
 %define cpan_name BerkeleyDB
 Summary:        Perl extension for Berkeley DB version 2, 3, 4, 5 or 6

++++++ BerkeleyDB-0.61.tar.gz -> BerkeleyDB-0.62.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/BerkeleyDB-0.61/BerkeleyDB.pm 
new/BerkeleyDB-0.62/BerkeleyDB.pm
--- old/BerkeleyDB-0.61/BerkeleyDB.pm   2019-03-30 23:04:02.000000000 +0100
+++ new/BerkeleyDB-0.62/BerkeleyDB.pm   2019-07-20 19:28:43.000000000 +0200
@@ -17,7 +17,7 @@
 use vars qw($VERSION @ISA @EXPORT $AUTOLOAD
                $use_XSLoader);
 
-$VERSION = '0.61';
+$VERSION = '0.62';
 
 require Exporter;
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/BerkeleyDB-0.61/BerkeleyDB.xs 
new/BerkeleyDB-0.62/BerkeleyDB.xs
--- old/BerkeleyDB-0.61/BerkeleyDB.xs   2019-03-30 17:22:32.000000000 +0100
+++ new/BerkeleyDB-0.62/BerkeleyDB.xs   2019-07-20 19:28:43.000000000 +0200
@@ -477,7 +477,7 @@
 hash_delete(char * hash, char * key);
 
 #ifdef TRACE
-#  define Trace(x)     (printf("# "), printf x)
+#  define Trace(x)     do { printf("# "); printf x; fflush(stdout); } while 
(0) ;
 #else
 #  define Trace(x)
 #endif
@@ -511,15 +511,12 @@
 #endif
 
 #ifdef AT_LEAST_DB_5_2
-
 #  define isHeapDb(db) ((db)->type == DB_HEAP)
+/* __heap_exists is not exported by db.h, so include prototype here */
+int __heap_exist __P((void));
 #else
 #  define isHeapDb(db) (0)
-
-   int __heap_exist __P((void));
 #  define DB_HEAP_RID_SZ 1
-
-
 #endif
 
 #ifndef AT_LEAST_DB_6_0
@@ -838,6 +835,9 @@
 static char *
 my_db_strerror(int err)
 {
+#ifdef dTHX
+    dTHX;
+#endif
     static char buffer[1000] ;
     SV * sv = perl_get_sv(ERR_BUFF, FALSE) ;
     sprintf(buffer, "%d: %s", err, db_strerror(err)) ;
@@ -2094,7 +2094,7 @@
 
     if (info->db_cachesize) {
         Status = dbp->set_cachesize(dbp, 0, info->db_cachesize, 0) ;
-       Trace(("set_cachesize [%d] returned %s\n",
+       Trace(("set_cachesize [%lu] returned %s\n",
                info->db_cachesize, my_db_strerror(Status)));
         if (Status)
             return RETVAL ;
@@ -2110,7 +2110,7 @@
 
     if (info->db_pagesize) {
         Status = dbp->set_pagesize(dbp, info->db_pagesize) ;
-       Trace(("set_pagesize [%d] returned %s\n",
+       Trace(("set_pagesize [%lu] returned %s\n",
                info->db_pagesize, my_db_strerror(Status)));
         if (Status)
             return RETVAL ;
@@ -2379,6 +2379,8 @@
            SetValue_pv(subdb, "Subname", char *) ;
            SetValue_iv(flags, "Flags") ;
            SetValue_ov(env, "Env", BerkeleyDB__Env) ;
+               SetValue_ov(txn, "Txn", BerkeleyDB__Txn) ;
+
             if (txn) {
 #ifdef AT_LEAST_DB_4_1
                 if (!env)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/BerkeleyDB-0.61/Changes new/BerkeleyDB-0.62/Changes
--- old/BerkeleyDB-0.61/Changes 2019-03-30 23:06:21.000000000 +0100
+++ new/BerkeleyDB-0.62/Changes 2019-07-20 19:38:48.000000000 +0200
@@ -1,11 +1,48 @@
 Revision history for Perl extension BerkeleyDB.
 
+0.62  20 July 2019
+
+        * default to /usr/local/BerkeleyDB
+          fcc0ad8adf310f7c8cc65788806439f2f8c39f90
+
+        * __heap_exist prototype needed for db 5.2 or better
+          7fe4ad8d74190d7f41a816c79e5ccf044c02c7c9
+
+        * t/joint.: Silence Valgrinf
+          https://rt.cpan.org/Ticket/Display.html?id=125605
+          40d03924570f8516efe4a05982f402e8ce569637
+
+        * db_remove missing txn code
+          https://rt.cpan.org/Ticket/Display.html?id=124979
+          b91875a9f3f55bb779ad7a448c9fff0645d8a527
+
+        * Fix test failure when TRACE is enabled
+          bb80b7d0fb83643ccddd8243d4c6b6ab637428df
+
+        * Added BERKELEYDB_DEFINE_TRACE variable to allow TRACE to be enabled
+          from .travis file.
+          bd9ebf5aa149172afab55d6ba6f27d77cf08d91a
+
+        * Add test with BERKELEYDB_DEFINE_TRACE set to .travis
+          000b1d8dffe542d6476fe78f218cc95534f1c1c3
+
+        * my_db_strerror: Add missing dTHX declaration 
+          Merge pull request https://github.com/pmqs/BerkeleyDB/pull/2
+          4273345d8eff5f521788b3c5e71fb291bf46a646
+          80ca9b77968ab84aaf8b546f2933d135202e16e0
+
+        * create .appveyor.yml 
+          4e7b034ddbe76a7c2dcd189e1e0c935c1559aa2c
+
+        * sync dbinfo from DB_File
+          27b499fa9dbfca78adcc7a12ada43f0b05b6ece6
+
 0.61  30 March 2019
 
         * Fix a couple of typos  
           One's a copyright date out by 20 years.
           The other one breaks builds with 5.2 ≤ BDB < 6.2.
-          Merge pull request #1 https://github.com/pmqs/BerkeleyDB/pull/1
+          Merge pull request https://github.com/pmqs/BerkeleyDB/pull/1
 
 0.60  30 March 2019
         * Moved source to github https://github.com/pmqs/BerkeleyDB
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/BerkeleyDB-0.61/META.json 
new/BerkeleyDB-0.62/META.json
--- old/BerkeleyDB-0.61/META.json       2019-03-30 23:11:42.000000000 +0100
+++ new/BerkeleyDB-0.62/META.json       2019-07-20 19:51:00.000000000 +0200
@@ -43,6 +43,6 @@
          "web" : "https://github.com/pmqs/BerkeleyDB";
       }
    },
-   "version" : "0.61",
+   "version" : "0.62",
    "x_serialization_backend" : "JSON::PP version 2.27300"
 }
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/BerkeleyDB-0.61/META.yml new/BerkeleyDB-0.62/META.yml
--- old/BerkeleyDB-0.61/META.yml        2019-03-30 23:11:42.000000000 +0100
+++ new/BerkeleyDB-0.62/META.yml        2019-07-20 19:51:00.000000000 +0200
@@ -21,5 +21,5 @@
   bugtracker: https://github.com/pmqs/BerkeleyDB/issues
   homepage: https://github.com/pmqs/BerkeleyDB
   repository: git://github.com/pmqs/BerkeleyDB.git
-version: '0.61'
+version: '0.62'
 x_serialization_backend: 'CPAN::Meta::YAML version 0.018'
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/BerkeleyDB-0.61/Makefile.PL 
new/BerkeleyDB-0.62/Makefile.PL
--- old/BerkeleyDB-0.61/Makefile.PL     2019-02-05 21:18:14.000000000 +0100
+++ new/BerkeleyDB-0.62/Makefile.PL     2019-07-14 23:09:14.000000000 +0200
@@ -48,6 +48,8 @@
 my $WALL = '';
 #$WALL = ' -Wall ' if $Config{'cc'} =~ /gcc/ ;
 
+my $TRACE = "";
+$TRACE = "-DTRACE" if $ENV{BERKELEYDB_DEFINE_TRACE} ;
 
 WriteMakefile(
        NAME            => 'BerkeleyDB',
@@ -56,7 +58,7 @@
        INC             => "-I$INC_DIR",
        VERSION_FROM    => 'BerkeleyDB.pm',
        XSPROTOARG      => '-noprototypes',
-       DEFINE          => "$OS2 $WALL",
+       DEFINE          => "$OS2 $WALL $TRACE",
        #'macro'                => { INSTALLDIRS => 'perl' },
         'dist'          => {COMPRESS=>'gzip', SUFFIX=>'gz'},    
        ($] >= 5.005
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/BerkeleyDB-0.61/README new/BerkeleyDB-0.62/README
--- old/BerkeleyDB-0.61/README  2019-03-30 23:03:52.000000000 +0100
+++ new/BerkeleyDB-0.62/README  2019-07-20 19:31:58.000000000 +0200
@@ -1,8 +1,8 @@
                                 BerkeleyDB
 
-                               Version 0.61
+                               Version 0.62
 
-                              30th March 2019
+                              20th July 2019
                               
 
      Copyright (c) 1997-2019 Paul Marquess. All rights reserved. This
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/BerkeleyDB-0.61/config.in 
new/BerkeleyDB-0.62/config.in
--- old/BerkeleyDB-0.61/config.in       2019-02-05 21:12:20.000000000 +0100
+++ new/BerkeleyDB-0.62/config.in       2019-07-20 19:36:58.000000000 +0200
@@ -1,6 +1,6 @@
 # Filename:    config.in
 #
-# written by Paul Marquess <paul.marqu...@btinternet.com>
+# written by Paul Marquess <p...@cpan.org>
 
 # 1. Where is the file db.h?
 #
@@ -9,8 +9,7 @@
 
 #INCLUDE       = /usr/local/include
 #INCLUDE       = ../..
-#INCLUDE       = /usr/local/BerkeleyDB/include
-INCLUDE        = libraries/6.1.10/include
+INCLUDE        = /usr/local/BerkeleyDB/include
 
 # 2. Where is libdb?
 #
@@ -19,8 +18,8 @@
 
 #LIB   = /usr/local/lib
 #LIB   = ../..
-#LIB   = /usr/local/BerkeleyDB/lib
-LIB = libraries/6.1.10/lib
+LIB    = /usr/local/BerkeleyDB/lib
+
 # 3. Is the library called libdb?
 #
 #    If you have copies of both 1.x and 2.x Berkeley DB installed on
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/BerkeleyDB-0.61/dbinfo new/BerkeleyDB-0.62/dbinfo
--- old/BerkeleyDB-0.61/dbinfo  2019-02-05 21:12:03.000000000 +0100
+++ new/BerkeleyDB-0.62/dbinfo  2019-04-27 12:02:54.000000000 +0200
@@ -1,13 +1,13 @@
 #!/usr/local/bin/perl
 
-# Name:                dbinfo -- identify berkeley DB version used to create 
-#                        a database file
+# Name:         dbinfo -- identify berkeley DB version used to create 
+#                         a database file
 #
-# Author:      Paul Marquess  <paul.marqu...@btinternet.com>
-# Version:     1.07 
-# Date         2nd April 2011 
+# Author:       Paul Marquess  <p...@cpan.org>
+# Version:      1.07 
+# Date          2nd April 2011
 #
-#     Copyright (c) 1998-2011 Paul Marquess. All rights reserved.
+#     Copyright (c) 1998-2019 Paul Marquess. All rights reserved.
 #     This program is free software; you can redistribute it and/or
 #     modify it under the same terms as Perl itself.
 
@@ -17,59 +17,59 @@
 use strict ;
 
 my %Data =
-       (
-       0x053162 =>     # DB_BTREEMAGIC
+        (
+        0x053162 =>     # DB_BTREEMAGIC
             {
-                         Type     => "Btree",
-                         Versions => # DB_BTREEVERSION
-                               {
-                                 1     => [0, "Unknown (older than 1.71)"],
-                                 2     => [0, "Unknown (older than 1.71)"],
-                                 3     => [0, "1.71 -> 1.85, 1.86"],
-                                 4     => [0, "Unknown"],
-                                 5     => [0, "2.0.0 -> 2.3.0"],
-                                 6     => [0, "2.3.1 -> 2.7.7"],
-                                 7     => [0, "3.0.x"],
-                                 8     => [0, "3.1.x -> 4.0.x"],
-                                 9     => [1, "4.1.x or greater"],
-                               }
-                       },
-       0x061561 =>     # DB_HASHMAGIC
+                          Type     => "Btree",
+                          Versions => # DB_BTREEVERSION
+                                {
+                                  1     => [0, "Unknown (older than 1.71)"],
+                                  2     => [0, "Unknown (older than 1.71)"],
+                                  3     => [0, "1.71 -> 1.85, 1.86"],
+                                  4     => [0, "Unknown"],
+                                  5     => [0, "2.0.0 -> 2.3.0"],
+                                  6     => [0, "2.3.1 -> 2.7.7"],
+                                  7     => [0, "3.0.x"],
+                                  8     => [0, "3.1.x -> 4.0.x"],
+                                  9     => [1, "4.1.x or greater"],
+                                }
+                        },
+        0x061561 =>     # DB_HASHMAGIC
             {
-                         Type     => "Hash",
-                         Versions => # DB_HASHVERSION
-                               {
-                                 1     => [0, "Unknown (older than 1.71)"],
-                                 2     => [0, "1.71 -> 1.85"],
-                                 3     => [0, "1.86"],
-                                 4     => [0, "2.0.0 -> 2.1.0"],
-                                 5     => [0, "2.2.6 -> 2.7.7"],
-                                 6     => [0, "3.0.x"],
-                                 7     => [0, "3.1.x -> 4.0.x"],
-                                 8     => [1, "4.1.x or greater"],
-                                 9     => [1, "4.6.x or greater"],
-                               }
-                       },
-       0x042253 =>     # DB_QAMMAGIC
+                          Type     => "Hash",
+                          Versions => # DB_HASHVERSION
+                                {
+                                  1     => [0, "Unknown (older than 1.71)"],
+                                  2     => [0, "1.71 -> 1.85"],
+                                  3     => [0, "1.86"],
+                                  4     => [0, "2.0.0 -> 2.1.0"],
+                                  5     => [0, "2.2.6 -> 2.7.7"],
+                                  6     => [0, "3.0.x"],
+                                  7     => [0, "3.1.x -> 4.0.x"],
+                                  8     => [1, "4.1.x or greater"],
+                                  9     => [1, "4.6.x or greater"],
+                                }
+                        },
+        0x042253 =>     # DB_QAMMAGIC
             {
-                         Type     => "Queue",
-                         Versions => # DB_QAMVERSION
-                               {
-                                 1     => [0, "3.0.x"],
-                                 2     => [0, "3.1.x"],
-                                 3     => [0, "3.2.x -> 4.0.x"],
-                                 4     => [1, "4.1.x or greater"],
-                               }
-                       },
-       0x074582 =>     # DB_HEAPMAGIC
+                          Type     => "Queue",
+                          Versions => # DB_QAMVERSION
+                                {
+                                  1     => [0, "3.0.x"],
+                                  2     => [0, "3.1.x"],
+                                  3     => [0, "3.2.x -> 4.0.x"],
+                                  4     => [1, "4.1.x or greater"],
+                                }
+                        },
+        0x074582 =>    # DB_HEAPMAGIC
             {
-                         Type     => "Heap",
-                         Versions => # DB_HEAPVERSION
-                               {
-                                 1     => [1, "5.2.x"],
-                               }
-                       },
-       ) ;
+                                 Type     => "Heap",
+                                 Versions => # DB_HEAPVERSION
+                                         {
+                                           1         => [1, "5.2.x"],
+                                         }
+                               },
+        ) ;
 
 die "Usage: dbinfo file\n" unless @ARGV == 1 ;
 
@@ -128,11 +128,11 @@
 }
 
 print <<EOM ;
-File Type:             Berkeley DB $type->{Type} file.
-File Version ID:       $version
-Built with Berkeley DB:        $ver_string
-Byte Order:            $endian
-Magic:                 $magic
+File Type:              Berkeley DB $type->{Type} file.
+File Version ID:        $version
+Built with Berkeley DB: $ver_string
+Byte Order:             $endian
+Magic:                  $magic
 Encryption:             $encrypt
 EOM
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/BerkeleyDB-0.61/t/join.t new/BerkeleyDB-0.62/t/join.t
--- old/BerkeleyDB-0.61/t/join.t        2019-02-05 21:11:49.000000000 +0100
+++ new/BerkeleyDB-0.62/t/join.t        2019-07-20 18:38:30.000000000 +0200
@@ -219,17 +219,17 @@
     eval { $cursor1 = $db1->db_join([$cursor1]) } ;
     ok $@ =~ /BerkeleyDB Aborting: attempted to do a self-join at/;
 
-    undef $cursor1a;
-    #undef $cursor1;
-    #undef $cursor2;
-    #undef $cursor3;
-    undef $db1 ;
-    undef $db2 ;
-    undef $db3 ;
-    undef $env ;
-    untie %hash1 ;
-    untie %hash2 ;
-    untie %hash3 ;
+    # undef $cursor1a;
+    # #undef $cursor1;
+    # #undef $cursor2;
+    # #undef $cursor3;
+    # undef $db1 ;
+    # undef $db2 ;
+    # undef $db3 ;
+    # undef $env ;
+    # untie %hash1 ;
+    # untie %hash2 ;
+    # untie %hash3 ;
 }
 
 print "# at the end\n";


Reply via email to