aboutsummaryrefslogtreecommitdiff
path: root/sbin/restore/Makefile
diff options
context:
space:
mode:
authorGarrett Wollman <wollman@FreeBSD.org>1997-04-29 17:46:27 +0000
committerGarrett Wollman <wollman@FreeBSD.org>1997-04-29 17:46:27 +0000
commit1982ee69fdfc44dcd1e011ac5cd45fd614f5cdae (patch)
tree1dc960f68394a8b00a2f3832371e31692c9fd945 /sbin/restore/Makefile
parent7d322c735e3d9e6a0e551d3921e9d84531b8c9de (diff)
downloadsrc-1982ee69fdfc44dcd1e011ac5cd45fd614f5cdae.tar.gz
src-1982ee69fdfc44dcd1e011ac5cd45fd614f5cdae.zip
Implement Kerberized rcmd for rdump/rrestore. This is lacking the
options one would normally expect to set the realm, enable encryption, and whatnot, but this actually is able to contact the remote server, so at least it's a start. (As a bonus, the stripped static binary is unquestionably exportable.)
Notes
Notes: svn path=/head/; revision=25288
Diffstat (limited to 'sbin/restore/Makefile')
-rw-r--r--sbin/restore/Makefile7
1 files changed, 7 insertions, 0 deletions
diff --git a/sbin/restore/Makefile b/sbin/restore/Makefile
index 916e6f009490..65f0d5594622 100644
--- a/sbin/restore/Makefile
+++ b/sbin/restore/Makefile
@@ -12,4 +12,11 @@ MAN8= restore.8
MLINKS+=restore.8 rrestore.8
.PATH: ${.CURDIR}/../dump
+.if exists(${DESTDIR}/usr/lib/libkrb.a) && defined(MAKE_EBONES)
+.PATH: ${.CURDIR}/../../usr.bin/rlogin
+SRCS+= krcmd.c kcmd.c
+LDADD+= -lkrb -ldes
+CFLAGS+=-DKERBEROS
+.endif
+
.include <bsd.prog.mk>