head	1.27;
access;
symbols
	RELENG_6_4_0_RELEASE:1.26.12.1
	RELENG_6_4:1.26.0.12
	RELENG_6_4_BP:1.26
	RELENG_6_3_0_RELEASE:1.26
	RELENG_6_3:1.26.0.10
	RELENG_6_3_BP:1.26
	RELENG_6_2_0_RELEASE:1.26
	RELENG_6_2:1.26.0.8
	RELENG_6_2_BP:1.26
	RELENG_5_5_0_RELEASE:1.24
	RELENG_5_5:1.24.0.8
	RELENG_5_5_BP:1.24
	RELENG_6_1_0_RELEASE:1.26
	RELENG_6_1:1.26.0.6
	RELENG_6_1_BP:1.26
	RELENG_6_0_0_RELEASE:1.26
	RELENG_6_0:1.26.0.4
	RELENG_6_0_BP:1.26
	RELENG_6:1.26.0.2
	RELENG_6_BP:1.26
	RELENG_5_4_0_RELEASE:1.24
	RELENG_5_4:1.24.0.6
	RELENG_5_4_BP:1.24
	RELENG_4_11_0_RELEASE:1.11.6.4
	RELENG_4_11:1.11.6.4.0.10
	RELENG_4_11_BP:1.11.6.4
	RELENG_5_3_0_RELEASE:1.24
	RELENG_5_3:1.24.0.4
	RELENG_5_3_BP:1.24
	RELENG_5:1.24.0.2
	RELENG_5_BP:1.24
	RELENG_4_10_0_RELEASE:1.11.6.4
	RELENG_4_10:1.11.6.4.0.8
	RELENG_4_10_BP:1.11.6.4
	RELENG_5_2_1_RELEASE:1.18
	RELENG_5_2_0_RELEASE:1.18
	RELENG_5_2:1.18.0.2
	RELENG_5_2_BP:1.18
	RELENG_4_9_0_RELEASE:1.11.6.4
	RELENG_4_9:1.11.6.4.0.6
	RELENG_4_9_BP:1.11.6.4
	RELENG_5_1_0_RELEASE:1.17
	RELENG_5_1:1.17.0.4
	RELENG_5_1_BP:1.17
	RELENG_4_8_0_RELEASE:1.11.6.4
	RELENG_4_8:1.11.6.4.0.4
	RELENG_4_8_BP:1.11.6.4
	RELENG_5_0_0_RELEASE:1.17
	RELENG_5_0:1.17.0.2
	RELENG_5_0_BP:1.17
	RELENG_4_7_0_RELEASE:1.11.6.4
	RELENG_4_7:1.11.6.4.0.2
	RELENG_4_7_BP:1.11.6.4
	RELENG_4_6_2_RELEASE:1.11.6.3
	RELENG_4_6_1_RELEASE:1.11.6.3
	RELENG_4_6_0_RELEASE:1.11.6.3
	RELENG_4_6:1.11.6.3.0.8
	RELENG_4_6_BP:1.11.6.3
	RELENG_4_5_0_RELEASE:1.11.6.3
	RELENG_4_5:1.11.6.3.0.6
	RELENG_4_5_BP:1.11.6.3
	RELENG_4_4_0_RELEASE:1.11.6.3
	RELENG_4_4:1.11.6.3.0.4
	RELENG_4_4_BP:1.11.6.3
	RELENG_4_3_0_RELEASE:1.11.6.3
	RELENG_4_3:1.11.6.3.0.2
	RELENG_4_3_BP:1.11.6.3
	RELENG_4_2_0_RELEASE:1.11
	RELENG_4_1_1_RELEASE:1.11
	PRE_SMPNG:1.11
	RELENG_4_1_0_RELEASE:1.11
	RELENG_3_5_0_RELEASE:1.11
	RELENG_4_0_0_RELEASE:1.11
	RELENG_4:1.11.0.6
	RELENG_4_BP:1.11
	RELENG_3_4_0_RELEASE:1.11
	RELENG_3_3_0_RELEASE:1.11
	RELENG_3_2_PAO:1.11.0.4
	RELENG_3_2_PAO_BP:1.11
	RELENG_3_2_0_RELEASE:1.11
	RELENG_3_1_0_RELEASE:1.11
	RELENG_3:1.11.0.2
	RELENG_3_BP:1.11
	RELENG_2_2_8_RELEASE:1.8.2.1
	RELENG_3_0_0_RELEASE:1.11
	RELENG_2_2_7_RELEASE:1.8.2.1
	RELENG_2_2_6_RELEASE:1.8.2.1
	RELENG_2_2_5_RELEASE:1.8.2.1
	RELENG_2_2_2_RELEASE:1.8
	RELENG_2_2_1_RELEASE:1.8
	RELENG_2_2_0_RELEASE:1.8
	RELENG_2_1_7_RELEASE:1.6.4.2
	RELENG_2_1_6_1_RELEASE:1.6.4.2
	RELENG_2_1_6_RELEASE:1.6.4.2
	RELENG_2_2:1.8.0.2
	RELENG_2_2_BP:1.8
	RELENG_2_1_5_RELEASE:1.6.4.2
	RELENG_2_1_0_RELEASE:1.6
	RELENG_2_1_0:1.6.0.4
	RELENG_2_1_0_BP:1.6
	RELENG_2_0_5_RELEASE:1.6
	RELENG_2_0_5:1.6.0.2
	RELENG_2_0_5_BP:1.6
	RELENG_2_0_5_ALPHA:1.6
	RELEASE_2_0:1.3
	BETA_2_0:1.3
	ALPHA_2_0:1.3.0.2
	MOVED_NEWCVS:1.3
	FINAL_1_1_5:1.3
	ALPHA_1_1_5:1.3
	FINAL_1_1:1.2
	GAMMA_1_1:1.2
	BETA_1_1:1.2.0.2
	BP_BETA_1_1:1.2
	FINAL_1_0:1.2
	EPSILON_1_0:1.2
	GAMMA_1_0:1.2
	BETA_1_0:1.2
	ALPHA_1_0:1.2
	gnu:1.1.1.1;
