head	1.55;
access;
symbols
	RELENG_8_4:1.54.0.2
	RELENG_9_1_0_RELEASE:1.53.4.1.4.2
	RELENG_9_1:1.53.4.1.0.4
	RELENG_9_1_BP:1.53.4.1
	RELENG_8_3_0_RELEASE:1.53.2.1.8.1
	RELENG_8_3:1.53.2.1.0.8
	RELENG_8_3_BP:1.53.2.1
	RELENG_9_0_0_RELEASE:1.53.4.1.2.1
	RELENG_9_0:1.53.4.1.0.2
	RELENG_9_0_BP:1.53.4.1
	RELENG_9:1.53.0.4
	RELENG_9_BP:1.53
	RELENG_7_4_0_RELEASE:1.52.12.1
	RELENG_8_2_0_RELEASE:1.53.2.1.6.1
	RELENG_7_4:1.52.0.12
	RELENG_7_4_BP:1.52
	RELENG_8_2:1.53.2.1.0.6
	RELENG_8_2_BP:1.53.2.1
	RELENG_8_1_0_RELEASE:1.53.2.1.4.1
	RELENG_8_1:1.53.2.1.0.4
	RELENG_8_1_BP:1.53.2.1
	RELENG_7_3_0_RELEASE:1.52.10.1
	RELENG_7_3:1.52.0.10
	RELENG_7_3_BP:1.52
	RELENG_8_0_0_RELEASE:1.53.2.1.2.1
	RELENG_8_0:1.53.2.1.0.2
	RELENG_8_0_BP:1.53.2.1
	RELENG_8:1.53.0.2
	RELENG_8_BP:1.53
	RELENG_7_2_0_RELEASE:1.52.8.1
	RELENG_7_2:1.52.0.8
	RELENG_7_2_BP:1.52
	RELENG_7_1_0_RELEASE:1.52.6.1
	RELENG_6_4_0_RELEASE:1.50.12.1
	RELENG_7_1:1.52.0.6
	RELENG_7_1_BP:1.52
	RELENG_6_4:1.50.0.12
	RELENG_6_4_BP:1.50
	RELENG_7_0_0_RELEASE:1.52
	RELENG_6_3_0_RELEASE:1.50
	RELENG_7_0:1.52.0.4
	RELENG_7_0_BP:1.52
	RELENG_6_3:1.50.0.10
	RELENG_6_3_BP:1.50
	RELENG_7:1.52.0.2
	RELENG_7_BP:1.52
	RELENG_6_2_0_RELEASE:1.50
	RELENG_6_2:1.50.0.8
	RELENG_6_2_BP:1.50
	RELENG_5_5_0_RELEASE:1.48
	RELENG_5_5:1.48.0.8
	RELENG_5_5_BP:1.48
	RELENG_6_1_0_RELEASE:1.50
	RELENG_6_1:1.50.0.6
	RELENG_6_1_BP:1.50
	RELENG_6_0_0_RELEASE:1.50
	RELENG_6_0:1.50.0.4
	RELENG_6_0_BP:1.50
	RELENG_6:1.50.0.2
	RELENG_6_BP:1.50
	RELENG_5_4_0_RELEASE:1.48
	RELENG_5_4:1.48.0.6
	RELENG_5_4_BP:1.48
	RELENG_4_11_0_RELEASE:1.32.2.7
	RELENG_4_11:1.32.2.7.0.2
	RELENG_4_11_BP:1.32.2.7
	RELENG_5_3_0_RELEASE:1.48
	RELENG_5_3:1.48.0.4
	RELENG_5_3_BP:1.48
	RELENG_5:1.48.0.2
	RELENG_5_BP:1.48
	RELENG_4_10_0_RELEASE:1.32.2.6
	RELENG_4_10:1.32.2.6.0.6
	RELENG_4_10_BP:1.32.2.6
	RELENG_5_2_1_RELEASE:1.41
	RELENG_5_2_0_RELEASE:1.41
	RELENG_5_2:1.41.0.4
	RELENG_5_2_BP:1.41
	RELENG_4_9_0_RELEASE:1.32.2.6
	RELENG_4_9:1.32.2.6.0.4
	RELENG_4_9_BP:1.32.2.6
	RELENG_5_1_0_RELEASE:1.41
	RELENG_5_1:1.41.0.2
	RELENG_5_1_BP:1.41
	RELENG_4_8_0_RELEASE:1.32.2.6
	RELENG_4_8:1.32.2.6.0.2
	RELENG_4_8_BP:1.32.2.6
	RELENG_5_0_0_RELEASE:1.39
	RELENG_5_0:1.39.0.2
	RELENG_5_0_BP:1.39
	RELENG_4_7_0_RELEASE:1.32.2.3
	RELENG_4_7:1.32.2.3.0.2
	RELENG_4_7_BP:1.32.2.3
	RELENG_4_6_2_RELEASE:1.32.2.2
	RELENG_4_6_1_RELEASE:1.32.2.2
	RELENG_4_6_0_RELEASE:1.32.2.2
	RELENG_4_6:1.32.2.2.0.4
	RELENG_4_6_BP:1.32.2.2
	RELENG_4_5_0_RELEASE:1.32.2.2
	RELENG_4_5:1.32.2.2.0.2
	RELENG_4_5_BP:1.32.2.2
	RELENG_4_4_0_RELEASE:1.32.2.1
	RELENG_4_4:1.32.2.1.0.2
	RELENG_4_4_BP:1.32.2.1
	RELENG_4_3_0_RELEASE:1.32
	RELENG_4_3:1.32.0.4
	RELENG_4_3_BP:1.32
	RELENG_4_2_0_RELEASE:1.32
	RELENG_4_1_1_RELEASE:1.32
	PRE_SMPNG:1.32
	RELENG_4_1_0_RELEASE:1.32
	RELENG_3_5_0_RELEASE:1.24.2.5
	RELENG_4_0_0_RELEASE:1.32
	RELENG_4:1.32.0.2
	RELENG_4_BP:1.32
	RELENG_3_4_0_RELEASE:1.24.2.4
	RELENG_3_3_0_RELEASE:1.24.2.2
	RELENG_3_2_PAO:1.24.2.1.0.2
	RELENG_3_2_PAO_BP:1.24.2.1
	RELENG_3_2_0_RELEASE:1.24.2.1
	RELENG_3_1_0_RELEASE:1.24
	RELENG_3:1.24.0.2
	RELENG_3_BP:1.24
	RELENG_2_2_8_RELEASE:1.14.2.2
	RELENG_3_0_0_RELEASE:1.24
	RELENG_2_2_7_RELEASE:1.14.2.2
	RELENG_2_2_6_RELEASE:1.14.2.1
	RELENG_2_2_5_RELEASE:1.14.2.1
	RELENG_2_2_2_RELEASE:1.14
	RELENG_2_2_1_RELEASE:1.14
	RELENG_2_2_0_RELEASE:1.14
	RELENG_2_1_7_RELEASE:1.10.6.1
	RELENG_2_1_6_1_RELEASE:1.10.6.1
	RELENG_2_1_6_RELEASE:1.10.6.1
	RELENG_2_2:1.14.0.2
	RELENG_2_2_BP:1.14
	CVS_1_6_3_END:1.13
	RELENG_2_1_5_RELEASE:1.10.6.1
	before_cvs_1_6:1.10
	RELENG_2_1_0_RELEASE:1.10
	RELENG_2_1_0:1.10.0.6
	RELENG_2_1_0_BP:1.10
	RELENG_2_0_5_RELEASE:1.10
	RELENG_2_0_5:1.10.0.4
	RELENG_2_0_5_BP:1.10
	RELENG_2_0_5_ALPHA:1.10
	jt_spdup:1.10.0.2
	b4_spdup:1.10
	RELEASE_2_0:1.8
	BETA_2_0:1.8
	ALPHA_2_0:1.8.0.2
	MOVED_NEWCVS:1.7
	FINAL_1_1_5:1.7
	ALPHA_1_1_5:1.7
	FINAL_1_1:1.6
	GAMMA_1_1:1.6
	BETA_1_1:1.6.0.2
	BP_BETA_1_1:1.6
	FINAL_1_0:1.6
	EPSILON_1_0:1.6
	GAMMA_1_0:1.6
	BETA_1_0:1.5
	ALPHA_1_0:1.5
	cvs_1_3:1.1.1.1
	cvs:1.1.1;
