pkgsrc-Changes archive

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

CVS commit: pkgsrc/databases/leveldb



Module Name:    pkgsrc
Committed By:   adam
Date:           Wed Jun  5 13:22:04 UTC 2019

Modified Files:
        pkgsrc/databases/leveldb: Makefile PLIST distinfo
Removed Files:
        pkgsrc/databases/leveldb: options.mk
        pkgsrc/databases/leveldb/patches: patch-aa
            patch-build__detect__platform

Log Message:
leveldb: updated to 1.22

Release 1.22
Corrected formatting to be compliant with the Google C++ Style Guide.
Specifically export the WriteBatch::Handler inner class for Windows link.
Merge pull request 665 from cheng-chang:coding.
Merge pull request 669 from pavel-pimenov:fix-readme-windows-mkdir.
Merge pull request 472 from zhoudayang:patch-1.
Merge pull request 339 from richcole-at-amazon:master.
Restore soname versioning with CMake build.
Other miscellaneous cleanups, fixes, and improvements.

Release 1.21
Switched to using Copybara for project synchronization.
Minor cleanup in ports.
Silence unused argument warnings in MSVC.
Add tests for empty keys and values.
Switch corruption_test to use InMemEnv.
Replace AtomicPointer with std::atomic.
Make InMemoryEnv more consistent with filesystem based Env's.
Align windows_logger with posix_logger.
Improve CI configuration and added AppVeyor (Windows CI) badge to README.
Added native support for Windows.
Make WriteBatch::ApproximateSize() const.
Fix PosixWritableFile::Sync() on Apple systems.
Fix fdatasync() feature detection in opensource build.
C++11 cleanup for util/mutexlock.h.
Rework threading in env_posix.cc.
Remove InitOnce from the port API.
Expose WriteBatch::Append().
Fix documentation for log file growth.
Add move constructor to Status.
Replace port_posix with port_stdcxx.
Reimplement ConsumeDecimalNumber.
Document the building process.
Replace NULL with nullptr in C++ files.
Remove PLATFORM_IS_LITTLE_ENDIAN from port/posix.h.
Add more thread safety annotations.
Require C++11.
Replace SIZE_MAX with std::numeric_limits.
Add CMake build support.
Enable thread safety annotations.
leveldb::DestroyDB will now delete empty directories.
Replace SSE-optimized CRC32C in POSIX port with external library.
Fix file writing bug in CL 170738066.
Fix use of uninitialized value in LRUHandle.
Fix issue 474: a race between the f*_unlocked() STDIO calls in env_posix.cc and concurrent application calls to fflush(NULL).
Use __APPLE__ instead of OS_MACOS. The former is compiler-provided.
Report missing CURRENT manifest file as database corruption.
LevelDB: Add WriteBatch::ApproximateSize().
Other minor fixes, code cleanup, and documentation improvements.


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 pkgsrc/databases/leveldb/Makefile \
    pkgsrc/databases/leveldb/PLIST
cvs rdiff -u -r1.2 -r1.3 pkgsrc/databases/leveldb/distinfo
cvs rdiff -u -r1.1 -r0 pkgsrc/databases/leveldb/options.mk
cvs rdiff -u -r1.1 -r0 pkgsrc/databases/leveldb/patches/patch-aa \
    pkgsrc/databases/leveldb/patches/patch-build__detect__platform

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/databases/leveldb/Makefile
diff -u pkgsrc/databases/leveldb/Makefile:1.1 pkgsrc/databases/leveldb/Makefile:1.2
--- pkgsrc/databases/leveldb/Makefile:1.1       Tue Mar 14 13:12:28 2017
+++ pkgsrc/databases/leveldb/Makefile   Wed Jun  5 13:22:04 2019
@@ -1,51 +1,18 @@
-# $NetBSD: Makefile,v 1.1 2017/03/14 13:12:28 wiz Exp $
+# $NetBSD: Makefile,v 1.2 2019/06/05 13:22:04 adam Exp $
 
-DISTNAME=      leveldb-1.20
+DISTNAME=      leveldb-1.22
 CATEGORIES=    databases
 MASTER_SITES=  ${MASTER_SITE_GITHUB:=google/}
-GITHUB_TAG=    v${PKGVERSION_NOREV}
 
 MAINTAINER=    mishka%NetBSD.org@localhost
 HOMEPAGE=      https://github.com/google/leveldb
 COMMENT=       Fast and lightweight key/value database library by Google
 LICENSE=       modified-bsd
 
-USE_LANGUAGES+=        c c++
-USE_TOOLS+=    gmake pax
+USE_CMAKE=     yes
+USE_LANGUAGES+=        c c++11
+CMAKE_ARGS+=   -DLEVELDB_BUILD_BENCHMARKS=OFF
+TEST_TARGET=   test
 
