[prev in list] [next in list] [prev in thread] [next in thread] 

List:       openbsd-ports
Subject:    Netatalk-asun w/Kerberos
From:       amitai.schlair () usa ! net (Amitai Schlair)
Date:       1998-07-27 2:04:19
[Download RAW message or body]

I've already built netatalk-1.4b2+asun2.0a18.2 (UMich's Netatalk code
with various patches) on 2.3/mac68k. Now I'm trying to build it with
support for Kerberos IV authentication, and I'm running into lots of
little problems.

[   ftp://ftp.u.washington.edu//pub/user-supported/asun/ \
    netatalk-1.4b2+asun2.0a18.2.tar.gz                      ]

The main Makefile says to define KRBDIR for Kerberos support in 'afpd'
and 'papd' (the portions of Netatalk that support Kerberos). I did this
(KRBDIR=/usr), but because OpenBSD's KerbIV includes are in
/usr/include/kerberosIV rather than just /usr/include, I also had to
edit the Makefiles for afpd and papd to define KRBINCPATH properly.

Then, compiling afpd, I hit a snag right off the bat in auth.c:

auth.c:128: prot.h: No such file or directory

So I changed the #include to <krb-protos.h>, which I presumed was what
the code was looking for. The afpd compile made it through about a dozen
of the source files this time, then choked on status.c:

cc      -I../../include        -DAPPLCNAME -DCRLF  -c status.c
In file included from status.c:17:
../../include/netatalk/endian.h:78: warning: redefinition of `u_int64_t'
/usr/include/m68k/types.h:70: warning: `u_int64_t' previously declared
here
status.c: In function `status_signature':
status.c:117: `CTL_KERN' undeclared (first use in this function)
status.c:117: (Each undeclared identifier is reported only once
status.c:117: for each function it appears in.)
status.c:118: `KERN_HOSTID' undeclared (first use in this function)
*** Error code 1

Stop.
*** Error code 1

Stop.

At this point, I'm lost. I'd love to get Netatalk-asun working with
Kerberos so it can be an OpenBSD port...

There's a README.OPENBSD in the distribution, but needless to say, it
doesn't mention any of this!

- Amitai

-- 
Some see private enterprise as a predatory target to be shot, others
as a cow to be milked, but few are those who see it as a sturdy horse
pulling the wagon.
     -- Winston Churchill

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic