Import Heimdal Kerberos 5 usr.sbin bits, from cryptosrc-intl.

This commit is contained in:
thorpej 2000-06-16 23:59:32 +00:00
parent 5ae0bf3e39
commit 4863d0af58
3 changed files with 126 additions and 0 deletions

54
usr.sbin/kadmin/Makefile Normal file
View File

@ -0,0 +1,54 @@
# $NetBSD: Makefile,v 1.1.1.1 2000/06/16 23:59:32 thorpej Exp $
DIST= ${.CURDIR}/../../dist
.PATH: ${DIST}/heimdal/kadmin
WARNS?= 1
MKLINT= no
PROG= kadmin
SRCS= \
ank.c \
cpw.c \
del.c \
del_enctype.c \
dump.c \
ext.c \
get.c \
init.c \
kadmin.c \
load.c \
mod.c \
rename.c \
util.c \
random_password.c \
CPPFLAGS+= -I. \
-I${DIST}/heimdal/kadmin \
-I${DIST}/heimdal/lib/krb5 \
-I${DIST}/heimdal/lib/asn1 \
-I${.CURDIR}/../../include/heimdal \
-I${DESTDIR}/usr/include/kadm5 \
-I${DESTDIR}/usr/include/krb5 \
-I${DIST}/openssl/crypto/md4 \
-I${DIST}/openssl/crypto/md5 \
-I${DIST}/openssl/crypto/sha \
-I${DIST}/openssl/crypto/rc4 \
-I${DIST}/openssl/crypto/des \
-DHAVE_CONFIG_H
LDADD= -lkadm5clnt \
-lkadm5srv \
-lhdb \
-lkrb5 \
-lcrypto \
-lasn1 \
-lcom_err \
-lsl \
-ledit -ltermcap \
-lroken \
-lcrypt
NOMAN=
.include <bsd.prog.mk>

30
usr.sbin/kstash/Makefile Normal file
View File

@ -0,0 +1,30 @@
# $NetBSD: Makefile,v 1.1.1.1 2000/06/16 23:59:32 thorpej Exp $
DIST= ${.CURDIR}/../../dist
.PATH: ${DIST}/heimdal/kdc
WARNS?= 1
MKLINT= no
PROG= kstash
SRCS= kstash.c
CPPFLAGS+= -I. \
-I${DIST}/heimdal/kdc \
-I${.CURDIR}/../../include/heimdal \
-I${DIST}/heimdal/lib/asn1 \
-I${DIST}/heimdal/lib/krb5 \
-I${DESTDIR}/usr/include/krb5 \
-I${DESTDIR}/usr/include/openssl \
-DHAVE_CONFIG_H
LDADD= -lkrb5 \
-lcrypto \
-lasn1 \
-lcom_err \
-lroken \
-lcrypt
NOMAN=
.include <bsd.prog.mk>

42
usr.sbin/ktutil/Makefile Normal file
View File

@ -0,0 +1,42 @@
# $NetBSD: Makefile,v 1.1.1.1 2000/06/16 23:59:32 thorpej Exp $
DIST= ${.CURDIR}/../../dist
.PATH: ${DIST}/heimdal/admin
WARNS?= 1
MKLINT= no
PROG= ktutil
SRCS= add.c \
change.c \
copy.c \
get.c \
ktutil.c \
list.c \
purge.c \
remove.c \
srvconvert.c \
srvcreate.c
CPPFLAGS+= -I. \
-I${DIST}/heimdal/admin \
-I${.CURDIR}/../../include/heimdal \
-I${DESTDIR}/usr/include/kadm5 \
-I${DESTDIR}/usr/include/krb5 \
-I${DESTDIR}/usr/include/openssl \
-DHAVE_CONFIG_H
LDADD= -lkadm5srv \
-lhdb \
-lkrb5 \
-lcrypto \
-lasn1 \
-lcom_err \
-lsl \
-ledit -ltermcap \
-lroken \
-lcrypt
MAN = ktutil.8
.include <bsd.prog.mk>