summaryrefslogtreecommitdiff
path: root/databases/keydb/files/patch-src-mkreleasehdr.sh
diff options
context:
space:
mode:
authorRyan Steinmetz <zi@FreeBSD.org>2023-10-25 14:16:34 -0400
committerRyan Steinmetz <zi@FreeBSD.org>2023-10-25 14:16:34 -0400
commit11f4c366bf393632b33cf681b1ccb3cc1490d9c4 (patch)
treebd2e5e12214c99982aa85f0b1bfa831807ea139d /databases/keydb/files/patch-src-mkreleasehdr.sh
parentdevel/ispc: Fix typo in cmake variable name (diff)
databases/keydb: New port!
KeyDB is a high performance fork of Redis with a focus on multithreading, memory efficiency, and high throughput. In addition to performance improvements, KeyDB offers features such as Active Replication, FLASH Storage and Subkey Expires. KeyDB has a MVCC architecture that allows you to execute queries such as KEYS and SCAN without blocking the database and degrading performance. KeyDB maintains full compatibility with the Redis protocol, modules, and scripts. This includes the atomicity guarantees for scripts and transactions. Because KeyDB keeps in sync with Redis development KeyDB is a superset of Redis functionality, making KeyDB a drop in replacement for existing Redis deployments. On the same hardware KeyDB can achieve significantly higher throughput than Redis. Active-Replication simplifies hot-spare failover allowing you to easily distribute writes over replicas and use simple TCP based load balancing/failover. KeyDB's higher performance allows you to do more on less hardware which reduces operation costs and complexity. WWW: https://docs.keydb.dev/
Diffstat (limited to 'databases/keydb/files/patch-src-mkreleasehdr.sh')
-rw-r--r--databases/keydb/files/patch-src-mkreleasehdr.sh11
1 files changed, 11 insertions, 0 deletions
diff --git a/databases/keydb/files/patch-src-mkreleasehdr.sh b/databases/keydb/files/patch-src-mkreleasehdr.sh
new file mode 100644
index 000000000000..e48b3174d315
--- /dev/null
+++ b/databases/keydb/files/patch-src-mkreleasehdr.sh
@@ -0,0 +1,11 @@
+--- src/mkreleasehdr.sh.orig 2019-11-22 16:54:22 UTC
++++ src/mkreleasehdr.sh
+@@ -1,6 +1,6 @@
+ #!/bin/sh
+-GIT_SHA1=`(git show-ref --head --hash=8 2> /dev/null || echo 00000000) | head -n1`
+-GIT_DIRTY=`git diff --no-ext-diff 2> /dev/null | wc -l`
++GIT_SHA1="00000000"
++GIT_DIRTY="0"
+ BUILD_ID=`uname -n`"-"`date +%s`
+ if [ -n "$SOURCE_DATE_EPOCH" ]; then
+ BUILD_ID=$(date -u -d "@$SOURCE_DATE_EPOCH" +%s 2>/dev/null || date -u -r "$SOURCE_DATE_EPOCH" +%s 2>/dev/null || date -u +%s)