Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug
Bug#: 37170
Alias:
Product:
Component:
Status: RESOLVED
Resolution: DUPLICATE of bug 37132
Assigned To: Gentoo Linux bug wranglers <bug-wranglers@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Yuri Karaban <ykar@list.ru>
Add CC:
CC:
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 37170 depends on: Show dependency tree
Bug 37170 blocks:
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: 2004-01-04 02:08 0000
tar in achives containing './' in path (for example)
libpcap-0.8.1/./bpf/net/bpf_filter.c

tar strips anything before './'.
This results in incorrect unpacking:
file bpf/net/bpf_filter.c created but correctly need to be libpcap-0.8.1/bpf/net/bpf_filter.c

Reproducible: Always
Steps to Reproduce:
1. Create dir tmp
2. cd tmp
3. tar xzf /usr/portage/distfiles/libpcap-0.8.1.tar.gz
4. ls
Actual Results:  
you see content of libpcap-0.8.1 (NOT directory itself)


Expected Results:  
you must see libpcap-0.8.1 itself with its content WITHIN IT

Portage 2.0.49-r20 (default-x86-1.4, gcc-3.3.2, glibc-2.3.3_pre20031222-r0, 2.4.23)
=================================================================
System uname: 2.4.23 i686 Celeron (Coppermine)
Gentoo Base System version 1.4.3.12
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-O2 -march=i686 -pipe"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config
/usr/kde/3/share/config /usr/share/config /var/qmail/alias /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
CXXFLAGS="-O2 -march=i686 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache sandbox"
GENTOO_MIRRORS="http://ftp3.linux.kiev.ua/pub/Linux/Gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://ftp3.linux.kiev.ua/pub/Linux/Gentoo/portage"
USE="X apm avi berkdb cdr crypt directfb esd fbcon foomaticdb gdbm gif gnome gpm
gtk gtk2 guile imlib jpeg libg++ libwww mad maildir matrox mikmod mmx motif
mozilla moznocompose moznoirc moznomail mpeg mysql ncurses nls oggvorbis opengl
oss pam pda pdflib perl png postgres python qt quicktime readline ruby sdl slang
spell sse ssl tcltk tcpd truetype x86 xml2 xmms xv zlib video_cards_matrox"

------- Comment #1 From Daniel Ahlberg (RETIRED) 2004-01-04 02:52:35 0000 -------

*** This bug has been marked as a duplicate of 37132 ***

Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug