head	1.17;
access;
symbols
	RELENG_8_3_0_RELEASE:1.15.2.3
	RELENG_8_3:1.15.2.3.0.6
	RELENG_8_3_BP:1.15.2.3
	RELENG_7_4_0_RELEASE:1.12.2.1.2.1
	RELENG_8_2_0_RELEASE:1.15.2.3
	RELENG_7_4:1.12.2.1.0.2
	RELENG_7_4_BP:1.12.2.1
	RELENG_8_2:1.15.2.3.0.4
	RELENG_8_2_BP:1.15.2.3
	RELENG_8_1_0_RELEASE:1.15.2.3
	RELENG_8_1:1.15.2.3.0.2
	RELENG_8_1_BP:1.15.2.3
	RELENG_7_3_0_RELEASE:1.12.10.1
	RELENG_7_3:1.12.0.10
	RELENG_7_3_BP:1.12
	RELENG_8_0_0_RELEASE:1.15.2.1.2.1
	RELENG_8_0:1.15.2.1.0.2
	RELENG_8_0_BP:1.15.2.1
	RELENG_8:1.15.0.2
	RELENG_8_BP:1.15
	RELENG_7_2_0_RELEASE:1.12.8.1
	RELENG_7_2:1.12.0.8
	RELENG_7_2_BP:1.12
	RELENG_7_1_0_RELEASE:1.12.6.1
	RELENG_6_4_0_RELEASE:1.9.8.1.6.1
	RELENG_7_1:1.12.0.6
	RELENG_7_1_BP:1.12
	RELENG_6_4:1.9.8.1.0.6
	RELENG_6_4_BP:1.9.8.1
	RELENG_7_0_0_RELEASE:1.12
	RELENG_6_3_0_RELEASE:1.9.8.1
	RELENG_7_0:1.12.0.4
	RELENG_7_0_BP:1.12
	RELENG_6_3:1.9.8.1.0.4
	RELENG_6_3_BP:1.9.8.1
	RELENG_7:1.12.0.2
	RELENG_7_BP:1.12
	RELENG_6_2_0_RELEASE:1.9.8.1
	RELENG_6_2:1.9.8.1.0.2
	RELENG_6_2_BP:1.9.8.1
	RELENG_5_5_0_RELEASE:1.9
	RELENG_5_5:1.9.0.14
	RELENG_5_5_BP:1.9
	RELENG_6_1_0_RELEASE:1.9
	RELENG_6_1:1.9.0.12
	RELENG_6_1_BP:1.9
	RELENG_6_0_0_RELEASE:1.9
	RELENG_6_0:1.9.0.10
	RELENG_6_0_BP:1.9
	RELENG_6:1.9.0.8
	RELENG_6_BP:1.9
	RELENG_5_4_0_RELEASE:1.9
	RELENG_5_4:1.9.0.6
	RELENG_5_4_BP:1.9
	RELENG_4_11_0_RELEASE:1.7.2.1
	RELENG_4_11:1.7.2.1.0.16
	RELENG_4_11_BP:1.7.2.1
	RELENG_5_3_0_RELEASE:1.9
	RELENG_5_3:1.9.0.4
	RELENG_5_3_BP:1.9
	RELENG_5:1.9.0.2
	RELENG_5_BP:1.9
	RELENG_4_10_0_RELEASE:1.7.2.1
	RELENG_4_10:1.7.2.1.0.14
	RELENG_4_10_BP:1.7.2.1
	RELENG_5_2_1_RELEASE:1.8
	RELENG_5_2_0_RELEASE:1.8
	RELENG_5_2:1.8.0.6
	RELENG_5_2_BP:1.8
	RELENG_4_9_0_RELEASE:1.7.2.1
	RELENG_4_9:1.7.2.1.0.12
	RELENG_4_9_BP:1.7.2.1
	RELENG_5_1_0_RELEASE:1.8
	RELENG_5_1:1.8.0.4
	RELENG_5_1_BP:1.8
	RELENG_4_8_0_RELEASE:1.7.2.1
	RELENG_4_8:1.7.2.1.0.10
	RELENG_4_8_BP:1.7.2.1
	RELENG_5_0_0_RELEASE:1.8
	RELENG_5_0:1.8.0.2
	RELENG_5_0_BP:1.8
	RELENG_4_7_0_RELEASE:1.7.2.1
	RELENG_4_7:1.7.2.1.0.8
	RELENG_4_7_BP:1.7.2.1
	RELENG_4_6_2_RELEASE:1.7.2.1
	RELENG_4_6_1_RELEASE:1.7.2.1
	RELENG_4_6_0_RELEASE:1.7.2.1
	RELENG_4_6:1.7.2.1.0.6
	RELENG_4_6_BP:1.7.2.1
	RELENG_4_5_0_RELEASE:1.7.2.1
	RELENG_4_5:1.7.2.1.0.4
	RELENG_4_5_BP:1.7.2.1
	RELENG_4_4_0_RELEASE:1.7.2.1
	RELENG_4_4:1.7.2.1.0.2
	RELENG_4_4_BP:1.7.2.1
	RELENG_4_3_0_RELEASE:1.7
	RELENG_4_3:1.7.0.4
	RELENG_4_3_BP:1.7
	RELENG_4_2_0_RELEASE:1.7
	RELENG_4_1_1_RELEASE:1.7
	PRE_SMPNG:1.7
	RELENG_4_1_0_RELEASE:1.7
	RELENG_3_5_0_RELEASE:1.6.2.1
	RELENG_4_0_0_RELEASE:1.7
	RELENG_4:1.7.0.2
	RELENG_4_BP:1.7
	RELENG_3_4_0_RELEASE:1.6.2.1
	RELENG_3_3_0_RELEASE:1.6.2.1
	RELENG_3_2_PAO:1.6.0.4
	RELENG_3_2_PAO_BP:1.6
	RELENG_3_2_0_RELEASE:1.6
	RELENG_3_1_0_RELEASE:1.6
	RELENG_3:1.6.0.2
	RELENG_3_BP:1.6
	RELENG_2_2_8_RELEASE:1.3.2.1
	RELENG_3_0_0_RELEASE:1.6
	RELENG_2_2_7_RELEASE:1.3.2.1
	RELENG_2_2_6_RELEASE:1.3.2.1
	RELENG_2_2_5_RELEASE:1.3.2.1
	RELENG_2_2_2_RELEASE:1.3
	RELENG_2_2_1_RELEASE:1.3
	RELENG_2_2_0_RELEASE:1.3
	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.3.0.2
	RELENG_2_2_BP:1.3
	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
	BETA_2_0:1.1
	ALPHA_2_0:1.1.0.4
	MOVED_NEWCVS:1.1
	FINAL_1_1_5:1.1
	ALPHA_1_1_5:1.1
	FINAL_1_1:1.1
	GAMMA_1_1:1.1
	BETA_1_1:1.1.0.2
	BP_BETA_1_1:1.1
	FINAL_1_0:1.1
	EPSILON_1_0:1.1
	GAMMA_1_0:1.1
	BETA_1_0:1.1;