locks; strict;
comment	@# @;


1.27
date	2006.09.15.08.04.23;	author ru;	state dead;
branches;
next	1.26;

1.26
date	2005.03.21.04.02.42;	author kientzle;	state Exp;
branches
	1.26.2.1
	1.26.12.1;
next	1.25;

1.25
date	2005.03.20.20.38.46;	author kientzle;	state Exp;
branches;
next	1.24;

1.24
date	2004.07.17.06.03.47;	author kientzle;	state Exp;
branches;
next	1.23;

1.23
date	2004.06.04.00.39.46;	author kientzle;	state Exp;
branches;
next	1.22;

1.22
date	2004.03.03.17.04.49;	author ru;	state Exp;
branches;
next	1.21;

1.21
date	2004.02.17.01.19.54;	author ache;	state Exp;
branches;
next	1.20;

1.20
date	2004.02.13.00.58.48;	author kientzle;	state Exp;
branches;
next	1.19;

1.19
date	2004.02.11.05.44.20;	author kientzle;	state Exp;
branches;
next	1.18;

1.18
date	2003.11.17.05.16.26;	author obrien;	state Exp;
branches;
next	1.17;

1.17
date	2002.06.05.07.00.41;	author ru;	state Exp;
branches;
next	1.16;

1.16
date	2002.06.04.21.16.18;	author sobomax;	state Exp;
branches;
next	1.15;

1.15
date	2002.06.04.11.14.48;	author sobomax;	state Exp;
branches;
next	1.14;

1.14
date	2001.02.18.17.30.29;	author ume;	state Exp;
branches;
next	1.13;

1.13
date	2001.01.01.19.50.48;	author obrien;	state Exp;
branches;
next	1.12;

1.12
date	2000.12.24.10.52.23;	author obrien;	state Exp;
branches;
next	1.11;

1.11
date	98.09.21.17.20.08;	author roberto;	state Exp;
branches
	1.11.6.1;
next	1.10;

1.10
date	98.05.04.18.13.54;	author bde;	state Exp;
branches;
next	1.9;

1.9
date	97.06.29.06.03.30;	author pst;	state Exp;
branches;
next	1.8;

1.8
date	96.10.23.16.53.20;	author ache;	state Exp;
branches
	1.8.2.1;
next	1.7;

1.7
date	95.10.22.18.28.10;	author bde;	state Exp;
branches;
next	1.6;

1.6
date	95.03.18.17.45.13;	author ache;	state Exp;
branches
	1.6.4.1;
next	1.5;

1.5
date	95.01.29.02.16.01;	author ats;	state Exp;
branches;
next	1.4;

1.4
date	95.01.11.04.18.36;	author ache;	state Exp;
branches;
next	1.3;

1.3
date	94.06.15.19.16.04;	author jkh;	state Exp;
branches;
next	1.2;

1.2
date	93.06.18.19.20.59;	author nate;	state Exp;
branches;
next	1.1;

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

1.26.2.1
date	2012.11.17.07.39.24;	author svnexp;	state Exp;
branches;
next	;

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

