Re: Change tar to GNU

From: Jon Noack <noackjr_at_alumni.rice.edu>
Date: Thu, 17 Feb 2005 13:38:51 -0600
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
Received on Thu Feb 17 2005 - 18:38:58 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:28 UTC