locks; strict;
comment	@# @;


1.17
date	2010.03.26.17.02.32;	author delphij;	state dead;
branches;
next	1.16;

1.16
date	2010.03.24.20.20.28;	author imp;	state Exp;
branches;
next	1.15;

1.15
date	2008.07.10.02.08.00;	author peter;	state Exp;
branches
	1.15.2.1;
next	1.14;

1.14
date	2008.06.16.05.48.15;	author dougb;	state Exp;
branches;
next	1.13;

1.13
date	2008.05.26.17.21.12;	author kientzle;	state Exp;
branches;
next	1.12;

1.12
date	2005.10.06.09.49.37;	author tjr;	state Exp;
branches
	1.12.2.1
	1.12.6.1
	1.12.8.1
	1.12.10.1;
next	1.11;

1.11
date	2005.10.01.06.35.58;	author tjr;	state Exp;
branches;
next	1.10;

1.10
date	2005.10.01.04.57.01;	author tjr;	state Exp;
branches;
next	1.9;

1.9
date	2004.02.17.01.40.25;	author ache;	state Exp;
branches
	1.9.8.1;
next	1.8;

1.8
date	2001.03.27.14.58.38;	author ru;	state Exp;
branches;
next	1.7;

1.7
date	99.08.27.23.35.23;	author peter;	state Exp;
branches
	1.7.2.1;
next	1.6;

1.6
date	97.04.03.11.20.09;	author obrien;	state Exp;
branches
	1.6.2.1;
next	1.5;

1.5
date	97.04.03.11.16.22;	author obrien;	state dead;
branches;
next	1.4;

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

1.3
date	96.08.15.22.11.31;	author ache;	state Exp;
branches
	1.3.2.1;
next	1.2;

1.2
date	95.03.17.07.52.21;	author rgrimes;	state Exp;
branches;
next	1.1;