locks; strict;
comment	@# @;


1.55
date	2013.06.16.00.38.20;	author svnexp;	state dead;
branches;
next	1.54;

1.54
date	2012.11.17.01.49.10;	author svnexp;	state Exp;
branches
	1.54.2.1;
next	1.53;

1.53
date	2008.05.07.13.53.02;	author dfr;	state Exp;
branches
	1.53.2.1
	1.53.4.1;
next	1.52;

1.52
date	2006.03.17.18.54.23;	author ru;	state Exp;
branches
	1.52.2.1
	1.52.6.1
	1.52.8.1
	1.52.10.1
	1.52.12.1;
next	1.51;

1.51
date	2005.12.29.14.40.19;	author dfr;	state Exp;
branches;
next	1.50;

1.50
date	2005.06.03.15.08.30;	author imp;	state Exp;
branches
	1.50.2.1
	1.50.12.1;
next	1.49;

1.49
date	2004.12.21.10.15.59;	author ru;	state Exp;
branches;
next	1.48;

1.48
date	2004.08.06.07.27.03;	author cperciva;	state Exp;
branches
	1.48.2.1;
next	1.47;

1.47
date	2004.04.15.01.54.28;	author peter;	state Exp;
branches;
next	1.46;

1.46
date	2004.04.14.16.48.27;	author nectar;	state Exp;
branches;
next	1.45;

1.45
date	2004.04.14.16.40.49;	author nectar;	state Exp;
branches;
next	1.44;

1.44
date	2004.02.17.05.38.44;	author ache;	state Exp;
branches;
next	1.43;

1.43
date	2004.02.16.23.25.49;	author ache;	state Exp;
branches;
next	1.42;

1.42
date	2004.02.05.22.44.22;	author ru;	state Exp;
branches;
next	1.41;

1.41
date	2003.05.05.16.50.42;	author nectar;	state Exp;
branches;
next	1.40;

1.40
date	2003.01.21.23.00.35;	author peter;	state Exp;
branches;
next	1.39;

1.39
date	2002.12.02.03.20.24;	author peter;	state Exp;
branches;
next	1.38;

1.38
date	2002.09.02.06.00.09;	author peter;	state Exp;
branches;
next	1.37;

1.37
date	2002.04.18.07.01.34;	author ru;	state Exp;
branches;
next	1.36;

1.36
date	2001.08.10.11.24.23;	author peter;	state Exp;
branches;
next	1.35;

1.35
date	2001.08.10.10.29.04;	author peter;	state Exp;
branches;
next	1.34;

1.34
date	2001.08.10.09.54.52;	author peter;	state Exp;
branches;
next	1.33;

1.33
date	2001.03.27.14.58.39;	author ru;	state Exp;
branches;
next	1.32;

1.32
date	2000.02.24.23.15.42;	author markm;	state Exp;
branches
	1.32.2.1;
next	1.31;

1.31
date	2000.01.10.11.38.46;	author phantom;	state Exp;
branches;
next	1.30;

1.30
date	99.12.08.16.43.28;	author peter;	state Exp;
branches;
next	1.29;

1.29
date	99.12.04.01.23.23;	author obrien;	state Exp;
branches;
next	1.28;

1.28
date	99.09.19.22.32.09;	author markm;	state Exp;
branches;
next	1.27;

1.27
date	99.09.05.14.07.40;	author markm;	state Exp;
branches;
next	1.26;

1.26
date	99.08.27.23.35.25;	author peter;	state Exp;
branches;
next	1.25;

1.25
date	99.03.18.09.37.57;	author peter;	state Exp;
branches;
next	1.24;

1.24
date	98.08.15.17.26.36;	author markm;	state Exp;
branches
	1.24.2.1;
next	1.23;

1.23
date	98.04.19.14.27.45;	author eivind;	state Exp;
branches;
next	1.22;

1.22
date	98.03.28.19.06.21;	author eivind;	state Exp;
branches;
next	1.21;

1.21
date	98.03.10.14.00.59;	author peter;	state Exp;
branches;
next	1.20;

1.20
date	98.01.26.04.21.52;	author peter;	state Exp;
branches;
next	1.19;

1.19
date	97.12.17.15.11.41;	author bde;	state Exp;
branches;
next	1.18;

1.18
date	97.10.10.04.03.17;	author peter;	state Exp;
branches;
next	1.17;

1.17
date	97.05.15.23.00.05;	author peter;	state Exp;
branches;
next	1.16;

1.16
date	97.02.22.15.45.14;	author peter;	state Exp;
branches;
next	1.15;

1.15
date	97.01.14.05.57.04;	author jkh;	state Exp;
branches;
next	1.14;

1.14
date	96.08.20.23.54.06;	author peter;	state Exp;
branches
	1.14.2.1;
next	1.13;

1.13
date	95.12.11.04.24.02;	author peter;	state Exp;
branches;
next	1.12;

1.12
date	95.12.11.02.22.27;	author peter;	state Exp;
branches;
next	1.11;

1.11
date	95.12.10.23.01.41;	author peter;	state Exp;
branches;
next	1.10;

1.10
date	95.03.31.07.55.08;	author nate;	state Exp;
branches
	1.10.6.1;
next	1.9;

1.9
date	95.01.11.06.42.07;	author ache;	state Exp;
branches;
next	1.8;

1.8
date	94.08.28.18.14.56;	author bde;	state Exp;
branches;
next	1.7;

1.7
date	94.05.24.08.11.20;	author rgrimes;	state Exp;
branches;
next	1.6;

1.6
date	93.08.14.22.00.14;	author nate;	state Exp;
branches;
next	1.5;

1.5
date	93.07.06.19.12.42;	author nate;	state Exp;
branches;
next	1.4;

1.4
date	93.07.02.04.53.10;	author root;	state Exp;
branches;
next	1.3;

1.3
date	93.06.25.19.39.31;	author nate;	state Exp;
branches;
next	1.2;

1.2
date	93.06.24.23.55.41;	author jkh;	state Exp;
branches;
next	1.1;

1.1
date	93.06.18.05.46.09;	author jkh;	state Exp;
branches
	1.1.1.1;
next	;

1.54.2.1
date	2012.11.17.01.49.10;	author svnexp;	state dead;
branches;
next	1.54.2.2;

1.54.2.2
date	2013.03.28.13.02.49;	author svnexp;	state Exp;
branches;
next	;

1.53.2.1
date	2009.08.03.08.13.06;	author kensmith;	state Exp;
branches
	1.53.2.1.2.1
	1.53.2.1.4.1
	1.53.2.1.6.1
	1.53.2.1.8.1;
next	1.53.2.2;

1.53.2.2
date	2012.11.17.10.35.59;	author svnexp;	state Exp;
branches;
next	;

1.53.2.1.2.1
date	2009.10.25.01.10.29;	author kensmith;	state Exp;
branches;
next	;

1.53.2.1.4.1
date	2010.06.14.02.09.06;	author kensmith;	state Exp;
branches;
next	;

1.53.2.1.6.1
date	2010.12.21.17.09.25;	author kensmith;	state Exp;
branches;
next	;

1.53.2.1.8.1
date	2012.03.03.06.15.13;	author kensmith;	state Exp;
branches;
next	1.53.2.1.8.2;

1.53.2.1.8.2
date	2012.11.17.08.24.40;	author svnexp;	state Exp;
branches;
next	;

1.53.4.1
date	2011.09.23.00.51.37;	author kensmith;	state Exp;
branches
	1.53.4.1.2.1
	1.53.4.1.4.1;
next	1.53.4.2;

1.53.4.2
date	2012.11.17.11.36.13;	author svnexp;	state Exp;
branches;
next	;

1.53.4.1.2.1
date	2011.11.11.04.20.22;	author kensmith;	state Exp;
branches;
next	1.53.4.1.2.2;

1.53.4.1.2.2
date	2012.11.17.08.36.13;	author svnexp;	state Exp;
branches;
next	;

1.53.4.1.4.1
date	2012.08.05.23.54.33;	author kensmith;	state Exp;
branches;
next	1.53.4.1.4.2;

1.53.4.1.4.2
date	2012.11.17.08.47.03;	author svnexp;	state Exp;
branches;
next	;

