summaryrefslogtreecommitdiff
path: root/databases/redis-scripting/files/patch-src::mkreleasehdr.sh
diff options
context:
space:
mode:
authorSergey A. Osokin <osa@FreeBSD.org>2011-07-22 10:32:41 +0000
committerSergey A. Osokin <osa@FreeBSD.org>2011-07-22 10:32:41 +0000
commit80f1925c9128d796fabd558ce39b4567275e23bc (patch)
tree7087ee08ccb35b8b30002a7d4705222aeab113d0 /databases/redis-scripting/files/patch-src::mkreleasehdr.sh
parentAdd one more third-party module nginx-gridfs 0.8 - module to serve content (diff)
Add redis-scripting, version 2.2.111, an experimental version of
Redis 2.2.11 with support for Lua scripting, backported from the scripting branch. Instructions about how to use it are contained in following blog post: http://antirez.com/post/scripting-branch-released.html Connect to build. Add CONFLICTS and bump PORTREVISION for databases/redis.
Notes
Notes: svn path=/head/; revision=278151
Diffstat (limited to '')
-rw-r--r--databases/redis-scripting/files/patch-src::mkreleasehdr.sh11
1 files changed, 11 insertions, 0 deletions
diff --git a/databases/redis-scripting/files/patch-src::mkreleasehdr.sh b/databases/redis-scripting/files/patch-src::mkreleasehdr.sh
new file mode 100644
index 000000000000..2d818f69198b
--- /dev/null
+++ b/databases/redis-scripting/files/patch-src::mkreleasehdr.sh
@@ -0,0 +1,11 @@
+--- src/mkreleasehdr.sh.orig 2010-12-24 09:37:11.000000000 +0300
++++ src/mkreleasehdr.sh 2010-12-24 09:37:16.000000000 +0300
+@@ -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 2> /dev/null | wc -l`
++GIT_SHA1="00000000"
++GIT_DIRTY="0"
+ test -f release.h || touch release.h
+ (cat release.h | grep SHA1 | grep $GIT_SHA1) && \
+ (cat release.h | grep DIRTY | grep $GIT_DIRTY) && exit 0 # Already uptodate