tech-crypto archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Heimdal import into crypto-intl
So I have been hacking on integrating Heimdal into crypto-intl. Some
questions creeped up while doing this.
The idea is to import the Heimdal distribution as-is included in dist
and then a tree with Makefiles that refer to the source with .PATH and
that build the programs. Heimdal normally builds with autoconf so a
generated config.h and version.h will be installed in the shadow tree.
1. Bootstrap programs. Heimdal has two programs that are build and
that are used during the build process.
a. How do I make sure the right thing happens when cross-building?
b. How can I specify the order that stuff needs to be build in
while compiling? Right now, I have moved the stuff that's
important into subdirectories of the relevant libraries for them to
get build in the correct order.
c. Since these need to be run when building the tree, some amount
of -rpath was needed to be able to run them before the required
libraries are installed. But that's bad since when installing them
you don't want those paths in the binaries. What's the recommended
way of handling this?
2. There's some infrastructure stuff that's not necesarilly tied to
Heimdal and that should probably go into the normal source. But
for now I'll import it as part of Heimdal and then try to move
things to a more proper location.
3. Integration into the normal programs and daemons I'm not sure how
it should be done and will have to happen later.
4. What libraries should be made shared and/or installed?
5. I don't quite understand how this is supposed to fit into
crypto-intl/Makefile* and src/Makefile*. Anyone care to enlighten me?
The shadow tree looks like this the following and is available as a
tar-file from http://www.sics.se/~assar/netbsd_patches/heimdal-netbsd.tar.gz
Comments?
/assar
lib
lib/roken
lib/com_err
lib/com_err/compile_et
lib/sl
lib/ss
lib/asn1
lib/asn1/asn1_compile
lib/krb5
lib/des
lib/kafs
lib/hdb
lib/kadm5
lib/kadm5srv
lib/kadm5clnt
lib/gssapi
lib/telnet
include
doc
libexec
libexec/kdc
libexec/hprop
libexec/hpropd
libexec/kadmind
libexec/tcp_server
libexec/kpasswdd
libexec/ftpd
libexec/popper
libexec/rshd
libexec/telnetd
libexec/kxd
libexec/kfd
libexec/uu_server
libexec/nt_gss_server
libexec/gssapi_server
usr.bin
usr.bin/ftp
usr.bin/mk_cmds
usr.bin/login
usr.bin/tcp_client
usr.bin/kinit
usr.bin/klist
usr.bin/kdestroy
usr.bin/string2key
usr.bin/kpasswd
usr.bin/push
usr.bin/rsh
usr.bin/su
usr.bin/xnlock
usr.bin/telnet
usr.bin/kx
usr.bin/kf
usr.bin/gssapi_client
usr.bin/uu_client
usr.bin/nt_gss_client
usr.sbin
usr.sbin/kstash
usr.sbin/ktutil
usr.sbin/kadmin
Home |
Main Index |
Thread Index |
Old Index