1.52.2.1
date	2012.11.17.08.01.31;	author svnexp;	state Exp;
branches;
next	;

1.52.6.1
date	2008.11.25.02.59.29;	author kensmith;	state Exp;
branches;
next	;

1.52.8.1
date	2009.04.15.03.14.26;	author kensmith;	state Exp;
branches;
next	;

1.52.10.1
date	2010.02.10.00.26.20;	author kensmith;	state Exp;
branches;
next	;

1.52.12.1
date	2010.12.21.17.10.29;	author kensmith;	state Exp;
branches;
next	1.52.12.2;

1.52.12.2
date	2012.11.17.08.16.39;	author svnexp;	state Exp;
branches;
next	;

1.50.2.1
date	2012.11.17.07.39.17;	author svnexp;	state Exp;
branches;
next	;

1.50.12.1
date	2008.10.02.02.57.24;	author kensmith;	state Exp;
branches;
next	;

1.48.2.1
date	2006.07.09.19.49.23;	author markm;	state Exp;
branches;
next	;

1.32.2.1
date	2001.04.25.12.03.33;	author ru;	state Exp;
branches;
next	1.32.2.2;

1.32.2.2
date	2001.10.28.21.32.14;	author peter;	state Exp;
branches;
next	1.32.2.3;

1.32.2.3
date	2002.07.17.19.08.22;	author ru;	state Exp;
branches;
next	1.32.2.4;

1.32.2.4
date	2002.10.15.20.25.09;	author peter;	state Exp;
branches;
next	1.32.2.5;

1.32.2.5
date	2002.12.19.21.18.01;	author peter;	state Exp;
branches;
next	1.32.2.6;

1.32.2.6
date	2003.01.21.23.06.51;	author peter;	state Exp;
branches;
next	1.32.2.7;

1.32.2.7
date	2004.06.29.16.10.52;	author des;	state Exp;
branches;
next	1.32.2.8;

1.32.2.8
date	2012.11.17.07.23.03;	author svnexp;	state Exp;
branches;
next	;

1.24.2.1
date	99.05.10.15.00.51;	author peter;	state Exp;
branches;
next	1.24.2.2;

1.24.2.2
date	99.08.29.14.32.51;	author peter;	state Exp;
branches;
next	1.24.2.3;

1.24.2.3
date	99.12.13.20.57.26;	author peter;	state Exp;
branches;
next	1.24.2.4;

1.24.2.4
date	99.12.14.11.46.18;	author peter;	state Exp;
branches;
next	1.24.2.5;

1.24.2.5
date	2000.01.10.11.41.09;	author phantom;	state Exp;
branches;
next	;

1.14.2.1
date	97.06.28.03.27.50;	author peter;	state Exp;
branches;
next	1.14.2.2;

1.14.2.2
date	98.04.05.03.22.25;	author peter;	state Exp;
branches;
next	1.14.2.3;

1.14.2.3
date	99.09.05.11.06.24;	author peter;	state Exp;
branches;
next	;

1.10.6.1
date	96.02.23.12.17.40;	author peter;	state Exp;
branches;
next	1.10.6.2;

1.10.6.2
date	99.09.05.11.10.55;	author peter;	state Exp;
branches;
next	;

1.1.1.1
date	93.06.18.05.46.10;	author jkh;	state Exp;
branches;
next	;


desc
@@


1.55
log
@## SVN ## Exported commit - http://svnweb.freebsd.org/changeset/base/251794
## SVN ## CVS IS DEPRECATED: http://wiki.freebsd.org/CvsIsDeprecated
@
text
@# $FreeBSD: head/gnu/usr.bin/cvs/cvs/Makefile 178828 2008-05-07 13:53:12Z dfr $

.include <bsd.own.mk>
.include "${.CURDIR}/../Makefile.inc"

.PATH:	${CVSDIR}/src
.PATH:	${CVSDIR}/lib
.PATH:	${CVSDIR}/man
.PATH:	${CVSDIR}

PROG=	cvs
MAN=	cvs.1 cvs.5

SRCS=	add.c admin.c annotate.c buffer.c \
	checkin.c checkout.c classify.c client.c \
	commit.c create_adm.c cvsrc.c diff.c edit.c entries.c error.c \
	expand_path.c fileattr.c filesubr.c find_names.c \
	hardlink.c hash.c history.c \
	ignore.c import.c lock.c log.c login.c logmsg.c main.c mkmodules.c \
	modules.c myndbm.c no_diff.c parseinfo.c patch.c prepend_args.c \
	rcs.c rcscmds.c \
	recurse.c release.c remove.c repos.c root.c run.c scramble.c \
	server.c stack.c status.c subr.c \
	tag.c update.c vers_ts.c version.c watch.c \
	wrapper.c zlib.c

# gnu must be before lib to pick correct regex.h
CFLAGS+= -I${.CURDIR} -I../lib -DHAVE_CONFIG_H -I${CVSDIR}/src \
	 -I${DESTDIR}/usr/include/gnu \
	 -I${CVSDIR}/lib -I${CVSDIR}/diff -I.

DPADD=	${LIBCVS} ${LIBDIFF} ${LIBGNUREGEX} ${LIBMD} ${LIBCRYPT} ${LIBZ}
LDADD=	${LIBCVS} ${LIBDIFF} -lgnuregex -lmd -lcrypt -lz

.if ${MK_KERBEROS_SUPPORT} != "no"
CFLAGS+= -DHAVE_GSSAPI -DENCRYPTION
LDADD+= -lgssapi -lkrb5 -lhx509 -lasn1 -lcrypto -lroken -lcrypt -lcom_err
DPADD+= ${LIBGSSAPI} ${LIBKRB5} ${LIBHX509} ${LIBASN1} ${LIBCRYPTO} ${LIBROKEN}
DPADD+= ${LIBCRYPT} ${LIBCOM_ERR}
.endif

#
# Regression test support
#
CLEANDIRS+=cvs-sanity
.ifmake regress
USERID!=id -u
regress:
	mkdir -p ${.OBJDIR}/cvs-sanity/tmp ${.OBJDIR}/cvs-sanity/work
.if ${USERID} == "0"
	chown -R nobody ${.OBJDIR}/cvs-sanity
	(TESTDIR=`sh -c 'cd ${.OBJDIR}/cvs-sanity/tmp && /bin/pwd'`;\
	        export TESTDIR;\
		cd ${.OBJDIR}/cvs-sanity/work;\
		su -m nobody -c "sh ${CVSDIR}/src/sanity.sh ${.OBJDIR}/cvs")
.else
	(TESTDIR=`sh -c 'cd ${.OBJDIR}/cvs-sanity/tmp && /bin/pwd'`;\
		export TESTDIR;\
		cd ${.OBJDIR}/cvs-sanity/work;\
		sh ${CVSDIR}/src/sanity.sh ${.OBJDIR}/cvs)
.endif
.endif

.include <bsd.prog.mk>
@


1.54
log
@Switching exporter and resync
@
text
@@


1.54.2.1
log
@file Makefile was added on branch RELENG_8_4 on 2013-03-28 13:02:49 +0000
@
text
@d1 64
@


1.54.2.2
log
@## SVN ## Exported commit - http://svnweb.freebsd.org/changeset/base/248810
## SVN ## CVS IS DEPRECATED: http://wiki.freebsd.org/CvsIsDeprecated
@
text
@a0 64
# $FreeBSD: releng/8.4/gnu/usr.bin/cvs/cvs/Makefile 178828 2008-05-07 13:53:12Z dfr $

.include <bsd.own.mk>
.include "${.CURDIR}/../Makefile.inc"

.PATH:	${CVSDIR}/src
.PATH:	${CVSDIR}/lib
.PATH:	${CVSDIR}/man
.PATH:	${CVSDIR}

PROG=	cvs
MAN=	cvs.1 cvs.5

SRCS=	add.c admin.c annotate.c buffer.c \
	checkin.c checkout.c classify.c client.c \
	commit.c create_adm.c cvsrc.c diff.c edit.c entries.c error.c \
	expand_path.c fileattr.c filesubr.c find_names.c \
	hardlink.c hash.c history.c \
	ignore.c import.c lock.c log.c login.c logmsg.c main.c mkmodules.c \
	modules.c myndbm.c no_diff.c parseinfo.c patch.c prepend_args.c \
	rcs.c rcscmds.c \
	recurse.c release.c remove.c repos.c root.c run.c scramble.c \
	server.c stack.c status.c subr.c \
	tag.c update.c vers_ts.c version.c watch.c \
	wrapper.c zlib.c