1.1
date	93.08.07.22.33.10;	author jkh;	state Exp;
branches;
next	;

1.15.2.1
date	2009.08.03.08.13.06;	author kensmith;	state Exp;
branches
	1.15.2.1.2.1;
next	1.15.2.2;

1.15.2.2
date	2010.03.26.16.45.21;	author delphij;	state Exp;
branches;
next	1.15.2.3;

1.15.2.3
date	2010.03.29.18.24.08;	author delphij;	state dead;
branches;
next	;

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

1.12.2.1
date	2010.05.20.19.45.11;	author delphij;	state Exp;
branches
	1.12.2.1.2.1;
next	1.12.2.2;

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

1.12.2.1.2.1
date	2010.12.21.17.10.29;	author kensmith;	state Exp;
branches;
next	1.12.2.1.2.2;

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

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

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

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

1.9.8.1
date	2006.10.23.03.33.27;	author delphij;	state Exp;
branches
	1.9.8.1.6.1;
next	1.9.8.2;

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

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

1.7.2.1
date	2001.04.25.12.03.30;	author ru;	state Exp;
branches;
next	1.7.2.2;

1.7.2.2
date	2012.11.17.07.23.02;	author svnexp;	state Exp;
branches;
next	;

1.6.2.1
date	99.08.29.14.32.48;	author peter;	state Exp;
branches;
next	;

1.3.2.1
date	97.08.21.08.24.08;	author obrien;	state Exp;
branches;
next	1.3.2.2;

1.3.2.2
date	99.09.05.11.06.22;	author peter;	state Exp;
branches;
next	;


desc
@@


1.17
log
@SVN rev 205702 on 2010-03-26 17:02:32Z by delphij

Remove GNU cpio after fix of CVE-2010-0624.

Note that this is actually a no-op for most users, as this GNU
cpio was broken on -HEAD and 8-STABLE since last March until
the recent fix.

FreeBSD 8.0+ uses BSD cpio by default and the code is being
actively maintained.

Blessed by:	kientzle
With hat:	secteam
MFC after:	3 days
@
text
@# $FreeBSD: src/gnu/usr.bin/cpio/Makefile,v 1.16 2010/03/24 20:20:28 imp Exp $

CPIODIR= ${.CURDIR}/../../../contrib/cpio
.PATH: ${CPIODIR}/lib ${CPIODIR}/src ${CPIODIR}/doc

SUBDIR=	doc

PROG=	gcpio
SRCS=   copyin.c \
	copyout.c \
	copypass.c \
	defer.c \
	dstring.c \
	filemode.c \
	global.c \
	idcache.c \
	main.c \
	makepath.c \
	tar.c \
	userspec.c \
	util.c \
	argp-ba.c \
	argp-eexst.c \
	argp-fmtstream.c \
	argp-fs-xinl.c \
	argp-help.c \
	argp-parse.c \
	argp-pin.c \
	argp-pv.c \
	argp-pvh.c \
	argp-xinl.c \
	basename.c \
	dirname.c \
	error.c \
	exitfail.c \
	fatal.c \
	full-write.c \
	getopt.c \
	getopt1.c \
	hash.c \
	mempcpy.c \
	paxerror.c \
	paxexit.c \
	paxnames.c \
	quote.c \
	quotearg.c \
	rtapelib.c \
	safe-read.c \
	safe-write.c \
	strchrnul.c \
	stripslash.c \
	strndup.c \
	strnlen.c \
	umaxtostr.c \
	utimens.c \
	xalloc-die.c \
	xmalloc.c \
	xstrndup.c \
	alloca.h \
	getopt.h
CSTD=gnu89

CLEANFILES+= alloca.h getopt.h

getopt.h: getopt_.h
	ln -fs ${.ALLSRC} ${.TARGET}

alloca.h: alloca_.h
	ln -fs ${.ALLSRC} ${.TARGET}

CFLAGS+=-I${.OBJDIR} -I${.CURDIR} -I${CPIODIR}/lib -I${CPIODIR}/src \
	-DHAVE_CONFIG_H -DHAVE_MKFIFO -DHAVE_SETLOCALE -DHAVE_LSTAT

gcpio.1: ${CPIODIR}/doc/cpio.1
	cat ${CPIODIR}/doc/cpio.1 >gcpio.1

SYMLINKS=gcpio ${BINDIR}/cpio
MLINKS=gcpio.1 cpio.1

.include <bsd.prog.mk>
@


