Permalink
Browse files

Userland build of Kerberos5 (AKA Heimdal). More to come.

This is not ready for primetime yet! Please hold off on the bug reports.
  • Loading branch information...
1 parent a4a1a83 commit 789632cad6f4b2e49308f42b290ab112e1170651 markm committed Jan 15, 2000
Showing with 2,329 additions and 0 deletions.
  1. +7 −0 kerberos5/Makefile
  2. +151 −0 kerberos5/Makefile.inc
  3. +13 −0 kerberos5/README
  4. +11 −0 kerberos5/include/Makefile
  5. +1,151 −0 kerberos5/include/config.h
  6. +58 −0 kerberos5/include/krb5-private.h
  7. +10 −0 kerberos5/include/krb5-types.h
  8. +201 −0 kerberos5/include/roken.h
  9. +5 −0 kerberos5/include/version.h
  10. +5 −0 kerberos5/lib/Makefile
  11. +6 −0 kerberos5/lib/Makefile.inc
  12. +73 −0 kerberos5/lib/libasn1/Makefile
  13. +58 −0 kerberos5/lib/libhdb/Makefile
  14. +19 −0 kerberos5/lib/libkadm5clnt/Makefile
  15. +20 −0 kerberos5/lib/libkadm5srv/Makefile
  16. +15 −0 kerberos5/lib/libkafs5/Makefile
  17. +42 −0 kerberos5/lib/libkrb5/Makefile
  18. +35 −0 kerberos5/lib/libroken/Makefile
  19. +15 −0 kerberos5/lib/libsl/Makefile
  20. +5 −0 kerberos5/libexec/Makefile
  21. +5 −0 kerberos5/libexec/Makefile.inc
  22. +28 −0 kerberos5/libexec/hprop/Makefile
  23. +28 −0 kerberos5/libexec/hpropd/Makefile
  24. +29 −0 kerberos5/libexec/ipropd-master/Makefile
  25. +29 −0 kerberos5/libexec/ipropd-slave/Makefile
  26. +47 −0 kerberos5/libexec/k5admind/Makefile
  27. +36 −0 kerberos5/libexec/k5passwdd/Makefile
  28. +29 −0 kerberos5/libexec/kdc/Makefile
  29. +5 −0 kerberos5/usr.bin/Makefile
  30. +5 −0 kerberos5/usr.bin/Makefile.inc
  31. +51 −0 kerberos5/usr.bin/k5admin/Makefile
  32. +21 −0 kerberos5/usr.bin/k5auth/Makefile
  33. +24 −0 kerberos5/usr.bin/k5destroy/Makefile
  34. +24 −0 kerberos5/usr.bin/k5init/Makefile
  35. +24 −0 kerberos5/usr.bin/k5list/Makefile
  36. +23 −0 kerberos5/usr.bin/k5passwd/Makefile
  37. +21 −0 kerberos5/usr.bin/kauth/Makefile