# gnu must be before lib to pick correct regex.h
CFLAGS+= -I${.CURDIR} -I../lib -DHAVE_CONFIG_H -I${CVSDIR}/src \
	 -I${DESTDIR}/usr/include/gnu \
	 -I${CVSDIR}/lib -I${CVSDIR}/diff -I.

DPADD=	${LIBCVS} ${LIBDIFF} ${LIBGNUREGEX} ${LIBMD} ${LIBCRYPT} ${LIBZ}
LDADD=	${LIBCVS} ${LIBDIFF} -lgnuregex -lmd -lcrypt -lz

.if ${MK_KERBEROS_SUPPORT} != "no"
CFLAGS+= -DHAVE_GSSAPI -DENCRYPTION
LDADD+= -lgssapi -lkrb5 -lhx509 -lasn1 -lcrypto -lroken -lcrypt -lcom_err
DPADD+= ${LIBGSSAPI} ${LIBKRB5} ${LIBHX509} ${LIBASN1} ${LIBCRYPTO} ${LIBROKEN}
DPADD+= ${LIBCRYPT} ${LIBCOM_ERR}
.endif

#
# Regression test support
#
CLEANDIRS+=cvs-sanity
.ifmake regress
USERID!=id -u
regress:
	mkdir -p ${.OBJDIR}/cvs-sanity/tmp ${.OBJDIR}/cvs-sanity/work
.if ${USERID} == "0"
	chown -R nobody ${.OBJDIR}/cvs-sanity
	(TESTDIR=`sh -c 'cd ${.OBJDIR}/cvs-sanity/tmp && /bin/pwd'`;\
	        export TESTDIR;\
		cd ${.OBJDIR}/cvs-sanity/work;\
		su -m nobody -c "sh ${CVSDIR}/src/sanity.sh ${.OBJDIR}/cvs")
.else
	(TESTDIR=`sh -c 'cd ${.OBJDIR}/cvs-sanity/tmp && /bin/pwd'`;\
		export TESTDIR;\
		cd ${.OBJDIR}/cvs-sanity/work;\
		sh ${CVSDIR}/src/sanity.sh ${.OBJDIR}/cvs)
.endif
.endif

.include <bsd.prog.mk>
@


1.53
log
@Fix conflicts after heimdal-1.1 import and add build infrastructure. Import
all non-style changes made by heimdal to our own libgssapi.
@
text
@d1 1
a1 1
# $FreeBSD$
@


1.53.4.1
log
@SVN rev 225736 on 2011-09-23 00:51:37Z by kensmith

Copy head to stable/9 as part of 9.0-RELEASE release cycle.

Approved by:	re (implicit)
@
text
@@


1.53.4.2
log
@## SVN ##
## SVN ## Exported commit - http://svnweb.freebsd.org/changeset/base/ 242902
## SVN ## CVS IS DEPRECATED: http://wiki.freebsd.org/CvsIsDeprecated
## SVN ##
## SVN ## ------------------------------------------------------------------------
## SVN ## r242902 | dteske | 2012-11-11 23:29:45 +0000 (Sun, 11 Nov 2012) | 10 lines
## SVN ##
## SVN ## Fix a regression introduced by SVN r211417 that saw the breakage of a feature
## SVN ## documented in usr.sbin/sysinstall/help/shortcuts.hlp (reproduced below):
## SVN ##
## SVN ## If /usr/sbin/sysinstall is linked to another filename, say
## SVN ## `/usr/local/bin/configPackages', then the basename will be used
## SVN ## as an implicit command name.
## SVN ##
## SVN ## Reviewed by:	adrian (co-mentor)
## SVN ## Approved by:	adrian (co-mentor)
## SVN ##
## SVN ## ------------------------------------------------------------------------
## SVN ##
@
text
@d1 1
a1 1
# $FreeBSD: stable/9/gnu/usr.bin/cvs/cvs/Makefile 178828 2008-05-07 13:53:12Z dfr $
@


1.53.4.1.4.1
log
@SVN rev 239080 on 2012-08-05 23:54:33Z by kensmith

Copy stable/9 to releng/9.1 as part of the 9.1-RELEASE release process.

Approved by:	re (implicit)
@
text
@@


1.53.4.1.4.2
log
@Switch importer
@
text
@d1 1
a1 1
# $FreeBSD: releng/9.1/gnu/usr.bin/cvs/cvs/Makefile 178828 2008-05-07 13:53:12Z dfr $
@


1.53.4.1.2.1
log
@SVN rev 227445 on 2011-11-11 04:20:22Z by kensmith

Copy stable/9 to releng/9.0 as part of the FreeBSD 9.0-RELEASE release
cycle.

Approved by:	re (implicit)
@
text
@@


1.53.4.1.2.2
log
@Switch importer
@
text
@d1 1
a1 1
# $FreeBSD: releng/9.0/gnu/usr.bin/cvs/cvs/Makefile 178828 2008-05-07 13:53:12Z dfr $
@


1.53.2.1
log
@SVN rev 196045 on 2009-08-03 08:13:06Z by kensmith

Copy head to stable/8 as part of 8.0 Release cycle.

Approved by:	re (Implicit)
@
text
@@


1.53.2.2
log
@## SVN ##
## SVN ## Exported commit - http://svnweb.freebsd.org/changeset/base/ 242909
## SVN ## CVS IS DEPRECATED: http://wiki.freebsd.org/CvsIsDeprecated
## SVN ##
## SVN ## ------------------------------------------------------------------------
## SVN ## r242909 | dim | 2012-11-12 07:47:19 +0000 (Mon, 12 Nov 2012) | 20 lines
## SVN ##
## SVN ## MFC r242625:
## SVN ##
## SVN ## Remove duplicate const specifiers in many drivers (I hope I got all of
## SVN ## them, please let me know if not).  Most of these are of the form:
## SVN ##
## SVN ## static const struct bzzt_type {
## SVN ##       [...list of members...]
## SVN ## } const bzzt_devs[] = {
## SVN ##       [...list of initializers...]
## SVN ## };
## SVN ##
## SVN ## The second const is unnecessary, as arrays cannot be modified anyway,
## SVN ## and if the elements are const, the whole thing is const automatically
## SVN ## (e.g. it is placed in .rodata).
## SVN ##
## SVN ## I have verified this does not change the binary output of a full kernel
## SVN ## build (except for build timestamps embedded in the object files).
## SVN ##
## SVN ## Reviewed by:	yongari, marius
## SVN ##
## SVN ## ------------------------------------------------------------------------
## SVN ##
@
text
@d1 1
a1 1
# $FreeBSD: stable/8/gnu/usr.bin/cvs/cvs/Makefile 178828 2008-05-07 13:53:12Z dfr $
@


1.53.2.1.8.1
log
@SVN rev 232438 on 2012-03-03 06:15:13Z by kensmith

Copy stable/8 to releng/8.3 as part of 8.3-RELEASE release cycle.

Approved by:	re (implicit)
@
text
@@


1.53.2.1.8.2
log
@Switch importer
@
text
@d1 1
a1 1
# $FreeBSD: releng/8.3/gnu/usr.bin/cvs/cvs/Makefile 178828 2008-05-07 13:53:12Z dfr $
@


1.53.2.1.6.1
log
@SVN rev 216617 on 2010-12-21 17:09:25Z by kensmith

Copy stable/8 to releng/8.2 in preparation for FreeBSD-8.2 release.

Approved by:	re (implicit)
@
text
@@


1.53.2.1.4.1
log
@SVN rev 209145 on 2010-06-14 02:09:06Z by kensmith

Copy stable/8 to releng/8.1 in preparation for 8.1-RC1.

Approved by:	re (implicit)
@
text
@@


1.53.2.1.2.1
log
@SVN rev 198460 on 2009-10-25 01:10:29Z by kensmith

Copy stable/8 to releng/8.0 as part of 8.0-RELEASE release procedure.

Approved by:	re (implicit)
@
text
@@


