Subject: xscreensaver kerberos detection borked. Please correct before freeze.
To: None <tech-pkg@netbsd.org>
From: Michal Pasternak <michal@pasternak.w.lub.pl>
List: tech-pkg
Date: 03/17/2004 18:26:51
Please *disable* kerberos support on FreeBSD *unconditionally*. xscreensaver
can do only Kerberos IV, while FreeBSD has Kerberos V.

Pkgsrc checked out about 30 minutes ago:

gcc -pedantic -Wall -Wstrict-prototypes -Wnested-externs -c -I. -I.
-I./../utils -I..  -I/usr/pkg/include/libxml2 -I/usr/pkg/include
-DHAVE_CONFIG_H -O2 -fno-strict-aliasing -I/usr/pkg/include
-DGLX_GLXEXT_LEGACY -I/usr/include -I/usr/pkg/include/freetype2
-I/usr/pkg/include -I/usr/pkg/include -DPKGREVISION=2
-I/usr/pkg/X11R6/include passwd-kerberos.c
passwd-kerberos.c:48: des.h: No such file or directory
*** Error code 1

Stop.
bmake: stopped in
/usr/obj/pkgsrc/x11/xscreensaver/work.jail-2/xscreensaver-4.14/driver
*** Error code 5



Inside xscreensaver/Makefile.common:


.if (${OPSYS} == "NetBSD")
.  if defined(KERBEROS)
CFLAGS+=                -I/usr/include/kerberosIV
.  else
CONFIGURE_ARGS+=        --without-kerberos
.  endif
.endif

Nothing about non-NetBSD systems.

xscreensaver Kerberos detection procedure? here you are:


configure:11569: checking for Kerberos 5
configure:11597: gcc -pedantic -Wall -Wstrict-prototypes -Wnested-externs -c
-O2
 -fno-strict-aliasing -I/usr/pkg/include -DGLX_GLXEXT_LEGACY -I/usr/include
-I/u
sr/pkg/include/freetype2 -I/usr/pkg/include -DGLX_GLXEXT_LEGACY
-I/usr/include -
I/usr/pkg/include/freetype2 -I${prefix}/include -DPKGREVISION=2
-I/usr/pkg/X11R6
/include conftest.c >&5
configure:11654: kerberosIV/krb.h: No such file or directory

Totally borked.

Please disable kerberos in screensaver for FreeBSD.

-- 
Michal Pasternak :: http://pasternak.w.lub.pl :: http://winsrc.sf.net
Trying to be happy is like trying to build a machine for which the only
specification is that it should run noiselessly.