View
@@ -0,0 +1,7 @@
+# $FreeBSD$
+
+SUBDIR= lib libexec usr.bin
+
+bootstrap: cleandir obj depend all install kprog
+
+.include <bsd.subdir.mk>
View
@@ -0,0 +1,151 @@
+# $FreeBSD$
+
+.if !defined(DISTRIBUTION)
+
+DISTRIBUTION= krb5
+
+.if !defined(INCLUDEOBJDIR)
+
+INCLUDEDIR= ${.CURDIR}/../../include
+KRB4DIR= ${.CURDIR}/../../../crypto/kerberosIV
+KRB5DIR= ${.CURDIR}/../../../crypto/heimdal
+ROKENDIR= ${.CURDIR}/../../lib/libroken
+
+.if exists(${.OBJDIR}/../../include)
+INCLUDEOBJDIR= ${.OBJDIR}/../../include
+.else
+INCLUDEOBJDIR= ${.CURDIR}/../../include
+.endif
+
+.if exists(${.OBJDIR}/../../lib/libasn1)
+ASN1OBJDIR= ${.OBJDIR}/../../lib/libasn1
+.else
+ASN1OBJDIR= ${.CURDIR}/../../lib/libasn1
+.endif
+
+.if exists(${.OBJDIR}/../../lib/libhdb)
+HDBOBJDIR= ${.OBJDIR}/../../lib/libhdb
+.else
+HDBOBJDIR= ${.CURDIR}/../../lib/libhdb
+.endif
+
+.if exists(${.OBJDIR}/../../lib/libroken)
+ROKENOBJDIR= ${.OBJDIR}/../../lib/libroken
+.else
+ROKENOBJDIR= ${.CURDIR}/../../lib/libroken
+.endif
+
+.if exists(${.OBJDIR}/../../lib/libkrb4)
+KRB4OBJDIR= ${.OBJDIR}/../../lib/libkrb4
+.else
+KRB4OBJDIR= ${.CURDIR}/../../lib/libkrb4
+.endif
+
+.if exists(${.OBJDIR}/../../lib/libkrb5)
+KRB5OBJDIR= ${.OBJDIR}/../../lib/libkrb5
+.else
+KRB5OBJDIR= ${.CURDIR}/../../lib/libkrb5
+.endif
+
+.if exists(${.OBJDIR}/../../lib/libkadm5clnt)
+KADM5COBJDIR= ${.OBJDIR}/../../lib/libkadm5clnt
+.else
+KADM5COBJDIR= ${.CURDIR}/../../lib/libkadm5clnt
+.endif
+
+.if exists(${.OBJDIR}/../../lib/libkadm5srv)
+KADM5SOBJDIR= ${.OBJDIR}/../../lib/libkadm5srv
+.else
+KADM5SOBJDIR= ${.CURDIR}/../../lib/libkadm5srv
+.endif
+
+.if exists(${.OBJDIR}/../../lib/libkafs5)
+KAFS5OBJDIR= ${.OBJDIR}/../../lib/libkafs5
+.else
+KAFS5OBJDIR= ${.CURDIR}/../../lib/libkafs5
+.endif
+
+.if exists(${.OBJDIR}/../../lib/libkrb5util)
+KRB5UTILOBJDIR= ${.OBJDIR}/../../lib/libkrb5util
+.else
+KRB5UTILOBJDIR= ${.CURDIR}/../../lib/libkrb5util
+.endif
+
+.if exists(${.OBJDIR}/../../lib/libkdb5)
+KDB5OBJDIR= ${.OBJDIR}/../../lib/libkdb5
+.else
+KDB5OBJDIR= ${.CURDIR}/../../lib/libkdb5
+.endif
+
+.if exists(${.OBJDIR}/../../lib/libsl)
+SLOBJDIR= ${.OBJDIR}/../../lib/libsl
+.else
+SLOBJDIR= ${.CURDIR}/../../lib/libsl
+.endif
+
+CFLAGS+=-Wall -I${INCLUDEDIR} -I${INCLUDEOBJDIR} -DHAVE_CONFIG_H
+
+.if defined(KRB5_KRB4_COMPAT)
+CFLAGS+=-DKRB5_KRB4_COMPAT
+.endif
+
+.if defined(INET6)
+CFLAGS+=-DINET6
+.endif
+
+COMPILE_ET= compile_et
+
+.ORDER: asn1_err.c asn1_err.h
+asn1_err.c asn1_err.h: ${KRB5DIR}/lib/asn1/asn1_err.et
+ test -e ${.OBJDIR}/asn1_err.et || ln -sf ${.ALLSRC}
+ ${COMPILE_ET} asn1_err.et
+
+CLEANFILES+=asn1_err.h asn1_err.c asn1_err.et
+
+.ORDER: hdb_err.c hdb_err.h
+hdb_err.c hdb_err.h: ${KRB5DIR}/lib/hdb/hdb_err.et
+ test -e ${.OBJDIR}/hdb_err.et || ln -sf ${.ALLSRC}
+ ${COMPILE_ET} hdb_err.et
+
+CLEANFILES+=hdb_err.h hdb_err.c hdb_err.et
+
+.ORDER: heim_err.c heim_err.h
+heim_err.c heim_err.h: ${KRB5DIR}/lib/krb5/heim_err.et
+ test -e ${.OBJDIR}/heim_err.et || ln -sf ${.ALLSRC}
+ ${COMPILE_ET} heim_err.et
+
+CLEANFILES+=heim_err.h heim_err.c heim_err.et
+
+.ORDER: krb5_err.c krb5_err.h
+krb5_err.c krb5_err.h: ${KRB5DIR}/lib/krb5/krb5_err.et
+ test -e ${.OBJDIR}/krb5_err.et || ln -sf ${.ALLSRC}
+ ${COMPILE_ET} krb5_err.et
+
+CLEANFILES+=krb5_err.h krb5_err.c krb5_err.et
+
+.ORDER: kadm5_err.c kadm5_err.h
+kadm5_err.c kadm5_err.h: \
+ ${KRB5DIR}/lib/kadm5/kadm5_err.et
+ test -e ${.OBJDIR}/kadm5_err.et || ln -sf ${.ALLSRC}
+ ${COMPILE_ET} kadm5_err.et
+
+CLEANFILES+=kadm5_err.h kadm5_err.c kadm5_err.et
+
+.if defined(INCLUDES)
+beforeinstall: ${INCLUDES}
+.for INC in ${INCLUDES}
+ ${INSTALL} -C -o ${BINOWN} -g ${BINGRP} -m 444 \
+ ${INC} ${DESTDIR}/usr/include/${INC}
+.endfor
+.endif
+
+.else
+
+INCLUDEDIR= ${.CURDIR}/../../include
+KRB4DIR= ${.CURDIR}/../../crypto/kerberosIV
+KRB5DIR= ${.CURDIR}/../../crypto/heimdal
+ROKENDIR= ${.CURDIR}/../../lib/libroken
+
+.endif
+
+.endif
View
@@ -0,0 +1,13 @@
+This subtree is world-exportable, as it does not contain any
+cryptographic code.
+
+At the time of writing, it did not even contain source code, only
+Makefiles and headers.
+
+Please maintain this "exportable" status quo.
+
+Thanks!
+
+MarkM
+markm@freebsd.org
+20th Sept 1997
View
@@ -0,0 +1,11 @@
+# $Id$
+
+.if exists(${.OBJDIR}/../../include)
+INCLUDEOBJDIR= ${.OBJDIR}/../include
+.else
+INCLUDEOBJDIR= ${.CURDIR}/../include
+.endif
+
+depend lint tags:
+
+.include <bsd.prog.mk>
Oops, something went wrong.

0 comments on commit 789632c

Please sign in to comment.