1.11.6.1
date	2000.12.24.10.54.59;	author obrien;	state Exp;
branches;
next	1.11.6.2;

1.11.6.2
date	2001.01.01.19.52.02;	author obrien;	state Exp;
branches;
next	1.11.6.3;

1.11.6.3
date	2001.02.26.07.48.39;	author ume;	state Exp;
branches;
next	1.11.6.4;

1.11.6.4
date	2002.07.14.13.19.46;	author sobomax;	state Exp;
branches;
next	1.11.6.5;

1.11.6.5
date	2012.11.17.07.23.11;	author svnexp;	state Exp;
branches;
next	;

1.8.2.1
date	97.06.29.06.05.14;	author pst;	state Exp;
branches;
next	;

1.6.4.1
date	96.05.29.22.37.25;	author jkh;	state Exp;
branches;
next	1.6.4.2;

1.6.4.2
date	96.06.05.02.43.49;	author jkh;	state Exp;
branches;
next	;

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


desc
@@


1.27
log
@Remove vestiges of GNU tar.
@
text
@# $FreeBSD: src/gnu/usr.bin/tar/Makefile,v 1.26 2005/03/21 04:02:42 kientzle Exp $

TARDIR=	${.CURDIR}/../../../contrib/tar
.PATH: ${TARDIR}/lib ${TARDIR}/src

PROG=	gtar

SUBDIR=	doc

# libtar SRCS
SRCS=	addext.c argmatch.c backupfile.c basename.c dirname.c error.c \
	exclude.c full-write.c getdate.c getline.c \
	getstr.c hash.c human.c mktime.c modechange.c prepargs.c \
	print-copyr.c quotearg.c safe-read.c save-cwd.c savedir.c unicodeio.c \
	xgetcwd.c xmalloc.c xstrdup.c xstrtoul.c xstrtoumax.c
SRCS+=	buffer.c compare.c create.c delete.c extract.c incremen.c list.c \
	mangle.c misc.c names.c rtapelib.c tar.c update.c

CFLAGS+= -DHAVE_CONFIG_H -I${.CURDIR} -I${TARDIR}/lib -I${TARDIR}/src

# "Rename" tar.1 to gtar.1 so that we can install gtar.1 with
# tar.1 as an optional link (rather than vice versa)
CLEANFILES= gtar.1
gtar.1: tar.1
	cat ${.CURDIR}/tar.1 > ${.TARGET}

.include <bsd.prog.mk>
@


1.26
log
@Ooops.  Correctly disable "tar"->"gtar" link.

Thanks to: Simon L. Nielsen, who was the first of
    several people to point this out. <sigh>
@
text
@d1 1
a1 1
# $FreeBSD$
@


1.26.2.1
log
@Switch importer
@
text
@d1 1
a1 1
# $FreeBSD: stable/6/gnu/usr.bin/tar/Makefile 143900 2005-03-21 04:02:42Z kientzle $
@


1.26.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.25
log
@Deorbit gtar, step 1:  Remove WITH_GTAR knob.
  "tar" is now always a synonym for "bsdtar".
  People who need gtar can access it as "gtar."

Approved by:	No objections on arch@@
@
text
@a7 3
SYMLINKS=  ${BINDIR}/gtar ${BINDIR}/tar
MLINKS= gtar.1 tar.1

@


1.24
log
@Make bsdtar the default system tar.  This makes /usr/bin/tar a symlink
pointing to /usr/bin/bsdtar by default.  To make it point to /usr/bin/gtar,
you can define WITH_GTAR.
@
text
@a7 1
.if defined(WITH_GTAR)
a9 1
.endif
@


1.23
log
@Have /usr/bin/tar be a symlink to /usr/bin/gtar rather
than a hardlink.  This will make it easier for people
to tell which system tar they're currently using.
@
text
@d8 1
a8 1
.if !defined(WITH_BSDTAR)
@


1.22
log
@Fixed "make clean".
@
text
@d9 1
a9 1
LINKS=  ${BINDIR}/gtar ${BINDIR}/tar
@


1.21
log
@Remove getopt*.c, we already have compatible getopt_long() in libc
@
text
@d28 1
@


1.20
log
@Style fixes: Use curly braces in Makefiles,
use cat (not cp) to copy files.

Submitted by:	ru
@
text
@d17 1
a17 1
	exclude.c full-write.c getdate.c getline.c getopt.c getopt1.c \
@


1.19
log
@GNU tar in the base system is now called "gtar"

"tar" is now just a link to "gtar".

