mirror of
https://git.freebsd.org/ports.git
synced 2025-06-07 13:50:38 -04:00
* Update license information. Since 7.4 upstream distributes source files under dual license of Redis Source Available License v2 (RSALv2) and Server Side Public License v1 (SSPLv1). * Add entry to UPDATING. ChangeLog: https://github.com/redis/redis/releases/tag/7.4.0
11 lines
501 B
Bash
11 lines
501 B
Bash
--- src/mkreleasehdr.sh.orig 2024-06-06 11:03:20 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 -- ../src ../deps 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)
|