summaryrefslogtreecommitdiffstats
path: root/kerberos5/usr.sbin
diff options
context:
space:
mode:
Diffstat (limited to 'kerberos5/usr.sbin')
-rw-r--r--kerberos5/usr.sbin/Makefile5
-rw-r--r--kerberos5/usr.sbin/Makefile.inc5
-rw-r--r--kerberos5/usr.sbin/iprop-log/Makefile21
-rw-r--r--kerberos5/usr.sbin/kstash/Makefile15
-rw-r--r--kerberos5/usr.sbin/ktutil/Makefile31
5 files changed, 77 insertions, 0 deletions
diff --git a/kerberos5/usr.sbin/Makefile b/kerberos5/usr.sbin/Makefile
new file mode 100644
index 0000000..5e8d58e
--- /dev/null
+++ b/kerberos5/usr.sbin/Makefile
@@ -0,0 +1,5 @@
+# $FreeBSD$
+
+SUBDIR= iprop-log kstash ktutil
+
+.include <bsd.subdir.mk>
diff --git a/kerberos5/usr.sbin/Makefile.inc b/kerberos5/usr.sbin/Makefile.inc
new file mode 100644
index 0000000..dab729d
--- /dev/null
+++ b/kerberos5/usr.sbin/Makefile.inc
@@ -0,0 +1,5 @@
+# $FreeBSD$
+
+BINDIR= /usr/sbin
+
+.include "../Makefile.inc"
diff --git a/kerberos5/usr.sbin/iprop-log/Makefile b/kerberos5/usr.sbin/iprop-log/Makefile
new file mode 100644
index 0000000..dbe269a
--- /dev/null
+++ b/kerberos5/usr.sbin/iprop-log/Makefile
@@ -0,0 +1,21 @@
+# $FreeBSD$
+
+PROG= iprop-log
+MAN= iprop-log.8
+SRCS= iprop-log.c iprop-commands.c iprop-commands.h kadm5_err.h
+CFLAGS+= -I${KRB5DIR}/lib/kadm5 \
+ -I${KRB5DIR}/lib/krb5 \
+ -I${KRB5DIR}/lib/roken \
+ -I${KRB5DIR}/lib/sl \
+ -I.
+DPADD= ${LIBKADM5SRV} ${LIBHDB} ${LIBKRB5} ${LIBASN1} ${LIBCRYPTO} \
+ ${LIBCRYPT} ${LIBSL} ${LIBROKEN} ${LIBVERS} ${LIBEDIT}
+LDADD= -lkadm5srv -lhdb -lkrb5 -lasn1 -lcrypto -lcrypt ${LIBSL} -lroken \
+ ${LIBVERS} -ledit
+
+iprop-commands.c iprop-commands.h: iprop-commands.in
+ slc ${.ALLSRC:M*.in}
+
+.include <bsd.prog.mk>
+
+.PATH: ${KRB5DIR}/lib/kadm5
diff --git a/kerberos5/usr.sbin/kstash/Makefile b/kerberos5/usr.sbin/kstash/Makefile
new file mode 100644
index 0000000..024e45d
--- /dev/null
+++ b/kerberos5/usr.sbin/kstash/Makefile
@@ -0,0 +1,15 @@
+# $FreeBSD$
+
+PROG= kstash
+MAN= kstash.8
+CFLAGS+=-I${KRB5DIR}/lib/asn1 -I${KRB5DIR}/lib/krb5 -I${KRB5DIR}/lib/roken \
+ -I${KRB5DIR}/kdc ${LDAPCFLAGS}
+DPADD= ${LIBHDB} ${LIBKRB5} ${LIBROKEN} ${LIBVERS} \
+ ${LIBASN1} ${LIBCRYPTO} ${LIBCRYPT} ${LDAPDPADD}
+LDADD= -lhdb -lkrb5 -lroken ${LIBVERS} \
+ -lasn1 -lcrypto -lcrypt ${LDAPLDADD}
+LDFLAGS=${LDAPLDFLAGS}
+
+.include <bsd.prog.mk>
+
+.PATH: ${KRB5DIR}/kdc
diff --git a/kerberos5/usr.sbin/ktutil/Makefile b/kerberos5/usr.sbin/ktutil/Makefile
new file mode 100644
index 0000000..900d921
--- /dev/null
+++ b/kerberos5/usr.sbin/ktutil/Makefile
@@ -0,0 +1,31 @@
+# $FreeBSD$
+
+PROG= ktutil
+MAN= ktutil.8
+
+SRCS= add.c \
+ change.c \
+ copy.c \
+ destroy.c \
+ get.c \
+ ktutil.c \
+ ktutil_locl.h \
+ ktutil-commands.c \
+ ktutil-commands.h \
+ list.c \
+ purge.c \
+ remove.c \
+ rename.c
+
+CFLAGS+=-I${KRB5DIR}/lib/roken -I${KRB5DIR}/lib/sl -I.
+DPADD= ${LIBKADM5CLNT} ${LIBKRB5} ${LIBSL} ${LIBROKEN} ${LIBVERS} \
+ ${LIBASN1} ${LIBCRYPTO} ${LIBCRYPT} ${LIBEDIT}
+LDADD= -lkadm5clnt -lkrb5 ${LIBSL} -lroken ${LIBVERS} \
+ -lasn1 -lcrypto -lcrypt -ledit
+
+.include <bsd.prog.mk>
+
+ktutil-commands.c ktutil-commands.h: ${KRB5DIR}/admin/ktutil-commands.in
+ slc ${.ALLSRC:M*.in}
+
+.PATH: ${KRB5DIR}/admin
OpenPOWER on IntegriCloud