aboutsummaryrefslogtreecommitdiffstats
path: root/security/openssh-portable/Makefile
diff options
context:
space:
mode:
authorsimon <simon@FreeBSD.org>2006-08-09 20:49:15 +0800
committersimon <simon@FreeBSD.org>2006-08-09 20:49:15 +0800
commit7de868a7ec63cab2e94e0990e3260d9c8a685730 (patch)
tree55d3e9e81d9a5851c3d1a91213d400cd6a0539ea /security/openssh-portable/Makefile
parent6c786303bfc446a0fd9873e9e5c95e92f17dcf83 (diff)
downloadfreebsd-ports-gnome-7de868a7ec63cab2e94e0990e3260d9c8a685730.tar.gz
freebsd-ports-gnome-7de868a7ec63cab2e94e0990e3260d9c8a685730.tar.zst
freebsd-ports-gnome-7de868a7ec63cab2e94e0990e3260d9c8a685730.zip
Add optional OpenSC PIN patch which make it possible for OpenSSH to ask
for a PIN when using an OpenSC smartcard. Approved by: mnag (maintainer) Patch obtained from: http://bugzilla.mindrot.org/show_bug.cgi?id=608
Diffstat (limited to 'security/openssh-portable/Makefile')
-rw-r--r--security/openssh-portable/Makefile6
1 files changed, 6 insertions, 0 deletions
diff --git a/security/openssh-portable/Makefile b/security/openssh-portable/Makefile
index 488c4e74da9c..0ff63a41463c 100644
--- a/security/openssh-portable/Makefile
+++ b/security/openssh-portable/Makefile
@@ -61,6 +61,7 @@ OPTIONS= PAM "Enable pam(3) support" on \
GSSAPI "Enable GSSAPI support" off \
OPENSSH_CHROOT "Enable CHROOT support" off \
OPENSC "Enable OpenSC smartcard support" off \
+ OPENSCPINPATCH "Enable OpenSC PIN patch" off \
HPN "Enable HPN-11 SSH/SCP patch" off \
OVERWRITE_BASE "OpenSSH overwrite base" off
@@ -127,6 +128,11 @@ LIB_DEPENDS+= opensc.2:${PORTSDIR}/security/opensc
CONFIGURE_ARGS+= --with-opensc=${LOCALBASE}
.endif
+# See http://bugzilla.mindrot.org/show_bug.cgi?id=608
+.if defined(WITH_OPENSCPINPATCH)
+EXTRA_PATCHES+= ${FILESDIR}/scardpin.patch
+.endif
+
.if defined(WITH_HPN)
PATCH_DIST_STRIP= -p1
PATCH_SITES+= http://www.psc.edu/networking/projects/hpn-ssh/