summaryrefslogtreecommitdiff
path: root/kerberosV/libexec
diff options
context:
space:
mode:
authorRobert Nagy <robert@cvs.openbsd.org>2013-06-17 19:11:47 +0000
committerRobert Nagy <robert@cvs.openbsd.org>2013-06-17 19:11:47 +0000
commit22db4b2e9c63b9f500b2d0f99d94107b5a600444 (patch)
treee4923efc907c9bf89e24b630cec2d94c161ffca3 /kerberosV/libexec
parenteda62d8f4e9fbdc55f8600409818ed1cbd89e35e (diff)
2nd part of:
update kerberosV to Heimdal 1.5.2 using BSD Makefiles based on the ones from FreeBSD This is getting commited now so that we can patch it up fast in the tree. There are known regressions so please don't try to build this on your own now, please wait for the next available snapshot. If however you would still want to build it, make sure build and install everything in the tools directory first.
Diffstat (limited to 'kerberosV/libexec')
-rw-r--r--kerberosV/libexec/digest-service/Makefile19
-rw-r--r--kerberosV/libexec/kcm/Makefile30
-rw-r--r--kerberosV/libexec/kdigest/Makefile26
-rw-r--r--kerberosV/libexec/kimpersonate/Makefile16
4 files changed, 91 insertions, 0 deletions
diff --git a/kerberosV/libexec/digest-service/Makefile b/kerberosV/libexec/digest-service/Makefile
new file mode 100644
index 00000000000..11ee5f8d6c9
--- /dev/null
+++ b/kerberosV/libexec/digest-service/Makefile
@@ -0,0 +1,19 @@
+# $OpenBSD: Makefile,v 1.1 2013/06/17 19:11:35 robert Exp $
+
+PROG= digest-service
+NOMAN= 1
+CFLAGS+= -I${KRB5DIR}/kdc \
+ -I${KRB5DIR}/lib/asn1 \
+ -I${KRB5DIR}/lib/krb5 \
+ -I${KRB5DIR}/lib/ipc \
+ -I${KRB5DIR}/lib/wind \
+ -I${KRB5DIR}/lib/roken
+DPADD= ${LIBHDB} ${LIBKDC} ${LIBHEIMIPCS} ${LIBKRB5} ${LIBROKEN} ${LIBASN1} ${LIBCRYPTO} \
+ ${LIBCRYPT} ${LIBVERS}
+LDADD= -lhdb -lkdc ${LIBHEIMIPCS} -lkrb5 -lroken -lasn1 -lcrypto \
+ ${LIBVERS} -lheimntlm -lcom_err -lhx509 \
+ -lheimbase -lwind -lpthread
+
+.include <bsd.prog.mk>
+
+.PATH: ${KRB5DIR}/kdc
diff --git a/kerberosV/libexec/kcm/Makefile b/kerberosV/libexec/kcm/Makefile
new file mode 100644
index 00000000000..ce761c8b084
--- /dev/null
+++ b/kerberosV/libexec/kcm/Makefile
@@ -0,0 +1,30 @@
+# $OpenBSD: Makefile,v 1.1 2013/06/17 19:11:35 robert Exp $
+
+PROG= kcm
+MAN= kcm.8
+
+SRCS= acl.c \
+ acquire.c \
+ cache.c \
+ client.c \
+ config.c \
+ connect.c \
+ events.c \
+ glue.c \
+ log.c \
+ main.c \
+ protocol.c \
+ sessions.c \
+ renew.c
+
+CFLAGS+=-I${KRB5DIR}/lib/krb5 -I${KRB5DIR}/lib/asn1 -I${KRB5DIR}/lib/roken \
+ -I${KRB5DIR}/kcm -I${KRB5DIR}/lib/ipc ${LDAPCFLAGS}
+DPADD= ${LIBHDB} ${LIBKRB5} ${LIBROKEN} ${LIBASN1} ${LIBHEIMNTLM} \
+ ${LIBHEIMIPCS} ${LIBCRYPTO} ${LIBCRYPT} ${LIBVERS} ${LDAPDPADD}
+LDADD= -lhdb -lkrb5 -lroken -lasn1 -lheimntlm ${LIBHEIMIPCS} -lpthread \
+ -lcrypto ${LIBVERS} -lhx509 -lwind -lcom_err -lwind \
+ -lheimbase -lutil
+
+.include <bsd.prog.mk>
+
+.PATH: ${KRB5DIR}/kcm
diff --git a/kerberosV/libexec/kdigest/Makefile b/kerberosV/libexec/kdigest/Makefile
new file mode 100644
index 00000000000..7e364211d73
--- /dev/null
+++ b/kerberosV/libexec/kdigest/Makefile
@@ -0,0 +1,26 @@
+# $OpenBSD: Makefile,v 1.1 2013/06/17 19:11:35 robert Exp $
+
+PROG= kdigest
+MAN= kdigest.8
+CFLAGS+= -I${KRB5DIR}/lib/asn1 \
+ -I${KRB5DIR}/lib/roken \
+ -I${KRB5DIR}/lib/sl -I.
+DPADD= ${LIBKRB5} ${LIBHEIMNTLM} ${LIBROKEN} ${LIBASN1} ${LIBCRYPTO} \
+ ${LIBCRYPT} ${LIBSL} ${LIBVERS} ${LIBEDIT}
+LDADD= -lkrb5 -lheimntlm -lroken -lasn1 -lcrypto ${LIBSL} \
+ ${LIBVERS} -ledit -lhx509 -lwind -lpthread \
+ -lcom_err -lheimbase -lcurses
+SRCS= kdigest.c \
+ kdigest-commands.c \
+ kdigest-commands.h
+
+kdigest-commands.h: kdigest-commands.in
+ ${SLC} ${.ALLSRC:M*.in}
+
+.for ext in c o
+kdigest-commands.${ext}: kdigest-commands.h
+.endfor
+
+.include <bsd.prog.mk>
+
+.PATH: ${KRB5DIR}/kuser
diff --git a/kerberosV/libexec/kimpersonate/Makefile b/kerberosV/libexec/kimpersonate/Makefile
new file mode 100644
index 00000000000..0e9d71b6c8d
--- /dev/null
+++ b/kerberosV/libexec/kimpersonate/Makefile
@@ -0,0 +1,16 @@
+# $OpenBSD: Makefile,v 1.1 2013/06/17 19:11:35 robert Exp $
+
+PROG= kimpersonate
+MAN= kimpersonate.8
+CFLAGS+= -I${KRB5DIR}/lib/hx509 \
+ -I${KRB5DIR}/lib/asn1 \
+ -I${KRB5DIR}/lib/roken \
+ -I${KRB5DIR}/lib/sl -I.
+DPADD= ${LIBKAFS5} ${LIBKRB5} ${LIBHEIMNTLM} ${LIBROKEN} ${LIBASN1} ${LIBCRYPTO} \
+ ${LIBCRYPT} ${LIBVERS}
+LDADD= -lkafs5 -lkrb5 -lheimntlm -lroken -lasn1 -lcrypto -lpthread \
+ ${LIBVERS} -lhx509 -lcom_err -lheimbase -lwind
+
+.include <bsd.prog.mk>
+
+.PATH: ${KRB5DIR}/kuser