head	1.7;
access;
symbols
	RELENG_4_11_0_RELEASE:1.6
	RELENG_4_11:1.6.0.20
	RELENG_4_11_BP:1.6
	RELENG_4_10_0_RELEASE:1.6
	RELENG_4_10:1.6.0.18
	RELENG_4_10_BP:1.6
	RELENG_4_9_0_RELEASE:1.6
	RELENG_4_9:1.6.0.16
	RELENG_4_9_BP:1.6
	RELENG_4_8_0_RELEASE:1.6
	RELENG_4_8:1.6.0.14
	RELENG_4_8_BP:1.6
	RELENG_4_7_0_RELEASE:1.6
	RELENG_4_7:1.6.0.12
	RELENG_4_7_BP:1.6
	RELENG_4_6_2_RELEASE:1.6
	RELENG_4_6_1_RELEASE:1.6
	RELENG_4_6_0_RELEASE:1.6
	RELENG_4_6:1.6.0.10
	RELENG_4_6_BP:1.6
	RELENG_4_5_0_RELEASE:1.6
	RELENG_4_5:1.6.0.8
	RELENG_4_5_BP:1.6
	RELENG_4_4_0_RELEASE:1.6
	RELENG_4_4:1.6.0.6
	RELENG_4_4_BP:1.6
	RELENG_4_3_0_RELEASE:1.6
	RELENG_4_3:1.6.0.4
	RELENG_4_3_BP:1.6
	RELENG_4_2_0_RELEASE:1.6
	RELENG_4_1_1_RELEASE:1.6
	PRE_SMPNG:1.6
	RELENG_4_1_0_RELEASE:1.6
	RELENG_3_5_0_RELEASE:1.5.2.1
	RELENG_4_0_0_RELEASE:1.6
	RELENG_4:1.6.0.2
	RELENG_4_BP:1.6
	RELENG_3_4_0_RELEASE:1.5.2.1
	RELENG_3_3_0_RELEASE:1.5.2.1
	RELENG_3_2_PAO:1.5.0.4
	RELENG_3_2_PAO_BP:1.5
	RELENG_3_2_0_RELEASE:1.5
	RELENG_3_1_0_RELEASE:1.5
	RELENG_3:1.5.0.2
	RELENG_3_BP:1.5
	RELENG_2_2_8_RELEASE:1.4
	RELENG_3_0_0_RELEASE:1.5
	RELENG_2_2_7_RELEASE:1.4
	RELENG_2_2_6_RELEASE:1.4
	RELENG_2_2_5_RELEASE:1.4
	bsd_44_lite_2:1.1.1.1
	RELENG_2_2_2_RELEASE:1.4
	RELENG_2_2_1_RELEASE:1.4
	RELENG_2_2_0_RELEASE:1.4
	RELENG_2_1_7_RELEASE:1.2
	RELENG_2_1_6_1_RELEASE:1.2
	RELENG_2_1_6_RELEASE:1.2
	RELENG_2_2:1.4.0.2
	RELENG_2_2_BP:1.4
	RELENG_2_1_5_RELEASE:1.2
	RELENG_2_1_0_RELEASE:1.2
	RELENG_2_1_0:1.2.0.4
	RELENG_2_1_0_BP:1.2
	RELENG_2_0_5_RELEASE:1.2
	RELENG_2_0_5:1.2.0.2
	RELENG_2_0_5_BP:1.2
	RELENG_2_0_5_ALPHA:1.2
	RELEASE_2_0:1.1.1.1
	BETA_2_0:1.1.1.1
	ALPHA_2_0:1.1.1.1.0.2
	bsd_44_lite:1.1.1.1
	CSRG:1.1.1;
locks; strict;
comment	@# @;


1.7
date	2000.12.07.19.24.54;	author obrien;	state dead;
branches;
next	1.6;

1.6
date	99.08.28.01.05.05;	author peter;	state Exp;
branches
	1.6.2.1;
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.6.2.1
date	2012.11.17.07.27.45;	author svnexp;	state Exp;
branches;
next	;

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

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


desc
@@


1.7
log
@Retire this ancient version of rdist.
@
text
@#	@@(#)Makefile	8.3 (Berkeley) 7/19/93
# $FreeBSD: src/usr.bin/rdist/Makefile,v 1.6 1999/08/28 01:05:05 peter Exp $

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.6
log
@$Id$ -> $FreeBSD$
@
text
@d2 1
a2 1
# $FreeBSD$
@


1.6.2.1
log
@Switch importer
@
text
@d2 1
a2 1
# $FreeBSD: stable/4/usr.bin/rdist/Makefile 50477 1999-08-28 01:08:13Z peter $
@


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
@@
