Skip to content

Commit

Permalink
redis: Add SSL support and option, default to on.
Browse files Browse the repository at this point in the history
Bump PKGREVISION.
  • Loading branch information
jperkin committed Aug 19, 2020
1 parent 86b6919 commit e7e1b1a
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 2 deletions.
6 changes: 4 additions & 2 deletions databases/redis/Makefile
Original file line number Diff line number Diff line change
@@ -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/

Expand All @@ -17,6 +17,8 @@ USE_TOOLS+= gmake pkg-config

.include "../../mk/bsd.prefs.mk"

.include "options.mk"

RCD_SCRIPTS+= redis
RCD_SCRIPT_SRC.redis= ${FILESDIR}/redis.sh

Expand Down
12 changes: 12 additions & 0 deletions databases/redis/options.mk
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit e7e1b1a

Please sign in to comment.