versions of libcrypto in sshd. This can happen if OpenSSH is linked with pkgsrc's OpenSSL and if using nss_ldap, which pulls base-system OpenSSL through kerberos libraries. One needs to disable the krb5 of nss_ldap in order to fix that.
30 lines
807 B
Makefile
30 lines
807 B
Makefile
# $NetBSD: options.mk,v 1.22 2012/01/09 05:25:36 manu Exp $
|
|
|
|
.include "../../mk/bsd.prefs.mk"
|
|
|
|
PKG_OPTIONS_VAR= PKG_OPTIONS.openssh
|
|
PKG_SUPPORTED_OPTIONS= kerberos hpn-patch pam
|
|
|
|
.include "../../mk/bsd.options.mk"
|
|
|
|
.if !empty(PKG_OPTIONS:Mkerberos)
|
|
. include "../../mk/krb5.buildlink3.mk"
|
|
CONFIGURE_ARGS+= --with-kerberos5=${KRB5BASE:Q}
|
|
. if ${KRB5_TYPE} == "mit-krb5"
|
|
CONFIGURE_ENV+= ac_cv_search_k_hasafs=no
|
|
. endif
|
|
.endif
|
|
|
|
.if !empty(PKG_OPTIONS:Mhpn-patch)
|
|
PATCHFILES= openssh-5.8p1-hpn13v11.diff.gz
|
|
PATCH_SITES= http://www.psc.edu/networking/projects/hpn-ssh/
|
|
PATCH_DIST_STRIP= -p1
|
|
.endif
|
|
|
|
.if !empty(PKG_OPTIONS:Mpam)
|
|
.include "../../mk/pam.buildlink3.mk"
|
|
CONFIGURE_ARGS+= --with-pam
|
|
PLIST_SRC+= ${.CURDIR}/PLIST.pam
|
|
MESSAGE_SRC+= ${.CURDIR}/MESSAGE.pam
|
|
MESSAGE_SUBST+= EGDIR=${EGDIR}
|
|
.endif
|