Re: Heads up: gtar gone from base system

From: Michael Nottebrock <michaelnottebrock_at_gmx.net>
Date: Tue, 5 Apr 2005 15:07:23 +0200
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

Received on Tue Apr 05 2005 - 11:07:37 UTC

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