pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/databases/leveldb leveldb: updated to 1.23



details:   https://anonhg.NetBSD.org/pkgsrc/rev/9f7645fa3eb1
branches:  trunk
changeset: 382795:9f7645fa3eb1
user:      adam <adam%pkgsrc.org@localhost>
date:      Fri Aug 05 13:02:02 2022 +0000

description:
leveldb: updated to 1.23

1.23

Sync MANIFEST before closing in db_impl when creating a new DB. Add logging with debugging information when failing to load a version set.
Optimize leveldb block seeks to utilize the current iterator location. This is beneficial when iterators are reused and seeks are not random but increasing. It is additionally beneficial with larger 
block sizes and keys with common prefixes.
Documentation fixes
(cmumford/printf-fix) Fixed fprintf of 64-bit value.
(cmumford/benchmark) Added google/benchmark submodule.
Internal test cleanup
Internal cleanup migrating StatusOr.
avoid unnecessary memory copy
Fix accidental double std:: qualifiers.
Add some std:: qualifiers to types and functions.
Switch from C headers to C++ headers.
change const to constexpr
remove unnessary status judge
Remove leveldb::port::kLittleEndian.
Remove Windows workarounds in some tests.
Add Env::Remove{File,Dir} which obsolete Env::Delete{File,Dir}.
Defend against inclusion of windows.h in tests that invoke Env::DeleteFile.
Add WITHOUT ROWID to SQLite benchmark.
Switch testing harness to googletest.
Move CI to Visual Studio 2019.
Allow different C/C++ standards when this is used as a subproject.
Align CMake configuration with related projects.
Remove redundant PROJECT_SOURCE_DIR usage from CMake config.
Fix installed target definition.
Added return in Version::Get::State::Match to quiet warning.
Using CMake's check_cxx_compiler_flag to check support for -Wthread-safety.
Fix tsan problem in env_test.
Simplify unlocking in DeleteObsoleteFiles.
Add "leveldb" subdirectory to public include paths.
Align EnvPosix and EnvWindows.
Disable exceptions and RTTI in CMake configuration.
cache Saver in State object
fix bug(uninitialized options pointer in State)
remove TODO in Version::ForEachOverlapping
use ForEachOverlapping to impl Get
unsigned char -> uint8_t
Add explicit typecasts to avoid compiler warning.
Guard DBImpl::versions_ by mutex_.
Converted two for-loops to while-loops.
Switch to using C++ 11 override specifier.
Added unit test for InternalKey::DecodeFrom with empty string.
Using std::ostringstream in key DebugString.
Fix EnvPosix tests on Travis CI.
Clean up util/coding.{h,cc}.
Initialize Stats::start_ before first use in Stats::Start().
Add argument definition for void c functions.
Consolidate benchmark code to benchmarks/.
Convert missed virtual -> override in db_test.cc.
don't check current key in DBIter::Next()
Add O_CLOEXEC to open calls.
broken db: fix assertion in leveldb::InternalKey::Encode, mark base as corrupt
set const property
reduce lock's range in DeleteObsoleteFiles
block_builder header file dependency fixed

diffstat:

 databases/leveldb/Makefile |  10 +++++-----
 databases/leveldb/PLIST    |   6 ++++--
 databases/leveldb/distinfo |   8 ++++----
 3 files changed, 13 insertions(+), 11 deletions(-)

diffs (56 lines):

diff -r 768b10ccb94e -r 9f7645fa3eb1 databases/leveldb/Makefile
--- a/databases/leveldb/Makefile        Fri Aug 05 12:59:16 2022 +0000
+++ b/databases/leveldb/Makefile        Fri Aug 05 13:02:02 2022 +0000
@@ -1,7 +1,6 @@
-# $NetBSD: Makefile,v 1.3 2021/02/20 13:45:35 ryoon Exp $
+# $NetBSD: Makefile,v 1.4 2022/08/05 13:02:02 adam Exp $
 
-DISTNAME=      leveldb-1.22
-PKGREVISION=   1
+DISTNAME=      leveldb-1.23
 CATEGORIES=    databases
 MASTER_SITES=  ${MASTER_SITE_GITHUB:=google/}
 
@@ -11,9 +10,10 @@
 LICENSE=       modified-bsd
 
 USE_CMAKE=     yes
-USE_LANGUAGES+=        c c++11
+USE_LANGUAGES= c c++11
+CMAKE_ARGS+=   -DBUILD_SHARED_LIBS=ON
 CMAKE_ARGS+=   -DLEVELDB_BUILD_BENCHMARKS=OFF
-TEST_TARGET=   test
+CMAKE_ARGS+=   -DLEVELDB_BUILD_TESTS=OFF
 
 CFLAGS+=       -fPIC
 
diff -r 768b10ccb94e -r 9f7645fa3eb1 databases/leveldb/PLIST
--- a/databases/leveldb/PLIST   Fri Aug 05 12:59:16 2022 +0000
+++ b/databases/leveldb/PLIST   Fri Aug 05 13:02:02 2022 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.2 2019/06/05 13:22:04 adam Exp $
+@comment $NetBSD: PLIST,v 1.3 2022/08/05 13:02:02 adam Exp $
 include/leveldb/c.h
 include/leveldb/cache.h
 include/leveldb/comparator.h
@@ -18,4 +18,6 @@
 lib/cmake/leveldb/leveldbConfigVersion.cmake
 lib/cmake/leveldb/leveldbTargets-noconfig.cmake
 lib/cmake/leveldb/leveldbTargets.cmake
-lib/libleveldb.a
+lib/libleveldb.so
+lib/libleveldb.so.${PKGVERSION}.0
+lib/libleveldb.so.1
diff -r 768b10ccb94e -r 9f7645fa3eb1 databases/leveldb/distinfo
--- a/databases/leveldb/distinfo        Fri Aug 05 12:59:16 2022 +0000
+++ b/databases/leveldb/distinfo        Fri Aug 05 13:02:02 2022 +0000
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.5 2021/10/26 10:09:21 nia Exp $
+$NetBSD: distinfo,v 1.6 2022/08/05 13:02:02 adam Exp $
 
-BLAKE2s (leveldb-1.22.tar.gz) = 0baba9a7ad4cbbeefc6adadb80b552da4246c866c23f9cab40bbb1bc0cfd7135
-SHA512 (leveldb-1.22.tar.gz) = f9bbf5f466e7f707b94e19261762319ea9f65d41911690e84f59098551e2e69beccf756a414d705ade74ee96fd979bdb8b94c171c6f2cc83873cbd4a9380dbab
-Size (leveldb-1.22.tar.gz) = 239365 bytes
+BLAKE2s (leveldb-1.23.tar.gz) = a8cfd6386f6697a71373b4bae909d95ca2d7678076300726465d09334b051cdb
+SHA512 (leveldb-1.23.tar.gz) = ac15eac29387b9f702a901b6567d47a9f8c17cf5c7d8700a77ec771da25158c83b04959c33f3d4de7a3f033ef08f545d14ba823a8d527e21889c4b78065b0f84
+Size (leveldb-1.23.tar.gz) = 242925 bytes



Home | Main Index | Thread Index | Old Index