1.16
log
@SVN rev 205630 on 2010-03-24 20:20:28Z by imp

This broke when we went to gnu99 as the default standard.  Fix the build
by reverting to the gnu89 standard.
@
text
@d1 1
a1 1
# $FreeBSD$
@


1.15
log
@SVN rev 180407 on 2008-07-10 02:08:00Z by peter

Merge gnu cpio 2.6 -> 2.8 changes.  Unfortunately, we have massive
conflicts due to radically different approaches to security and bug fixes.
In some cases I re-started from the vendor version and reimplemented our
patches.  Fortunately, this is not enabled by default in -current.
@
text
@d61 1
@


1.15.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.15.2.2
log
@SVN rev 205701 on 2010-03-26 16:45:21Z by delphij

MFC r205630 (imp):

This broke when we went to gnu99 as the default standard.  Fix the build
by reverting to the gnu89 standard.
@
text
@a60 1
CSTD=gnu89
@


1.15.2.3
log
@SVN rev 205848 on 2010-03-29 18:24:08Z by delphij

MFC r205702:

Remove GNU cpio after fix of CVE-2010-0624.

Note that this is actually a no-op for most users, as this GNU
cpio was broken on -HEAD and 8-STABLE since last March until
the recent fix.

FreeBSD 8.0+ uses BSD cpio by default and the code is being
actively maintained.
@
text
@d1 1
a1 1
# $FreeBSD: src/gnu/usr.bin/cpio/Makefile,v 1.15.2.2 2010/03/26 16:45:21 delphij Exp $
@


1.15.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.14
log
@SVN rev 179813 on 2008-06-16 05:48:15Z by dougb

1. Make the BSD version of cpio the default [1]
a. The BSD version will be built and installed unless
WITHOUT_BSD_CPIO is defined.
b. The GNU version will not be built or installed unless
WITH_GNU_CPIO is defined. If this is defined, the symlink
in /usr/bin will be to the GNU version whether the BSD
version is present or not.

When these changes are MFCed the defaults should be flipped.

2. Add a knob to disable the building of GNU grep. This will
make it easier for those that want to test the BSD version in
the ports.

Approved by:	kientzle [1]
@
text
@d28 1
d36 1
d40 1
d42 5
d54 2
d58 1
d70 2
a71 2
CFLAGS+=-I${.OBJDIR} -I${.CURDIR} -I${CPIODIR}/lib -DHAVE_CONFIG_H \
	-DHAVE_MKFIFO -DHAVE_SETLOCALE -DHAVE_LSTAT
@


1.13
log
@Install GNU cpio as 'gcpio', symlink to 'cpio' unless WITH_BSDCPIO is
defined.
@
text
@a64 1
.if !defined(WITH_BSDCPIO)
a66 1
.endif
@


1.12
log
@Compile with -DHAVE_LSTAT since, for whatever reason, the configure script
shipped with GNU cpio 2.6 fails to test for it.
@
text
@d8 1
a8 1
PROG=	cpio
d62 8
@


1.12.2.1
log
@SVN rev 208361 on 2010-05-20 19:45:11Z by delphij

MFC r180407 (peter):

Merge gnu cpio 2.6 -> 2.8 changes.
@
text
@a27 1
	argp-pin.c \
a34 1
	fatal.c \
a37 1
	hash.c \
a38 5
	paxerror.c \
	paxexit.c \
	paxnames.c \
	quote.c \
	quotearg.c \
a45 2
	umaxtostr.c \
	utimens.c \
a47 1
	xstrndup.c \
d59 2
a60 2
CFLAGS+=-I${.OBJDIR} -I${.CURDIR} -I${CPIODIR}/lib -I${CPIODIR}/src \
	-DHAVE_CONFIG_H -DHAVE_MKFIFO -DHAVE_SETLOCALE -DHAVE_LSTAT
@


1.12.2.2
log
@Switch importer
@
text
@d1 1
a1 1
# $FreeBSD: stable/7/gnu/usr.bin/cpio/Makefile 208361 2010-05-20 19:45:11Z delphij $
@


1.12.2.1.2.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.12.2.1.2.2
log
@Switch importer
@
text
@d1 1
a1 1
# $FreeBSD: releng/7.4/gnu/usr.bin/cpio/Makefile 208361 2010-05-20 19:45:11Z delphij $
@


1.12.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.12.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.12.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.11
log
@Define HAVE_MKFIFO and HAVE_SETLOCALE here since the configure script
apparently fails to do it.
@
text
@d60 1
a60 1
	-DHAVE_MKFIFO -DHAVE_SETLOCALE
