head	1.6;
access;
symbols
	old_RELENG_4_1_1_RELEASE:1.6
	old_PRE_SMPNG:1.6
	old_RELENG_4_1_0_RELEASE:1.6
	old_RELENG_3_5_0_RELEASE:1.5.2.1
	old_RELENG_4_0_0_RELEASE:1.6
	old_RELENG_4:1.6.0.2
	old_RELENG_4_BP:1.6
	old_RELENG_3_4_0_RELEASE:1.5.2.1
	old_RELENG_3_3_0_RELEASE:1.5.2.1
	old_RELENG_3_2_PAO:1.5.0.4
	old_RELENG_3_2_PAO_BP:1.5
	old_RELENG_3_2_0_RELEASE:1.5
	old_RELENG_3_1_0_RELEASE:1.5
	old_RELENG_3:1.5.0.2
	old_RELENG_3_BP:1.5
	old_RELENG_2_2_8_RELEASE:1.4
	old_RELENG_3_0_0_RELEASE:1.5
	old_RELENG_2_2_7_RELEASE:1.4
	old_RELENG_2_2_6_RELEASE:1.4
	old_RELENG_2_2_5_RELEASE:1.4
	old_bsd_44_lite_2:1.1.1.1
	old_RELENG_2_2_2_RELEASE:1.4
	old_RELENG_2_2_1_RELEASE:1.4
	old_RELENG_2_2_0_RELEASE:1.4
	old_RELENG_2_1_7_RELEASE:1.2
	old_RELENG_2_1_6_1_RELEASE:1.2
	old_RELENG_2_1_6_RELEASE:1.2
	old_RELENG_2_2:1.4.0.2
	old_RELENG_2_2_BP:1.4
	old_RELENG_2_1_5_RELEASE:1.2
	old_RELENG_2_1_0_RELEASE:1.2
	old_RELENG_2_1_0:1.2.0.4
	old_RELENG_2_1_0_BP:1.2
	old_RELENG_2_0_5_RELEASE:1.2
	old_RELENG_2_0_5:1.2.0.2
	old_RELENG_2_0_5_BP:1.2
	old_RELENG_2_0_5_ALPHA:1.2
	old_RELEASE_2_0:1.1.1.1
	old_BETA_2_0:1.1.1.1
	old_ALPHA_2_0:1.1.1.1.0.2
	old_bsd_44_lite:1.1.1.1
	old_CSRG:1.1.1;
locks; strict;
comment	@# @;


1.6
date	99.08.28.01.05.05;	author peter;	state Exp;
branches;
next	1.5;

1.5
date	98.05.04.19.25.41;	author bde;	state Exp;
branches
	1.5.2.1;
next	1.4;

1.4
date	96.08.30.03.04.49;	author peter;	state Exp;
branches;
next	1.3;

1.3
date	96.08.10.07.54.11;	author peter;	state Exp;
branches;
next	1.2;

1.2
date	95.02.21.04.32.53;	author wollman;	state Exp;
branches;
next	1.1;

1.1
date	94.05.27.12.32.31;	author rgrimes;	state Exp;
branches
	1.1.1.1;
next	;

1.1.1.1
date	94.05.27.12.32.32;	author rgrimes;	state Exp;
branches;
next	;

1.5.2.1
date	99.08.29.15.32.05;	author peter;	state Exp;
branches;
next	;


desc
@@


1.6
log
@$Id$ -> $FreeBSD$
@
text
@#	@@(#)Makefile	8.3 (Berkeley) 7/19/93
# $FreeBSD$

PROG=	rdist
SRCS=	docmd.c expand.c gram.y lookup.c main.c rshrcmd.c server.c
CFLAGS+=-I${.CURDIR}
YFLAGS=

# To use the old method, which requires setuid-root and all the baggage and
# security holes that goes with it, uncomment:
# CFLAGS+= -DDIRECT_RCMD
# BINOWN=	root
# BINMODE=4555
# INSTALLFLAGS=-fschg

.include <bsd.prog.mk>
@


1.5
log
@Simplified by using new yacc rules and by not generating y.tab.h.
@
text
@d2 1
a2 1
#	$Id$
@


1.5.2.1
log
@$Id$ -> $FreeBSD$
@
text
@d2 1
a2 1
# $FreeBSD$
@


1.4
log
@Make the dependencies work a little better..
@
text
@d2 1
d5 1
d7 1
a7 3
SRCS=	docmd.c expand.c lookup.c main.c rshrcmd.c server.c
SRCS+=	gram.c
CLEANFILES=y.tab.h gram.c
@


1.3
log
@Remove the need for rdist(1) to run setuid, thus completely closing any
possibility of a security hole.  It now does what rdist-6 does, and calls
/usr/bin/rsh if not running as root.  There are NO protocol changes, this
is 100% compatable with the old rdist, except that it does not need setuid
root privs.

However, there are some minor differences to the base rdist-6 code in that
if it is being run by root, it will call rcmd(3) directly rather than
piping everything through rsh(1).  This is a little more efficient as it
doesn't involve context switching on pipe reads/writes.

Also, the -P option was added from rdist-6.1.2, which allows an alternative
rsh program to be specified, such as ssh.  Note that it requires the fixes
to the ssh port to disable the unconditional USE_PIPES option that was
recently added.  The rcmd(3) optimisation is disabled if a non-rsh program
is speficied.
@
text
@d6 2
a7 2
OBJS+=	gram.o
CLEANFILES=y.tab.h
@


1.2
log
@Use POSIX.2 regular expressions, kill libcompat.
@
text
@d5 1
a5 1
SRCS=	docmd.c expand.c lookup.c main.c server.c
a6 3
BINOWN=	root
BINMODE=4555
INSTALLFLAGS=-fschg
d8 7
@


1.1
log
@Initial revision
@
text
@a9 2
DPADD=	${LIBCOMPAT}
LDADD=	-lcompat
@


1.1.1.1
log
@BSD 4.4 Lite Usr.bin Sources
@
text
@@
