Hello community, here is the log from the commit of package lmdb for openSUSE:Factory checked in at 2020-03-27 21:55:43 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/lmdb (Old) and /work/SRC/openSUSE:Factory/.lmdb.new.3160 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "lmdb" Fri Mar 27 21:55:43 2020 rev:16 rq:788362 version:0.9.24 Changes: -------- --- /work/SRC/openSUSE:Factory/lmdb/lmdb.changes 2019-04-01 12:32:36.233786395 +0200 +++ /work/SRC/openSUSE:Factory/.lmdb.new.3160/lmdb.changes 2020-03-27 21:56:01.918748587 +0100 @@ -1,0 +2,13 @@ +Sat Mar 21 23:12:06 UTC 2020 - Marcus Rueckert <[email protected]> + +- copy the pkg config support from the fedora package + +------------------------------------------------------------------- +Sat Mar 21 23:05:48 UTC 2020 - Marcus Rueckert <[email protected]> + +- LMDB 0.9.24 Release (2019/07/24) + * ITS#8969 Tweak mdb_page_split + * ITS#8975 WIN32 fix writemap set_mapsize crash + * ITS#9007 Fix loose pages in WRITEMAP + +------------------------------------------------------------------- Old: ---- LMDB_0.9.23.tar.gz New: ---- LMDB_0.9.24.tar.gz lmdb.pc.in ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ lmdb.spec ++++++ --- /var/tmp/diff_new_pack.akVDm6/_old 2020-03-27 21:56:05.642750753 +0100 +++ /var/tmp/diff_new_pack.akVDm6/_new 2020-03-27 21:56:05.658750762 +0100 @@ -20,13 +20,15 @@ Summary: Lightning Memory-Mapped Database Manager License: OLDAP-2.8 Group: Productivity/Databases/Tools -%define lname liblmdb-0_9_23 -Version: 0.9.23 +%define lname liblmdb-0_9_24 +Version: 0.9.24 Release: 0 Url: https://symas.com/mdb/ #Git-Clone: git://git.openldap.org/openldap mdb.master Source: https://github.com/LMDB/lmdb/archive/LMDB_%version.tar.gz +# from https://src.fedoraproject.org/rpms/lmdb/tree/master +Source1: lmdb.pc.in Source99: baselibs.conf # PATCH-FIX-UPSTREAM - debugging tools (https://github.com/kacfengine/lmdb) @@ -102,6 +104,15 @@ datarootdir=%{_datadir} ln -s %{_libdir}/liblmdb-%{version}.so %{buildroot}%{_libdir}/liblmdb.so +# Install pkgconfig file +sed -e 's:@PREFIX@:%{_prefix}:g' \ + -e 's:@EXEC_PREFIX@:%{_exec_prefix}:g' \ + -e 's:@LIBDIR@:%{_libdir}:g' \ + -e 's:@INCLUDEDIR@:%{_includedir}:g' \ + -e 's:@PACKAGE_VERSION@:%{version}:g' \ + %{SOURCE1} >lmdb.pc +install -Dpm 0644 -t %{buildroot}%{_libdir}/pkgconfig lmdb.pc + %post -n %lname -p /sbin/ldconfig %postun -n %lname -p /sbin/ldconfig @@ -118,5 +129,6 @@ %files devel %_includedir/* %_libdir/liblmdb.so +%_libdir/pkgconfig/lmdb.pc %changelog ++++++ LMDB_0.9.23.tar.gz -> LMDB_0.9.24.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lmdb-LMDB_0.9.23/libraries/liblmdb/CHANGES new/lmdb-LMDB_0.9.24/libraries/liblmdb/CHANGES --- old/lmdb-LMDB_0.9.23/libraries/liblmdb/CHANGES 2018-12-19 16:51:03.000000000 +0100 +++ new/lmdb-LMDB_0.9.24/libraries/liblmdb/CHANGES 2019-07-19 18:41:12.000000000 +0200 @@ -1,5 +1,10 @@ LMDB 0.9 Change Log +LMDB 0.9.24 Release (2019/07/24) + ITS#8969 Tweak mdb_page_split + ITS#8975 WIN32 fix writemap set_mapsize crash + ITS#9007 Fix loose pages in WRITEMAP + LMDB 0.9.23 Release (2018/12/19) ITS#8756 Fix loose pages in dirty list ITS#8831 Fix mdb_load flag init diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lmdb-LMDB_0.9.23/libraries/liblmdb/COPYRIGHT new/lmdb-LMDB_0.9.24/libraries/liblmdb/COPYRIGHT --- old/lmdb-LMDB_0.9.23/libraries/liblmdb/COPYRIGHT 2018-12-19 16:51:03.000000000 +0100 +++ new/lmdb-LMDB_0.9.24/libraries/liblmdb/COPYRIGHT 2019-07-19 18:41:12.000000000 +0200 @@ -1,4 +1,4 @@ -Copyright 2011-2018 Howard Chu, Symas Corp. +Copyright 2011-2019 Howard Chu, Symas Corp. All rights reserved. Redistribution and use in source and binary forms, with or without diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lmdb-LMDB_0.9.23/libraries/liblmdb/lmdb.h new/lmdb-LMDB_0.9.24/libraries/liblmdb/lmdb.h --- old/lmdb-LMDB_0.9.23/libraries/liblmdb/lmdb.h 2018-12-19 16:51:03.000000000 +0100 +++ new/lmdb-LMDB_0.9.24/libraries/liblmdb/lmdb.h 2019-07-19 18:41:12.000000000 +0200 @@ -135,7 +135,7 @@ * * @author Howard Chu, Symas Corporation. * - * @copyright Copyright 2011-2018 Howard Chu, Symas Corp. All rights reserved. + * @copyright Copyright 2011-2019 Howard Chu, Symas Corp. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted only as authorized by the OpenLDAP @@ -200,7 +200,7 @@ /** Library minor version */ #define MDB_VERSION_MINOR 9 /** Library patch version */ -#define MDB_VERSION_PATCH 23 +#define MDB_VERSION_PATCH 24 /** Combine args a,b,c into a single integer for easy version comparisons */ #define MDB_VERINT(a,b,c) (((a) << 24) | ((b) << 16) | (c)) @@ -210,7 +210,7 @@ MDB_VERINT(MDB_VERSION_MAJOR,MDB_VERSION_MINOR,MDB_VERSION_PATCH) /** The release date of this library version */ -#define MDB_VERSION_DATE "December 19, 2018" +#define MDB_VERSION_DATE "July 24, 2019" /** A stringifier for the version info */ #define MDB_VERSTR(a,b,c,d) "LMDB " #a "." #b "." #c ": (" d ")" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lmdb-LMDB_0.9.23/libraries/liblmdb/mdb.c new/lmdb-LMDB_0.9.24/libraries/liblmdb/mdb.c --- old/lmdb-LMDB_0.9.23/libraries/liblmdb/mdb.c 2018-12-19 16:51:03.000000000 +0100 +++ new/lmdb-LMDB_0.9.24/libraries/liblmdb/mdb.c 2019-07-19 18:41:12.000000000 +0200 @@ -5,7 +5,7 @@ * BerkeleyDB API, but much simplified. */ /* - * Copyright 2011-2018 Howard Chu, Symas Corp. + * Copyright 2011-2019 Howard Chu, Symas Corp. * All rights reserved. * * Redistribution and use in source and binary forms, with or without @@ -3109,9 +3109,9 @@ } else { x = mdb_mid2l_search(dl, mp->mp_pgno); mdb_tassert(txn, dl[x].mid == mp->mp_pgno); + mdb_dpage_free(env, mp); } dl[x].mptr = NULL; - mdb_dpage_free(env, mp); } { /* squash freed slots out of the dirty list */ @@ -3991,9 +3991,9 @@ * and won't map more than the file size. * Just set the maxsize right now. */ - if (SetFilePointer(env->me_fd, sizelo, &sizehi, 0) != (DWORD)sizelo + if (!(flags & MDB_WRITEMAP) && (SetFilePointer(env->me_fd, sizelo, &sizehi, 0) != (DWORD)sizelo || !SetEndOfFile(env->me_fd) - || SetFilePointer(env->me_fd, 0, NULL, 0) != 0) + || SetFilePointer(env->me_fd, 0, NULL, 0) != 0)) return ErrCode(); } @@ -8749,7 +8749,7 @@ * the split so the new page is emptier than the old page. * This yields better packing during sequential inserts. */ - if (nkeys < 20 || nsize > pmax/16 || newindx >= nkeys) { + if (nkeys < 32 || nsize > pmax/16 || newindx >= nkeys) { /* Find split point */ psize = 0; if (newindx <= split_indx || newindx >= nkeys) { diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lmdb-LMDB_0.9.23/libraries/liblmdb/midl.c new/lmdb-LMDB_0.9.24/libraries/liblmdb/midl.c --- old/lmdb-LMDB_0.9.23/libraries/liblmdb/midl.c 2018-12-19 16:51:03.000000000 +0100 +++ new/lmdb-LMDB_0.9.24/libraries/liblmdb/midl.c 2019-07-19 18:41:12.000000000 +0200 @@ -3,7 +3,7 @@ /* $OpenLDAP$ */ /* This work is part of OpenLDAP Software <http://www.openldap.org/>. * - * Copyright 2000-2018 The OpenLDAP Foundation. + * Copyright 2000-2019 The OpenLDAP Foundation. * Portions Copyright 2001-2018 Howard Chu, Symas Corp. * All rights reserved. * diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lmdb-LMDB_0.9.23/libraries/liblmdb/midl.h new/lmdb-LMDB_0.9.24/libraries/liblmdb/midl.h --- old/lmdb-LMDB_0.9.23/libraries/liblmdb/midl.h 2018-12-19 16:51:03.000000000 +0100 +++ new/lmdb-LMDB_0.9.24/libraries/liblmdb/midl.h 2019-07-19 18:41:12.000000000 +0200 @@ -11,7 +11,7 @@ /* $OpenLDAP$ */ /* This work is part of OpenLDAP Software <http://www.openldap.org/>. * - * Copyright 2000-2018 The OpenLDAP Foundation. + * Copyright 2000-2019 The OpenLDAP Foundation. * Portions Copyright 2001-2018 Howard Chu, Symas Corp. * All rights reserved. * ++++++ baselibs.conf ++++++ --- /var/tmp/diff_new_pack.akVDm6/_old 2020-03-27 21:56:06.142751044 +0100 +++ /var/tmp/diff_new_pack.akVDm6/_new 2020-03-27 21:56:06.142751044 +0100 @@ -1 +1 @@ -liblmdb-0_9_23 +liblmdb-0_9_24 ++++++ lmdb.pc.in ++++++ prefix=@PREFIX@ exec_prefix=@EXEC_PREFIX@ libdir=@LIBDIR@ includedir=@INCLUDEDIR@ Name: liblmdb Description: Lightning Memory-mapped key-value database URL: http://symas.com/mdb/ Version: @PACKAGE_VERSION@ Libs: -L${libdir} -llmdb Cflags: -I${includedir}