@


1.10
log
@Update for GNU cpio 2.6.
@
text
@d59 2
a60 1
CFLAGS+=-I${.OBJDIR} -I${.CURDIR} -I${CPIODIR}/lib -DHAVE_CONFIG_H
@


1.9
log
@Remove getopt*.c, we already have compatible getopt_long() in libc
@
text
@a0 3
# Note that this files is under a "BSD" copyright (c) by David O'Brien 1997, 
# even though it may live in src/gnu/...

d3 2
a4 1
.PATH:	${.CURDIR}/../../../contrib/cpio
d9 49
d59 1
a59 10
CFLAGS+= -I${.CURDIR} -I${.CURDIR}/../../../contrib/cpio 
CFLAGS+= -DRETSIGTYPE=void -DHAVE_SYS_MTIO_H=1 -DSTDC_HEADERS=1 \
	 -DHAVE_UNISTD_H=1 -DHAVE_STRING_H=1 -DHAVE_FCNTL_H=1 -DHAVE_UTIME_H=1 \
	 -DHAVE_STRERROR=1 -DHAVE_VPRINTF=1 -DDIRENT=1 -DHAVE_LCHOWN \
	 -DHAVE_SYS_PARAM_H=1

SRCS =  copyin.c copyout.c copypass.c defer.c dirname.c dstring.c error.c \
	filemode.c global.c idcache.c main.c makepath.c \
	rtapelib.c stripslash.c tar.c userspec.c util.c version.c \
	xmalloc.c xstrdup.c
@


1.9.8.1
log
@MFC: GNU cpio 2.6 (original committed by tjr@@)

Approved by:	re (hrs)
@
text
@d1 3
d6 1
a6 2
CPIODIR= ${.CURDIR}/../../../contrib/cpio
.PATH: ${CPIODIR}/lib ${CPIODIR}/src ${CPIODIR}/doc
a10 49
SRCS=   copyin.c \
	copyout.c \
	copypass.c \
	defer.c \
	dstring.c \
	filemode.c \
	global.c \
	idcache.c \
	main.c \
	makepath.c \
	tar.c \
	userspec.c \
	util.c \
	argp-ba.c \
	argp-eexst.c \
	argp-fmtstream.c \
	argp-fs-xinl.c \
	argp-help.c \
	argp-parse.c \
	argp-pv.c \
	argp-pvh.c \
	argp-xinl.c \
	basename.c \
	dirname.c \
	error.c \
	exitfail.c \
	full-write.c \
	getopt.c \
	getopt1.c \
	mempcpy.c \
	rtapelib.c \
	safe-read.c \
	safe-write.c \
	strchrnul.c \
	stripslash.c \
	strndup.c \
	strnlen.c \
	xalloc-die.c \
	xmalloc.c \
	alloca.h \
	getopt.h

CLEANFILES+= alloca.h getopt.h

getopt.h: getopt_.h
	ln -fs ${.ALLSRC} ${.TARGET}

alloca.h: alloca_.h
	ln -fs ${.ALLSRC} ${.TARGET}
d12 10
a21 2
CFLAGS+=-I${.OBJDIR} -I${.CURDIR} -I${CPIODIR}/lib -DHAVE_CONFIG_H \
	-DHAVE_MKFIFO -DHAVE_SETLOCALE -DHAVE_LSTAT
@


1.9.8.2
log
@Switch importer
@
text
@d1 1
a1 1
# $FreeBSD: stable/6/gnu/usr.bin/cpio/Makefile 163620 2006-10-23 03:33:27Z delphij $
@


1.9.8.1.6.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.8
log
@MAN[1-9] -> MAN.
@
text
@d4 1
a4 1
# $FreeBSD: src/gnu/usr.bin/cpio/Makefile,v 1.7 1999/08/27 23:35:23 peter Exp $
d19 1
a19 1
	filemode.c getopt.c getopt1.c global.c idcache.c main.c makepath.c \
@


1.7
log
@$Id$ -> $FreeBSD$
@
text
@d4 1
a4 1
# $FreeBSD$
a10 1
MAN1=	cpio.1
@


1.7.2.1
log
@MFC: MAN[1-9] -> MAN.
@
text
@d4 1
a4 1
# $FreeBSD: src/gnu/usr.bin/cpio/Makefile,v 1.7 1999/08/27 23:35:23 peter Exp $
d11 1
@


