aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--security/openssh-portable/Makefile8
-rw-r--r--security/openssh-portable/distinfo3
2 files changed, 11 insertions, 0 deletions
diff --git a/security/openssh-portable/Makefile b/security/openssh-portable/Makefile
index 2c050c942b79..9d9085b7e463 100644
--- a/security/openssh-portable/Makefile
+++ b/security/openssh-portable/Makefile
@@ -63,6 +63,7 @@ OPTIONS= PAM "Enable pam(3) support" on \
OPENSCPINPATCH "Enable OpenSC PIN patch" off \
HPN "Enable HPN-SSH patch" off \
LPK "Enable LDAP Public Key (LPK) patch" off \
+ X509 "Enable x509 certificate patch" off \
OVERWRITE_BASE "OpenSSH overwrite base" off
.include <bsd.port.pre.mk>
@@ -157,6 +158,13 @@ CONFIGURE_ARGS+= --with-libs='-lldap' --with-ldflags='-L${LOCALBASE}/lib' \
--with-cppflags='-I${LOCALBASE}/include -DWITH_LDAP_PUBKEY'
.endif
+# See http://www.roumenpetrov.info/openssh/
+.if defined(WITH_X509)
+PATCH_DIST_STRIP= -p1
+PATCH_SITES+= http://www.roumenpetrov.info/openssh/x509-6.1.1/
+PATCHFILES+= openssh-5.1p1+x509-6.1.1.diff.gz
+.endif
+
.if defined(WITH_OVERWRITE_BASE)
WITH_OPENSSL_BASE= yes
BASE_SUFFIX= -overwrite-base
diff --git a/security/openssh-portable/distinfo b/security/openssh-portable/distinfo
index d8a7feaa237a..d59cd27ac207 100644
--- a/security/openssh-portable/distinfo
+++ b/security/openssh-portable/distinfo
@@ -4,3 +4,6 @@ SIZE (openssh-5.1p1.tar.gz) = 1040041
MD5 (openssh-5.1p1-hpn13v5.diff.gz) = 614f2cc34817bb9460e3b700be21b94b
SHA256 (openssh-5.1p1-hpn13v5.diff.gz) = 81bebd71fb0aa8a265c0576aa3c42c0fdf263712db771f12d35c8aff09523aab
SIZE (openssh-5.1p1-hpn13v5.diff.gz) = 23017
+MD5 (openssh-5.1p1+x509-6.1.1.diff.gz) = 9be4b5f1104e51333199423802e97fe7
+SHA256 (openssh-5.1p1+x509-6.1.1.diff.gz) = 2821d8fe003337569d6551fd26a387f53b4adc9b59f2b0131659936e11966eb3
+SIZE (openssh-5.1p1+x509-6.1.1.diff.gz) = 152642