forked from ports/contrib
rocksdb: initial import
This commit is contained in:
parent
2050e046f1
commit
d528878d18
121
rocksdb/.footprint
Normal file
121
rocksdb/.footprint
Normal file
@ -0,0 +1,121 @@
|
||||
drwxr-xr-x root/root usr/
|
||||
drwxr-xr-x root/root usr/include/
|
||||
drwxr-xr-x root/root usr/include/rocksdb/
|
||||
-rw-r--r-- root/root usr/include/rocksdb/advanced_options.h
|
||||
-rw-r--r-- root/root usr/include/rocksdb/c.h
|
||||
-rw-r--r-- root/root usr/include/rocksdb/cache.h
|
||||
-rw-r--r-- root/root usr/include/rocksdb/cache_bench_tool.h
|
||||
-rw-r--r-- root/root usr/include/rocksdb/cleanable.h
|
||||
-rw-r--r-- root/root usr/include/rocksdb/compaction_filter.h
|
||||
-rw-r--r-- root/root usr/include/rocksdb/compaction_job_stats.h
|
||||
-rw-r--r-- root/root usr/include/rocksdb/comparator.h
|
||||
-rw-r--r-- root/root usr/include/rocksdb/compression_type.h
|
||||
-rw-r--r-- root/root usr/include/rocksdb/concurrent_task_limiter.h
|
||||
-rw-r--r-- root/root usr/include/rocksdb/configurable.h
|
||||
-rw-r--r-- root/root usr/include/rocksdb/convenience.h
|
||||
-rw-r--r-- root/root usr/include/rocksdb/customizable.h
|
||||
-rw-r--r-- root/root usr/include/rocksdb/data_structure.h
|
||||
-rw-r--r-- root/root usr/include/rocksdb/db.h
|
||||
-rw-r--r-- root/root usr/include/rocksdb/db_bench_tool.h
|
||||
-rw-r--r-- root/root usr/include/rocksdb/db_dump_tool.h
|
||||
-rw-r--r-- root/root usr/include/rocksdb/db_stress_tool.h
|
||||
-rw-r--r-- root/root usr/include/rocksdb/env.h
|
||||
-rw-r--r-- root/root usr/include/rocksdb/env_encryption.h
|
||||
-rw-r--r-- root/root usr/include/rocksdb/experimental.h
|
||||
-rw-r--r-- root/root usr/include/rocksdb/file_checksum.h
|
||||
-rw-r--r-- root/root usr/include/rocksdb/file_system.h
|
||||
-rw-r--r-- root/root usr/include/rocksdb/filter_policy.h
|
||||
-rw-r--r-- root/root usr/include/rocksdb/flush_block_policy.h
|
||||
-rw-r--r-- root/root usr/include/rocksdb/functor_wrapper.h
|
||||
-rw-r--r-- root/root usr/include/rocksdb/io_status.h
|
||||
-rw-r--r-- root/root usr/include/rocksdb/iostats_context.h
|
||||
-rw-r--r-- root/root usr/include/rocksdb/iterator.h
|
||||
-rw-r--r-- root/root usr/include/rocksdb/ldb_tool.h
|
||||
-rw-r--r-- root/root usr/include/rocksdb/listener.h
|
||||
-rw-r--r-- root/root usr/include/rocksdb/memory_allocator.h
|
||||
-rw-r--r-- root/root usr/include/rocksdb/memtablerep.h
|
||||
-rw-r--r-- root/root usr/include/rocksdb/merge_operator.h
|
||||
-rw-r--r-- root/root usr/include/rocksdb/metadata.h
|
||||
-rw-r--r-- root/root usr/include/rocksdb/options.h
|
||||
-rw-r--r-- root/root usr/include/rocksdb/perf_context.h
|
||||
-rw-r--r-- root/root usr/include/rocksdb/perf_level.h
|
||||
-rw-r--r-- root/root usr/include/rocksdb/persistent_cache.h
|
||||
-rw-r--r-- root/root usr/include/rocksdb/rate_limiter.h
|
||||
-rw-r--r-- root/root usr/include/rocksdb/rocksdb_namespace.h
|
||||
-rw-r--r-- root/root usr/include/rocksdb/secondary_cache.h
|
||||
-rw-r--r-- root/root usr/include/rocksdb/slice.h
|
||||
-rw-r--r-- root/root usr/include/rocksdb/slice_transform.h
|
||||
-rw-r--r-- root/root usr/include/rocksdb/snapshot.h
|
||||
-rw-r--r-- root/root usr/include/rocksdb/sst_dump_tool.h
|
||||
-rw-r--r-- root/root usr/include/rocksdb/sst_file_manager.h
|
||||
-rw-r--r-- root/root usr/include/rocksdb/sst_file_reader.h
|
||||
-rw-r--r-- root/root usr/include/rocksdb/sst_file_writer.h
|
||||
-rw-r--r-- root/root usr/include/rocksdb/sst_partitioner.h
|
||||
-rw-r--r-- root/root usr/include/rocksdb/statistics.h
|
||||
-rw-r--r-- root/root usr/include/rocksdb/stats_history.h
|
||||
-rw-r--r-- root/root usr/include/rocksdb/status.h
|
||||
-rw-r--r-- root/root usr/include/rocksdb/system_clock.h
|
||||
-rw-r--r-- root/root usr/include/rocksdb/table.h
|
||||
-rw-r--r-- root/root usr/include/rocksdb/table_properties.h
|
||||
-rw-r--r-- root/root usr/include/rocksdb/thread_status.h
|
||||
-rw-r--r-- root/root usr/include/rocksdb/threadpool.h
|
||||
-rw-r--r-- root/root usr/include/rocksdb/trace_reader_writer.h
|
||||
-rw-r--r-- root/root usr/include/rocksdb/transaction_log.h
|
||||
-rw-r--r-- root/root usr/include/rocksdb/types.h
|
||||
-rw-r--r-- root/root usr/include/rocksdb/universal_compaction.h
|
||||
drwxr-xr-x root/root usr/include/rocksdb/utilities/
|
||||
-rw-r--r-- root/root usr/include/rocksdb/utilities/backup_engine.h
|
||||
-rw-r--r-- root/root usr/include/rocksdb/utilities/backupable_db.h
|
||||
-rw-r--r-- root/root usr/include/rocksdb/utilities/checkpoint.h
|
||||
-rw-r--r-- root/root usr/include/rocksdb/utilities/convenience.h
|
||||
-rw-r--r-- root/root usr/include/rocksdb/utilities/db_ttl.h
|
||||
-rw-r--r-- root/root usr/include/rocksdb/utilities/debug.h
|
||||
-rw-r--r-- root/root usr/include/rocksdb/utilities/env_librados.h
|
||||
-rw-r--r-- root/root usr/include/rocksdb/utilities/env_mirror.h
|
||||
-rw-r--r-- root/root usr/include/rocksdb/utilities/info_log_finder.h
|
||||
-rw-r--r-- root/root usr/include/rocksdb/utilities/ldb_cmd.h
|
||||
-rw-r--r-- root/root usr/include/rocksdb/utilities/ldb_cmd_execute_result.h
|
||||
-rw-r--r-- root/root usr/include/rocksdb/utilities/leveldb_options.h
|
||||
drwxr-xr-x root/root usr/include/rocksdb/utilities/lua/
|
||||
-rw-r--r-- root/root usr/include/rocksdb/utilities/lua/rocks_lua_custom_library.h
|
||||
-rw-r--r-- root/root usr/include/rocksdb/utilities/lua/rocks_lua_util.h
|
||||
-rw-r--r-- root/root usr/include/rocksdb/utilities/memory_util.h
|
||||
-rw-r--r-- root/root usr/include/rocksdb/utilities/object_registry.h
|
||||
-rw-r--r-- root/root usr/include/rocksdb/utilities/optimistic_transaction_db.h
|
||||
-rw-r--r-- root/root usr/include/rocksdb/utilities/option_change_migration.h
|
||||
-rw-r--r-- root/root usr/include/rocksdb/utilities/options_type.h
|
||||
-rw-r--r-- root/root usr/include/rocksdb/utilities/options_util.h
|
||||
-rw-r--r-- root/root usr/include/rocksdb/utilities/sim_cache.h
|
||||
-rw-r--r-- root/root usr/include/rocksdb/utilities/stackable_db.h
|
||||
-rw-r--r-- root/root usr/include/rocksdb/utilities/table_properties_collectors.h
|
||||
-rw-r--r-- root/root usr/include/rocksdb/utilities/transaction.h
|
||||
-rw-r--r-- root/root usr/include/rocksdb/utilities/transaction_db.h
|
||||
-rw-r--r-- root/root usr/include/rocksdb/utilities/transaction_db_mutex.h
|
||||
-rw-r--r-- root/root usr/include/rocksdb/utilities/utility_db.h
|
||||
-rw-r--r-- root/root usr/include/rocksdb/utilities/write_batch_with_index.h
|
||||
-rw-r--r-- root/root usr/include/rocksdb/version.h
|
||||
-rw-r--r-- root/root usr/include/rocksdb/wal_filter.h
|
||||
-rw-r--r-- root/root usr/include/rocksdb/write_batch.h
|
||||
-rw-r--r-- root/root usr/include/rocksdb/write_batch_base.h
|
||||
-rw-r--r-- root/root usr/include/rocksdb/write_buffer_manager.h
|
||||
drwxr-xr-x root/root usr/lib/
|
||||
drwxr-xr-x root/root usr/lib/cmake/
|
||||
drwxr-xr-x root/root usr/lib/cmake/rocksdb/
|
||||
-rw-r--r-- root/root usr/lib/cmake/rocksdb/RocksDBConfig.cmake
|
||||
-rw-r--r-- root/root usr/lib/cmake/rocksdb/RocksDBConfigVersion.cmake
|
||||
-rw-r--r-- root/root usr/lib/cmake/rocksdb/RocksDBTargets-release.cmake
|
||||
-rw-r--r-- root/root usr/lib/cmake/rocksdb/RocksDBTargets.cmake
|
||||
drwxr-xr-x root/root usr/lib/cmake/rocksdb/modules/
|
||||
-rw-r--r-- root/root usr/lib/cmake/rocksdb/modules/CxxFlags.cmake
|
||||
-rw-r--r-- root/root usr/lib/cmake/rocksdb/modules/FindJeMalloc.cmake
|
||||
-rw-r--r-- root/root usr/lib/cmake/rocksdb/modules/FindNUMA.cmake
|
||||
-rw-r--r-- root/root usr/lib/cmake/rocksdb/modules/FindSnappy.cmake
|
||||
-rw-r--r-- root/root usr/lib/cmake/rocksdb/modules/FindTBB.cmake
|
||||
-rw-r--r-- root/root usr/lib/cmake/rocksdb/modules/Findgflags.cmake
|
||||
-rw-r--r-- root/root usr/lib/cmake/rocksdb/modules/Findlz4.cmake
|
||||
-rw-r--r-- root/root usr/lib/cmake/rocksdb/modules/Findzstd.cmake
|
||||
-rw-r--r-- root/root usr/lib/cmake/rocksdb/modules/ReadVersion.cmake
|
||||
-rw-r--r-- root/root usr/lib/librocksdb.a
|
||||
lrwxrwxrwx root/root usr/lib/librocksdb.so -> librocksdb.so.6
|
||||
lrwxrwxrwx root/root usr/lib/librocksdb.so.6 -> librocksdb.so.6.22.1
|
||||
-rwxr-xr-x root/root usr/lib/librocksdb.so.6.22.1
|
5
rocksdb/.signature
Normal file
5
rocksdb/.signature
Normal file
@ -0,0 +1,5 @@
|
||||
untrusted comment: verify with /etc/ports/contrib.pub
|
||||
RWSagIOpLGJF38UwNEbIJY9cvGZ3w9Kcwn4krQFlYWfjlYKFUeRg191lYsO8RCKX2zT7ye9s2NRLQH1C8e5Mi5E9FoUR1LJq6wg=
|
||||
SHA256 (Pkgfile) = 2ec3ec3a6f9c54968637421e30f49088d30d90e95e1863316c0ddf38bc483069
|
||||
SHA256 (.footprint) = cb2e1470f820730d2be63ad664169eb82996679d4dbf111550c7f43b44628701
|
||||
SHA256 (rocksdb-6.22.1.tar.gz) = 2df8f34a44eda182e22cf84dee7a14f17f55d305ff79c06fb3cd1e5f8831e00d
|
32
rocksdb/Pkgfile
Normal file
32
rocksdb/Pkgfile
Normal file
@ -0,0 +1,32 @@
|
||||
# Description: Embedded key-value store for fast storage
|
||||
# URL: https://rocksdb.org/
|
||||
# Maintainer: Danny Rawlins, crux at romster dot me
|
||||
# Depends on: bzip2 jemalloc lz4 snappy zlib zstd cmake ninja liburing gflags
|
||||
|
||||
name=rocksdb
|
||||
version=6.22.1
|
||||
release=1
|
||||
source=(https://github.com/facebook/rocksdb/archive/v$version/$name-$version.tar.gz)
|
||||
|
||||
build() {
|
||||
cmake -S $name-$version -B build -G Ninja \
|
||||
-D CMAKE_INSTALL_PREFIX=/usr \
|
||||
-D CMAKE_INSTALL_LIBDIR=lib \
|
||||
-D CMAKE_BUILD_TYPE=Release \
|
||||
-D CMAKE_CXX_FLAGS_RELEASE="$CXXFLAGS" \
|
||||
-D CMAKE_C_FLAGS_RELEASE="$CFLAGS" \
|
||||
-D WITH_BZ2=ON \
|
||||
-D WITH_LZ4=ON \
|
||||
-D WITH_SNAPPY=ON \
|
||||
-D WITH_ZLIB=ON \
|
||||
-D WITH_ZSTD=ON \
|
||||
-D USE_RTTI=ON \
|
||||
-D WITH_JEMALLOC=ON \
|
||||
-D FAIL_ON_WARNINGS=OFF \
|
||||
-D PORTABLE=ON \
|
||||
-D WITH_BENCHMARK_TOOLS=OFF \
|
||||
-Wno-dev
|
||||
|
||||
cmake --build build
|
||||
DESTDIR=$PKG cmake --install build
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user