]> git.ipfire.org Git - ipfire-3.x.git/commitdiff
Added patches to tar that support xattrs.
authorMichael Tremer <michael.tremer@ipfire.org>
Mon, 15 Jun 2009 07:30:33 +0000 (09:30 +0200)
committerMichael Tremer <michael.tremer@ipfire.org>
Mon, 15 Jun 2009 07:30:33 +0000 (09:30 +0200)
Depends on acl and attr.

lfs/tar

diff --git a/lfs/tar b/lfs/tar
index 6ec1e925b50e2451b4b5c7408d64a18d683cc61b..2d18b75440a1a0044e56160f310e36dd3bfb45ab 100644 (file)
--- a/lfs/tar
+++ b/lfs/tar
@@ -40,7 +40,7 @@ CORE       = yes
 EXTRA      = no
 DEBUG      = no
 BUILD_DEPS =
-DEPS       =
+DEPS       = acl attr
 
 URL        = http://www.gnu.org/software/tar/
 LICENSE    = GPLv3+
@@ -70,7 +70,9 @@ info:
 
 install: $(OBJECT)
 
-package:
+packages: $(PACKAGES)
+
+$(PACKAGES): $(OBJECT)
        @$(DO_PACKAGE)
 
 $(objects):
@@ -88,9 +90,13 @@ $(OBJECT): $(objects)
        # may fail to grow the size of a file
        cd $(DIR_APP) && patch -Np1 -i $(DIR_PATCHES)/$(THISAPP)-vfatTruncate.patch
 
+       # Add support for ACLs in the tarballs.
+       cd $(DIR_APP) && patch -Np1 -i $(DIR_PATCHES)/$(THISAPP)-xattrs-1.patch
+       cd $(DIR_APP) && patch -Np1 -i $(DIR_PATCHES)/$(THISAPP)-xattrs-conf-1.patch
+
 ifeq "$(STAGE)" "toolchain"
        # Normally the 'rmt' programs goes in sbin/.
-       cd $(DIR_APP) && \
+       cd $(DIR_APP) && LDFLAGS="-z muldefs" \
                ./configure \
                        $(CONFIGURE_ARCH) \
                        --prefix=$(TOOLS_DIR) \