First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 96363
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Gentoo's Team for Core System packages <base-system@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Diego E. 'Flameeyes' Pettenò <flameeyes@gentoo.org>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
tar-ebuild.patch Ebuild patch patch Diego E. 'Flameeyes' Pettenò 2005-06-17 04:10 0000 1.92 KB Details | Diff
tar-nongnu.patch Ebuild patch patch Diego E. 'Flameeyes' Pettenò 2005-08-03 09:50 0000 1.99 KB Details | Diff
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 96363 depends on: Show dependency tree
Bug 96363 blocks: 101219
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2005-06-17 04:10 0000
As Gentoo/FreeBSD uses app-arch/bsdtar as default tar application, the attached
patch applied over current ebuild make tar be installed as 'gtar' (thus
removing the need for /usr/bin/gtar symlink) and symlinks it to non-g prefixed
on GNU userland system.

This also makes simpler a future transition to a configurable /bin/tar symlink.

Note: I've used ${USERLAND} to check to avoid QA notices, can be replaced with
use use-expanded-var if anyone prefers.

Thanks, Diego

------- Comment #1 From Diego E. 'Flameeyes' Pettenò 2005-06-17 04:10:54 0000 -------
Created an attachment (id=61380) [edit]
Ebuild patch

------- Comment #2 From SpanKY 2005-06-17 20:34:04 0000 -------
err no, this is not what i want ...

on a GNU system, the only thing that should have a g is gtar

------- Comment #3 From Diego E. 'Flameeyes' Pettenò 2005-08-03 09:50:39 0000 -------
Created an attachment (id=64996) [edit]
Ebuild patch

This should be better

------- Comment #4 From SpanKY 2005-08-03 11:52:57 0000 -------
i guess you're just going to ignore comment #2 ;)

------- Comment #5 From Diego E. 'Flameeyes' Pettenò 2005-08-03 11:58:23 0000 -------
You looked at the actual result of the patch? :) 
It's 1:1 the original bug tar -> gtar symlink. 
 

------- Comment #6 From SpanKY 2005-08-03 13:07:45 0000 -------
ok, i missed the last for loop which renames everything ... thats kind of ugly
:P

did you double check to make sure the 'g' prefix wasnt recorded in the
binary/manpages ?

------- Comment #7 From Diego E. 'Flameeyes' Pettenò 2005-08-03 13:16:34 0000 -------
Yep, binaries doesn't get data about the prefix as far as I could see, and 
manpages are always static (just get renamed in case you set the prefix, and 
it's not the case for tar, though). 
 

------- Comment #8 From SpanKY 2005-08-11 21:18:56 0000 -------
sync up and try current 1.15.1

------- Comment #9 From Diego E. 'Flameeyes' Pettenò 2005-08-12 01:42:20 0000 -------
I've added the rm -f line to remove charset.alias (it gets created just for  
G/FBSD and G/OSX-Darwin, and on both of them it makes no sense on tar), for  
the rest works fine. 
Thanks 

First Last Prev Next    No search results available      Search page      Enter new bug