aboutsummaryrefslogtreecommitdiffstats
path: root/security/openssh-portable/Makefile
diff options
context:
space:
mode:
authorpav <pav@FreeBSD.org>2009-03-25 01:41:06 +0800
committerpav <pav@FreeBSD.org>2009-03-25 01:41:06 +0800
commit4db3cd3b6213bc2236db062e8baf137d4dbcc3b9 (patch)
treeb812fc7534fc9964c4a8a07882e3664e8716a73e /security/openssh-portable/Makefile
parentdff0e2b8e4c16b7b45460e5072468d78629c76dd (diff)
downloadfreebsd-ports-gnome-4db3cd3b6213bc2236db062e8baf137d4dbcc3b9.tar.gz
freebsd-ports-gnome-4db3cd3b6213bc2236db062e8baf137d4dbcc3b9.tar.zst
freebsd-ports-gnome-4db3cd3b6213bc2236db062e8baf137d4dbcc3b9.zip
- Integrate x509 certificate patch (optional, default off) from http://www.roumenpetrov.info/openssh/
PR: ports/121438 Submitted by: Dirk-Willem van Gulik <dirkx@webweaving.org> Approved by: maintainer timeout (mnag; 1 year)
Diffstat (limited to 'security/openssh-portable/Makefile')
-rw-r--r--security/openssh-portable/Makefile8
1 files changed, 8 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