summaryrefslogtreecommitdiff
path: root/security/openssh
diff options
context:
space:
mode:
Diffstat (limited to 'security/openssh')
-rw-r--r--security/openssh/Makefile3
-rw-r--r--security/openssh/options.mk15
2 files changed, 12 insertions, 6 deletions
diff --git a/security/openssh/Makefile b/security/openssh/Makefile
index fcb3322e56e..97ace9773d6 100644
--- a/security/openssh/Makefile
+++ b/security/openssh/Makefile
@@ -1,7 +1,8 @@
-# $NetBSD: Makefile,v 1.257 2019/01/18 20:13:36 tnn Exp $
+# $NetBSD: Makefile,v 1.258 2019/04/25 14:55:04 tron Exp $
DISTNAME= openssh-7.9p1
PKGNAME= ${DISTNAME:S/p1/.1/}
+PKGREVISION= 1
CATEGORIES= security
MASTER_SITES= ${MASTER_SITE_OPENBSD:=OpenSSH/portable/}
diff --git a/security/openssh/options.mk b/security/openssh/options.mk
index 940447d7fcd..6e941d6b5bb 100644
--- a/security/openssh/options.mk
+++ b/security/openssh/options.mk
@@ -1,10 +1,10 @@
-# $NetBSD: options.mk,v 1.35 2017/07/24 16:33:22 he Exp $
-
-.include "../../mk/bsd.prefs.mk"
+# $NetBSD: options.mk,v 1.36 2019/04/25 14:55:04 tron Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.openssh
-PKG_SUPPORTED_OPTIONS= kerberos openssl pam
-PKG_SUGGESTED_OPTIONS= openssl
+PKG_SUPPORTED_OPTIONS= editline kerberos openssl pam
+PKG_SUGGESTED_OPTIONS= editline openssl
+
+.include "../../mk/bsd.prefs.mk"
.if ${OPSYS} == "NetBSD"
PKG_SUGGESTED_OPTIONS+= pam
@@ -44,3 +44,8 @@ MESSAGE_SUBST+= EGDIR=${EGDIR}
PLIST.pam= yes
. endif
.endif
+
+.if !empty(PKG_OPTIONS:Meditline)
+.include "../../devel/editline/buildlink3.mk"
+CONFIGURE_ARGS+= --with-libedit=${BUILDLINK_PREFIX.editline}
+.endif