wok-4.x rev 3578

busybox/dpkg_deb: add lzma support
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Jun 26 15:30:21 2009 +0200 (2009-06-26)
parents 682806abeaec
children 07a92deec1e6
files busybox-pam/receipt busybox/receipt busybox/stuff/busybox-1.12.0-dpkg_deb.u
line diff
     1.1 --- a/busybox-pam/receipt	Fri Jun 26 13:37:49 2009 +0200
     1.2 +++ b/busybox-pam/receipt	Fri Jun 26 15:30:21 2009 +0200
     1.3 @@ -39,6 +39,7 @@
     1.4  unlzma.u
     1.5  replay.u
     1.6  ris.u
     1.7 +dpkg_deb.u
     1.8  EOT
     1.9      cp $WOK/busybox/stuff/$SOURCE-$VERSION.config .config
    1.10      sed -i 's/# CONFIG_PAM is not set/CONFIG_PAM=y/' .config
     2.1 --- a/busybox/receipt	Fri Jun 26 13:37:49 2009 +0200
     2.2 +++ b/busybox/receipt	Fri Jun 26 15:30:21 2009 +0200
     2.3 @@ -37,6 +37,7 @@
     2.4  unlzma.u
     2.5  replay.u
     2.6  ris.u
     2.7 +dpkg_deb.u
     2.8  EOT
     2.9      cp ../stuff/$PACKAGE-$VERSION.config .config
    2.10      make oldconfig
     3.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     3.2 +++ b/busybox/stuff/busybox-1.12.0-dpkg_deb.u	Fri Jun 26 15:30:21 2009 +0200
     3.3 @@ -0,0 +1,14 @@
     3.4 +--- busybox-1.12.0/archival/dpkg_deb.c
     3.5 ++++ busybox-1.12.0/archival/dpkg_deb.c
     3.6 +@@ -41,6 +41,11 @@
     3.7 + 	llist_add_to(&control_tar_llist, (char*)"control.tar.bz2");
     3.8 + #endif
     3.9 + 
    3.10 ++#if ENABLE_FEATURE_SEAMLESS_LZMA
    3.11 ++	llist_add_to(&(ar_archive->accept), (char*)"data.tar.lzma");
    3.12 ++	llist_add_to(&control_tar_llist, (char*)"control.tar.lzma");
    3.13 ++#endif
    3.14 ++
    3.15 + 	opt_complementary = "c--efXx:e--cfXx:f--ceXx:X--cefx:x--cefX";
    3.16 + 	opt = getopt32(argv, "cefXx");
    3.17 + 	argv += optind;