This lays the groundwork for an orderly migration
from GNU tar to some other tar.  (First, we introduce
the new tar program, then we migrate the 'tar' name,
then we remove gtar, with intervals of months between
these steps.)

Approved by:	gordon
@
text
@d29 1
a29 1
	cp $(.CURDIR)/tar.1 $(.TARGET)
@


1.18
log
@/rescue/tar exists, so build this dynamic now.
@
text
@d6 6
a11 1
PROG=	tar
d25 5
@


1.17
log
@SUBDIR is initially empty.
@
text
@a20 2
NOSHARED?= YES

@


1.16
log
@Collapse lib and tar dirs into single top-level directory.

Suggested by:   obrien
@
text
@d8 1
a8 1
SUBDIR+= doc
@


1.15
log
@Add bmake bits for building GNU tar from src/contrib/tar.
@
text
@d3 2
a4 1
SUBDIR= lib tar doc
d6 18
a23 1
.include <bsd.subdir.mk>
@


1.14
log
@Introduce $TAR_RSH to enable use of ssh as transport.
@
text
@d1 1
a1 1
# $FreeBSD: src/gnu/usr.bin/tar/Makefile,v 1.13 2001/01/01 19:50:48 obrien Exp $
d3 1
a3 12
PROG=	tar
SRCS=   buffer.c create.c diffarch.c extract.c getdate.y \
	getoldopt.c getopt.c getopt1.c gnu.c list.c mangle.c names.c port.c \
	prepend_args.c rtapelib.c tar.c update.c version.c
CFLAGS+= -DRETSIGTYPE=void -DDIRENT=1 -DHAVE_SYS_MTIO_H=1 -DHAVE_UNISTD_H=1
CFLAGS+= -DHAVE_GETGRGID=1 -DHAVE_GETPWUID=1 -DHAVE_STRING_H=1
CFLAGS+= -DHAVE_LIMITS_H=1 -DHAVE_STRSTR=1 -DHAVE_VALLOC=1 -DHAVE_MKDIR=1
CFLAGS+= -DHAVE_MKNOD=1 -DHAVE_RENAME=1 -DHAVE_FTRUNCATE=1 -DHAVE_GETCWD=1
CFLAGS+= -DBSD42=1 -DHAVE_VPRINTF=1 -DNEEDPAD -DSTDC_HEADERS=1 -I${.CURDIR}
CFLAGS+= -DDEF_AR_FILE=\"/dev/sa0\" -DDEFBLOCKING=20
YFLAGS=
NOSHARED?=yes
d5 1
a5 4
DPADD+= ${LIBGNUREGEX}
LDADD+= -lgnuregex

.include <bsd.prog.mk>
@


1.13
log
@s/rsa0/sa0/g
@
text
@d1 1
a1 1
# $FreeBSD: src/gnu/usr.bin/tar/Makefile,v 1.12 2000/12/24 10:52:23 obrien Exp $
d11 1
a11 1
CFLAGS+= -DBSD42=1 -DHAVE_VPRINTF=1 -DNEEDPAD -I${.CURDIR}
@


1.12
log
@Clean up the -j/-y/--bzip entry in usage().

Add the -U and --unlink-first options which are the offical verions of our
--unlink localism.
Add support for the "TAR_OPTIONS" environmental variable.

Obtained from:	GNU tar 1.13.18
@
text
@d1 1
a1 1
# $FreeBSD$
d12 1
a12 1
CFLAGS+= -DDEF_AR_FILE=\"/dev/rsa0\" -DDEFBLOCKING=20
@


1.11
log
@The default tape device should be /dev/rsa0 for CAM.
@
text
@d1 2
d6 1
a6 1
	rtapelib.c tar.c update.c version.c
@


1.11.6.1
log
@MFC
* -j new bzip2 option
* -I alias for -T
* -U short option for --unlink
* TAR_OPTIONS env var
@
text
@a0 2
# $FreeBSD$

d4 1
a4 1
	prepend_args.c rtapelib.c tar.c update.c version.c
@


1.11.6.2
log
@MFC: s/rsa0/sa0/g
@
text
@d1 1
a1 1
# $FreeBSD: src/gnu/usr.bin/tar/Makefile,v 1.11.6.1 2000/12/24 10:54:59 obrien Exp $
d12 1
a12 1
CFLAGS+= -DDEF_AR_FILE=\"/dev/sa0\" -DDEFBLOCKING=20
@


1.11.6.3
log
@MFC: Introduce $TAR_RSH to enable use of ssh as transport.

	gnu/usr.bin/tar/Makefile:	1.13->1.14
	gnu/usr.bin/tar/rtapelib.c:	1.2->1.3
	gnu/usr.bin/tar/tar.1:		1.35->1.36