-INSTALLATION_DIRS+=    bin include/leveldb lib share/doc/leveldb
-
-.include "../../mk/bsd.prefs.mk"
-
-.if ${OPSYS} == "Darwin"
-SS=            dylib
-.else
-SS=            so
-.endif
-
-MAJOR=         ${PKGVERSION_NOREV:R}
-MINOR=         ${PKGVERSION_NOREV:E}
-
-# N.B.: leveldb Darwin support follows popular Unix .so naming convention
-SS.M=          ${SS}.${MAJOR}
-SS.M.N=                ${SS}.${MAJOR}.${MINOR}
-
-PLIST_SUBST+=  SS=${SS:Q} SS.M=${SS.M:Q} SS.M.N=${SS.M.N:Q}
-
-do-install:
-       ${INSTALL_PROGRAM} ${WRKSRC}/out-static/leveldbutil ${DESTDIR}${PREFIX}/bin
-       ${INSTALL_PROGRAM} ${WRKSRC}/out-static/db_bench                                \
-               ${DESTDIR}${PREFIX}/bin/leveldb_bench
-
-       ${INSTALL_LIB} ${WRKSRC}/out-static/libleveldb.a ${DESTDIR}${PREFIX}/lib
-       ${INSTALL_LIB} ${WRKSRC}/out-shared/libleveldb.${SS.M.N} ${DESTDIR}${PREFIX}/lib
-       ${LN} -s libleveldb.${SS.M.N} ${DESTDIR}${PREFIX}/lib/libleveldb.${SS.M}
-       ${LN} -s libleveldb.${SS.M} ${DESTDIR}${PREFIX}/lib/libleveldb.${SS}
-
-       ${INSTALL_DATA} ${WRKSRC}/include/leveldb/*                     \
-               ${DESTDIR}${PREFIX}/include/leveldb
-
-       cd ${WRKSRC}/doc && ${PAX} -rw . ${DESTDIR}${PREFIX}/share/doc/leveldb
-
-.include "options.mk"
+.include "../../devel/snappy/buildlink3.mk"
 .include "../../mk/bsd.pkg.mk"
Index: pkgsrc/databases/leveldb/PLIST
diff -u pkgsrc/databases/leveldb/PLIST:1.1 pkgsrc/databases/leveldb/PLIST:1.2
--- pkgsrc/databases/leveldb/PLIST:1.1  Tue Mar 14 13:12:28 2017
+++ pkgsrc/databases/leveldb/PLIST      Wed Jun  5 13:22:04 2019
@@ -1,12 +1,11 @@
-@comment $NetBSD: PLIST,v 1.1 2017/03/14 13:12:28 wiz Exp $
-bin/leveldb_bench
-bin/leveldbutil
+@comment $NetBSD: PLIST,v 1.2 2019/06/05 13:22:04 adam Exp $
 include/leveldb/c.h
 include/leveldb/cache.h
 include/leveldb/comparator.h
 include/leveldb/db.h
 include/leveldb/dumpfile.h
 include/leveldb/env.h
+include/leveldb/export.h
 include/leveldb/filter_policy.h
 include/leveldb/iterator.h
 include/leveldb/options.h
@@ -15,14 +14,8 @@ include/leveldb/status.h
 include/leveldb/table.h
 include/leveldb/table_builder.h
 include/leveldb/write_batch.h
+lib/cmake/leveldb/leveldbConfig.cmake
+lib/cmake/leveldb/leveldbConfigVersion.cmake
+lib/cmake/leveldb/leveldbTargets-noconfig.cmake
+lib/cmake/leveldb/leveldbTargets.cmake
 lib/libleveldb.a
-lib/libleveldb.${SS}
-lib/libleveldb.${SS.M}
-lib/libleveldb.${SS.M.N}
-share/doc/leveldb/bench/db_bench_sqlite3.cc
-share/doc/leveldb/bench/db_bench_tree_db.cc
-share/doc/leveldb/benchmark.html
-share/doc/leveldb/impl.md
-share/doc/leveldb/index.md
-share/doc/leveldb/log_format.md
-share/doc/leveldb/table_format.md

Index: pkgsrc/databases/leveldb/distinfo
diff -u pkgsrc/databases/leveldb/distinfo:1.2 pkgsrc/databases/leveldb/distinfo:1.3
--- pkgsrc/databases/leveldb/distinfo:1.2       Thu Apr 27 17:04:56 2017
+++ pkgsrc/databases/leveldb/distinfo   Wed Jun  5 13:22:04 2019
@@ -1,8 +1,6 @@
-$NetBSD: distinfo,v 1.2 2017/04/27 17:04:56 joerg Exp $
+$NetBSD: distinfo,v 1.3 2019/06/05 13:22:04 adam Exp $
 
-SHA1 (leveldb-1.20.tar.gz) = df11440c30deed5987263730180225db98de9f57
-RMD160 (leveldb-1.20.tar.gz) = 9cc7db3d8c80e11659bafe02e3efe7a03f98369d
-SHA512 (leveldb-1.20.tar.gz) = c59258f2f58ce2d5680e9ab3da4ab0923d91cd4648dcf63cdaa26cdde92bf45e094544539ad11d8e09a4a4813435286143ed0e86c21c6c31a0596903ed4744d2
-Size (leveldb-1.20.tar.gz) = 223141 bytes
-SHA1 (patch-aa) = 66a727ab380538bf01f4d472cdad0eeccddff544
-SHA1 (patch-build__detect__platform) = 6e1b8d93b3c5ae6d521222fa0c53375fb528a08a
+SHA1 (leveldb-1.22.tar.gz) = 8d310af5cfb53dc836bfb412ff4b3c8aea578627
+RMD160 (leveldb-1.22.tar.gz) = 8ecf3f0bbac39388964623094cefe33137be6ce9
+SHA512 (leveldb-1.22.tar.gz) = f9bbf5f466e7f707b94e19261762319ea9f65d41911690e84f59098551e2e69beccf756a414d705ade74ee96fd979bdb8b94c171c6f2cc83873cbd4a9380dbab
+Size (leveldb-1.22.tar.gz) = 239365 bytes



Home | Main Index | Thread Index | Old Index