1.52
log
@Reimplementation of world/kernel build options.  For details, see:

http://lists.freebsd.org/pipermail/freebsd-current/2006-March/061725.html

The src.conf(5) manpage is to follow in a few days.

Brought to you by:	imp, jhb, kris, phk, ru (all bugs are mine)
@
text
@d37 2
a38 2
LDADD+= -lgssapi -lkrb5 -lasn1 -lcrypto -lroken -lcrypt -lcom_err
DPADD+= ${LIBGSSAPI} ${LIBKRB5} ${LIBASN1} ${LIBCRYPTO} ${LIBROKEN}
@


1.52.2.1
log
@Switch importer
@
text
@d1 1
a1 1
# $FreeBSD: stable/7/gnu/usr.bin/cvs/cvs/Makefile 156813 2006-03-17 18:54:44Z ru $
@


1.52.12.1
log
@SVN rev 216618 on 2010-12-21 17:10:29Z by kensmith

Copy stable/7 to releng/7.4 in preparation for FreeBSD-7.4 release.

Approved by:	re (implicit)
@
text
@@


1.52.12.2
log
@Switch importer
@
text
@d1 1
a1 1
# $FreeBSD: releng/7.4/gnu/usr.bin/cvs/cvs/Makefile 156813 2006-03-17 18:54:44Z ru $
@


1.52.10.1
log
@SVN rev 203736 on 2010-02-10 00:26:20Z by kensmith

Copy stable/7 to releng/7.3 as part of the 7.3-RELEASE process.

Approved by:	re (implicit)
@
text
@@


1.52.8.1
log
@SVN rev 191087 on 2009-04-15 03:14:26Z by kensmith

Create releng/7.2 from stable/7 in preparation for 7.2-RELEASE.

Approved by:	re (implicit)
@
text
@@


1.52.6.1
log
@SVN rev 185281 on 2008-11-25 02:59:29Z by kensmith

Create releng/7.1 in preparation for moving into RC phase of 7.1 release
cycle.

Approved by:	re (implicit)
@
text
@@


1.51
log
@Add a new extensible GSS-API layer which can support GSS-API plugins,
similar the the Solaris implementation. Repackage the krb5 GSS mechanism
as a plugin library for the new implementation. This also includes a
comprehensive set of manpages for the GSS-API functions with text mostly
taken from the RFC.

Reviewed by: Love Hrnquist strand <lha@@it.su.se>, ru (build system), des (openssh parts)
@
text
@d3 1
d35 1
a35 1
.if !defined(NO_KERBEROS) && !defined(NO_OPENSSL) && !defined(NO_CRYPT)
@


1.50
log
@Tidy up cvs entries
@
text
@d35 1
a35 1
CFLAGS+= -DHAVE_GSSAPI -DHAVE_GSSAPI_H -DENCRYPTION
@


1.50.2.1
log
@Switch importer
@
text
@d1 1
a1 1
# $FreeBSD: stable/6/gnu/usr.bin/cvs/cvs/Makefile 146929 2005-06-03 15:08:30Z imp $
@


1.50.12.1
log
@SVN rev 183531 on 2008-10-02 02:57:24Z by kensmith

Create releng/6.4 from stable/6 in preparation for 6.4-RC1.

Approved by:	re (implicit)
@
text
@@


1.49
log
@NOCRYPT -> NO_CRYPT
@
text
@a2 2
MAINTAINER=	peter@@FreeBSD.org

@


1.48
log
@Join the 21st century: Cryptography is no longer an optional component
of releases.  The -DNOCRYPT build option still exists for anyone who
really wants to build non-cryptographic binaries, but the "crypto"
release distribution is now part of "base", and anyone installing from a
release will get cryptographic binaries.

Approved by:	re (scottl), markm
Discussed on:	freebsd-current, in late April 2004
@
text
@d36 1
a36 1
.if !defined(NO_KERBEROS) && !defined(NO_OPENSSL) && !defined(NOCRYPT)
@


1.48.2.1
log
@MFC: keep the maintainers consistent with HEAD.
@
text
@d3 2
@


1.47
log
@Update bmake glue for cvs-1.11.15, with apologies to Jacques for messing
up his day.  The *.patch files are still fine for MFC'ing.
@
text
@a40 1
DISTRIBUTION=	crypto
@


1.46
log
@Forced commit to note that the CVS patches in the previous commit
were

Submitted by:	Derek Robert Price <derek@@ximbiot.com>
@
text
@d16 1
a16 1
	checkin.c checkout.c classify.c client_P.c \
d21 1
a21 1
	modules_P.c myndbm.c no_diff.c parseinfo.c patch.c prepend_args.c \
d24 2
a25 1
	server.c status.c subr.c tag.c update.c vers_ts.c version.c watch.c \
a64 8

# XXX Temporary until next CVS import: patch security issues
.for f in client modules
CLEANFILES+=	${f}_P.c

${f}_P.c:	${f}.c ${f}.patch
	patch -t -s -p3 -o ${.TARGET} ${.ALLSRC:M*.c} ${.ALLSRC:M*.patch}
.endfor
@


1.45
log
@Patch vulnerabilities in the CVS client and server:

  A malicious CVS server could cause your CVS client to overwrite
  arbitrary files (CAN-2004-0180).

  When a CVS client uses the `-p' checkout option, the server could be
  fooled into checking out files from outside the given $CVSROOT.

(This patch is applied in an unorthodox manner so as not to complicate
 a later vendor import of CVS.)
@
text
@@


1.44
log
@Oops, use -I${DESTDIR}/usr/include/gnu instead of ... /../../include/gnu
@
text
@d16 1
a16 1
	checkin.c checkout.c classify.c client.c \
d21 1
a21 1
	modules.c myndbm.c no_diff.c parseinfo.c patch.c prepend_args.c \
d64 8
@


1.43
log
@Switch back to regex.h and fix error when mismatched regex.h used with
system libgnuregex
@
text
@d29 1
a29 1
	 -I${.CURDIR}/../../../../../include/gnu \
@


1.42
log
@Fixed style of DPADD and LDADD assignments as per style.Makefile(5).
@
text
@d27 4
a30 2
CFLAGS+= -I${.CURDIR} -I../lib -DHAVE_CONFIG_H \
	 -I${CVSDIR}/src -I${CVSDIR}/lib -I${CVSDIR}/diff -I.
@


1.41
log
@Enable GSSAPI/Kerberos 5 support (aka `gserver').

MFC after:	1 month
@
text
@d30 2
a31 2
DPADD+=	${LIBCVS} ${LIBDIFF} ${LIBGNUREGEX} ${LIBMD} ${LIBCRYPT} ${LIBZ}
LDADD+=	${LIBCVS} ${LIBDIFF} -lgnuregex -lmd -lcrypt -lz
@


1.40
log
@Finish update for cvs-1.11.5.  Some build-time tunables were moved from
options.h to config.h.in and set via ./configure when built normally.
Export some of the build knobs to the Makefile here, overridable
from /etc/make.conf.  Also get the version strings right.
config.h was repocopied to config.h.proto, and we do a limited sed on it
at build time now.
@
text
@d33 6
a38 9
.if defined(MAKE_KERBEROS4) && !defined(NO_OPENSSL) && !defined(NOCRYPT)
CFLAGS+=-DHAVE_KERBEROS -DHAVE_KRB_GET_ERR_TEXT
LDADD+=	-lkrb -lcrypto -lcom_err
DPADD+=	${LIBKRB} ${LIBCRYPTO} ${LIBCOM_ERR}
DISTRIBUTION=	krb4
# XXX do we want to mess with this?  It's probably not really worth it for
# the public freebsd stuff, but others might want it.  It's an optional
# feature anyway, the -x switch is needed to activate it.
CFLAGS+= -DENCRYPTION
@


1.39
log
@Update bmake glue after 1.11.2.1-20021201 import.  options.h is no longer
touched by configure in the autoconf system and a standard version is
now used.

Approved by:    re
@
text
@d27 1
a27 1
CFLAGS+= -I${.CURDIR} -I${.CURDIR}/../lib -DHAVE_CONFIG_H \
@


1.38
log
@version.h is now autogenerated in 1.11.2, not version.c
@
text
@d15 1
a15 1
SRCS=	version.h add.c admin.c annotate.c buffer.c \
a42 7