@
text
@d1 1
a1 1
# $FreeBSD: src/gnu/usr.bin/tar/Makefile,v 1.11.6.2 2001/01/01 19:52:02 obrien Exp $
d11 1
a11 1
CFLAGS+= -DBSD42=1 -DHAVE_VPRINTF=1 -DNEEDPAD -DSTDC_HEADERS=1 -I${.CURDIR}
@


1.11.6.4
log
@MFC: GNU tar 1.13.25.
@
text
@d1 1
a1 4
# $FreeBSD$

TARDIR=	${.CURDIR}/../../../contrib/tar
.PATH: ${TARDIR}/lib ${TARDIR}/src
d4 11
d16 2
a17 14
SUBDIR=	doc

# libtar SRCS
SRCS=	addext.c argmatch.c backupfile.c basename.c dirname.c error.c \
	exclude.c full-write.c getdate.c getline.c getopt.c getopt1.c \
	getstr.c hash.c human.c mktime.c modechange.c prepargs.c \
	print-copyr.c quotearg.c safe-read.c save-cwd.c savedir.c unicodeio.c \
	xgetcwd.c xmalloc.c xstrdup.c xstrtoul.c xstrtoumax.c strtoumax.c
SRCS+=	buffer.c compare.c create.c delete.c extract.c incremen.c list.c \
	mangle.c misc.c names.c rtapelib.c tar.c update.c

CFLAGS+= -DHAVE_CONFIG_H -I${.CURDIR} -I${TARDIR}/lib -I${TARDIR}/src

NOSHARED?= YES
@


1.11.6.5
log
@Switch importer
@
text
@d1 1
a1 1
# $FreeBSD: stable/4/gnu/usr.bin/tar/Makefile 99962 2002-07-14 13:19:48Z sobomax $
@


1.10
log
@Don't add y.tab.h to CLEANFILES, since this would now be done centrally
if y.tab.h were generated.  Don't generate y.tab.h, since it is not used.
@
text
@d10 1
a10 1
CFLAGS+= -DDEF_AR_FILE=\"/dev/rst0\" -DDEFBLOCKING=20
@


1.9
log
@NOSHARED takes a yes/YES no/NO value, not "true, false, hey mon!".
NOPIC is used to not generate a shared library, not NOSHARED.
Make NOSHARED advisory where appropriate.
Remove bogus NOSHARED (kbdio).
@
text
@d11 1
a11 1
CLEANFILES+=y.tab.h
@


1.8
log
@Remove local fnmatch() copy, we now compatible with GNU fnmatch
@
text
@d12 1
a12 1
NOSHARED=yes
@


1.8.2.1
log
@YAMFC -- noshared fixes.
@
text
@d12 1
a12 1
NOSHARED?=yes
@


1.7
log
@Remove includes of the wrong ../Makefile.inc (one was commented out, the
other was in the wrong order).
@
text
@d2 1
a2 1
SRCS=	buffer.c create.c diffarch.c extract.c fnmatch.c getdate.y \
@


1.6
log
@Fix sparse files handling
Submitted by: Alan Bawden <alan@@curry.epilogue.com>
@
text
@a17 1
.include "../../usr.bin/Makefile.inc"
@


1.6.4.1
log
@Merge from HEAD, except:

	Clients that used gnumalloc still do, despite the merge.  We're not
	bringing phkmalloc over.

	Thread stuff left out.

	PCCARD support left out.
@
text
@d18 1
@


1.6.4.2
log
@This 3rd mega-commit should hopefully bring us back to where we were.
I can get it to `make world' succesfully, anyway!
@
text
@a17 1
.include "../../usr.bin/Makefile.inc"
@


1.5
log
@Submitted by: Philippe Charnier <charnier@@lirmm.fr>
Install the man page, now that we have one.
@
text
@d9 1
a9 1
CFLAGS+= -DHAVE_VPRINTF=1 -DNEEDPAD -I${.CURDIR}
@


1.4
log
@Remove regex code, use -lgnuregex instead
@
text
@a11 1
NOMAN=noman
@


1.3
log
@Make tar static by default.  Don't scream, you'll thank me for this
someday.
@
text
@d4 1
a4 1
	regex.c rtapelib.c tar.c update.c version.c
d14 3
@


1.2
log
@Cleaned up yacc problems that shouldn't have existed in the original port
@
text
@d13 1
@


1.1
log
@Initial revision
@
text
@d11 1
@


1.1.1.1
log
@Updated GNU utilities
@
text
@@
