Changeset 3621 in MondoRescue for branches/3.3/mindi-busybox/archival/dpkg.c


Ignore:
Timestamp:
Dec 20, 2016, 4:07:32 PM (7 years ago)
Author:
Bruno Cornec
Message:

New 3?3 banch for incorporation of latest busybox 1.25. Changing minor version to handle potential incompatibilities.

Location:
branches/3.3
Files:
1 edited
1 copied

Legend:

Unmodified
Added
Removed
  • branches/3.3/mindi-busybox/archival/dpkg.c

    r3232 r3621  
    1515 * Licensed under GPLv2 or later, see file LICENSE in this source tree.
    1616 */
    17 
    1817/*
    1918 * known difference between busybox dpkg and the official dpkg that i don't
     
    2625 * bugs that need to be fixed
    2726 *  - (unknown, please let me know when you find any)
    28  *
    2927 */
     28
     29//config:config DPKG
     30//config:   bool "dpkg"
     31//config:   default n
     32//config:   select FEATURE_SEAMLESS_GZ
     33//config:   help
     34//config:     dpkg is a medium-level tool to install, build, remove and manage
     35//config:     Debian packages.
     36//config:
     37//config:     This implementation of dpkg has a number of limitations,
     38//config:     you should use the official dpkg if possible.
     39
     40//applet:IF_DPKG(APPLET(dpkg, BB_DIR_USR_BIN, BB_SUID_DROP))
     41//kbuild:lib-$(CONFIG_DPKG) += dpkg.o
    3042
    3143//usage:#define dpkg_trivial_usage
     
    11401152                    if (root_of_alternatives)
    11411153                        bb_error_msg_and_die(
    1142                             "package %s %sdepends on %s, "
    1143                             "which cannot be satisfied",
     1154                            "package %s %sdepends on %s, which %s",
    11441155                            name_hashtable[package_node->name],
    11451156                            package_edge->type == EDGE_PRE_DEPENDS ? "pre-" : "",
    1146                             name_hashtable[root_of_alternatives->name]);
     1157                            name_hashtable[root_of_alternatives->name],
     1158                            "cannot be satisfied");
    11471159                    bb_error_msg_and_die(
    1148                         "package %s %sdepends on %s, which %s\n",
     1160                        "package %s %sdepends on %s, which %s",
    11491161                        name_hashtable[package_node->name],
    11501162                        package_edge->type == EDGE_PRE_DEPENDS ? "pre-" : "",
     
    14611473
    14621474    /* We don't care about data.tar.* or debian-binary, just control.tar.* */
     1475    llist_add_to(&(ar_handle->accept), (char*)"control.tar");
    14631476#if ENABLE_FEATURE_SEAMLESS_GZ
    14641477    llist_add_to(&(ar_handle->accept), (char*)"control.tar.gz");
     
    14671480    llist_add_to(&(ar_handle->accept), (char*)"control.tar.bz2");
    14681481#endif
     1482#if ENABLE_FEATURE_SEAMLESS_XZ
     1483    llist_add_to(&(ar_handle->accept), (char*)"control.tar.xz");
     1484#endif
    14691485
    14701486    /* Assign the tar handle as a subarchive of the ar handle */
     
    14811497
    14821498    /* We don't care about control.tar.* or debian-binary, just data.tar.* */
     1499    llist_add_to(&(ar_handle->accept), (char*)"data.tar");
    14831500#if ENABLE_FEATURE_SEAMLESS_GZ
    14841501    llist_add_to(&(ar_handle->accept), (char*)"data.tar.gz");
     
    14861503#if ENABLE_FEATURE_SEAMLESS_BZ2
    14871504    llist_add_to(&(ar_handle->accept), (char*)"data.tar.bz2");
     1505#endif
     1506#if ENABLE_FEATURE_SEAMLESS_LZMA
     1507    llist_add_to(&(ar_handle->accept), (char*)"data.tar.lzma");
     1508#endif
     1509#if ENABLE_FEATURE_SEAMLESS_XZ
     1510    llist_add_to(&(ar_handle->accept), (char*)"data.tar.xz");
    14881511#endif
    14891512
Note: See TracChangeset for help on using the changeset viewer.