Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 93816 - Add compatability link "gtar" pointing to GNU tar
Summary: Add compatability link "gtar" pointing to GNU tar
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All All
: High enhancement (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-05-24 09:19 UTC by Alexander Skwar
Modified: 2022-10-19 12:05 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alexander Skwar 2005-05-24 09:19:49 UTC
On my system, I've got both star and tar (GNU tar) installed. When I type "tar", /usr/bin/tar is executed, which is the tar from star:

[18:16:55 alexander@server:/etc] $ ls -la /usr/bin/tar
lrwxrwxrwx  1 root root 4  7. Feb 18:15 /usr/bin/tar -> star

It would be nice, if there were an "easy" way to run GNU tar. What I'm thinking of is to introduce a symlink /usr/bin/gtar > /bin/tar. 

On other real(tm) Unix systems like Solaris or with certain HP-UX packages, the link gtar -> GNU tar is already introduced. Because of that, such a symlink wouldn't be *THAT* far off :)
Comment 1 Carsten Lohrke (RETIRED) gentoo-dev 2005-05-24 11:09:45 UTC
No, star shouldn't install a binary named tar or app-arch/tar and app-arch/star
should block each other. (problematic, see Bug 33119)
Comment 2 SpanKY gentoo-dev 2005-05-24 11:36:22 UTC
bsd team: useful for you ?

we only install the 'g' symlink on GNU systems when it's common, so we have
'gawk' and 'gmake', but not 'gsed' or 'gm4'
Comment 3 Diego Elio Pettenò (RETIRED) gentoo-dev 2005-05-24 11:42:33 UTC
I'm using bsd tar for portage without problems at the moment, it has more 
features than gnu tar anyway, but I think gtar can be helpful when it depends 
on some syntax strictly gnu... 
 
Comment 4 Alexander Skwar 2005-05-24 14:19:32 UTC
(In reply to comment #1)
> No, star shouldn't install a binary named tar or app-arch/tar and app-arch/star
> should block each other. (problematic, see Bug 33119)

Hm? I don't really care that star installs as /usr/bin/tar. With this bug, I'd
like to see a symlink /usr/bin/gtar -> /bin/tar or maybe /bin/gtar -> /bin/tar
being introduced.

So, even if there were no /usr/bin/tar -> /usr/bin/star symlink, I'd like to see
a gtar symlink.
Comment 5 SpanKY gentoo-dev 2005-05-24 15:06:21 UTC
checked with fedora and they have gmake and gtar symlinks in their standard, so
dropping in a gtar symlink should be ok