From 54b2f6e3344ed33736245372b3886a24f026c026 Mon Sep 17 00:00:00 2001 From: Jacques Vidrine Date: Thu, 9 Oct 2003 19:54:03 +0000 Subject: [PATCH] Build and install the verify_krb5_conf(8) utility, which checks krb5.conf(5) for obvious errors. --- kerberos5/usr.bin/Makefile | 3 ++- kerberos5/usr.bin/verify_krb5_conf/Makefile | 26 +++++++++++++++++++++ 2 files changed, 28 insertions(+), 1 deletion(-) create mode 100644 kerberos5/usr.bin/verify_krb5_conf/Makefile diff --git a/kerberos5/usr.bin/Makefile b/kerberos5/usr.bin/Makefile index 86dea8af24aa..b7c39801238a 100644 --- a/kerberos5/usr.bin/Makefile +++ b/kerberos5/usr.bin/Makefile @@ -1,5 +1,6 @@ # $FreeBSD$ -SUBDIR= kadmin kdestroy kinit klist kpasswd ksu krb5-config +SUBDIR= kadmin kdestroy kinit klist kpasswd ksu krb5-config \ + verify_krb5_conf .include diff --git a/kerberos5/usr.bin/verify_krb5_conf/Makefile b/kerberos5/usr.bin/verify_krb5_conf/Makefile new file mode 100644 index 000000000000..cd0dc7ad39a1 --- /dev/null +++ b/kerberos5/usr.bin/verify_krb5_conf/Makefile @@ -0,0 +1,26 @@ +# $FreeBSD$ + +PROG= verify_krb5_conf + +SRCS= verify_krb5_conf.c + +CFLAGS+=-I${KRB5DIR}/include \ + -I${KRB5DIR}/lib/roken \ + -I${KRB5DIR}/lib/kafs \ + -I${KRB5DIR}/lib/krb5 \ + -I${KRB5DIR}/lib/asn1 \ + -I${KRB5DIR}/kuser \ + -I${ASN1OBJDIR} \ + -I${.OBJDIR} + +LDADD= -lkrb5 -lroken -lkafs5 ${LIBVERS} \ + -lasn1 -lcrypto -lcrypt -lcom_err + +DPADD= ${LIBKRB5} ${LIBROKEN} ${LIBKAFS5} ${LIBVERS} \ + ${LIBASN1} ${LIBCRYPTO} ${LIBCRYPT} ${LIBCOM_ERR} + +MAN= verify_krb5_conf.8 + +.include + +.PATH: ${KRB5DIR}/lib/krb5