1 # $NetBSD: options.mk,v 1.24 2013/01/11 12:41:16 jperkin Exp $
3 .
include "../../mk/bsd.prefs.mk"
5 PKG_OPTIONS_VAR
= PKG_OPTIONS.openssh
6 PKG_SUPPORTED_OPTIONS
= kerberos hpn-patch pam
8 .
include "../../mk/bsd.options.mk"
10 .if
!empty
(PKG_OPTIONS
:Mkerberos
)
11 .
include "../../mk/krb5.buildlink3.mk"
12 CONFIGURE_ARGS
+= --with-kerberos5
=${KRB5BASE
:Q
}
13 . if
${KRB5_TYPE} == "mit-krb5"
14 CONFIGURE_ENV
+= ac_cv_search_k_hasafs
=no
18 .if
!empty
(PKG_OPTIONS
:Mhpn-patch
)
19 PATCHFILES
= openssh-6.2p1-hpn13v14.diff
20 PATCH_SITES
= ftp
://ftp.NetBSD.org
/pub
/NetBSD
/misc
/imil
/openssh
/
24 .if
!empty
(PKG_OPTIONS
:Mpam
)
25 .
include "../../mk/pam.buildlink3.mk"
26 CONFIGURE_ARGS
+= --with-pam
27 PLIST_SRC
+= ${.CURDIR
}/PLIST.pam
28 MESSAGE_SRC
+= ${.CURDIR
}/MESSAGE.pam
29 MESSAGE_SUBST
+= EGDIR
=${EGDIR}