CLEANFILES+=	version.h
VERSION!=	sed < ${CVSDIR}/configure \
		-e '/^VERSION=/!d' -e 's/.*=\(.*\)/\1/' -e q

version.h: version.h.in
	sed -e "s,@@VERSION@@,${VERSION}-FreeBSD,g" ${.ALLSRC} > ${.TARGET}
@


1.37
log
@Replaced exists() tests with two equivalent defined().

LIBDIR is defined in bsd.own.mk but sys.mk no longer
includes bsd.own.mk as of revision 1.60.
@
text
@d15 2
a16 1
SRCS=	add.c admin.c annotate.c buffer.c checkin.c checkout.c classify.c client.c \
d28 1
a28 1
	 -I${CVSDIR}/src -I${CVSDIR}/lib -I${CVSDIR}/diff
d44 1
a44 1
CLEANFILES+=	version.c
d48 1
a48 1
version.c: version.c.in
@


1.36
log
@Use some slightly less horrible make magic for doing the version stuff.
@
text
@d1 1
a1 1
# $FreeBSD: src/gnu/usr.bin/cvs/cvs/Makefile,v 1.35 2001/08/10 10:29:04 peter Exp $
d32 1
a32 1
.if exists(${DESTDIR}${LIBDIR}/libkrb.a) && defined(MAKE_KERBEROS4)
@


1.35
log
@Generate version.c on the fly rather than using a generated file.
@
text
@d1 1
a1 1
# $FreeBSD: src/gnu/usr.bin/cvs/cvs/Makefile,v 1.34 2001/08/10 09:54:52 peter Exp $
d43 3
a45 1
CLEANFILES+=	version.c ver
d47 2
a48 8
ver:	configure
	echo > ${.TARGET} `sed < ${.ALLSRC} \
		-e '/^VERSION=/!d' \
		-e 's/.*=\(.*\)/\1/' \
		-e q`

version.c: ver version.c.in
	sed -e "s,@@VERSION@@,`cat ver`,g" ${CVSDIR}/src/version.c.in > ${.TARGET}
@


1.34
log
@Add annotate.c, remove rtag.c for 1.11.1p1
@
text
@d1 1
a1 1
# $FreeBSD: src/gnu/usr.bin/cvs/cvs/Makefile,v 1.33 2001/03/27 14:58:39 ru Exp $
d10 1
d42 11
@


1.33
log
@MAN[1-9] -> MAN.
@
text
@d1 1
a1 1
# $FreeBSD: src/gnu/usr.bin/cvs/cvs/Makefile,v 1.32 2000/02/24 23:15:42 markm Exp $
d14 1
a14 1
SRCS=	add.c admin.c buffer.c checkin.c checkout.c classify.c client.c \
d21 1
a21 1
	recurse.c release.c remove.c repos.c root.c rtag.c run.c scramble.c \
@


1.32
log
@Use libcrypto instead of libdes.
@
text
@d1 1
a1 1
# $FreeBSD: src/gnu/usr.bin/cvs/cvs/Makefile,v 1.31 2000/01/10 11:38:46 phantom Exp $
d12 1
a12 2
MAN1=	cvs.1
MAN5=	cvs.5
@


1.32.2.1
log
@MFC: MAN[1-9] -> MAN.
@
text
@d1 1
a1 1
# $FreeBSD: src/gnu/usr.bin/cvs/cvs/Makefile,v 1.32 2000/02/24 23:15:42 markm Exp $
d12 2
a13 1
MAN=	cvs.1 cvs.5
@


1.32.2.2
log
@MFC: cvs-1.11.1-p1
@
text
@d1 1
a1 1
# $FreeBSD$
a9 1
.PATH:	${CVSDIR}
d14 1
a14 1
SRCS=	add.c admin.c annotate.c buffer.c checkin.c checkout.c classify.c client.c \
d21 1
a21 1
	recurse.c release.c remove.c repos.c root.c run.c scramble.c \
a40 7

CLEANFILES+=	version.c
VERSION!=	sed < ${CVSDIR}/configure \
		-e '/^VERSION=/!d' -e 's/.*=\(.*\)/\1/' -e q

version.c: version.c.in
	sed -e "s,@@VERSION@@,${VERSION}-FreeBSD,g" ${.ALLSRC} > ${.TARGET}
@


1.32.2.3
log
@MFC: bsd.init.mk, don't include bsd.own.mk from sys.mk, assorted fixes.
@
text
@d32 1
a32 1
.if defined(MAKE_KERBEROS4) && !defined(NO_OPENSSL) && !defined(NOCRYPT)
@


1.32.2.4
log
@MFC: cvs-1.11.2 bmake glue
@
text
@d15 1
a15 2
SRCS=	version.h add.c admin.c annotate.c buffer.c \
	checkin.c checkout.c classify.c client.c \
d27 1
a27 1
	 -I${CVSDIR}/src -I${CVSDIR}/lib -I${CVSDIR}/diff -I.
d43 1
a43 1
CLEANFILES+=	version.h
d47 1
a47 1
version.h: version.h.in
@


1.32.2.5
log
@MFC: 1.11.2.1-20021201  (this has been running on key cluster machines
for a while, including the repository server)
@
text
@d15 1
a15 1
SRCS=	add.c admin.c annotate.c buffer.c \
d43 7
@


1.32.2.6
log
@Insta-MFC: bmake glue updates in cvs-1.11.5 aftermath
@
text
@d27 1
a27 1
CFLAGS+= -I${.CURDIR} -I../lib -DHAVE_CONFIG_H \
@


1.32.2.7
log
@MFC: upgrade to 1.11.17.

Approved by:	peter
@
text
@d24 1
a24 2
	server.c stack.c status.c subr.c \
	tag.c update.c vers_ts.c version.c watch.c \
d27 2
a28 4
# gnu must be before lib to pick correct regex.h
CFLAGS+= -I${.CURDIR} -I../lib -DHAVE_CONFIG_H -I${CVSDIR}/src \
	 -I${DESTDIR}/usr/include/gnu \
	 -I${CVSDIR}/lib -I${CVSDIR}/diff -I.
d30 2
a31 2
DPADD=	${LIBCVS} ${LIBDIFF} ${LIBGNUREGEX} ${LIBMD} ${LIBCRYPT} ${LIBZ}
LDADD=	${LIBCVS} ${LIBDIFF} -lgnuregex -lmd -lcrypt -lz
@


1.32.2.8
log
@Switch importer
@
text
@d1 1
a1 1
# $FreeBSD: stable/4/gnu/usr.bin/cvs/cvs/Makefile 131273 2004-06-29 16:10:53Z des $
@


1.31
log
@Fix typo: MAINAINER -> MAINTAINER
@
text
@d1 1
a1 1
# $FreeBSD: src/gnu/usr.bin/cvs/cvs/Makefile,v 1.30 1999/12/08 16:43:28 peter Exp $
d34 2
a35 2
LDADD+=	-lkrb -ldes -lcom_err
DPADD+=	${LIBKRB} ${LIBDES} ${LIBCOM_ERR}
@


1.30
log
@Add maintainer tags
@
text
@d1 1
a1 1
# $FreeBSD: src/gnu/usr.bin/cvs/cvs/Makefile,v 1.29 1999/12/04 01:23:23 obrien Exp $
d3 1
a3 1
MAINAINER=	peter@@FreeBSD.org
@


1.29
log
@Support the environtmental var "CVS_OPTIONS".  Which can hold a set of
default options for cvs.  These options are interpreted first and can be
overwritten by explicit command line parameters.

Obtained from:	GNU Grep 2.3
@
text
@d1 3
a3 1
# $FreeBSD: src/gnu/usr.bin/cvs/cvs/Makefile,v 1.28 1999/09/19 22:32:09 markm Exp $
@


1.28
log
@Change distribution to krb4 in preparation for K5.
@
text
@d1 1
a1 1
# $FreeBSD: src/gnu/usr.bin/cvs/cvs/Makefile,v 1.27 1999/09/05 14:07:40 markm Exp $
d18 2
a19 1
	modules.c myndbm.c no_diff.c parseinfo.c patch.c rcs.c rcscmds.c \
@


