Change tar to GNU

Ruslan Ermilov ru at freebsd.org
Fri Feb 18 10:45:33 GMT 2005


On Thu, Feb 17, 2005 at 01:38:51PM -0600, Jon Noack wrote:
> 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.
> 
The WITH_GTAR knob should probably be documented in make.conf(5)
and /usr/share/examples/etc/make.conf.


Cheers,
-- 
Ruslan Ermilov
ru at FreeBSD.org
FreeBSD committer
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-current/attachments/20050218/dbaec10f/attachment.bin


More information about the freebsd-current mailing list