2013-02-10 06:55:07 +01:00
|
|
|
# $NetBSD: options.mk,v 1.6 2013/02/10 05:55:07 manu Exp $
|
2009-09-21 14:33:31 +02:00
|
|
|
|
2010-09-05 22:33:48 +02:00
|
|
|
PKG_OPTIONS_VAR= PKG_OPTIONS.openvpn
|
|
|
|
PKG_SUPPORTED_OPTIONS= pkcs11 pam
|
2009-09-21 14:33:31 +02:00
|
|
|
PKG_SUGGESTED_OPTIONS=
|
|
|
|
|
|
|
|
.include "../../mk/bsd.options.mk"
|
|
|
|
|
|
|
|
# include support for certificates on a stick (or card)
|
|
|
|
.if !empty(PKG_OPTIONS:Mpkcs11)
|
|
|
|
.include "../../security/pkcs11-helper/buildlink3.mk"
|
2013-02-10 06:55:07 +01:00
|
|
|
CONFIGURE_ARGS+= --enable-pkcs11
|
2009-09-21 14:33:31 +02:00
|
|
|
.endif
|
2009-10-30 20:06:06 +01:00
|
|
|
|
2011-04-28 09:27:24 +02:00
|
|
|
PLIST_VARS+= pam
|
2009-10-30 20:06:06 +01:00
|
|
|
.if !empty(PKG_OPTIONS:Mpam)
|
2011-04-28 09:27:24 +02:00
|
|
|
PLIST.pam= yes
|
|
|
|
USE_TOOLS+= gmake
|
|
|
|
|
2013-02-10 06:55:07 +01:00
|
|
|
BUILD_DIRS+= src/plugins/auth-pam
|
2011-04-28 09:27:24 +02:00
|
|
|
BUILD_TARGET= # empty
|
|
|
|
INSTALL_DIRS= .
|
|
|
|
INSTALL_TARGET= install
|
2009-10-30 20:06:06 +01:00
|
|
|
.include "../../mk/pam.buildlink3.mk"
|
|
|
|
.else
|
2013-02-10 06:55:07 +01:00
|
|
|
CONFIGURE_ARGS+= --disable-plugin-auth-pam
|
2009-10-30 20:06:06 +01:00
|
|
|
.endif
|