Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/databases/redis redis: Add SSL support and option, def...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/62827aa6acb2
branches:  trunk
changeset: 437267:62827aa6acb2
user:      jperkin <jperkin%pkgsrc.org@localhost>
date:      Wed Aug 19 16:32:40 2020 +0000

description:
redis: Add SSL support and option, default to on.

Bump PKGREVISION.

diffstat:

 databases/redis/Makefile   |   6 ++++--
 databases/redis/options.mk |  12 ++++++++++++
 2 files changed, 16 insertions(+), 2 deletions(-)

diffs (38 lines):

diff -r 08a06a7d8c3e -r 62827aa6acb2 databases/redis/Makefile
--- a/databases/redis/Makefile  Wed Aug 19 16:25:56 2020 +0000
+++ b/databases/redis/Makefile  Wed Aug 19 16:32:40 2020 +0000
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.57 2020/08/03 14:07:02 wiz Exp $
+# $NetBSD: Makefile,v 1.58 2020/08/19 16:32:40 jperkin Exp $
 
 DISTNAME=      redis-6.0.6
-PKGREVISION=   1
+PKGREVISION=   2
 CATEGORIES=    databases
 MASTER_SITES=  http://download.redis.io/releases/
 
@@ -17,6 +17,8 @@
 
 .include "../../mk/bsd.prefs.mk"
 
+.include "options.mk"
+
 RCD_SCRIPTS+=          redis
 RCD_SCRIPT_SRC.redis=  ${FILESDIR}/redis.sh
 
diff -r 08a06a7d8c3e -r 62827aa6acb2 databases/redis/options.mk
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/databases/redis/options.mk        Wed Aug 19 16:32:40 2020 +0000
@@ -0,0 +1,12 @@
+# $NetBSD: options.mk,v 1.1 2020/08/19 16:32:40 jperkin Exp $
+
+PKG_OPTIONS_VAR=       PKG_OPTIONS.redis
+PKG_SUPPORTED_OPTIONS= ssl
+PKG_SUGGESTED_OPTIONS= ssl
+
+.include "../../mk/bsd.options.mk"
+
+.if !empty(PKG_OPTIONS:Mssl)
+.  include "../../security/openssl/buildlink3.mk"
+MAKE_ENV+=             BUILD_TLS=yes
+.endif



Home | Main Index | Thread Index | Old Index