diff options
author | dinoex <dinoex@FreeBSD.org> | 2002-02-17 23:00:25 +0800 |
---|---|---|
committer | dinoex <dinoex@FreeBSD.org> | 2002-02-17 23:00:25 +0800 |
commit | 1e07ff6e43ada82964be5e1b8dcbe6da56f1b692 (patch) | |
tree | 9e7bf9506effd918a23eceb695be9405edc8b60e /security/openssh-portable/Makefile | |
parent | 743e8cad790357fb16ffd97ac29b5c86453386e6 (diff) | |
download | freebsd-ports-gnome-1e07ff6e43ada82964be5e1b8dcbe6da56f1b692.tar.gz freebsd-ports-gnome-1e07ff6e43ada82964be5e1b8dcbe6da56f1b692.tar.zst freebsd-ports-gnome-1e07ff6e43ada82964be5e1b8dcbe6da56f1b692.zip |
Add option to support patches:
OpenSSH supports Kerberos v5 authentication, but this is not
enabled in the portable version. A patch is available to
correct this deficiency for those wishing to use this port
with Kerberos. In addition, a patch is also available from
Simon Wilkinson to implement the GSS-API key-exchange
mechanism for SSHv2, which is currently being standardized.
Use of this mechanism with Kerberos v5 obviates the need for
manual management of host keys, a considerable improvement for
large Kerberos sites.
PR: 34363
Submitted by: wollman@hergotha.lcs.mit.edu
Diffstat (limited to 'security/openssh-portable/Makefile')
-rw-r--r-- | security/openssh-portable/Makefile | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/security/openssh-portable/Makefile b/security/openssh-portable/Makefile index ead7b3a3db01..8d6fe1acf548 100644 --- a/security/openssh-portable/Makefile +++ b/security/openssh-portable/Makefile @@ -48,6 +48,30 @@ CONFIGURE_ARGS+= --mandir=${MANPREFIX}/man \ EXTRA_PATCHES+= ${FILESDIR}/batch.patch .endif +.if defined(KRB5_HOME) +MASTER_SITES+= ${PATCH_SITES} +DISTFILES= ${EXTRACT_ONLY} ${PORTNAME}-${PORTVERSION}-gssapi.patch +EXTRACT_ONLY= ${PORTNAME}-${PORTVERSION}${EXTRACT_SUFX} +PATCH_SITES= http://www.sxw.org.uk/computing/patches/ +PATCHFILES= ${PORTNAME}-${PORTVERSION}-krb5.patch +BUILD_DEPENDS= autoconf:${PORTSDIR}/devel/autoconf +# USE_AUTOCONF_VER= 252 # broken +CONFIGURE_ARGS+= --with-kerberos5=${KRB5_HOME} +AUTOCONF= autoconf +AUTOHEADER= autoheader + +post-patch: + @${ECHO_MSG} Applying extra patch for GSS-API key-exchange... + @${PATCH} ${PATCH_DIST_ARGS:S/-p0/-p1/} \ + < ${DISTDIR}/${PORTNAME}-${PORTVERSION}-gssapi.patch + +pre-configure: + @${ECHO_MSG} !!!! Warning this option uses autoconf/autoheader !!! + (cd ${CONFIGURE_WRKSRC} && ${SETENV} ${AUTOCONF_ENV} ${AUTOCONF} \ + ${AUTOCONF_ARGS}) + (cd ${CONFIGURE_WRKSRC} && ${SETENV} ${AUTOCONF_ENV} ${AUTOHEADER}) +.endif + post-install: @${CAT} ${PKGMESSAGE} |