https://raw.githubusercontent.com/antirez/redis/4.0/00-RELEASENOTES

Works and passes all tests on amd64.

We can also keep the sources untouched as they won't be built anyway.
Plus, symlinks suffice here so avoid copying the rest.

Feedback? OK?

Index: Makefile
===================================================================
RCS file: /cvs/ports/databases/redis/Makefile,v
retrieving revision 1.102
diff -u -p -r1.102 Makefile
--- Makefile    24 Apr 2018 14:35:29 -0000      1.102
+++ Makefile    24 Apr 2018 17:58:44 -0000
@@ -1,7 +1,7 @@
 # $OpenBSD: Makefile,v 1.102 2018/04/24 14:35:29 kn Exp $
 
 COMMENT =              persistent key-value database
-DISTNAME =             redis-4.0.8
+DISTNAME =             redis-4.0.9
 CATEGORIES =           databases
 HOMEPAGE =             https://redis.io/
 
@@ -39,11 +39,9 @@ DBDIR =                      ${VARBASE}/redis
 SUBST_VARS +=          DBDIR
 
 pre-configure:
-       cp ${WRKSRC}/deps/lua/src/fpconv.? ${WRKSRC}/src/
-       cp ${WRKSRC}/deps/lua/src/strbuf.? ${WRKSRC}/src/
-       cp ${WRKSRC}/deps/lua/src/lua_*.c ${WRKSRC}/src/
-       rm -rf ${WRKSRC}/deps/jemalloc
-       rm -rf ${WRKSRC}/deps/lua
+       ln -sf ${WRKSRC}/deps/lua/src/fpconv.? ${WRKSRC}/src/
+       ln -sf ${WRKSRC}/deps/lua/src/strbuf.? ${WRKSRC}/src/
+       ln -sf ${WRKSRC}/deps/lua/src/lua_*.c ${WRKSRC}/src/
        ${SUBST_CMD} ${WRKSRC}/src/Makefile
 
 post-install:
Index: distinfo
===================================================================
RCS file: /cvs/ports/databases/redis/distinfo,v
retrieving revision 1.79
diff -u -p -r1.79 distinfo
--- distinfo    19 Mar 2018 18:15:57 -0000      1.79
+++ distinfo    24 Apr 2018 17:58:44 -0000
@@ -1,2 +1,2 @@
-SHA256 (redis-4.0.8.tar.gz) = /ww4uMFWMZJJ/sYeUBjPW1/mOmW2FpC+x5j0yZjCMq0=
-SIZE (redis-4.0.8.tar.gz) = 1729973
+SHA256 (redis-4.0.9.tar.gz) = 309zvDGOL5/7LRaaki3sV+x8c90HvM+HVpXb7s1exRA=
+SIZE (redis-4.0.9.tar.gz) = 1737022

Reply via email to