[808] in arla-drinkers

home help back first fref pref prev next nref lref last post

Re: arla rpms for redhat 6.0?

daemon@ATHENA.MIT.EDU (Assar Westerlund)
Fri May 7 23:51:03 1999

From owner-arla-drinkers@stacken.kth.se Sat May 08 03:51:02 1999
Return-Path: <owner-arla-drinkers@stacken.kth.se>
Delivered-To: arla-drinkers-mtg@bloom-picayune.mit.edu
Received: (qmail 6168 invoked from network); 8 May 1999 03:51:01 -0000
Received: from unknown (HELO sundance.stacken.kth.se) (130.237.234.41)
  by bloom-picayune.mit.edu with SMTP; 8 May 1999 03:51:01 -0000
Received: (from majordom@localhost)
	by sundance.stacken.kth.se (8.8.8/8.8.8) id FAA01325
	for arla-drinkers-list; Sat, 8 May 1999 05:44:06 +0200 (MET DST)
Received: from assaris.sics.se (assaris.sics.se [193.10.66.108])
	by sundance.stacken.kth.se (8.8.8/8.8.8) with ESMTP id FAA01321
	for <arla-drinkers@stacken.kth.se>; Sat, 8 May 1999 05:44:01 +0200 (MET DST)
Received: (from assar@localhost) by assaris.sics.se (8.9.1/8.7.3) id FAA03269; Sat, 8 May 1999 05:46:57 +0200 (CEST)
To: "Brandon S. Allbery KF8NH" <allbery@kf8nh.apk.net>
Cc: "Stephen Adler" <adler@ssadler.phy.bnl.gov>, arla-drinkers@stacken.kth.se,
        krb4@sics.se
Subject: Re: arla rpms for redhat 6.0?
References: <199904292238.SAA10284@rushlight.kf8nh.apk.net>
Mime-Version: 1.0 (generated by tm-edit 7.68)
Content-Type: text/plain; charset=US-ASCII
From: Assar Westerlund <assar@sics.se>
Date: 08 May 1999 05:46:56 +0200
In-Reply-To: "Brandon S. Allbery KF8NH"'s message of "Thu, 29 Apr 1999 18:38:44 -0400"
Message-ID: <5l90b0z0i6.fsf@assaris.sics.se>
Lines: 59
X-Mailer: Gnus v5.5/Emacs 19.34
Sender: owner-arla-drinkers@stacken.kth.se
Precedence: bulk

"Brandon S. Allbery KF8NH" <allbery@kf8nh.apk.net> writes:
> Snippets from my KTH build script:

All these should problems should been fixed in the current snapshot (ftp://ftp.pdc.kth.se/pub/krb/src/alpha/krb4-19990508.tar.gz.

> # sddd: -lndbm isn't there, but -ldb contains it.  and isn't checked.

It now tests for db.h (and adds the magic DB_DBM_HSEARCH==1).

> # also need KTH's ndbm.h.Linux (which is now in build dir sans suffix)
> *_linux2[2-9]*)
>     CC="${CC-gcc} -I`pwd`" export CC
>     LIBS="$LIBS -ldb" export LIBS
>     conf="$conf --with-mailspool=/var/spool/mail"
>     cfghack=y
>     ;;
> 
> # ( . . . )
> 
>     ./configure --prefix="$prefix" --disable-cat-manpages $conf
>     if [ $cfghack = y ]; then
>         # glibc2.1 exports getmsg(), but Linux lacks STREAMS
>         ed - config.status <<\EOF
> g/HAVE_GETMSG/d
> g/STREAMSPTY/d
> w
> q
> EOF

There's also a test that catches the non-working getmsg.  streamspty
should not be turned on if there's no getmsg.

> There is one more issue:  seems the check for utmpx.h use of __e_termination
> and __e_exit doesn't work.  I added ifdefs based on glibc version to hack
> around that, but a fixed configure check is the correct answer (because it
> tries to detect that already; it fails with glibc2.1's include files for some
> reason).  This affects appl/bsd/rlogind.c and appl/telnet/telnetd/sys_term.c.

I think there are two problems here.  The utmpx tests were wrong (they
tested in utmp.h instead of utmpx.h) and you need to define
__GNU_SOURCE, both of which should be fixed.

> The resulting krb4 is running quite nicely on Red Hat 6

good

> aside from the fact that it doesn't understand the (optional) new
> MD5 passwords.

That's no surprise.  How are these passwords stored?

> (It looks like it might be compatible with 
> BSD MD5 passwords, so that could well solve two platform issues in a single
> stroke.

Yeah, sharing the same code for that part would be the best way of
doing it, IMHO.

/assar

home help back first fref pref prev next nref lref last post