summaryrefslogtreecommitdiff
path: root/ChangeLog
diff options
context:
space:
mode:
authorGuillem Jover <guillem@debian.org>2009-02-27 06:16:03 +0200
committerGuillem Jover <guillem@debian.org>2009-02-27 07:13:51 +0200
commit22408d0c3dac33a396a451e18f1e8860793928d3 (patch)
treead8931d1fbc0d31037367c004eb70d0fe668d47c /ChangeLog
parent4b9da2295656cd63e04a4fcc707a575b1f5cd88b (diff)
downloaddpkg-22408d0c3dac33a396a451e18f1e8860793928d3.tar.gz
libdpkg: Add tar format detection support
Recognize old tar, GNU tar and ustar formats. Abort on ustar with non empty Prefix field, as we don't properly handle the long names yet. Failure for PAX archive is already being handled when acting on the typeflag.
Diffstat (limited to 'ChangeLog')
-rw-r--r--ChangeLog9
1 files changed, 9 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index f29e33dd0..03fc9a43a 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,14 @@
2009-02-27 Guillem Jover <guillem@debian.org>
+ * lib/tarfn.h (enum tar_format): New type.
+ (struct TarInfo): Add new format member.
+ * lib/tarfn.c (TAR_MAGIC_USTAR, TAR_MAGIC_GNU): New macros.
+ (struct TarHeader): Add new Prefix member.
+ (DecodeTarHeader): Detect tar formats based on the magic values.
+ Abort on tar_format_ustar and an non-empty Prefix.
+
+2009-02-27 Guillem Jover <guillem@debian.org>
+
* lib/fields.c (f_boolean): Use PKGPFIELD to assign to the correct
member instead of hardcoding to the essential member.