98496d7188
20030430 of the GSSAPI patches from http://www.sxw.org.uk/computing/patches/openssh.html . From the site: The patches on this page are concerned with adding support for authenticating users via their Kerberos credentials, and allowing authenticated users to forward their credentials to a remote machine over ssh. These patches are against various versions of the OpenSSH portable code. SSH has both a legacy protocol version 1, and a newer, protocol version 2 (which is being standardised in the IETF). Techniques exist for performing Kerberos authentication over both protocols, and GSSAPI authentication over protocol version 2. In this package standard ssh support for kerberos versions 4 and 5 is kept for version 1 of the ssh protocol (openssh does not support kerberos 4 in ssh protocol version 2). These patches, which provide a much more thorough implementation of kerberos 5 support than that shipped with openssh, are pkg'ed here with an eye toward evaluation of their usefullness for inclusion in the base os.
55 lines
1.5 KiB
Makefile
55 lines
1.5 KiB
Makefile
# $NetBSD: Makefile.intree,v 1.1.1.1 2003/07/24 21:01:23 jwise Exp $
|
|
|
|
.include "../../mk/bsd.prefs.mk"
|
|
|
|
_UPDATE_INTREE_OPENSSH?= NO
|
|
.if ${OPSYS} == "NetBSD"
|
|
. for PATTERN in 1.5 1.5.*
|
|
. if ${OS_VERSION:M${PATTERN}}
|
|
_UPDATE_INTREE_OPENSSH= YES
|
|
PKG_SYSCONFSUBDIR:= # empty
|
|
. endif
|
|
. endfor
|
|
. for PATTERN in 1.6*
|
|
. if ${OS_VERSION:M${PATTERN}}
|
|
_UPDATE_INTREE_OPENSSH= YES
|
|
PKG_SYSCONFSUBDIR:= ssh
|
|
. endif
|
|
. endfor
|
|
.endif
|
|
|
|
# We would like to require an in-tree OpenSSL that is at least 0.9.5a, but the
|
|
# openssl buildlink2.mk forces at least 0.9.6f, which makes
|
|
# UPDATE_INTREE_OPENSSH useless for anything before 1.6*
|
|
#
|
|
# USE_OPENSSL_VERSION:= ${OPENSSL_VERSION_095A}
|
|
.include "../../security/openssl/buildlink2.mk"
|
|
.if ${_NEED_OPENSSL} == "YES"
|
|
_UPDATE_INTREE_OPENSSH= NO
|
|
PKG_FAIL_REASON= "OpenSSL>=0.9.6f in the base distribution is required."
|
|
.endif
|
|
|
|
.if ${_UPDATE_INTREE_OPENSSH} == "YES"
|
|
NO_MTREE= yes
|
|
NO_PKG_REGISTER= yes
|
|
NO_PACKAGE= No package registration is done
|
|
MANCOMPRESSED_IF_MANZ= yes
|
|
LOCALBASE:= /usr
|
|
PKG_SYSCONFBASE:= /etc
|
|
MANDIR:= share/man
|
|
RCD_SCRIPTS_EGDIR:= share/examples/openssh
|
|
.else
|
|
PKG_FAIL_REASON?= "Unable to update in-tree OpenSSH for ${OPSYS}-${OS_VERSION}."
|
|
.endif
|
|
|
|
real-tarball:
|
|
${GREP} -v "^@" ${PLIST} | ${SED} -e "s,^,${PREFIX}/," | ${SORT} \
|
|
> ${WRKDIR}/MANIFEST
|
|
${GTAR} zcvpf ${PKGNAME}-intree-${OPSYS}-${OS_VERSION}.tgz \
|
|
`${CAT} ${WRKDIR}/MANIFEST`
|
|
|
|
tarball:
|
|
@${ECHO_MSG} "${_PKGSRC_IN}> Tarballing ${PKGNAME}"
|
|
${_PKG_SILENT}${_PKG_DEBUG} \
|
|
realtarget="real-tarball"; action="tarball"; \
|
|
${_SU_TARGET}
|