summaryrefslogtreecommitdiff
path: root/rocksdb
diff options
context:
space:
mode:
authorDanny Rawlins <contact@romster.me>2021-10-31 12:12:07 +1100
committerDanny Rawlins <contact@romster.me>2021-10-31 13:08:32 +1100
commitd528878d18b8f86c18016f401a9f2a72087a9567 (patch)
tree7f7ca41e46d8baf22046db6e574cc7fe8d66dbd9 /rocksdb
parent2050e046f12d598be040e032ddf18fd0fbada764 (diff)
downloadcontrib-d528878d18b8f86c18016f401a9f2a72087a9567.tar.gz
contrib-d528878d18b8f86c18016f401a9f2a72087a9567.tar.xz
rocksdb: initial import
Diffstat (limited to 'rocksdb')
-rw-r--r--rocksdb/.footprint121
-rw-r--r--rocksdb/.signature5
-rw-r--r--rocksdb/Pkgfile32
3 files changed, 158 insertions, 0 deletions
diff --git a/rocksdb/.footprint b/rocksdb/.footprint
new file mode 100644
index 000000000..b3b0b757f
--- /dev/null
+++ b/rocksdb/.footprint
@@ -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
diff --git a/rocksdb/.signature b/rocksdb/.signature
new file mode 100644
index 000000000..311500182
--- /dev/null
+++ b/rocksdb/.signature
@@ -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
diff --git a/rocksdb/Pkgfile b/rocksdb/Pkgfile
new file mode 100644
index 000000000..b0cda5f29
--- /dev/null
+++ b/rocksdb/Pkgfile
@@ -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
+}

Generated by cgit