summaryrefslogtreecommitdiff
path: root/security/dropbear/Makefile
diff options
context:
space:
mode:
authordrochner <drochner@pkgsrc.org>2005-08-09 17:31:06 +0000
committerdrochner <drochner@pkgsrc.org>2005-08-09 17:31:06 +0000
commit1fc5019ca6358d9338ef8c367c5c1eaa32ae8326 (patch)
tree05c49c8a0386fe9c5a11b8395d6c022b44daa4d9 /security/dropbear/Makefile
parent97590ab025e11315080ce3d8c595e7b7f5171eeb (diff)
downloadpkgsrc-1fc5019ca6358d9338ef8c367c5c1eaa32ae8326.tar.gz
add a "pam" pkg option and make it work with NetBSD's openpam if enabled
Diffstat (limited to 'security/dropbear/Makefile')
-rw-r--r--security/dropbear/Makefile10
1 files changed, 9 insertions, 1 deletions
diff --git a/security/dropbear/Makefile b/security/dropbear/Makefile
index 51d79e414b9..b7148c15378 100644
--- a/security/dropbear/Makefile
+++ b/security/dropbear/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.12 2005/07/19 18:07:59 drochner Exp $
+# $NetBSD: Makefile,v 1.13 2005/08/09 17:31:06 drochner Exp $
DISTNAME= dropbear-0.46
CATEGORIES= security
@@ -12,6 +12,14 @@ COMMENT= SSH2 server, aimed at embedded market
GNU_CONFIGURE= yes
USE_TOOLS+= gmake
+PKG_OPTIONS_VAR= PKG_OPTIONS.dropbear
+PKG_SUPPORTED_OPTIONS= pam
+.include "../../mk/bsd.options.mk"
+
+.if !empty(PKG_OPTIONS:Mpam)
+CONFIGURE_ARGS+= --enable-pam
+.endif
+
MAKEFLAGS+= ROOT_USER=${ROOT_USER} ROOT_GROUP=${ROOT_GROUP}
post-install: