From 1982ee69fdfc44dcd1e011ac5cd45fd614f5cdae Mon Sep 17 00:00:00 2001 From: Garrett Wollman Date: Tue, 29 Apr 1997 17:46:27 +0000 Subject: 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.) --- sbin/dump/Makefile | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'sbin/dump/Makefile') diff --git a/sbin/dump/Makefile b/sbin/dump/Makefile index 0912d8ddb313f..764a7d6e763fb 100644 --- a/sbin/dump/Makefile +++ b/sbin/dump/Makefile @@ -22,4 +22,11 @@ BINMODE=2555 MAN8= dump.8 MLINKS+=dump.8 rdump.8 +.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 -- cgit v1.3