Heads up: gtar gone from base system

Michael Nottebrock michaelnottebrock at gmx.net
Tue Apr 5 06:07:37 PDT 2005


On Tuesday, 5. April 2005 06:46, Tim Kientzle wrote:

> I recommend submitting a change to the "ark" maintainers suggesting
> they use "-z" (which is implemented by many different tar programs)
> rather than the gtar-specific --use-compress-program=gunzip.

I already replied to Conrad on kde at freebsd.org, but to cut things short: ark 
(in the kdeutils3 port) has been patched to invoke "gtar" instead of "tar" on 
recent 5.x and newer for a long time now (pretty much ever since tar stopped 
being gtar). Conrad hasn't replied yet, but I'm assuming he as either a 
symlink or an alias in place that maps gtar to tar - which isn't 
recommendable. :)

Now, what ark does is not calling --use-compress-programm=gunzip, it calls 
--use-compress-program=<uncompress|gunzip|bunzip2|lzop> depending on what 
compressor is detected or user-specification, so simple patching won't work. 
At the moment, ark builds a (g)tar commandline and executes it via KProcess - 
using pipes instead of the --use-compress-program parameter would at the 
least mean using KShellProcess instead, which would involve, well, a shell.

-- 
   ,_,   | Michael Nottebrock               | lofi at freebsd.org
 (/^ ^\) | FreeBSD - The Power to Serve     | http://www.freebsd.org
   \u/   | K Desktop Environment on FreeBSD | http://freebsd.kde.org
-------------- 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/20050405/1dbb282f/attachment-0001.bin


More information about the freebsd-current mailing list