Subject: tar: NetBSD 1.6.2 vs NetBSD 2.x
To: None <tech-pkg@netbsd.org>
From: Martti Kuparinen <martti.kuparinen@iki.fi>
List: tech-pkg
Date: 02/23/2005 15:36:28
Hi!

I don't understand this...

ROOT n79:~> uname -srm
NetBSD 2.99.16 i386

ROOT n79:~> sha1 /home/netbsd/distfiles/xfce4-icon-theme-4.2.0.tar.gz
SHA1 (/home/netbsd/distfiles/xfce4-icon-theme-4.2.0.tar.gz) = 
676b64bccc185d3912ba16d6efe829a2e067825b

ROOT n79:~> tar tvfz 
/home/netbsd/distfiles/xfce4-icon-theme-4.2.0.tar.gz | grep 
gnome-mime-application-vnd.stardivision.impress.s
-rw-r--r--  1 1031     1031        7396 Aug 23  2004 
xfce4-icon-theme-4.2.0/Rodent/scalable/mimetypes/gnome-mime-application-vnd.stardivision.impress.svg


ROOT r212:~> uname -srm
NetBSD 1.6.2 i386

ROOT r212:~> sha1 /var/tmp/distfiles/xfce4-icon-theme-4.2.0.tar.gz
SHA1 (/var/tmp/distfiles/xfce4-icon-theme-4.2.0.tar.gz) = 
676b64bccc185d3912ba16d6efe829a2e067825b

ROOT r212:~> tar tvfz /var/tmp/distfiles/xfce4-icon-theme-4.2.0.tar.gz | 
grep gnome-mime-application-vnd.stardivision.impress.s
-rw-r--r-- 1031/1031      7396 Aug 23 08:14 2004 
xfce4-icon-theme-4.2.0/Rodent/scalable/mimetypes/gnome-mime-application-vnd.stardivision.impress.sv


So, two hosts running NetBSD: one running 2.99.16 and the other 1.6.2.
The distribution file is identical according to SHA1 checksum but the
tar shows different result (note the *.svg and *.sv files).

Any ideas?

Martti