diff options
author | markm <markm@FreeBSD.org> | 2000-01-15 21:38:08 +0000 |
---|---|---|
committer | markm <markm@FreeBSD.org> | 2000-01-15 21:38:08 +0000 |
commit | 789632cad6f4b2e49308f42b290ab112e1170651 (patch) | |
tree | 04b880e61aff09c54cf1b0270c123017f84edf2b /kerberos5/libexec | |
parent | a4a1a839ad4c4648d8c7c7e6bba576dec6bec55b (diff) | |
download | FreeBSD-src-789632cad6f4b2e49308f42b290ab112e1170651.zip FreeBSD-src-789632cad6f4b2e49308f42b290ab112e1170651.tar.gz |
Userland build of Kerberos5 (AKA Heimdal). More to come.
This is not ready for primetime yet! Please hold off on the bug reports.
Diffstat (limited to 'kerberos5/libexec')
-rw-r--r-- | kerberos5/libexec/Makefile | 5 | ||||
-rw-r--r-- | kerberos5/libexec/Makefile.inc | 5 | ||||
-rw-r--r-- | kerberos5/libexec/hprop/Makefile | 28 | ||||
-rw-r--r-- | kerberos5/libexec/hpropd/Makefile | 28 | ||||
-rw-r--r-- | kerberos5/libexec/ipropd-master/Makefile | 29 | ||||
-rw-r--r-- | kerberos5/libexec/ipropd-slave/Makefile | 29 | ||||
-rw-r--r-- | kerberos5/libexec/k5admind/Makefile | 47 | ||||
-rw-r--r-- | kerberos5/libexec/k5passwdd/Makefile | 36 | ||||
-rw-r--r-- | kerberos5/libexec/kdc/Makefile | 29 |
9 files changed, 236 insertions, 0 deletions
diff --git a/kerberos5/libexec/Makefile b/kerberos5/libexec/Makefile new file mode 100644 index 0000000..adaa8cd --- /dev/null +++ b/kerberos5/libexec/Makefile @@ -0,0 +1,5 @@ +# $FreeBSD$ + +SUBDIR= ipropd-master ipropd-slave hpropd kadmind kdc kpasswdd + +.include <bsd.subdir.mk> diff --git a/kerberos5/libexec/Makefile.inc b/kerberos5/libexec/Makefile.inc new file mode 100644 index 0000000..496b56e --- /dev/null +++ b/kerberos5/libexec/Makefile.inc @@ -0,0 +1,5 @@ +# $Id$ + +BINDIR= /usr/libexec + +.include "../Makefile.inc" diff --git a/kerberos5/libexec/hprop/Makefile b/kerberos5/libexec/hprop/Makefile new file mode 100644 index 0000000..bf69770 --- /dev/null +++ b/kerberos5/libexec/hprop/Makefile @@ -0,0 +1,28 @@ +# $FreeBSD$ + +PROG= hprop +SRCS= hprop.c hprop-common.c hdb_err.h +CFLAGS+= -I${KRB5DIR}/include \ + -I${KRB5DIR}/kdc \ + -I${KRB5DIR}/lib/krb5 \ + -I${KRB5DIR}/lib/asn1 \ + -I${KRB5DIR}/lib/hdb \ + -I${KRB5DIR}/lib/roken \ + -I${KRB5DIR}/kuser \ + -I${ASN1OBJDIR} \ + -I${HDBOBJDIR} \ + -I${.OBJDIR} +.if defined(KRB5_KRB4_COMPAT) +_krb4libs= -lkrb -lkafs -lkdb +_krb4deps= ${LIBKRB} ${LIBKAFS} ${LIBKDB} +.endif +LDADD= -L${KRB5OBJDIR} -lkrb5 -L${KAFS5OBJDIR} -lkafs5 \ + -L${HDBOBJDIR} -lhdb -L${ROKENOBJDIR} -lroken ${_krb4libs} \ + -L${ASN1OBJDIR} -lasn1 -ldes -lcrypt -lcom_err +DPADD= ${LIBKRB5} ${LIBKAFS5} ${LIBHDB} ${LIBROKEN} ${_krb4deps} \ + ${LIBASN1} ${LIBDES} ${LIBCRYPT} ${LIBCOM_ERR} +MAN8= hprop.8 + +.include <bsd.prog.mk> + +.PATH: ${KRB5DIR}/kdc diff --git a/kerberos5/libexec/hpropd/Makefile b/kerberos5/libexec/hpropd/Makefile new file mode 100644 index 0000000..bc9ad93 --- /dev/null +++ b/kerberos5/libexec/hpropd/Makefile @@ -0,0 +1,28 @@ +# $FreeBSD$ + +PROG= hpropd +SRCS= hpropd.c hprop-common.c hdb_err.h +CFLAGS+= -I${KRB5DIR}/include \ + -I${KRB5DIR}/kdc \ + -I${KRB5DIR}/lib/krb5 \ + -I${KRB5DIR}/lib/asn1 \ + -I${KRB5DIR}/lib/hdb \ + -I${KRB5DIR}/lib/roken \ + -I${KRB5DIR}/kuser \ + -I${ASN1OBJDIR} \ + -I${HDBOBJDIR} \ + -I${.OBJDIR} +.if defined(KRB5_KRB4_COMPAT) +_krb4libs= -lkrb -lkafs -lkdb +_krb4deps= ${LIBKRB} ${LIBKAFS} ${LIBKDB} +.endif +LDADD= -L${KRB5OBJDIR} -lkrb5 -L${KAFS5OBJDIR} -lkafs5 \ + -L${HDBOBJDIR} -lhdb -L${ROKENOBJDIR} -lroken ${_krb4libs} \ + -L${ASN1OBJDIR} -lasn1 -ldes -lcrypt -lcom_err +DPADD= ${LIBKRB5} ${LIBKAFS5} ${LIBHDB} ${LIBROKEN} ${_krb4deps} \ + ${LIBASN1} ${LIBDES} ${LIBCRYPT} ${LIBCOM_ERR} +MAN8= hpropd.8 + +.include <bsd.prog.mk> + +.PATH: ${KRB5DIR}/kdc diff --git a/kerberos5/libexec/ipropd-master/Makefile b/kerberos5/libexec/ipropd-master/Makefile new file mode 100644 index 0000000..c6857cd --- /dev/null +++ b/kerberos5/libexec/ipropd-master/Makefile @@ -0,0 +1,29 @@ +# $FreeBSD$ + +PROG= ipropd-master +SRCS= ipropd_master.c kadm5_err.h +CFLAGS+= -I${KRB5DIR}/include \ + -I${KRB5DIR}/lib/kadm5 \ + -I${KRB5DIR}/lib/krb5 \ + -I${KRB5DIR}/lib/asn1 \ + -I${KRB5DIR}/lib/hdb \ + -I${KRB5DIR}/lib/roken \ + -I${KRB5DIR}/kuser \ + -I${ASN1OBJDIR} \ + -I${HDBOBJDIR} \ + -I${.OBJDIR} +.if defined(KRB5_KRB4_COMPAT) +_krb4libs= -lkrb -lkafs +_krb4deps= ${LIBKRB} ${LIBKAFS} +.endif +LDADD= -L${KRB5OBJDIR} -lkrb5 -L${KAFS5OBJDIR} -lkafs5 \ + -L${HDBOBJDIR} -lhdb -L${ROKENOBJDIR} -lroken ${_krb4libs} \ + -L${KADM5COBJDIR} -lkadm5clnt -L${KADM5SOBJDIR} -lkadm5srv \ + -L${ASN1OBJDIR} -lasn1 -ldes -lcrypt -lcom_err +DPADD= ${LIBKRB5} ${LIBKAFS5} ${LIBHDB} ${LIBROKEN} ${_krb4deps} \ + ${LIBASN1} ${LIBDES} ${LIBCRYPT} ${LIBCOM_ERR} +NOMAN= yes + +.include <bsd.prog.mk> + +.PATH: ${KRB5DIR}/lib/kadm5 diff --git a/kerberos5/libexec/ipropd-slave/Makefile b/kerberos5/libexec/ipropd-slave/Makefile new file mode 100644 index 0000000..bfd84cc --- /dev/null +++ b/kerberos5/libexec/ipropd-slave/Makefile @@ -0,0 +1,29 @@ +# $FreeBSD$ + +PROG= ipropd-slave +SRCS= ipropd_slave.c kadm5_err.h +CFLAGS+= -I${KRB5DIR}/include \ + -I${KRB5DIR}/lib/kadm5 \ + -I${KRB5DIR}/lib/krb5 \ + -I${KRB5DIR}/lib/asn1 \ + -I${KRB5DIR}/lib/hdb \ + -I${KRB5DIR}/lib/roken \ + -I${KRB5DIR}/kuser \ + -I${ASN1OBJDIR} \ + -I${HDBOBJDIR} \ + -I${.OBJDIR} +.if defined(KRB5_KRB4_COMPAT) +_krb4libs= -lkrb -lkafs +_krb4deps= ${LIBKRB} ${LIBKAFS} +.endif +LDADD= -L${KRB5OBJDIR} -lkrb5 -L${KAFS5OBJDIR} -lkafs5 \ + -L${HDBOBJDIR} -lhdb -L${ROKENOBJDIR} -lroken ${_krb4libs} \ + -L${KADM5COBJDIR} -lkadm5clnt -L${KADM5SOBJDIR} -lkadm5srv \ + -L${ASN1OBJDIR} -lasn1 -ldes -lcrypt -lcom_err +DPADD= ${LIBKRB5} ${LIBKAFS5} ${LIBHDB} ${LIBROKEN} ${_krb4deps} \ + ${LIBASN1} ${LIBDES} ${LIBCRYPT} ${LIBCOM_ERR} +NOMAN= yes + +.include <bsd.prog.mk> + +.PATH: ${KRB5DIR}/lib/kadm5 diff --git a/kerberos5/libexec/k5admind/Makefile b/kerberos5/libexec/k5admind/Makefile new file mode 100644 index 0000000..4415938 --- /dev/null +++ b/kerberos5/libexec/k5admind/Makefile @@ -0,0 +1,47 @@ +# $FreeBSD$ + +PROG= kadmind +SRCS= kadmind.c server.c version4.c \ + kadm5/private.h kadm5/admin.h kadm5/kadm5_err.h +CFLAGS+= -I${KRB5DIR}/include \ + -I${KRB5DIR}/lib/roken \ + -I${KRB5DIR}/lib/krb5 \ + -I${KRB5DIR}/lib/asn1 \ + -I${KRB5DIR}/lib/hdb \ + -I${KRB5DIR}/lib/sl \ + -I${KRB5DIR}/kadmin \ + -I${ASN1OBJDIR} \ + -I${HDBOBJDIR} \ + -I${.OBJDIR} +.if defined(KRB5_KRB4_COMPAT) +_krb4libs= -lkrb -lkafs +_krb4deps= ${LIBKRB} ${LIBKAFS} +.endif +LDADD= -L${KRB5OBJDIR} -lkrb5 -L${KAFS5OBJDIR} -lkafs5 \ + -L${ROKENOBJDIR} -lroken ${_krb4libs} \ + -L${KADM5COBJDIR} -lkadm5clnt -L${KADM5SOBJDIR} -lkadm5srv \ + -L${HDBOBJDIR} -lhdb \ + -L${ASN1OBJDIR} -lasn1 -ldes -lcrypt -lcom_err +DPADD= ${LIBKRB5} ${LIBKAFS5} ${LIBROKEN} ${_krb4deps} \ + ${LIBKADM5CLNT} ${LIBKADM5SRV} ${LIBHDB} \ + ${LIBASN1} ${LIBDES} ${LIBCRYPT} ${LIBCOM_ERR} +NOMAN= yes + +.include <bsd.prog.mk> + +.PATH: ${KRB5DIR}/kadmin + +kadm5/private.h: kadm5 + cp ${KRB5DIR}/lib/kadm5/private.h ${.TARGET} + +kadm5/admin.h: kadm5 + cp ${KRB5DIR}/lib/kadm5/admin.h ${.TARGET} + +kadm5/kadm5_err.h: kadm5 kadm5_err.h + cd ${.OBJDIR}/kadm5 && ln -sf ../kadm5_err.h + +kadm5: + mkdir ${.TARGET} + +CLEANFILES+= kadm5/private.h kadm5/admin.h kadm5/kadm5_err.h +CLEANDIRS+= kadm5 diff --git a/kerberos5/libexec/k5passwdd/Makefile b/kerberos5/libexec/k5passwdd/Makefile new file mode 100644 index 0000000..d23ed4a --- /dev/null +++ b/kerberos5/libexec/k5passwdd/Makefile @@ -0,0 +1,36 @@ +# $FreeBSD$ + +PROG= kpasswdd +SRCS= kpasswdd.c krb5_err.h heim_err.h hdb_err.h kadm5/admin.h +CFLAGS+= -I${KRB5DIR}/include \ + -I${KRB5DIR}/lib/asn1 \ + -I${KRB5DIR}/lib/hdb \ + -I${KRB5DIR}/lib/krb5 \ + -I${KRB5DIR}/lib/roken \ + -I${KRB5DIR}/kpasswd \ + -I${ASN1OBJDIR} \ + -I${HDBOBJDIR} \ + -I${.OBJDIR} +.if defined(KRB5_KRB4_COMPAT) +_krb4libs= -lkrb -lkafs +_krb4deps= ${LIBKRB} ${LIBKAFS} +.endif +LDADD= -L${KRB5OBJDIR} -lkrb5 -L${ROKENOBJDIR} -lroken ${_krb4libs} \ + -L${KADM5SOBJDIR} -lkadm5srv -L${HDBOBJDIR} -lhdb \ + -L${ASN1OBJDIR} -lasn1 -ldes -lcrypt -lcom_err +DPADD= ${LIBKRB5} ${LIBROKEN} ${_krb4deps} \ + ${LIBASN1} ${LIBDES} ${LIBCRYPT} ${LIBCOM_ERR} +MAN8= kpasswdd.8 + +.include <bsd.prog.mk> + +.PATH: ${KRB5DIR}/kpasswd + +kadm5/admin.h: kadm5 + cp ${KRB5DIR}/lib/kadm5/admin.h ${.TARGET} + +kadm5: + mkdir ${.TARGET} + +CLEANFILES+= kadm5/admin.h +CLEANDIRS+= kadm5 diff --git a/kerberos5/libexec/kdc/Makefile b/kerberos5/libexec/kdc/Makefile new file mode 100644 index 0000000..994ff38 --- /dev/null +++ b/kerberos5/libexec/kdc/Makefile @@ -0,0 +1,29 @@ +# $FreeBSD$ + +PROG= kdc +SRCS= 524.c config.c connect.c kaserver.c kerberos4.c kerberos5.c \ + log.c main.c misc.c +CFLAGS+= -I${KRB5DIR}/include \ + -I${KRB5DIR}/kdc \ + -I${KRB5DIR}/lib/krb5 \ + -I${KRB5DIR}/lib/asn1 \ + -I${KRB5DIR}/lib/hdb \ + -I${KRB5DIR}/lib/roken \ + -I${KRB5DIR}/kuser \ + -I${ASN1OBJDIR} \ + -I${HDBOBJDIR} \ + -I${.OBJDIR} +.if defined(KRB5_KRB4_COMPAT) +_krb4libs= -lkrb -lkafs +_krb4deps= ${LIBKRB} ${LIBKAFS} ${LIBKDB} +.endif +LDADD= -L${KRB5OBJDIR} -lkrb5 -L${KAFS5OBJDIR} -lkafs5 \ + -L${HDBOBJDIR} -lhdb -L${ROKENOBJDIR} -lroken ${_krb4libs} \ + -L${ASN1OBJDIR} -lasn1 -ldes -lcrypt -lcom_err +DPADD= ${LIBKRB5} ${LIBKAFS5} ${LIBHDB} ${LIBROKEN} ${_krb4deps} \ + ${LIBASN1} ${LIBDES} ${LIBCRYPT} ${LIBCOM_ERR} +MAN8= kdc.8 + +.include <bsd.prog.mk> + +.PATH: ${KRB5DIR}/kdc |