Bug 34363 - openssh-portable does not support modern Kerberos
Summary: openssh-portable does not support modern Kerberos
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Dirk Meyer
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-01-28 01:20 UTC by Garrett Wollman
Modified: 2002-02-17 15:14 UTC (History)
0 users

See Also:


Attachments
file.diff (1.78 KB, patch)
2002-01-28 01:20 UTC, Garrett Wollman
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Garrett Wollman 2002-01-28 01:20:01 UTC
	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.

How-To-Repeat: 	N/A
Comment 1 Will Andrews 2002-01-28 01:23:11 UTC
On Sun, Jan 27, 2002 at 08:19:09PM -0500, Garrett Wollman wrote:
> -GNU_CONFIGURE=	yes
> +GNU_CONFIGURE=	YES
> +

style bug.

> +BUILD_DEPENDS+=		autoconf:${PORTSDIR}/devel/autoconf

style bug.  use USE_AUTOCONF_VER with an appropriate value.

> +	@cd ${WRKSRC}; autoconf && autoheader

style bug.  use ${AUTOCONF} and ${AUTOHEADER}.

-- 
wca
Comment 2 Patrick Li freebsd_committer freebsd_triage 2002-01-28 01:42:13 UTC
Responsible Changed
From-To: freebsd-ports->dinoex

Over to maintainer
Comment 3 dirk.meyer 2002-01-28 08:19:29 UTC
===>  Configuring for openssh-portable-3.0.2p1
autoconf: configure.in: No such file or directory

pleases revise your patches, they apppy cleanly,
but there in no configure.in, only configure.ac

I tested:

.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
USE_AUTOCONF_VER=      213
CONFIGURE_ARGS+=       --with-kerberos5=${KRB5_HOME}

post-patch:
       @${ECHO} Applying extra patch for GSS-API key-exchange...
       @${PATCH} ${PATCH_DIST_ARGS:S/-p0/-p1/} \
               < ${DISTDIR}/${PORTNAME}-${PORTVERSION}-gssapi.patch
 
pre-configure:
       @cd ${WRKSRC} && ${AUTOCONF} && ${AUTOHEADER}
.endif

kind regards Dirk

- Dirk Meyer, Im Grund 4, 34317 Habichtswald, Germany
Comment 4 Garrett A. Wollman 2002-01-28 19:16:32 UTC
<<On Sun, 27 Jan 2002 20:23:11 -0500, Will Andrews <will@csociety.org> said:

>> +BUILD_DEPENDS+=		autoconf:${PORTSDIR}/devel/autoconf

> style bug.  use USE_AUTOCONF_VER with an appropriate value.

You'll have to implement that first.

Quoting bsd.port.mk:

# USE_AUTOCONF_VER      - Says that the port uses autoconf. Possible
#                               values: 213;

This configure script requires 2.52.

>> +	@cd ${WRKSRC}; autoconf && autoheader

> style bug.  use ${AUTOCONF} and ${AUTOHEADER}.

Ditto.

-GAWollman
Comment 5 Dirk Meyer freebsd_committer freebsd_triage 2002-02-04 20:09:26 UTC
State Changed
From-To: open->feedback

# automake 
configure.ac: 6: `automake requires `AM_CONFIG_HEADER', not `AC_CONFIG_HEADER' 
automake: configure.ac: `AM_INIT_AUTOMAKE' must be used 
automake: configure.ac: required file `./missing' not found 
automake: no `Makefile.am' found or specified 

# autoconf213  
autoconf: configure.in: No such file or directory 

# autoheader && autoconf 
[...] 
cc -pipe -W -Wall -Waggregate-return -Wbad-function-cast -Wcast-align -Wcast-qua 
l -Wchar-subscripts -Wcomment -Wconversion -Wformat -Wid-clash-30 -Wimplicit -Wi 
mplicit-function-delcaration -Wimplicit-int -Wlong-long -Wmain -Wmissing-declara 
tions -Wmissing-prototypes -Wnested-externs -Wno-import -Wno-parentheses -Wparen 
theses -Wpointer-arith -Wredundant-decls -Wreturn-type -Wshadow -Wsign-compare - 
Wstrict-prototypes -Wswitch -Wtraditional -Wtrigraphs -Wunused -Wwrite-strings 
-Winline -pedantic -Wall -Wpointer-arith -Wno-uninitialized -I. -I.. -I. -I./.. 
-I/usr/local/include  -I/usr/local/include -I/usr/local/include/gssapi -DHAVE_CO 
NFIG_H -c bsd-arc4random.c 

In file included from ../config.h:14, 
from ../includes.h:22, 
from bsd-arc4random.c:25: 
../defines.h:158: #error "8 bit int type not found." 
../defines.h:166: #error "16 bit int type not found." 
../defines.h:175: #error "32 bit int type not found." 
../defines.h:191: #error "8 bit int type not found." 
../defines.h:199: #error "16 bit int type not found." 
../defines.h:208: #error "32 bit int type not found."
Comment 6 Dirk Meyer freebsd_committer freebsd_triage 2002-02-17 15:13:58 UTC
State Changed
From-To: feedback->closed

Committed after fixups with autoconf deasaster.