Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 17 Feb 2005 13:38:51 -0600
From:      Jon Noack <noackjr@alumni.rice.edu>
To:        Kaspars <kaspars@os.lv>
Cc:        freebsd-current@freebsd.org
Subject:   Re: Change tar to GNU
Message-ID:  <4214F2CB.8030506@alumni.rice.edu>
In-Reply-To: <4214ED77.6000206@os.lv>

index | next in thread | previous in thread | raw e-mail

Kaspars wrote:
>  I have backup script build with tar and -newer options.
> on FreeBSD 4.x it worked and i see:
> $tar --version
> tar (GNU tar) 1.13.25
> 
> on FreeBSD 5.3 not working and I found:
> $tar --version
> bsdtar 1.01.011, libarchive 1.01.013
> Copyright (C) 2003-2004 Tim Kientzle
> 
> So I understand that you change own tar to make different licence.
> 
> I just thinking what is proper way to update tar to GNU tar to make 
> working again my script?

One of the great things about FreeBSD is that a big, user-visible change 
in a new release has a >99% of being documented.  This case follows that 
trend (third item of Userland Changes):
http://www.freebsd.org/releases/5.3R/relnotes-i386.html#USERLAND

Throw "WITH_GTAR=yes" into /etc/make.conf.  After the next 
build/installworld, you're back to gtar.  For the time being you may 
simply point your script to "gtar" as pointed out in other responses.

Jon


home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4214F2CB.8030506>