1.27
log
@Fix for new Common Error system.
@
text
@d1 1
a1 1
# $FreeBSD: src/gnu/usr.bin/cvs/cvs/Makefile,v 1.26 1999/08/27 23:35:25 peter Exp $
d33 1
a33 1
DISTRIBUTION=	krb
@


1.26
log
@$Id$ -> $FreeBSD$
@
text
@d1 1
a1 1
# $FreeBSD$
d31 2
a32 2
LDADD+=	-lkrb -ldes
DPADD+=	${LIBKRB} ${LIBDES}
@


1.25
log
@Update bmake glue for cvs-1.10
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.24 1998/08/15 17:26:36 markm Exp $
@


1.24
log
@Fix LIBDIR so kerberised CVS will work.
@
text
@d1 1
a1 1
#	$Id$
d23 2
a24 1
CFLAGS+= -I${.CURDIR} -I${.CURDIR}/../lib -I${CVSDIR}/src -I${CVSDIR}/lib -DHAVE_CONFIG_H
@


1.24.2.1
log
@MFC: cvs-1.10 + FreeBSD mods preserved.
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.24 1998/08/15 17:26:36 markm Exp $
d23 1
a23 2
CFLAGS+= -I${.CURDIR} -I${.CURDIR}/../lib -DHAVE_CONFIG_H \
	-I${CVSDIR}/src -I${CVSDIR}/lib -I${CVSDIR}/diff
@


1.24.2.2
log
@$Id$ -> $FreeBSD$
@
text
@d1 1
a1 1
# $FreeBSD$
@


1.24.2.3
log
@MFC: cvs 1.10.7, as we run on freefall.

Approved by:	jkh
@
text
@d1 1
a1 3
# $FreeBSD: src/gnu/usr.bin/cvs/cvs/Makefile,v 1.30 1999/12/08 16:43:28 peter Exp $

MAINAINER=	peter@@FreeBSD.org
d18 1
a18 2
	modules.c myndbm.c no_diff.c parseinfo.c patch.c prepend_args.c \
	rcs.c rcscmds.c \
d24 1
a24 1
	 -I${CVSDIR}/src -I${CVSDIR}/lib -I${CVSDIR}/diff
d31 3
a33 3
LDADD+=	-lkrb -ldes -lcom_err
DPADD+=	${LIBKRB} ${LIBDES} ${LIBCOM_ERR}
DISTRIBUTION=	krb4
@


1.24.2.4
log
@The kerberos distribution in -stable is "krb" not "krb4" as in -current..

'make release' broken by:  peter
Pointy hat awarded to culprit by: jkh
@
text
@d1 1
a1 1
# $FreeBSD: src/gnu/usr.bin/cvs/cvs/Makefile,v 1.24.2.3 1999/12/13 20:57:26 peter Exp $
d36 1
a36 1
DISTRIBUTION=	krb
@


1.24.2.5
log
@MFC: fix typo: MAINAINER -> MAINTAINER
@
text
@d1 1
a1 1
# $FreeBSD: src/gnu/usr.bin/cvs/cvs/Makefile,v 1.24.2.4 1999/12/14 11:46:18 peter Exp $
d3 1
a3 1
MAINTAINER=	peter@@FreeBSD.org
@


1.23
log
@Add an ".ifmake regress" to avoid warning during 'make world'.

Noticed by:	bde
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.22 1998/03/28 19:06:21 eivind Exp $
d28 1
a28 1
.if exists(${DESTDIR}/usr/lib/libkrb.a) && defined(MAKE_KERBEROS4)
@


1.22
log
@Activate CVS regression test.
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.21 1998/03/10 14:00:59 peter Exp $
d43 1
d59 1
a59 1

@


1.21
log
@add new file (hardlink.c) into sources
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.20 1998/01/26 04:21:52 peter Exp $
d38 21
@


1.20
log
@Add libdiff
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.19 1997/12/17 15:11:41 bde Exp $
d15 2
a16 1
	expand_path.c fileattr.c filesubr.c find_names.c hash.c history.c \
@


1.19
log
@Don't use LDDESTDIR.  Just put the -L arg in LDADD.
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.18 1997/10/10 04:03:17 peter Exp $
d24 2
a25 2
DPADD+=	${LIBCVS} ${LIBGNUREGEX} ${LIBMD} ${LIBCRYPT} ${LIBZ}
LDADD+=	-L${LIBDESTDIR} -lcvs -lgnuregex -lmd -lcrypt -lz
@


1.18
log
@If kerberos is installed and enabled in make.conf, activate cvs's kserver
hooks.  This is a lot safer than 'cvs pserver'.
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.17 1997/05/15 23:00:05 peter Exp $
d25 1
a25 1
LDADD+=	-lcvs -lgnuregex -lmd -lcrypt -lz
@


1.17
log
@Update to build the new cvs version
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.16 1997/02/22 15:45:14 peter Exp $
d26 11
@


1.16
log
@Revert $FreeBSD$ to $Id$
@
text
@d1 1
a1 1
#	$Id$
a11 6
SRCS=	add.c admin.c checkin.c checkout.c classify.c client.c commit.c \
	create_adm.c cvsrc.c diff.c entries.c expand_path.c find_names.c \
	history.c ignore.c import.c lock.c log.c login.c logmsg.c main.c \
	modules.c no_diff.c parseinfo.c patch.c rcs.c rcscmds.c recurse.c \
	release.c remove.c repos.c root.c rtag.c server.c status.c tag.c \
	update.c vers_ts.c wrapper.c
d13 8
a20 2
SRCS+=	subr.c error.c filesubr.c version.c myndbm.c fileattr.c watch.c run.c \
	hash.c edit.c mkmodules.c scramble.c
d24 2
a25 2
DPADD+=	${LIBCVS} ${LIBGNUREGEX} ${LIBMD} ${LIBCRYPT}
LDADD+=	-lcvs -lgnuregex -lmd -lcrypt
@


1.15
log
@Make the long-awaited change from $Id$ to $FreeBSD$

This will make a number of things easier in the future, as well as (finally!)
avoiding the Id-smashing problem which has plagued developers for so long.

Boy, I'm glad we're not using sup anymore.  This update would have been
insane otherwise.
@
text
@d1 1
a1 1
#	$FreeBSD$
@


1.14
log
@Update to use the cvs-1.8.1 sources from src/contrib/cvs
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.13 1995/12/11 04:24:02 peter Exp $
@


1.14.2.1
log
@Update bmake backend to deal with cvs 1.9.10
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.14 1996/08/20 23:54:06 peter Exp $
d12 6
d19 2
a20 8
SRCS=	add.c admin.c buffer.c checkin.c checkout.c classify.c client.c \
	commit.c create_adm.c cvsrc.c diff.c edit.c entries.c error.c \
	expand_path.c fileattr.c filesubr.c find_names.c hash.c history.c \
	ignore.c import.c lock.c log.c login.c logmsg.c main.c mkmodules.c \
	modules.c myndbm.c no_diff.c parseinfo.c patch.c rcs.c rcscmds.c \
	recurse.c release.c remove.c repos.c root.c rtag.c run.c scramble.c \
	server.c status.c subr.c tag.c update.c vers_ts.c version.c watch.c \
	wrapper.c zlib.c
d24 2
a25 2
DPADD+=	${LIBCVS} ${LIBGNUREGEX} ${LIBMD} ${LIBCRYPT} ${LIBZ}
LDADD+=	-lcvs -lgnuregex -lmd -lcrypt -lz
@


1.14.2.2
log
@Merge cvs from HEAD  (contrib/cvs is in a seperate commit)
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.14.2.1 1997/06/28 03:27:50 peter Exp $
d15 1
a15 2
	expand_path.c fileattr.c filesubr.c find_names.c \
	hardlink.c hash.c history.c \
d24 2
a25 34
DPADD+=	${LIBCVS} ${LIBDIFF} ${LIBGNUREGEX} ${LIBMD} ${LIBCRYPT} ${LIBZ}
LDADD+=	${LIBCVS} ${LIBDIFF} -lgnuregex -lmd -lcrypt -lz

.if exists(${DESTDIR}/usr/lib/libkrb.a) && defined(MAKE_KERBEROS4)
CFLAGS+=-DHAVE_KERBEROS -DHAVE_KRB_GET_ERR_TEXT
LDADD+=	-lkrb -ldes
DPADD+=	${LIBKRB} ${LIBDES}
DISTRIBUTION=	krb
# XXX do we want to mess with this?  It's probably not really worth it for
# the public freebsd stuff, but others might want it.  It's an optional
# feature anyway, the -x switch is needed to activate it.
CFLAGS+= -DENCRYPTION
.endif