1.7.2.2
log
@Switch importer
@
text
@d4 1
a4 1
# $FreeBSD: stable/4/gnu/usr.bin/cpio/Makefile 75959 2001-04-25 12:03:56Z ru $
@


1.6
log
@Bmake Makefiles for GNU cpio.
@
text
@d4 1
a4 1
# $Id: Makefile,v 1.2 1997/03/30 00:23:37 obrien Exp $
@


1.6.2.1
log
@$Id$ -> $FreeBSD$
@
text
@d4 1
a4 1
# $FreeBSD$
@


1.5
log
@Make way for FreeBSD files with CPIO bits in src/contrib/cpio
@
text
@d1 2
a2 2
PROG= cpio
CFLAGS+= -I${.CURDIR} -DRETSIGTYPE=void -DHAVE_SYS_MTIO_H=1 -DSTDC_HEADERS=1 -DHAVE_UNISTD_H=1 -DHAVE_STRING_H=1 -DHAVE_FCNTL_H=1 -DHAVE_UTIME_H=1 -DHAVE_STRERROR=1 -DHAVE_VPRINTF=1 -DDIRENT=1 -DHAVE_LCHOWN
d4 19
a22 5
SRCS =  copyin.c copyout.c copypass.c defer.c dstring.c global.c \
	main.c tar.c util.c error.c filemode.c getopt.c getopt1.c \
	version.c \
	rtapelib.c dirname.c idcache.c makepath.c xmalloc.c stripslash.c \
	userspec.c xstrdup.c
@


1.4
log
@Toast dummy lchown(), it's in libc now.
@
text
@@


1.3
log
@Localization fixes.
@
text
@d5 1
a5 1
	lchown.c main.c tar.c util.c error.c filemode.c getopt.c getopt1.c \
@


1.3.2.1
log
@Upgrading 2.2-STABLE's  cpio to 2.4.2 (using the contrib framework).
Note, this has been tested in 3.0-CURRENT for months.
@
text
@d1 2
a2 2
# Note that this files is under a "BSD" copyright (c) by David O'Brien 1997, 
# even though it may live in src/gnu/...
d4 5
a8 19
# $Id: Makefile,v 1.6 1997/04/03 11:20:09 obrien Exp $

.PATH:	${.CURDIR}/../../../contrib/cpio

SUBDIR=	doc

PROG=	cpio
MAN1=	cpio.1

CFLAGS+= -I${.CURDIR} -I${.CURDIR}/../../../contrib/cpio 
CFLAGS+= -DRETSIGTYPE=void -DHAVE_SYS_MTIO_H=1 -DSTDC_HEADERS=1 \
	 -DHAVE_UNISTD_H=1 -DHAVE_STRING_H=1 -DHAVE_FCNTL_H=1 -DHAVE_UTIME_H=1 \
	 -DHAVE_STRERROR=1 -DHAVE_VPRINTF=1 -DDIRENT=1 -DHAVE_LCHOWN \
	 -DHAVE_SYS_PARAM_H=1

SRCS =  copyin.c copyout.c copypass.c defer.c dirname.c dstring.c error.c \
	filemode.c getopt.c getopt1.c global.c idcache.c main.c makepath.c \
	rtapelib.c stripslash.c tar.c userspec.c util.c version.c \
	xmalloc.c xstrdup.c
@


1.3.2.2
log
@$Id$ -> $FreeBSD$
@
text
@d4 1
a4 1
# $FreeBSD$
@


1.2
log
@Add dummy lchown function so that cpio understands 4.4 symbolic links.
Reviewed by:	phk
@
text
@d4 1
a4 1
SRCS =	copyin.c copyout.c copypass.c defer.c dstring.c fnmatch.c global.c \
@


1.1
log
@This is GNU cpio 2.3.  It handles tar files and is fully compatible
with SYSV cpio.  It's also supposed to integrate rmt support, though
I haven't tried this.
@
text
@d2 1
a2 1
CFLAGS+= -I${.CURDIR} -DRETSIGTYPE=void -DHAVE_SYS_MTIO_H=1 -DSTDC_HEADERS=1 -DHAVE_UNISTD_H=1 -DHAVE_STRING_H=1 -DHAVE_FCNTL_H=1 -DHAVE_UTIME_H=1 -DHAVE_STRERROR=1 -DHAVE_VPRINTF=1 -DDIRENT=1
d5 2
a6 1
	main.c tar.c util.c error.c filemode.c getopt.c getopt1.c version.c \
@
