Change tar to GNU

Jon Noack noackjr at alumni.rice.edu
Thu Feb 17 19:38:58 GMT 2005


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


More information about the freebsd-current mailing list