#
# Regression test support
#
CLEANDIRS+=cvs-sanity
USERID!=id -u
regress:
	mkdir -p ${.OBJDIR}/cvs-sanity/tmp ${.OBJDIR}/cvs-sanity/work
.if ${USERID} == "0"
	chown -R nobody ${.OBJDIR}/cvs-sanity
	(TESTDIR=`sh -c 'cd ${.OBJDIR}/cvs-sanity/tmp && /bin/pwd'`;\
	        export TESTDIR;\
		cd ${.OBJDIR}/cvs-sanity/work;\
		su -m nobody -c "sh ${CVSDIR}/src/sanity.sh ${.OBJDIR}/cvs")
.else
	(TESTDIR=`sh -c 'cd ${.OBJDIR}/cvs-sanity/tmp && /bin/pwd'`;\
		export TESTDIR;\
		cd ${.OBJDIR}/cvs-sanity/work;\
		sh ${CVSDIR}/src/sanity.sh ${.OBJDIR}/cvs)
.endif

@


1.14.2.3
log
@$Id$ -> $FreeBSD$
@
text
@d1 1
a1 1
# $FreeBSD$
@


1.13
log
@Whitespace cleanup, add forgotten file to CLEANFILES..
@
text
@d1 7
a7 1
#	$Id: Makefile,v 1.12 1995/12/11 02:22:27 peter Exp $
d19 2
a20 1
CFLAGS+= -I${.CURDIR}/../lib -DHAVE_CONFIG_H
d22 4
a25 2
DPADD+=	${LIBCVS} ${LIBGNUREGEX} ${LIBMD}
LDADD+=	-lcvs -lgnuregex -lmd
a26 1
.include "../../Makefile.inc"
a27 1

@


1.12
log
@Make CVS use /usr/lib/libmd.a rather than supplying Yet Another Copy(TM)
of md5.[ch].  Note that minor mods were made to md5.h to support this,
so a reinstall of lib/libmd is needed before building this cvs.
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.11 1995/12/10 23:01:41 peter Exp $
d6 1
a6 1
SRCS =	add.c admin.c checkin.c checkout.c classify.c client.c commit.c \
@


1.11
log
@First round of the post-import cleanups...
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.10 1995/03/31 07:55:08 nate Exp $
d15 2
a16 2
DPADD+=	${LIBCVS} ${LIBGNUREGEX}
LDADD+=	-lcvs -lgnuregex
@


1.10
log
@Merged in FreeBSD necessary changes in.  Note, all of our source
modifications were *not* merged in (FreeBSD-DEVELOPER and symlink) but
the source is now the stock sources.
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.25 1995/03/22 19:39:45 nate Exp $
d6 6
a11 5
SRCS =	add.c admin.c checkin.c checkout.c classify.c commit.c create_adm.c  \
	cvsrc.c diff.c entries.c find_names.c history.c ignore.c import.c    \
	lock.c log.c logmsg.c main.c modules.c no_diff.c parseinfo.c patch.c \
	rcs.c recurse.c release.c remove.c repos.c root.c rtag.c status.c \
	tag.c update.c vers_ts.c
d13 1
a13 1
CFLAGS+= -I${.CURDIR}/../lib -DHAVE_CONFIG_H -DHAVE_TIMEZONE
d20 1
@


1.10.6.1
log
@Bring across cvs from -current (which is at about version 1.6.3).
This has remote repository access via "rsh".
(eg: $CVSROOT = freefall.freebsd.org:/home/ncvs)

This is not quite the latest version, but it's a "known quantity".

There were a few covert tagging operations done as well to bring some
new files onto the -stable branch, these do not show here.
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.13 1995/12/11 04:24:02 peter Exp $
d6 5
a10 6
SRCS=	add.c admin.c checkin.c checkout.c classify.c client.c commit.c \
	create_adm.c cvsrc.c diff.c entries.c expand_path.c find_names.c \
	history.c ignore.c import.c lock.c log.c login.c logmsg.c main.c \
	modules.c no_diff.c parseinfo.c patch.c rcs.c rcscmds.c recurse.c \
	release.c remove.c repos.c root.c rtag.c server.c status.c tag.c \
	update.c vers_ts.c wrapper.c
d12 1
a12 1
CFLAGS+= -I${.CURDIR}/../lib -DHAVE_CONFIG_H
d14 2
a15 2
DPADD+=	${LIBCVS} ${LIBGNUREGEX} ${LIBMD}
LDADD+=	-lcvs -lgnuregex -lmd
a18 1

@


1.10.6.2
log
@$Id$ -> $FreeBSD$
@
text
@d1 1
a1 1
# $FreeBSD$
@


1.9
log
@Use -lgnuregex
@
text
@d1 1
a1 23
.if !defined(FREEBSD_DEVELOPER)
PROG = cvs
.else
PROG = ncvs
.endif

CFLAGS +=	-I${.CURDIR}/../lib \
		-DDIRENT -DSTDC_HEADERS -DPOSIX -DBROKEN_SIGISMEMBER \
		-DFTIME_MISSING -DHAVE_TIMEZONE -DUTIME_NULL_MISSING
DPADD+= ${LIBCVS} ${LIBGNUREGEX}
LDADD+= -lcvs -lgnuregex

.if defined(FREEBSD_DEVELOPER)
CFLAGS+= -DFREEBSD_DEVELOPER
BINGRP=	ncvs
#BINMODE=2555
.endif

SRCS = add.c admin.c checkin.c checkout.c classify.c commit.c \
create_adm.c diff.c entries.c find_names.c history.c ignore.c \
import.c lock.c log.c logmsg.c main.c rcs.c modules.c \
no_diff.c parseinfo.c patch.c recurse.c release.c remove.c repos.c rtag.c \
status.c tag.c update.c vers_ts.c version.c
d3 1
d6 7
d14 2
a15 2
check:
	@@echo `pwd` ${.CURDIR}
a17 1
.include "../Makefile.inc"
@


1.8
log
@Add dependencies on libraries to DPADD.

Move another include of bsd.prog.mk to the end.
@
text
@d10 2
a11 2
DPADD+=	${LIBCVS}
LDADD+=	-lcvs
@


1.7
log
@Enhancements to use now -K option to rcs so that certain keywords are
NOT touched by cvs.  Only takes effect if -DFREEBSD_DEVELOPER, and installs
as ncvs when this is defined.  You must also have the changes to rcs
for this to work.
@
text
@d10 2
a11 6

.if exists(${.CURDIR}/../lib/obj)
LDADD=  -L${.CURDIR}/../lib/obj -lcvs
.else
LDADD=  -L${.CURDIR}/../lib/ -lcvs
.endif
d31 2
a33 1
.include "../../Makefile.inc"
@


1.6
log
@Removed Jordan's DO_LINKS from the Makefile, since this behavior is not
'normal' CVS behavior, and we've never used nor depended on it.
(And at times I've gotten bit by it)
@
text
@d1 1
d3 4
d15 6
@


1.5
log
@Really fixed the obj/noobj problems in CVS, and also made it so a
make install did not install libcvs in /usr/lib, since it has no
reason to do that.
@
text
@d4 1
a4 1
		-DFTIME_MISSING -DHAVE_TIMEZONE -DUTIME_NULL_MISSING -DDO_LINKS
@


1.4
log
@New manual page system
@
text
@d6 5
a10 1
LDADD=  -L${.CURDIR}/../lib/${.CURDIR} -lcvs
d20 3
@


1.3
log
@Fixed up CVS like RCS to allow obj or no obj directory.
@
text
@d14 2
a15 2
MAN1=	cvs.0
MAN5=	cvs.0
@


1.2
log
@Changes to allow simple symlink handling
@
text
@d6 1
a6 1
LDADD=  -L${.CURDIR}/../lib/obj -lcvs
@


1.1
log
@Initial revision
@
text
@d4 1
a4 1
		-DFTIME_MISSING -DHAVE_TIMEZONE -DUTIME_NULL_MISSING
@


1.1.1.1
log
@Updated CVS
@
text
@@
