SHA256
1
0
forked from pool/redis
redis/reproducible.patch
Martin Pluskal d7bb74b9c8 Accepting request 752707 from home:13ilya
- Update to 5.0.7
  * https://raw.githubusercontent.com/antirez/redis/5.0.7/00-RELEASENOTES
  * Test: fix implementation-dependent test after code change.
  * RED-31295 - redis: avoid race between dlopen and thread creation.
  * Cluster: fix memory leak of cached master.
  * Fix usage of server.stream_node_max_*.
  * Update mkreleasehdr.sh.
  * Remove additional space from comment.
  * Fix stream test after addition of 0-0 ID test.
  * AOF: fix assignment for aof_fsync_offset.
  * Rename var to fixed_time_expire now that is more general.
  * Expires & blocking: handle ready keys as call().
  * XADD with ID 0-0 stores an empty key.
  * Fix unreported overflow in autogerenared stream IDs.
  * Expires: refactoring judgment about whether a key is expired.
- Refresh reproducible.patch
- Update to 5.0.6
  * https://raw.githubusercontent.com/antirez/redis/5.0.6/00-RELEASENOTES
  * RDB: fix MODULE_AUX loading by continuing to next opcode.
  * Missing per-skiplist overheads in MEMORY USAGE.
  * RM_Log: add support for logging without a context or context
    without module.
  * Cluster: abort loading nodes data if vars arguments are unbalanced.
  * More strict checks and better comments in flushSlaveOutputBuffers().
  * Improve comment in flushSlavesOutputBuffers().
  * Replication: clarify why repl_put_online_on_ack exists at all.
  * Networking: flushSlavesOutputBuffers bugfix.
  * RM_ReplyWithCString was missing registration.
  * Fix to module aux data rdb format for backwards compatibility
    with old check-rdb.
  * Implement module api for aux data in rdb.
  * Redis-cli: always report server errors on read errors.
  * Reduce the calling stack.
  * Make EMBSTR case of #6261 more obvious.
  * Make memory usage consistent of robj with OBJ_ENCODING_INT.
  * HyperLogLog: fix the fix of a corruption bug.
  * Fix HLL corruption bug.
  * Extend REDISMODULE_CTX_FLAGS to indicate if redis is currently
    loading from either RDB or AOF.
  * Uses addReplyBulkCString.
  * Adds RedisModule_ReplyWithCString.

OBS-URL: https://build.opensuse.org/request/show/752707
OBS-URL: https://build.opensuse.org/package/show/server:database/redis?expand=0&rev=127
2019-12-02 09:15:27 +00:00

27 lines
1.0 KiB
Diff

https://github.com/antirez/redis/pull/4390
From 8832af49fa1f4fdd8f9e152f013bb71b343d26dd Mon Sep 17 00:00:00 2001
From: "Bernhard M. Wiedemann" <bwiedemann@suse.de>
Date: Sun, 22 Oct 2017 05:20:38 +0200
Subject: [PATCH 1/2] Use RELEASENOTES date instead of build date
in order to make builds reproducible.
See https://reproducible-builds.org/ for why this is good.
---
src/mkreleasehdr.sh | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
Index: redis-5.0.5/src/mkreleasehdr.sh
===================================================================
--- redis-5.0.5.orig/src/mkreleasehdr.sh
+++ redis-5.0.5/src/mkreleasehdr.sh
@@ -1,7 +1,7 @@
#!/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`
-BUILD_ID=`uname -n`"-"`date +%s`
+BUILD_ID=${HOST:-`uname -n`}"-"`date -r ../00-RELEASENOTES +%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)
fi