Changeset 993

Show
Ignore:
Timestamp:
10/23/06 18:34:57 (6 years ago)
Author:
markus
Message:

busybox upgrade to 1.2.1

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/freewrt/package/busybox/Makefile

    r894 r993  
    88 
    99PKG_NAME:=              busybox 
    10 PKG_RELEASE:=          5 
    11 PKG_VERSION:=          1.1.3 
    12 PKG_MD5SUM:=            19a0b475169335f17e421cf644616fe7 
     10PKG_VERSION:=          1.2.1 
     11PKG_RELEASE:=          1 
     12PKG_MD5SUM:=            362b3dc0f2023ddfda901dc1f1a74391 
    1313PKG_INIT:=              60 
    1414 
  • trunk/freewrt/package/busybox/config/Config.in

    r443 r993  
    44# 
    55 
     6#mainmenu "BusyBox Configuration" 
    67 
    78config BUSYBOX_HAVE_DOT_CONFIG 
     
    1314menu "General Configuration" 
    1415 
     16config BUSYBOX_CONFIG_NITPICK 
     17        bool "See lots more (probably unnecessary) configuration options." 
     18        default n 
     19        help 
     20          Some BusyBox applets have more configuration options than anyone 
     21          will ever care about.  To avoid drowining people in complexity, most 
     22          of the applet features that can be set to a sane default value are 
     23          hidden, unless you hit the above switch. 
     24 
     25          This is better than to telling people to edit the busybox source 
     26          code, but not by much. 
     27 
     28          See http://en.wikipedia.org/wiki/Fibber_McGee_and_Molly#The_Closet 
     29 
     30          You have been warned. 
     31 
    1532choice 
    1633        prompt "Buffer allocation policy" 
    17         default BUSYBOX_CONFIG_FEATURE_BUFFERS_GO_ON_STACK 
     34        default BUSYBOX_CONFIG_FEATURE_BUFFERS_USE_MALLOC 
     35        depends on BUSYBOX_CONFIG_NITPICK 
    1836        help 
    1937          There are 3 ways BusyBox can handle buffer allocations: 
     
    3755endchoice 
    3856 
     57config BUSYBOX_CONFIG_SHOW_USAGE 
     58        bool "Show terse applet usage messages" 
     59        default y 
     60        help 
     61          All BusyBox applets will show help messages when invoked with 
     62          wrong arguments. You can turn off printing these terse usage 
     63          messages if you say no here. 
     64          This will save you up to 7k. 
     65 
    3966config BUSYBOX_CONFIG_FEATURE_VERBOSE_USAGE 
    4067        bool "Show verbose applet usage messages" 
    41         default y 
     68        default n 
     69        select BUSYBOX_CONFIG_SHOW_USAGE 
    4270        help 
    4371          All BusyBox applets will show more verbose help messages when 
     
    4674          13k, but it can add much more depending on your configuration. 
    4775 
     76config BUSYBOX_CONFIG_FEATURE_COMPRESS_USAGE 
     77        bool "Store applet usage messages in compressed form" 
     78        default y 
     79        depends on BUSYBOX_CONFIG_SHOW_USAGE && BUSYBOX_CONFIG_NITPICK 
     80        help 
     81          Store usage messages in compressed form, uncompress them on-the-fly 
     82          when <applet> --help is called. 
     83 
     84          If you have a really tiny busybox with few applets enabled (and 
     85          bunzip2 isn't one of them), the overhead of the decompressor might 
     86          be noticeable.  Also, if you run executables directly from ROM 
     87          and have very little memory, this might not be a win.  Otherwise, 
     88          you probably want this. 
     89 
    4890config BUSYBOX_CONFIG_FEATURE_INSTALLER 
    4991        bool "Support --install [-s] to install applet links at runtime" 
     
    62104          busybox to support locale settings. 
    63105 
    64 config BUSYBOX_CONFIG_FEATURE_DEVFS 
    65         bool "Support for devfs" 
    66         default y 
    67         help 
    68           Enable if you want BusyBox to work with devfs. 
     106config BUSYBOX_CONFIG_GETOPT_LONG 
     107        bool 
     108        default y 
     109#       bool "Enable support for --long-options" 
     110#       default n 
     111#       help 
     112#         Enable this if you want busybox applets to use the gnu --long-option 
     113#         style, in addition to single character -a -b -c style options. 
    69114 
    70115config BUSYBOX_CONFIG_FEATURE_DEVPTS 
    71116        bool "Use the devpts filesystem for Unix98 PTYs" 
    72         default y if BUSYBOX_CONFIG_FEATURE_DEVFS 
     117        default y 
    73118        help 
    74119          Enable if you want BusyBox to use Unix98 PTY support. If enabled, 
     
    76121          and /dev/pts/<number> for the slave side.  Otherwise, BSD style 
    77122          /dev/ttyp<number> will be used. To use this option, you should have 
    78           devpts or devfs mounted. 
     123          devpts mounted. 
    79124 
    80125config BUSYBOX_CONFIG_FEATURE_CLEAN_UP 
    81126        bool "Clean up all memory before exiting (usually not needed)" 
    82127        default n 
     128        depends on BUSYBOX_CONFIG_NITPICK 
    83129        help 
    84130          As a size optimization, busybox normally exits without explicitly 
     
    92138config BUSYBOX_CONFIG_FEATURE_SUID 
    93139        bool "Support for SUID/SGID handling" 
    94         default y 
    95         help 
    96           Support SUID and SGID binaries. 
     140        default n 
     141        help 
     142          With this option you can install the busybox binary belonging 
     143          to root with the suid bit set, and it'll and it'll automatically drop 
     144          priviledges for applets that don't need root access. 
     145 
     146          If you're really paranoid and don't want to do this, build two 
     147          busybox binaries with different applets in them (and the appropriate 
     148          symlinks pointing to each binary), and only set the suid bit on the 
     149          one that needs it.  The applets currently marked to need the suid bit 
     150          are login, passwd, su, ping, traceroute, crontab, dnsd, ipcrm, ipcs, 
     151          and vlock. 
    97152 
    98153config BUSYBOX_CONFIG_FEATURE_SUID_CONFIG 
     
    101156        depends on BUSYBOX_CONFIG_FEATURE_SUID 
    102157        help 
    103           Allow the SUID / SGID state of an applet to be determined runtime by 
    104           checking /etc/busybox.conf.  The format of this file is as follows: 
     158          Allow the SUID / SGID state of an applet to be determined at runtime 
     159          by checking /etc/busybox.conf.  (This is sort of a poor man's sudo.) 
     160          The format of this file is as follows: 
    105161 
    106162          <applet> = [Ssx-][Ssx-][x-] (<username>|<uid>).(<groupname>|<gid>) 
     
    129185config BUSYBOX_CONFIG_FEATURE_SUID_CONFIG_QUIET 
    130186        bool "Suppress warning message if /etc/busybox.conf is not readable" 
    131         default n 
     187        default y 
    132188        depends on BUSYBOX_CONFIG_FEATURE_SUID_CONFIG 
    133189        help 
     
    139195        default n 
    140196        help 
    141           Enable support for SE Linux in applets ls, ps, and id.  Also provide 
    142           the option of compiling in SE Linux applets. 
    143  
    144           If you do not have a complete SE Linux Full Userland installed, this 
    145           stuff will not compile. Go visit 
     197          Enable support for SELinux in applets ls, ps, and id.  Also provide 
     198          the option of compiling in SELinux applets. 
     199 
     200          If you do not have a complete SELinux userland installed, this stuff 
     201          will not compile. Go visit 
    146202                http://www.nsa.gov/selinux/index.html 
    147           to download the necessary stuff to allow busybox to compile with this 
    148           option enabled. 
     203          to download the necessary stuff to allow busybox to compile with 
     204          this option enabled. Specifially, libselinux 1.28 or better is 
     205          directly required by busybox. If the installation is located in a 
     206          non-standard directory, provide it by invoking make as follows: 
     207                CFLAGS=-I<libselinux-include-path> \ 
     208                LDFLAGS=-L<libselinux-lib-path> \ 
     209                make 
    149210 
    150211          Most people will leave this set to 'N'. 
     212 
     213config BUSYBOX_CONFIG_BUSYBOX_EXEC_PATH 
     214        string "Path to BusyBox executable" 
     215        default "/proc/self/exe" 
     216        help 
     217          When Busybox applets need to run other busybox applets, BusyBox 
     218          sometimes needs to exec() itself.  When the /proc filesystem is 
     219          mounted, /proc/self/exe always points to the currently running 
     220          executable.  If you haven't got /proc, set this to wherever you 
     221          want to run BusyBox from. 
    151222 
    152223endmenu 
     
    168239          Most people will leave this set to 'N'. 
    169240 
    170 # The busybox shared library feature is there so make standalone can produce 
    171 # smaller applets.  Since make standalone isn't in yet, there's nothing using 
    172 # this yet, and so it's disabled. 
    173 config BUSYBOX_CONFIG_DISABLE_SHARED 
    174         bool 
    175         default n 
    176  
    177241config BUSYBOX_CONFIG_BUILD_LIBBUSYBOX 
    178242        bool "Build shared libbusybox" 
    179243        default n 
    180         depends on BUSYBOX_CONFIG_DISABLE_SHARED 
    181244        help 
    182245          Build a shared library libbusybox.so which contains all 
    183246          libraries used inside busybox. 
    184247 
     248          This is an experimental feature intended to support the upcoming 
     249          "make standalone" mode.  Enabling it against the one big busybox 
     250          binary serves no purpose (and increases the size).  You should 
     251          almost certainly say "no" to this right now. 
     252 
    185253config BUSYBOX_CONFIG_FEATURE_FULL_LIBBUSYBOX 
    186254        bool "Feature-complete libbusybox" 
    187         default n if !CONFIG_FEATURE_SHARED_BUSYBOX 
     255        default n if !BUSYBOX_CONFIG_FEATURE_SHARED_BUSYBOX 
    188256        depends on BUSYBOX_CONFIG_BUILD_LIBBUSYBOX 
    189257        help 
     
    204272config BUSYBOX_CONFIG_FEATURE_SHARED_BUSYBOX 
    205273        bool "Use shared libbusybox for busybox" 
    206         default n if BUSYBOX_CONFIG_BUILD_LIBBUSYBOX 
    207         depends on !CONFIG_STATIC && BUSYBOX_CONFIG_BUILD_LIBBUSYBOX 
     274        default y if BUSYBOX_CONFIG_BUILD_LIBBUSYBOX 
     275        depends on !BUSYBOX_CONFIG_STATIC && BUSYBOX_CONFIG_BUILD_LIBBUSYBOX 
    208276        help 
    209277          Use libbusybox.so also for busybox itself. 
     
    211279 
    212280config BUSYBOX_CONFIG_LFS 
    213         bool 
     281        bool "Build with Large File Support (for accessing files > 2 GB)" 
    214282        default y 
    215283        select BUSYBOX_FDISK_SUPPORT_LARGE_DISKS 
     
    223291 
    224292config BUSYBOX_USING_CROSS_COMPILER 
    225         bool 
     293        bool "Do you want to build BusyBox with a Cross Compiler?" 
    226294        default y 
    227295        help 
     
    230298 
    231299config BUSYBOX_CROSS_COMPILER_PREFIX 
     300        #string "Cross Compiler prefix" 
    232301        string 
    233302        default "mipsel-uclibc-" 
     
    240309          which will ensure the correct compiler is used. 
    241310 
    242 config BUSYBOX_EXTRA_CFLAGS_OPTIONS 
    243         string 
    244         default "-Os " 
    245         help 
    246           Do you want to pass any extra CFLAGS options to the compiler as 
    247           you build BusyBox? If so, this is the option for you...  For example, 
    248           if you want to add some simple compiler switches (like -march=i686), 
    249           or check for warnings using -Werror, just those options here. 
    250  
    251311config BUSYBOX_CONFIG_BUILD_AT_ONCE 
    252312        bool "Compile all sources at once" 
     
    273333 
    274334config BUSYBOX_CONFIG_DEBUG 
    275         bool "Build BusyBox with Debugging symbols" 
    276         default n 
    277         help 
    278           Say Y here if you wish to compile BusyBox with debugging symbols. 
    279           This will allow you to use a debugger to examine BusyBox internals 
    280           while applets are running.  This increases the size of the binary 
    281           considerably and should only be used when doing development. 
    282           If you are doing development and want to debug BusyBox, answer Y. 
     335        bool "Build BusyBox with extra Debugging symbols" 
     336        default n 
     337        help 
     338          Say Y here if you wish to examine BusyBox internals while applets are 
     339          running.  This increases the size of the binary considerably, and 
     340          should only be used when doing development.  If you are doing 
     341          development and want to debug BusyBox, answer Y. 
    283342 
    284343          Most people should answer N. 
     344 
     345config BUSYBOX_CONFIG_DEBUG_PESSIMIZE 
     346        bool "Disable compiler optimizations." 
     347        default n 
     348        depends on BUSYBOX_CONFIG_DEBUG 
     349        help 
     350          The compiler's optimization of source code can eliminate and reorder 
     351          code, resulting in an executable that's hard to understand when 
     352          stepping through it with a debugger.  This switches it off, resulting 
     353          in a much bigger executable that more closely matches the source 
     354          code. 
    285355 
    286356choice 
     
    330400        default y 
    331401        help 
    332           This option will disable backwards compatability with SuSv2, 
     402          This option will disable backwards compatibility with SuSv2, 
    333403          specifically, old-style numeric options ('command -1 <file>') 
    334404          will not be supported in head, tail, and fold.  (Note: should 
     
    345415          Disable use of /usr. Don't activate this option if you don't know 
    346416          that you really want this behaviour. 
     417 
     418# we always want to use symlinks 
     419config BUSYBOX_CONFIG_INSTALL_APPLET_SYMLINKS 
     420        bool 
     421        default y 
    347422 
    348423#choice 
     
    351426#       help 
    352427#         Choose how you install applets links. 
    353  
    354 config BUSYBOX_CONFIG_INSTALL_APPLET_SYMLINKS 
    355        bool #"as soft-links" 
    356         default y 
     428
     429#config BUSYBOX_CONFIG_INSTALL_APPLET_SYMLINKS 
     430#       bool "as soft-links" 
    357431#       help 
    358432#         Install applets as soft-links to the busybox binary. This needs some 
    359433#         free inodes on the filesystem, but might help with filesystem 
    360434#         generators that can't cope with hard-links. 
    361  
     435
    362436#config BUSYBOX_CONFIG_INSTALL_APPLET_HARDLINKS 
    363437#       bool "as hard-links" 
     
    365439#         Install applets as hard-links to the busybox binary. This might count 
    366440#         on a filesystem with few inodes. 
    367  
     441
    368442#config BUSYBOX_CONFIG_INSTALL_APPLET_DONT 
    369443#       bool 
     
    373447#         Do not install applets links. Usefull when using the -install feature 
    374448#         or a standalone shell for rescue pruposes. 
    375  
     449
    376450#endchoice 
    377451 
    378452config BUSYBOX_PREFIX 
    379         string 
     453        string "BusyBox installation prefix" 
    380454        default "./_install" 
    381455        help 
     
    404478source package/busybox/config/networking/Config.in 
    405479source package/busybox/config/procps/Config.in 
     480#source package/busybox/config/shell/Config.in 
    406481source package/busybox/config/sysklogd/Config.in 
  • trunk/freewrt/package/busybox/config/archival/Config.in

    r1 r993  
    3030 
    3131config BUSYBOX_CONFIG_FEATURE_AR_LONG_FILENAMES 
    32         bool "  Enable support for long filenames (not need for debs)" 
     32        bool "Enable support for long filenames (not need for debs)" 
    3333        default n 
    3434        depends on BUSYBOX_CONFIG_AR 
     
    4141config BUSYBOX_CONFIG_BUNZIP2 
    4242        bool "bunzip2" 
    43         default y 
     43        default n 
    4444        help 
    4545          bunzip2 is a compression utility using the Burrows-Wheeler block 
     
    9090 
    9191config BUSYBOX_CONFIG_FEATURE_DPKG_DEB_EXTRACT_ONLY 
    92         bool "  extract only (-x)" 
     92        bool "extract only (-x)" 
    9393        default n 
    9494        depends on BUSYBOX_CONFIG_DPKG_DEB 
     
    107107 
    108108config BUSYBOX_CONFIG_FEATURE_GUNZIP_UNCOMPRESS 
    109         bool "  Uncompress support" 
     109        bool "Uncompress support" 
    110110        default y 
    111111        depends on BUSYBOX_CONFIG_GUNZIP 
     
    151151 
    152152config BUSYBOX_CONFIG_FEATURE_TAR_CREATE 
    153         bool "  Enable archive creation" 
     153        bool "Enable archive creation" 
    154154        default y 
    155155        depends on BUSYBOX_CONFIG_TAR 
     
    159159 
    160160config BUSYBOX_CONFIG_FEATURE_TAR_BZIP2 
    161         bool "  Enable -j option to handle .tar.bz2 files" 
     161        bool "Enable -j option to handle .tar.bz2 files" 
    162162        default y 
    163163        depends on BUSYBOX_CONFIG_TAR 
     
    167167 
    168168config BUSYBOX_CONFIG_FEATURE_TAR_LZMA 
    169         bool "  Enable -a option to handle .tar.lzma files" 
     169        bool "Enable -a option to handle .tar.lzma files" 
    170170        default n 
    171171        depends on BUSYBOX_CONFIG_TAR 
     
    175175 
    176176config BUSYBOX_CONFIG_FEATURE_TAR_FROM 
    177         bool "  Enable -X (exclude from) and -T (include from) options)" 
     177        bool "Enable -X (exclude from) and -T (include from) options)" 
    178178        default y 
    179179        depends on BUSYBOX_CONFIG_TAR 
     
    183183 
    184184config BUSYBOX_CONFIG_FEATURE_TAR_GZIP 
    185         bool "  Enable -z option" 
     185        bool "Enable -z option" 
    186186        default y 
    187187        depends on BUSYBOX_CONFIG_TAR 
     
    191191 
    192192config BUSYBOX_CONFIG_FEATURE_TAR_COMPRESS 
    193         bool "  Enable -Z option" 
     193        bool "Enable -Z option" 
    194194        default n 
    195195        depends on BUSYBOX_CONFIG_TAR 
     
    198198          when extracting .tar.Z archives. 
    199199 
    200 config BUSYBOX_CONFIG_FEATURE_TAR_OLDGNU_COMPATABILITY 
    201         bool "  Enable support for old tar header format" 
    202         default n 
     200config BUSYBOX_CONFIG_FEATURE_TAR_OLDGNU_COMPATIBILITY 
     201        bool "Enable support for old tar header format" 
     202        default N 
    203203        depends on BUSYBOX_CONFIG_TAR 
    204204        help 
     
    208208 
    209209config BUSYBOX_CONFIG_FEATURE_TAR_GNU_EXTENSIONS 
    210         bool "  Enable support for some GNU tar extensions" 
     210        bool "Enable support for some GNU tar extensions" 
    211211        default y 
    212212        depends on BUSYBOX_CONFIG_TAR 
     
    216216 
    217217config BUSYBOX_CONFIG_FEATURE_TAR_LONG_OPTIONS 
    218         bool "  Enable long options" 
    219         default n 
    220         depends on BUSYBOX_CONFIG_TAR 
     218        bool "Enable long options" 
     219        default n 
     220        depends on BUSYBOX_CONFIG_TAR && BUSYBOX_CONFIG_GETOPT_LONG 
    221221        help 
    222222                Enable use of long options, increases size by about 400 Bytes 
     
    245245 
    246246config BUSYBOX_CONFIG_FEATURE_LZMA_FAST 
    247         bool "  Optimze unlzma for speed" 
     247        bool "Optimze unlzma for speed" 
    248248        default n 
    249249        depends on BUSYBOX_CONFIG_UNLZMA 
    250250        help 
    251           This option reduce decompression time by about 33% at the cost of 
     251          This option reduces decompression time by about 33% at the cost of 
    252252          a 2K bigger binary. 
    253253 
     
    266266 
    267267config BUSYBOX_CONFIG_FEATURE_UNARCHIVE_TAPE 
    268         bool "  Enable tape drive support" 
     268        bool "Enable tape drive support" 
    269269        default n 
    270270        depends on BUSYBOX_CONFIG_CPIO || BUSYBOX_CONFIG_TAR 
     
    276276 
    277277config BUSYBOX_CONFIG_FEATURE_DEB_TAR_GZ 
    278         bool "  gzip debian packages (normal)" 
    279         default n if BUSYBOX_CONFIG_DPKG || BUSYBOX_CONFIG_DPKG_DEB 
     278        bool "gzip debian packages (normal)" 
     279        default y if BUSYBOX_CONFIG_DPKG || BUSYBOX_CONFIG_DPKG_DEB 
    280280        depends on BUSYBOX_CONFIG_DPKG || BUSYBOX_CONFIG_DPKG_DEB 
    281281        help 
     
    285285 
    286286config BUSYBOX_CONFIG_FEATURE_DEB_TAR_BZ2 
    287         bool "  bzip2 debian packages" 
     287        bool "bzip2 debian packages" 
    288288        default n 
    289289        depends on BUSYBOX_CONFIG_DPKG || BUSYBOX_CONFIG_DPKG_DEB 
     
    296296 
    297297config BUSYBOX_CONFIG_FEATURE_DEB_TAR_LZMA 
    298         bool "  lzma debian packages" 
     298        bool "lzma debian packages" 
    299299        default n 
    300300        depends on BUSYBOX_CONFIG_DPKG || BUSYBOX_CONFIG_DPKG_DEB 
  • trunk/freewrt/package/busybox/config/console-tools/Config.in

    r1 r993  
    6666          like the current tty while logged in via telnet. 
    6767 
     68config BUSYBOX_CONFIG_FEATURE_SETCONSOLE_LONG_OPTIONS 
     69        bool "Enable long options" 
     70        default n 
     71        depends on BUSYBOX_CONFIG_SET_CONSOLE && BUSYBOX_CONFIG_GETOPT_LONG 
     72        help 
     73          Support long options for the setconsole applet. 
     74 
    6875config BUSYBOX_CONFIG_SETKEYCODES 
    6976        bool "setkeycodes" 
     
    7380          map, allowing unusual keyboards to generate usable keycodes. 
    7481 
     82config BUSYBOX_CONFIG_SETLOGCONS 
     83        bool "setlogcons" 
     84        default n 
     85        help 
     86          This program redirects the output console of kernel messages. 
     87 
    7588endmenu 
  • trunk/freewrt/package/busybox/config/coreutils/Config.in

    r1 r993  
    2727          output.  Enable this option if you wish to enable the 'cat' utility. 
    2828 
     29config BUSYBOX_CONFIG_CATV 
     30        bool "catv" 
     31        default n 
     32        help 
     33          Display nonprinting characters as escape sequences (like some 
     34          implementations' cat -v option). 
     35 
    2936config BUSYBOX_CONFIG_CHGRP 
    3037        bool "chgrp" 
     
    5360          The default command is `/bin/sh'. 
    5461 
     62config BUSYBOX_CONFIG_CKSUM 
     63        bool "cksum" 
     64        default n 
     65        help 
     66          cksum is used to calculate the CRC32 checksum of a file. 
     67 
    5568config BUSYBOX_CONFIG_CMP 
    5669        bool "cmp" 
     
    88101 
    89102config BUSYBOX_CONFIG_FEATURE_DATE_ISOFMT 
    90         bool "  Enable ISO date format output (-I)" 
     103        bool "Enable ISO date format output (-I)" 
    91104        default y 
    92105        depends on BUSYBOX_CONFIG_DATE 
     
    103116          while optionally performing conversions on it. 
    104117 
     118config BUSYBOX_CONFIG_FEATURE_DD_SIGNAL_HANDLING 
     119        bool "Enable DD signal handling for status reporting" 
     120        default y 
     121        depends on BUSYBOX_CONFIG_DD 
     122        help 
     123          sending a SIGUSR1 signal to a running `dd' process makes it  
     124          print to standard error the number of records read and written  
     125          so far, then to resume copying. 
     126 
     127          $ dd if=/dev/zero of=/dev/null& pid=$! $ kill -USR1 $pid; sleep 1; kill $pid  
     128          10899206+0 records in 10899206+0 records out 
     129 
     130config BUSYBOX_CONFIG_FEATURE_DD_IBS_OBS 
     131        bool "Enable ibs, obs and conv options" 
     132        default n 
     133        depends on BUSYBOX_CONFIG_DD 
     134        help 
     135          Enables support for writing a certain number of bytes in and out, 
     136          at a time, and performing conversions on the data stream. 
     137 
    105138config BUSYBOX_CONFIG_DF 
    106139        bool "df" 
     
    110143          on filesystems. 
    111144 
     145config BUSYBOX_CONFIG_DIFF 
     146        bool "diff" 
     147        default n 
     148        help 
     149          diff compares two files or directories and outputs the 
     150          differences between them in a form that can be given to 
     151          the patch command. 
     152 
     153config BUSYBOX_CONFIG_FEATURE_DIFF_BINARY 
     154        bool "Enable checks for binary files" 
     155        default y 
     156        depends on BUSYBOX_CONFIG_DIFF 
     157        help 
     158          This option enables support for checking for binary files 
     159          before a comparison is carried out. 
     160 
     161config BUSYBOX_CONFIG_FEATURE_DIFF_DIR 
     162        bool "Enable directory support" 
     163        default y 
     164        depends on BUSYBOX_CONFIG_DIFF 
     165        help 
     166          This option enables support for directory and subdirectory 
     167          comparison. 
     168 
     169config BUSYBOX_CONFIG_FEATURE_DIFF_MINIMAL 
     170        bool "Enable -d option to find smaller sets of changes" 
     171        default n 
     172        depends on BUSYBOX_CONFIG_DIFF 
     173        help 
     174          Enabling this option allows the use of -d to make diff 
     175          try hard to find the smallest possible set of changes. 
     176 
    112177config BUSYBOX_CONFIG_DIRNAME 
    113178        bool "dirname" 
     
    126191config BUSYBOX_CONFIG_UNIX2DOS 
    127192        bool 
    128         default n 
     193        default y 
    129194        depends on BUSYBOX_CONFIG_DOS2UNIX 
     195        help 
     196          unix2dos is used to convert a text file from UNIX format to 
     197          DOS format, and vice versa. 
    130198 
    131199config BUSYBOX_CONFIG_DU 
     
    136204          for specified files. 
    137205 
    138 config BUSYBOX_CONFIG_FEATURE_DU_DEFALT_BLOCKSIZE_1K 
    139         bool "  Use a default blocksize of 1024 bytes (1K)" 
     206config BUSYBOX_CONFIG_FEATURE_DU_DEFAULT_BLOCKSIZE_1K 
     207        bool "Use a default blocksize of 1024 bytes (1K)" 
    140208        default y 
    141209        depends on BUSYBOX_CONFIG_DU 
     
    151219# this entry also appears in shell/Config.in, next to the echo builtin 
    152220config BUSYBOX_CONFIG_FEATURE_FANCY_ECHO 
    153         bool "  Enable echo options (-n and -e)" 
     221        bool "Enable echo options (-n and -e)" 
    154222        default y 
    155223        depends on BUSYBOX_CONFIG_ECHO 
     
    165233          environment. 
    166234 
     235config BUSYBOX_CONFIG_FEATURE_ENV_LONG_OPTIONS 
     236        bool "Enable long options" 
     237        default n 
     238        depends on BUSYBOX_CONFIG_ENV && BUSYBOX_CONFIG_GETOPT_LONG 
     239        help 
     240          Support long options for the env applet. 
     241 
    167242config BUSYBOX_CONFIG_EXPR 
    168243        bool "expr" 
     
    173248 
    174249config BUSYBOX_CONFIG_EXPR_MATH_SUPPORT_64 
    175         bool "    Extend Posix numbers support to 64 bit" 
     250        bool "Extend Posix numbers support to 64 bit" 
    176251        default n 
    177252        depends on BUSYBOX_CONFIG_EXPR 
     
    201276 
    202277config BUSYBOX_CONFIG_FEATURE_FANCY_HEAD 
    203         bool "  Enable head options (-c, -q, and -v)" 
     278        bool "Enable head options (-c, -q, and -v)" 
    204279        default y 
    205280        depends on BUSYBOX_CONFIG_HEAD 
     
    226301          Copy files and set attributes. 
    227302 
     303config BUSYBOX_CONFIG_FEATURE_INSTALL_LONG_OPTIONS 
     304        bool "Enable long options" 
     305        default n 
     306        depends on BUSYBOX_CONFIG_INSTALL && BUSYBOX_CONFIG_GETOPT_LONG 
     307        help 
     308          Support long options for the install applet. 
     309 
    228310config BUSYBOX_CONFIG_LENGTH 
    229311        bool "length" 
     
    251333 
    252334config BUSYBOX_CONFIG_FEATURE_LS_FILETYPES 
    253         bool "  Enable filetyping options (-p and -F)" 
     335        bool "Enable filetyping options (-p and -F)" 
    254336        default y 
    255337        depends on BUSYBOX_CONFIG_LS 
     
    258340 
    259341config BUSYBOX_CONFIG_FEATURE_LS_FOLLOWLINKS 
    260         bool "  Enable symlinks dereferencing (-L)" 
     342        bool "Enable symlinks dereferencing (-L)" 
    261343        default y 
    262344        depends on BUSYBOX_CONFIG_LS 
     
    265347 
    266348config BUSYBOX_CONFIG_FEATURE_LS_RECURSIVE 
    267         bool "  Enable recursion (-R)" 
     349        bool "Enable recursion (-R)" 
    268350        default y 
    269351        depends on BUSYBOX_CONFIG_LS 
     
    272354 
    273355config BUSYBOX_CONFIG_FEATURE_LS_SORTFILES 
    274         bool "  Sort the file names" 
     356        bool "Sort the file names" 
    275357        default y 
    276358        depends on BUSYBOX_CONFIG_LS 
     
    279361 
    280362config BUSYBOX_CONFIG_FEATURE_LS_TIMESTAMPS 
    281         bool "  Show file timestamps" 
     363        bool "Show file timestamps" 
    282364        default y 
    283365        depends on BUSYBOX_CONFIG_LS 
     
    286368 
    287369config BUSYBOX_CONFIG_FEATURE_LS_USERNAME 
    288         bool "  Show username/groupnames" 
     370        bool "Show username/groupnames" 
    289371        default y 
    290372        depends on BUSYBOX_CONFIG_LS 
     
    293375 
    294376config BUSYBOX_CONFIG_FEATURE_LS_COLOR 
    295         bool "  Allow use of color to identify file types" 
    296         default y 
    297         depends on BUSYBOX_CONFIG_LS 
     377        bool "Allow use of color to identify file types" 
     378        default y 
     379        depends on BUSYBOX_CONFIG_LS && BUSYBOX_CONFIG_GETOPT_LONG 
    298380        help 
    299381          This enables the --color option to ls. 
    300382 
    301383config BUSYBOX_CONFIG_FEATURE_LS_COLOR_IS_DEFAULT 
    302         bool "  Produce colored ls output by default" 
     384        bool "Produce colored ls output by default" 
    303385        default y 
    304386        depends on BUSYBOX_CONFIG_FEATURE_LS_COLOR 
     
    322404          mkdir is used to create directories with the specified names. 
    323405 
     406config BUSYBOX_CONFIG_FEATURE_MKDIR_LONG_OPTIONS 
     407        bool "Enable long options" 
     408        default n 
     409        depends on BUSYBOX_CONFIG_MKDIR && BUSYBOX_CONFIG_GETOPT_LONG 
     410        help 
     411          Support long options for the mkdir applet. 
     412 
    324413config BUSYBOX_CONFIG_MKFIFO 
    325414        bool "mkfifo" 
     
    342431          mv is used to move or rename files or directories. 
    343432 
     433config BUSYBOX_CONFIG_FEATURE_MV_LONG_OPTIONS 
     434        bool "Enable long options" 
     435        default n 
     436        depends on BUSYBOX_CONFIG_MV && BUSYBOX_CONFIG_GETOPT_LONG 
     437        help 
     438          Support long options for the mv applet. 
     439 
    344440config BUSYBOX_CONFIG_NICE 
    345441        bool "nice" 
     
    417513 
    418514config BUSYBOX_CONFIG_FEATURE_FANCY_SLEEP 
    419         bool "  Enable multiple integer args and optional time suffixes" 
     515        bool "Enable multiple integer args and optional time suffixes" 
    420516        default y 
    421517        depends on BUSYBOX_CONFIG_SLEEP 
     
    430526 
    431527config BUSYBOX_CONFIG_FEATURE_SORT_BIG 
    432         bool "  full SuSv3 compliant sort (Support -ktcsbdfiozgM)" 
     528        bool "full SuSv3 compliant sort (Support -ktcsbdfiozgM)" 
    433529        default n 
    434530        depends on BUSYBOX_CONFIG_SORT 
     
    448544 
    449545config BUSYBOX_CONFIG_FEATURE_STAT_FORMAT 
    450         bool "  Enable custom formats (-c)" 
     546        bool "Enable custom formats (-c)" 
    451547        default n 
    452548        depends on BUSYBOX_CONFIG_STAT 
     
    482578 
    483579config BUSYBOX_CONFIG_FEATURE_FANCY_TAIL 
    484         bool "  Enable extra tail options (-q, -s, and -v)" 
     580        bool "Enable extra tail options (-q, -s, and -v)" 
    485581        default y 
    486582        depends on BUSYBOX_CONFIG_TAIL 
     
    497593 
    498594config BUSYBOX_CONFIG_FEATURE_TEE_USE_BLOCK_IO 
    499         bool "  Enable block i/o (larger/faster) instead of byte i/o." 
     595        bool "Enable block i/o (larger/faster) instead of byte i/o." 
    500596        default y 
    501597        depends on BUSYBOX_CONFIG_TEE 
     
    508604        help 
    509605          test is used to check file types and compare values, 
    510           returning an appropriate exit code. The shells (ash 
    511           and bash) have test builtin
     606          returning an appropriate exit code. The bash shell 
     607          has test built in, ash can build it in optionally
    512608 
    513609config BUSYBOX_CONFIG_FEATURE_TEST_64 
    514         bool "  Extend test to 64 bit" 
     610        bool "Extend test to 64 bit" 
    515611        default n 
    516612        depends on BUSYBOX_CONFIG_TEST 
     
    533629 
    534630config BUSYBOX_CONFIG_FEATURE_TR_CLASSES 
    535         bool "  Enable character classes (such as [:upper:])" 
     631        bool "Enable character classes (such as [:upper:])" 
    536632        default n 
    537633        depends on BUSYBOX_CONFIG_TR 
     
    541637 
    542638config BUSYBOX_CONFIG_FEATURE_TR_EQUIV 
    543         bool "  Enable equivalence classes" 
     639        bool "Enable equivalence classes" 
    544640        default n 
    545641        depends on BUSYBOX_CONFIG_TR 
     
    611707config BUSYBOX_CONFIG_WHO 
    612708        bool "who" 
    613         default n 
     709        default y 
    614710        select BUSYBOX_CONFIG_FEATURE_UTMP 
    615711        help 
     
    634730 
    635731config BUSYBOX_CONFIG_FEATURE_PRESERVE_HARDLINKS 
    636         bool "  Preserve hard links" 
     732        bool "Preserve hard links" 
    637733        default y 
    638734        depends on BUSYBOX_CONFIG_CP || BUSYBOX_CONFIG_MV 
     
    644740 
    645741config BUSYBOX_CONFIG_FEATURE_AUTOWIDTH 
    646         bool "  Calculate terminal & column widths" 
     742        bool "Calculate terminal & column widths" 
    647743        default y 
    648744        depends on BUSYBOX_CONFIG_LS || BUSYBOX_CONFIG_MORE || BUSYBOX_CONFIG_TELNET 
     
    658754 
    659755config BUSYBOX_CONFIG_FEATURE_HUMAN_READABLE 
    660         bool "  Support for human readable output (example 13k, 23M, 235G)" 
     756        bool "Support for human readable output (example 13k, 23M, 235G)" 
    661757        default y 
    662758        depends on BUSYBOX_CONFIG_DF || BUSYBOX_CONFIG_DU || BUSYBOX_CONFIG_LS 
     
    668764 
    669765config BUSYBOX_CONFIG_FEATURE_MD5_SHA1_SUM_CHECK 
    670         bool "  Enable -c, -s and -w options" 
     766        bool "Enable -c, -s and -w options" 
    671767        default y 
    672768        depends on BUSYBOX_CONFIG_MD5SUM || BUSYBOX_CONFIG_SHA1SUM 
  • trunk/freewrt/package/busybox/config/debianutils/Config.in

    r1 r993  
    2626 
    2727config BUSYBOX_CONFIG_FEATURE_READLINK_FOLLOW 
    28         bool "  Enable canonicalization by following all symlinks (-f)" 
     28        bool "Enable canonicalization by following all symlinks (-f)" 
    2929        default n 
    3030        depends on BUSYBOX_CONFIG_READLINK 
     
    4747          you can safely say N here. 
    4848 
     49config BUSYBOX_CONFIG_FEATURE_RUN_PARTS_LONG_OPTIONS 
     50        bool "Enable long options" 
     51        default n 
     52        depends on BUSYBOX_CONFIG_RUN_PARTS && BUSYBOX_CONFIG_GETOPT_LONG 
     53        help 
     54          Support long options for the run-parts applet. 
     55 
    4956config BUSYBOX_CONFIG_START_STOP_DAEMON 
    5057        bool "start-stop-daemon" 
     
    5461          termination of system-level processes, usually the ones 
    5562          started during the startup of the system. 
     63 
     64config BUSYBOX_CONFIG_FEATURE_START_STOP_DAEMON_FANCY 
     65        bool "Support additional arguments" 
     66        default y 
     67        depends on BUSYBOX_CONFIG_START_STOP_DAEMON 
     68        help 
     69          Support additional arguments. 
     70          -o|--oknodo ignored since we exit with 0 anyway 
     71          -v|--verbose 
     72 
     73config BUSYBOX_CONFIG_FEATURE_START_STOP_DAEMON_LONG_OPTIONS 
     74        bool "Enable long options" 
     75        default n 
     76        depends on BUSYBOX_CONFIG_START_STOP_DAEMON && BUSYBOX_CONFIG_GETOPT_LONG 
     77        help 
     78          Support long options for the start-stop-daemon applet. 
    5679 
    5780config BUSYBOX_CONFIG_WHICH 
  • trunk/freewrt/package/busybox/config/editors/Config.in

    r1 r993  
    1414 
    1515config BUSYBOX_CONFIG_FEATURE_AWK_MATH 
    16         bool "  Enable math functions (requires libm)" 
     16        bool "Enable math functions (requires libm)" 
    1717        default y 
    1818        depends on BUSYBOX_CONFIG_AWK 
     
    2020          Enable math functions of the Awk programming language. 
    2121          NOTE: This will require libm to be present for linking. 
     22 
     23config BUSYBOX_CONFIG_ED 
     24        bool "ed" 
     25        default n 
     26        help 
     27          The original 1970's Unix text editor, from the days of teletypes. 
     28          Small, simple, evil.  Part of SUSv3.  If you're not already using 
     29          this, you don't need it. 
    2230 
    2331config BUSYBOX_CONFIG_PATCH 
     
    4452 
    4553config BUSYBOX_CONFIG_FEATURE_VI_COLON 
    46         bool "  Enable \":\" colon commands (no \"ex\" mode)" 
     54        bool "Enable \":\" colon commands (no \"ex\" mode)" 
    4755        default y 
    4856        depends on BUSYBOX_CONFIG_VI 
     
    5260 
    5361config BUSYBOX_CONFIG_FEATURE_VI_YANKMARK 
    54         bool "  Enable yank/put commands and mark cmds" 
     62        bool "Enable yank/put commands and mark cmds" 
    5563        default y 
    5664        depends on BUSYBOX_CONFIG_VI 
     
    6068 
    6169config BUSYBOX_CONFIG_FEATURE_VI_SEARCH 
    62         bool "  Enable search and replace cmds" 
     70        bool "Enable search and replace cmds" 
    6371        default y 
    6472        depends on BUSYBOX_CONFIG_VI 
     
    6876 
    6977config BUSYBOX_CONFIG_FEATURE_VI_USE_SIGNALS 
    70         bool "  Catch signals" 
     78        bool "Catch signals" 
    7179        default y 
    7280        depends on BUSYBOX_CONFIG_VI 
     
    7785 
    7886config BUSYBOX_CONFIG_FEATURE_VI_DOT_CMD 
    79         bool "  Remember previous cmd and \".\" cmd" 
     87        bool "Remember previous cmd and \".\" cmd" 
    8088        default y 
    8189        depends on BUSYBOX_CONFIG_VI 
     
    8492 
    8593config BUSYBOX_CONFIG_FEATURE_VI_READONLY 
    86         bool "  Enable -R option and \"view\" mode" 
     94        bool "Enable -R option and \"view\" mode" 
    8795        default y 
    8896        depends on BUSYBOX_CONFIG_VI 
     
    92100 
    93101config BUSYBOX_CONFIG_FEATURE_VI_SETOPTS 
    94         bool "  Enable set-able options, ai ic showmatch" 
     102        bool "Enable set-able options, ai ic showmatch" 
    95103        default y 
    96104        depends on BUSYBOX_CONFIG_VI 
     
    99107 
    100108config BUSYBOX_CONFIG_FEATURE_VI_SET 
    101         bool "  Support for :set" 
     109        bool "Support for :set" 
    102110        default y 
    103111        depends on BUSYBOX_CONFIG_VI 
     
    106114 
    107115config BUSYBOX_CONFIG_FEATURE_VI_WIN_RESIZE 
    108         bool "  Handle window resize" 
     116        bool "Handle window resize" 
    109117        default y 
    110118        depends on BUSYBOX_CONFIG_VI 
     
    113121 
    114122config BUSYBOX_CONFIG_FEATURE_VI_OPTIMIZE_CURSOR 
    115         bool "  Optimize cursor movement" 
     123        bool "Optimize cursor movement" 
    116124        default y 
    117125        depends on BUSYBOX_CONFIG_VI 
  • trunk/freewrt/package/busybox/config/findutils/Config.in

    r1 r993  
    1212          find is used to search your system to find specified files. 
    1313 
     14config BUSYBOX_CONFIG_FEATURE_FIND_PRINT0 
     15        bool "Enable -print0 option" 
     16        default y 
     17        depends on BUSYBOX_CONFIG_FIND 
     18        help 
     19          Causes output names to be separated by a null character 
     20          rather than a newline.  This allows names that contain 
     21          newlines and other whitespace to be more easily 
     22          interpreted by other programs. 
     23 
    1424config BUSYBOX_CONFIG_FEATURE_FIND_MTIME 
    15         bool "  Enable modified time matching (-mtime) option" 
    16         default n 
     25        bool "Enable modified time matching (-mtime) option" 
     26        default y 
    1727        depends on BUSYBOX_CONFIG_FIND 
    1828        help 
     
    2131 
    2232config BUSYBOX_CONFIG_FEATURE_FIND_MMIN 
    23         bool "  Enable modified time matching (-min) option" 
    24         default n 
     33        bool "Enable modified time matching (-min) option" 
     34        default y 
    2535        depends on BUSYBOX_CONFIG_FIND 
    2636        help 
     
    2939 
    3040config BUSYBOX_CONFIG_FEATURE_FIND_PERM 
    31         bool "  Enable permissions matching (-perm) option" 
     41        bool "Enable permissions matching (-perm) option" 
    3242        default y 
    3343        depends on BUSYBOX_CONFIG_FIND 
     
    3646 
    3747config BUSYBOX_CONFIG_FEATURE_FIND_TYPE 
    38         bool "  Enable filetype matching (-type) option" 
     48        bool "Enable filetype matching (-type) option" 
    3949        default y 
    4050        depends on BUSYBOX_CONFIG_FIND 
     
    4454 
    4555config BUSYBOX_CONFIG_FEATURE_FIND_XDEV 
    46         bool "  Enable stay in filesystem (-xdev) option" 
     56        bool "Enable stay in filesystem (-xdev) option" 
    4757        default y 
    4858        depends on BUSYBOX_CONFIG_FIND 
     
    5262 
    5363config BUSYBOX_CONFIG_FEATURE_FIND_NEWER 
    54         bool "  Enable -newer option for comparing file mtimes" 
    55         default n 
     64        bool "Enable -newer option for comparing file mtimes" 
     65        default y 
    5666        depends on BUSYBOX_CONFIG_FIND 
    5767        help 
     
    6070 
    6171config BUSYBOX_CONFIG_FEATURE_FIND_INUM 
    62         bool "  Enable inode number matching (-inum) option" 
    63         default n 
     72        bool "Enable inode number matching (-inum) option" 
     73        default y 
    6474        depends on BUSYBOX_CONFIG_FIND 
    6575        help 
     
    6777 
    6878config BUSYBOX_CONFIG_FEATURE_FIND_EXEC 
    69         bool "  Enable (-exec) option allowing execution of commands" 
     79        bool "Enable (-exec) option allowing execution of commands" 
    7080        default y 
    7181        depends on BUSYBOX_CONFIG_FIND 
     
    8191 
    8292config BUSYBOX_CONFIG_FEATURE_GREP_EGREP_ALIAS 
    83         bool "  Support extended regular expressions (egrep & grep -E)" 
     93        bool "Support extended regular expressions (egrep & grep -E)" 
    8494        default y 
    8595        depends on BUSYBOX_CONFIG_GREP 
     
    90100 
    91101config BUSYBOX_CONFIG_FEATURE_GREP_FGREP_ALIAS 
    92         bool "  Alias fgrep to grep -F" 
     102        bool "Alias fgrep to grep -F" 
    93103        default y 
    94104        depends on BUSYBOX_CONFIG_GREP 
     
    99109 
    100110config BUSYBOX_CONFIG_FEATURE_GREP_CONTEXT 
    101         bool "  Enable before and after context flags (-A, -B and -C)" 
     111        bool "Enable before and after context flags (-A, -B and -C)" 
    102112        default y 
    103113        depends on BUSYBOX_CONFIG_GREP 
     
    115125 
    116126config BUSYBOX_CONFIG_FEATURE_XARGS_SUPPORT_CONFIRMATION 
    117         bool "  Enable prompt and confirmation option -p" 
     127        bool "Enable prompt and confirmation option -p" 
    118128        default y 
    119129        depends on BUSYBOX_CONFIG_XARGS 
     
    123133 
    124134config BUSYBOX_CONFIG_FEATURE_XARGS_SUPPORT_QUOTES 
    125         bool "  Enable support single and double quotes and backslash" 
     135        bool "Enable support single and double quotes and backslash" 
    126136        default y 
    127137        depends on BUSYBOX_CONFIG_XARGS 
     
    131141 
    132142config BUSYBOX_CONFIG_FEATURE_XARGS_SUPPORT_TERMOPT 
    133         bool "  Enable support options -x" 
     143        bool "Enable support options -x" 
    134144        default y 
    135145        depends on BUSYBOX_CONFIG_XARGS 
     
    139149 
    140150config BUSYBOX_CONFIG_FEATURE_XARGS_SUPPORT_ZERO_TERM 
    141         bool "  Enable options -0" 
     151        bool "Enable options -0" 
    142152        default y 
    143153        depends on BUSYBOX_CONFIG_XARGS 
  • trunk/freewrt/package/busybox/config/init/Config.in

    r1 r993  
    1212          init is the first program run when the system boots. 
    1313 
     14config BUSYBOX_CONFIG_DEBUG_INIT 
     15        bool "debugging aid" 
     16        default n 
     17        depends on BUSYBOX_CONFIG_INIT 
     18        help 
     19          Turn this on to disable all the dangerous 
     20          rebooting stuff when debugging. 
     21 
    1422config BUSYBOX_CONFIG_FEATURE_USE_INITTAB 
    15         bool "  Support reading an inittab file" 
     23        bool "Support reading an inittab file" 
    1624        default y 
    1725        depends on BUSYBOX_CONFIG_INIT 
     
    2028 
    2129config BUSYBOX_CONFIG_FEATURE_INIT_SCTTY 
    22         bool "  Support running commands with a controlling-tty" 
     30        bool "Support running commands with a controlling-tty" 
    2331        default n 
    2432        depends on BUSYBOX_CONFIG_INIT 
     
    3139 
    3240config BUSYBOX_CONFIG_FEATURE_EXTRA_QUIET 
    33         bool "  Be _extra_ quiet on boot" 
     41        bool "Be _extra_ quiet on boot" 
    3442        default n 
    3543        depends on BUSYBOX_CONFIG_INIT 
     
    3846 
    3947config BUSYBOX_CONFIG_FEATURE_INIT_COREDUMPS 
    40         bool "  Support dumping core for child processes (debugging only)" 
     48        bool "Support dumping core for child processes (debugging only)" 
    4149        default n 
    4250        depends on BUSYBOX_CONFIG_INIT 
     
    5058 
    5159config BUSYBOX_CONFIG_FEATURE_INITRD 
    52         bool "  Support running init from within an initrd (not initramfs)" 
     60        bool "Support running init from within an initrd (not initramfs)" 
    5361        default n 
    5462        depends on BUSYBOX_CONFIG_INIT 
     
    7381          used to allow or disallow other users to write to your terminal 
    7482 
    75         default y 
    76         help 
    77           Stop all processes and (try to) power off the system. 
    78  
    7983endmenu 
    80  
  • trunk/freewrt/package/busybox/config/loginutils/Config.in

    r30 r993  
    8585 
    8686config BUSYBOX_CONFIG_FEATURE_UTMP 
    87         bool "  Support utmp file" 
     87        bool "Support utmp file" 
    8888        depends on BUSYBOX_CONFIG_GETTY || BUSYBOX_CONFIG_LOGIN || BUSYBOX_CONFIG_SU || BUSYBOX_CONFIG_WHO 
    8989        default y 
     
    9292 
    9393config BUSYBOX_CONFIG_FEATURE_WTMP 
    94         bool "  Support wtmp file" 
     94        bool "Support wtmp file" 
    9595        depends on BUSYBOX_CONFIG_GETTY || BUSYBOX_CONFIG_LOGIN || BUSYBOX_CONFIG_SU || BUSYBOX_CONFIG_LAST 
    9696        default n 
     
    111111 
    112112config BUSYBOX_CONFIG_FEATURE_SECURETTY 
    113         bool "  Support for /etc/securetty" 
     113        bool "Support for /etc/securetty" 
    114114        default n 
    115115        depends on BUSYBOX_CONFIG_LOGIN 
  • trunk/freewrt/package/busybox/config/miscutils/Config.in

    r1 r993  
    1717        default n 
    1818        help 
    19           The bbconfig applet will print the config file with which 
     19          The bbconfig BUSYBOX_applet will print the config file with which 
    2020          busybox was built. 
    2121 
     
    3535          work properly. 
    3636 
     37config BUSYBOX_CONFIG_DEBUG_CROND_OPTION 
     38        bool "Support debug option -d" 
     39        depends on BUSYBOX_CONFIG_CROND 
     40        default n 
     41        help 
     42          Support option -d to enter debug mode. 
     43 
    3744config BUSYBOX_CONFIG_FEATURE_CROND_CALL_SENDMAIL 
    38         bool "  Using /usr/sbin/sendmail?" 
     45        bool "Using /usr/sbin/sendmail?" 
    3946        default n 
    4047        depends on BUSYBOX_CONFIG_CROND 
     
    5865 
    5966config BUSYBOX_CONFIG_DEVFSD 
    60         bool "devfsd" 
    61         default n 
    62         help 
     67        bool "devfsd (obsolete)" 
     68        default n 
     69        help 
     70          This is deprecated, and will be going away in a future release. 
     71 
    6372          Provides compatibility with old device names on a devfs systems. 
    6473          You should set it to true if you have devfs enabled. 
     
    7584        depends on BUSYBOX_CONFIG_DEVFSD 
    7685        help 
    77           This actually doesn't work with busybox  modutils but needs the real modutils. 
     86          This actually doesn't work with busybox modutils but needs 
     87          the external modutils. 
    7888 
    7989config BUSYBOX_CONFIG_DEVFSD_FG_NP 
     
    92102          Increases logging to stderr or syslog. 
    93103 
     104config BUSYBOX_CONFIG_FEATURE_DEVFS 
     105        bool "  Use devfs names for all devices (obsolete)" 
     106        default n 
     107        help 
     108          This tells busybox to look for names like /dev/loop/0 instead of 
     109          /dev/loop0.  If your /dev directory has normal names instead of 
     110          devfs names, you don't want this. 
     111 
     112          This is obsolete and will be going away someday.  Consider it 
     113          deprecated. 
     114 
    94115config BUSYBOX_CONFIG_EJECT 
    95116        bool "eject" 
     
    113134 
    114135config BUSYBOX_CONFIG_FEATURE_LESS_BRACKETS 
    115         bool "  Enable bracket searching" 
    116         default n 
     136        bool "Enable bracket searching" 
     137        default y 
    117138        depends on BUSYBOX_CONFIG_LESS 
    118139        help 
     
    121142 
    122143config BUSYBOX_CONFIG_FEATURE_LESS_FLAGS 
    123         bool "  Enable extra flags" 
    124         default n 
     144        bool "Enable extra flags" 
     145        default y 
    125146        depends on BUSYBOX_CONFIG_LESS 
    126147        help 
     
    131152 
    132153config BUSYBOX_CONFIG_FEATURE_LESS_FLAGCS 
    133         bool "  Enable flag changes" 
     154        bool "Enable flag changes" 
    134155        default n 
    135156        depends on BUSYBOX_CONFIG_LESS 
     
    139160 
    140161config BUSYBOX_CONFIG_FEATURE_LESS_MARKS 
    141         bool "  Enable marks" 
     162        bool "Enable marks" 
    142163        default n 
    143164        depends on BUSYBOX_CONFIG_LESS 
     
    146167 
    147168config BUSYBOX_CONFIG_FEATURE_LESS_REGEXP 
    148         bool "  Enable regular expressions" 
     169        bool "Enable regular expressions" 
    149170        default n 
    150171        depends on BUSYBOX_CONFIG_LESS 
     
    158179          Get/Set hard drive parameters.  Primarily intended for ATA 
    159180          drives.  Adds about 13k (or around 30k if you enable the 
    160           BUSYBOX_CONFIG_FEATURE_HDPARM_GET_IDENTITY option).... 
     181          CONFIG_FEATURE_HDPARM_GET_IDENTITY option).... 
    161182 
    162183config BUSYBOX_CONFIG_FEATURE_HDPARM_GET_IDENTITY 
    163         bool "  Support obtaining detailed information directly from drives" 
    164         default n 
    165         depends on BUSYBOX_CONFIG_HDPARM 
    166         help 
    167           Enables the -I and -Istdin options to obtain detailed information 
     184        bool "Support obtaining detailed information directly from drives" 
     185        default y 
     186        depends on BUSYBOX_CONFIG_HDPARM 
     187        help 
     188          Enables the -I and -i options to obtain detailed information 
    168189          directly from drives about their capabilities and supported ATA 
    169           feature set.  Enabling this option will add about 16k... 
     190          feature set. If no device name is specified, hdparm will read 
     191          identify data from stdin. Enabling this option will add about 16k... 
    170192 
    171193config BUSYBOX_CONFIG_FEATURE_HDPARM_HDIO_SCAN_HWIF 
    172         bool "  Register an IDE interface (DANGEROUS)" 
     194        bool "Register an IDE interface (DANGEROUS)" 
    173195        default n 
    174196        depends on BUSYBOX_CONFIG_HDPARM 
     
    178200 
    179201config BUSYBOX_CONFIG_FEATURE_HDPARM_HDIO_UNREGISTER_HWIF 
    180         bool "  Un-register an IDE interface (DANGEROUS)" 
     202        bool "Un-register an IDE interface (DANGEROUS)" 
    181203        default n 
    182204        depends on BUSYBOX_CONFIG_HDPARM 
     
    186208 
    187209config BUSYBOX_CONFIG_FEATURE_HDPARM_HDIO_DRIVE_RESET 
    188         bool "  perform device reset (DANGEROUS)" 
     210        bool "perform device reset (DANGEROUS)" 
    189211        default n 
    190212        depends on BUSYBOX_CONFIG_HDPARM 
     
    194216 
    195217config BUSYBOX_CONFIG_FEATURE_HDPARM_HDIO_TRISTATE_HWIF 
    196         bool "  tristate device for hotswap (DANGEROUS)" 
     218        bool "tristate device for hotswap (DANGEROUS)" 
    197219        default n 
    198220        depends on BUSYBOX_CONFIG_HDPARM 
     
    203225 
    204226config BUSYBOX_CONFIG_FEATURE_HDPARM_HDIO_GETSET_DMA 
    205         bool "  get/set using_dma flag (DANGEROUS)" 
     227        bool "get/set using_dma flag (DANGEROUS)" 
    206228        default n 
    207229        depends on BUSYBOX_CONFIG_HDPARM 
     
    232254          . 
    233255          'table' reads device properties from a file or stdin, allowing 
    234           a batch of unrelated devices to be makde with one command. 
     256          a batch of unrelated devices to be made with one command. 
    235257          User/group names are allowed as an alternative to uid/gid. 
    236258 
     
    289311        help 
    290312          setsid runs a program in a new session 
     313 
     314config BUSYBOX_CONFIG_TASKSET 
     315        bool "taskset" 
     316        default n 
     317        help 
     318          Retrieve or set a processes's CPU affinity 
     319 
     320config BUSYBOX_CONFIG_TASKSET 
     321        bool "taskset" 
     322        default n 
     323        help 
     324          Retrieve or set a processes's CPU affinity (on linux) 
    291325 
    292326config BUSYBOX_CONFIG_TIME 
  • trunk/freewrt/package/busybox/config/modutils/Config.in

    r1 r993  
    5454config BUSYBOX_CONFIG_FEATURE_INSMOD_LOAD_MAP_FULL 
    5555        bool "Symbols in load map" 
    56         default n 
     56        default y 
    5757        depends on BUSYBOX_CONFIG_FEATURE_INSMOD_LOAD_MAP 
    5858        help 
     
    8585        default n 
    8686        help 
    87           Handle the loading of modules, and their dependancies on a high 
     87          Handle the loading of modules, and their dependencies on a high 
    8888          level. 
    8989 
     
    9393config BUSYBOX_CONFIG_FEATURE_MODPROBE_MULTIPLE_OPTIONS 
    9494        bool "Multiple options parsing" 
    95         default n 
     95        default y 
    9696        depends on BUSYBOX_CONFIG_MODPROBE 
    9797        help 
     
    112112config BUSYBOX_CONFIG_FEATURE_CHECK_TAINTED_MODULE 
    113113        # Simulate indentation 
    114         bool "  Support tainted module checking with new kernels" 
    115         default n 
     114        bool "Support tainted module checking with new kernels" 
     115        default y 
    116116        depends on BUSYBOX_CONFIG_INSMOD || BUSYBOX_CONFIG_LSMOD 
    117117        help 
     
    123123config BUSYBOX_CONFIG_FEATURE_2_4_MODULES 
    124124        # Simulate indentation 
    125         bool "  Support version 2.2.x to 2.4.x Linux kernels" 
     125        bool "Support version 2.2.x to 2.4.x Linux kernels" 
    126126        default y 
    127127        depends on BUSYBOX_CONFIG_INSMOD || BUSYBOX_CONFIG_RMMOD 
     
    131131config BUSYBOX_CONFIG_FEATURE_2_6_MODULES 
    132132        # Simulate indentation 
    133         bool "  Support version 2.6.x Linux kernels" 
     133        bool "Support version 2.6.x Linux kernels" 
    134134        default y 
    135135        depends on BUSYBOX_CONFIG_INSMOD || BUSYBOX_CONFIG_RMMOD || BUSYBOX_CONFIG_MODPROBE 
     
    141141        bool 
    142142        default n 
    143         depends on BUSYBOX_CONFIG_FEATURE_2_4_MODULES && !CONFIG_FEATURE_2_6_MODULES 
     143        depends on BUSYBOX_CONFIG_FEATURE_2_4_MODULES && !BUSYBOX_CONFIG_FEATURE_2_6_MODULES 
    144144 
    145145 
  • trunk/freewrt/package/busybox/config/networking/Config.in

    r827 r993  
    1010        default n 
    1111        help 
    12           Enable IPv6 support to busybox. This makes applets that talk IP 
    13           able to work with IPv6
     12          Enable IPv6 support in busybox. 
     13          This adds IPv6 support in the networking applets
    1414 
    1515config BUSYBOX_CONFIG_ARPING 
     
    3535        default n 
    3636        help 
    37           fakeidentd listens to the ident port and returns a set fake 
    38           value whatever it gets
     37          fakeidentd listens on the ident port and returns a predefined 
     38          fake value on any query
    3939 
    4040config BUSYBOX_CONFIG_FTPGET 
     
    5050          Store a remote file via FTP. 
    5151 
     52config BUSYBOX_CONFIG_FEATURE_FTPGETPUT_LONG_OPTIONS 
     53        bool "Enable long options in ftpget/ftpput" 
     54        default n 
     55        depends on BUSYBOX_CONFIG_GETOPT_LONG && (BUSYBOX_CONFIG_FTPGET || BUSYBOX_CONFIG_FTPPUT) 
     56        help 
     57          Support long options for the ftpget/ftpput applet. 
     58 
    5259config BUSYBOX_CONFIG_HOSTNAME 
    5360        bool "hostname" 
     
    6269          Serve web pages via an HTTP server. 
    6370 
    64 config BUSYBOX_CONFIG_FEATURE_HTTPD_USAGE_FROM_INETD_ONLY 
    65         bool "  Support using httpd only from inetd
     71config BUSYBOX_CONFIG_FEATURE_HTTPD_WITHOUT_INETD 
     72        bool "Support using httpd as a daemon (not from inetd)
    6673        default n 
    6774        depends on BUSYBOX_CONFIG_HTTPD 
    6875        help 
    69           This option disables uid and port options for the httpd applet 
    70           but requires inetd server daemon. 
    71  
    72 config BUSYBOX_CONFIG_FEATURE_HTTPD_BASIC_AUTH 
    73         bool "  Enable Basic http Authentication" 
    74         default y 
    75         depends on BUSYBOX_CONFIG_HTTPD 
    76         help 
    77           Utilizes password settings from /etc/httpd.conf for basic 
    78           authentication on a per url basis. 
    79  
    80 config BUSYBOX_CONFIG_FEATURE_HTTPD_AUTH_MD5 
    81         bool "  Support MD5 crypted passwords for http Authentication" 
    82         default y 
    83         depends on BUSYBOX_CONFIG_FEATURE_HTTPD_BASIC_AUTH 
    84         help 
    85           Enables basic per url authentication from /etc/httpd.conf 
    86           using md5 passwords. 
    87  
    88 if !CONFIG_FEATURE_HTTPD_USAGE_FROM_INETD_ONLY 
     76          This option enables uid and port options for the httpd applet, 
     77          and eliminates the need to be called from the inetd server daemon. 
     78 
    8979config BUSYBOX_CONFIG_FEATURE_HTTPD_RELOAD_CONFIG_SIGHUP 
    90         bool "  Support reloading the global config file using hup signal" 
    91         default y 
    92         depends on BUSYBOX_CONFIG_HTTPD 
     80        bool "Support reloading the global config BUSYBOX_file using hup signal" 
     81        default n 
     82        depends on BUSYBOX_CONFIG_HTTPD && BUSYBOX_CONFIG_FEATURE_HTTPD_WITHOUT_INETD 
    9383        help 
    9484          This option enables processing of SIGHUP to reload cached 
     
    9686 
    9787config BUSYBOX_CONFIG_FEATURE_HTTPD_SETUID 
    98         bool "  Enable support -u <user> option" 
    99         default n 
    100         depends on BUSYBOX_CONFIG_HTTPD 
     88        bool "Enable support -u <user> option" 
     89        default n 
     90        depends on BUSYBOX_CONFIG_HTTPD && BUSYBOX_CONFIG_FEATURE_HTTPD_WITHOUT_INETD 
    10191        help 
    10292          This option allows the server to run as a specific user 
     
    10494          Use of this option requires special privileges to change to a 
    10595          different user. 
    106 endif 
     96 
     97config BUSYBOX_CONFIG_FEATURE_HTTPD_BASIC_AUTH 
     98        bool "Enable Basic http Authentication" 
     99        default y 
     100        depends on BUSYBOX_CONFIG_HTTPD 
     101        help 
     102          Utilizes password settings from /etc/httpd.conf for basic 
     103          authentication on a per url basis. 
     104 
     105config BUSYBOX_CONFIG_FEATURE_HTTPD_AUTH_MD5 
     106        bool "Support MD5 crypted passwords for http Authentication" 
     107        default y 
     108        depends on BUSYBOX_CONFIG_FEATURE_HTTPD_BASIC_AUTH 
     109        help 
     110          Enables basic per URL authentication from /etc/httpd.conf 
     111          using md5 passwords. 
    107112 
    108113config BUSYBOX_CONFIG_FEATURE_HTTPD_CONFIG_WITH_MIME_TYPES 
    109         bool "  Support loading additional MIME types at run-time" 
     114        bool "Support loading additional MIME types at run-time" 
    110115        default y 
    111116        depends on BUSYBOX_CONFIG_HTTPD 
     
    115120 
    116121config BUSYBOX_CONFIG_FEATURE_HTTPD_CGI 
    117         bool "  Support Common Gateway Interface (CGI)" 
     122        bool "Support Common Gateway Interface (CGI)" 
    118123        default y 
    119124        depends on BUSYBOX_CONFIG_HTTPD 
    120125        help 
    121126          This option allows scripts and executables to be invoked 
    122           when specific urls are requested. 
     127          when specific URLs are requested. 
    123128 
    124129config BUSYBOX_CONFIG_FEATURE_HTTPD_CONFIG_WITH_SCRIPT_INTERPR 
    125         bool "  Enable support for running scripts through an interpreter" 
     130        bool "Enable support for running scripts through an interpreter" 
    126131        default n 
    127132        depends on BUSYBOX_CONFIG_FEATURE_HTTPD_CGI 
    128133        help 
    129134          This option enables support for running scripts through an  
    130           interpreter. Turn this on, if you want PHP scripts to work  
     135          interpreter. Turn this on if you want PHP scripts to work  
    131136          properly. You need to supply an addition line in your httpd  
    132           config file: 
     137          config BUSYBOX_file: 
    133138          *.php:/path/to/your/php 
    134139 
    135140config BUSYBOX_CONFIG_FEATURE_HTTPD_SET_REMOTE_PORT_TO_ENV 
    136         bool "  Support the REMOTE_PORT environment variable for CGI" 
     141        bool "Support the REMOTE_PORT environment variable for CGI" 
    137142        default y 
    138143        depends on BUSYBOX_CONFIG_FEATURE_HTTPD_CGI 
     
    142147 
    143148config BUSYBOX_CONFIG_FEATURE_HTTPD_ENCODE_URL_STR 
    144         bool "  Enable the -e option for shell script CGI simplification." 
     149        bool "Enable the -e option for shell script CGI simplification." 
    145150        default y 
    146151        depends on BUSYBOX_CONFIG_HTTPD 
    147152        help 
    148           After set, this option allows html encoding arbitrary 
     153          This option allows html encoding arbitrary 
    149154          strings for display of the browser.  Output goes to stdout. 
    150155          For example, httpd -e "<Hello World>" as 
     
    155160        default n 
    156161        help 
    157           Ifconfig is used to configure the kernel-resident network interfaces. 
     162          Ifconfig BUSYBOX_is used to configure the kernel-resident network interfaces. 
    158163 
    159164config BUSYBOX_CONFIG_FEATURE_IFCONFIG_STATUS 
    160         bool "  Enable status reporting output (+7k)" 
    161         default n 
     165        bool "Enable status reporting output (+7k)" 
     166        default y 
    162167        depends on BUSYBOX_CONFIG_IFCONFIG 
    163168        help 
    164           If ifconfig is called with no arguments it will display the status 
     169          If ifconfig BUSYBOX_is called with no arguments it will display the status 
    165170          of the currently active interfaces. 
    166171 
    167172config BUSYBOX_CONFIG_FEATURE_IFCONFIG_SLIP 
    168         bool "  Enable slip-specific options \"keepalive\" and \"outfill\"" 
     173        bool "Enable slip-specific options \"keepalive\" and \"outfill\"" 
    169174        default n 
    170175        depends on BUSYBOX_CONFIG_IFCONFIG 
     
    174179 
    175180config BUSYBOX_CONFIG_FEATURE_IFCONFIG_MEMSTART_IOADDR_IRQ 
    176         bool "  Enable options \"mem_start\", \"io_addr\", and \"irq\"" 
     181        bool "Enable options \"mem_start\", \"io_addr\", and \"irq\"" 
    177182        default n 
    178183        depends on BUSYBOX_CONFIG_IFCONFIG 
     
    182187 
    183188config BUSYBOX_CONFIG_FEATURE_IFCONFIG_HW 
    184         bool "  Enable option \"hw\" (ether only)" 
    185         default n 
     189        bool "Enable option \"hw\" (ether only)" 
     190        default y 
    186191        depends on BUSYBOX_CONFIG_IFCONFIG 
    187192        help 
     
    191196 
    192197config BUSYBOX_CONFIG_FEATURE_IFCONFIG_BROADCAST_PLUS 
    193         bool "  Set the broadcast automatically" 
     198        bool "Set the broadcast automatically" 
    194199        default n 
    195200        depends on BUSYBOX_CONFIG_IFCONFIG 
    196201        help 
    197           Setting this will make ifconfig attempt to find the broadcast 
     202          Setting this will make ifconfig BUSYBOX_attempt to find the broadcast 
    198203          automatically if the value '+' is used. 
    199204 
     
    206211          use of either "ifconfig" and "route" or the "ip" command to actually 
    207212          configure network interfaces.  Therefore, you will probably also want 
    208           to enable either BUSYBOX_CONFIG_IFCONFIG and BUSYBOX_CONFIG_ROUTE, or enable 
    209           BUSYBOX_CONFIG_FEATURE_IFUPDOWN_IP and the various BUSYBOX_CONFIG_IP options.  Of 
     213          to enable either CONFIG_IFCONFIG and CONFIG_ROUTE, or enable 
     214          CONFIG_FEATURE_IFUPDOWN_IP and the various CONFIG_IP options.  Of 
    210215          course you could use non-busybox versions of these programs, so 
    211216          against my better judgement (since this will surely result in plenty 
     
    216221 
    217222config BUSYBOX_CONFIG_FEATURE_IFUPDOWN_IP 
    218         bool "  Use ip applet" 
     223        bool "Use ip applet" 
    219224        default y 
    220225        depends on BUSYBOX_CONFIG_IFUPDOWN 
     
    224229 
    225230config BUSYBOX_CONFIG_FEATURE_IFUPDOWN_IP_BUILTIN 
    226         bool "  Use busybox ip applet" 
     231        bool "Use busybox ip applet" 
    227232        default y 
    228233        depends on BUSYBOX_CONFIG_FEATURE_IFUPDOWN_IP 
     
    237242          utility or the  "ifup" and "ifdown" applets will not work. 
    238243 
     244config BUSYBOX_CONFIG_FEATURE_IFUPDOWN_IP_BUILTIN 
     245        bool "Use busybox ifconfig BUSYBOX_and route applets" 
     246        default y 
     247        depends on BUSYBOX_CONFIG_IFUPDOWN && !BUSYBOX_CONFIG_FEATURE_IFUPDOWN_IP 
     248        select BUSYBOX_CONFIG_IFCONFIG 
     249        select BUSYBOX_CONFIG_ROUTE 
     250        help 
     251          Use the busybox iproute "ifconfig" and "route" applets to 
     252          implement the "ifup" and "ifdown" utilities. 
     253 
     254          If leave this disabled, you must install the full-blown ifconfig 
     255          and route utilities, or the  "ifup" and "ifdown" applets will not 
     256          work. 
     257 
    239258config BUSYBOX_CONFIG_FEATURE_IFUPDOWN_IPV4 
    240         bool "  Enable support for IPv4" 
     259        bool "Enable support for IPv4" 
    241260        default y 
    242261        depends on BUSYBOX_CONFIG_IFUPDOWN 
     
    245264 
    246265config BUSYBOX_CONFIG_FEATURE_IFUPDOWN_IPV6 
    247         bool "  Enable support for IPv6" 
    248         default n 
    249         depends on BUSYBOX_CONFIG_IFUPDOWN 
     266        bool "Enable support for IPv6" 
     267        default n 
     268        depends on BUSYBOX_CONFIG_IFUPDOWN && BUSYBOX_CONFIG_FEATURE_IPV6 
    250269        help 
    251270          If you need support for IPv6, turn this option on. 
    252271 
    253272config BUSYBOX_CONFIG_FEATURE_IFUPDOWN_IPX 
    254         bool "  Enable support for IPX" 
     273        bool "Enable support for IPX" 
    255274        default n 
    256275        depends on BUSYBOX_CONFIG_IFUPDOWN 
     
    260279 
    261280config BUSYBOX_CONFIG_FEATURE_IFUPDOWN_MAPPING 
    262         bool "  Enable mapping support" 
     281        bool "Enable mapping support" 
    263282        default n 
    264283        depends on BUSYBOX_CONFIG_IFUPDOWN 
     
    273292          Internet superserver daemon 
    274293 
    275 config BUSYBOX_CONFIG_FEATURE_INETD_SUPPORT_BILTIN_ECHO 
    276         bool "  Support echo service" 
    277         default n 
     294config BUSYBOX_CONFIG_FEATURE_INETD_SUPPORT_BUILTIN_ECHO 
     295        bool "Support echo service" 
     296        default y 
    278297        depends on BUSYBOX_CONFIG_INETD 
    279298        help 
    280299          Echo received data internal inetd service 
    281300 
    282 config BUSYBOX_CONFIG_FEATURE_INETD_SUPPORT_BILTIN_DISCARD 
    283         bool "  Support discard service" 
    284         default n 
     301config BUSYBOX_CONFIG_FEATURE_INETD_SUPPORT_BUILTIN_DISCARD 
     302        bool "Support discard service" 
     303        default y 
    285304        depends on BUSYBOX_CONFIG_INETD 
    286305        help 
    287306          Internet /dev/null internal inetd service 
    288307 
    289 config BUSYBOX_CONFIG_FEATURE_INETD_SUPPORT_BILTIN_TIME 
    290         bool "  Support time service" 
    291         default n 
     308config BUSYBOX_CONFIG_FEATURE_INETD_SUPPORT_BUILTIN_TIME 
     309        bool "Support time service" 
     310        default y 
    292311        depends on BUSYBOX_CONFIG_INETD 
    293312        help 
    294313          Return 32 bit time since 1900 internal inetd service 
    295314 
    296 config BUSYBOX_CONFIG_FEATURE_INETD_SUPPORT_BILTIN_DAYTIME 
    297         bool "  Support daytime service" 
    298         default n 
     315config BUSYBOX_CONFIG_FEATURE_INETD_SUPPORT_BUILTIN_DAYTIME 
     316        bool "Support daytime service" 
     317        default y 
    299318        depends on BUSYBOX_CONFIG_INETD 
    300319        help 
    301320          Return human-readable time internal inetd service 
    302321 
    303 config BUSYBOX_CONFIG_FEATURE_INETD_SUPPORT_BILTIN_CHARGEN 
    304         bool "  Support chargen service" 
    305         default n 
     322config BUSYBOX_CONFIG_FEATURE_INETD_SUPPORT_BUILTIN_CHARGEN 
     323        bool "Support chargen service" 
     324        default y 
    306325        depends on BUSYBOX_CONFIG_INETD 
    307326        help 
     
    309328 
    310329config BUSYBOX_CONFIG_FEATURE_INETD_RPC 
    311         bool "  Support RPC services" 
     330        bool "Support RPC services" 
    312331        default n 
    313332        depends on BUSYBOX_CONFIG_INETD 
     
    318337config BUSYBOX_CONFIG_IP 
    319338        bool "ip" 
    320         default y 
     339        default n 
    321340        help 
    322341          The "ip" applet is a TCP/IP interface configuration and routing 
     
    324343          TCP/IP. 
    325344 
    326 if BUSYBOX_CONFIG_IP && BUSYBOX_CONFIG_IPADDR 
    327         config BUSYBOX_CONFIG_FEATURE_IP_ADDRESS 
    328                 default n 
    329         comment "  address (forced enabled for ipaddr)" 
    330 endif 
    331 if ! (CONFIG_IP && BUSYBOX_CONFIG_IPADDR) 
    332         config BUSYBOX_CONFIG_FEATURE_IP_ADDRESS 
    333                 bool "  address" 
    334                 default n 
    335                 depends on BUSYBOX_CONFIG_IP 
    336                 help 
    337                   Address manipulation support for the "ip" applet. 
    338 endif 
    339  
    340 if BUSYBOX_CONFIG_IP && BUSYBOX_CONFIG_IPLINK 
    341         config BUSYBOX_CONFIG_FEATURE_IP_LINK 
    342                 default n 
    343         comment "  link (forced enabled for iplink)" 
    344 endif 
    345 if !(CONFIG_IP && BUSYBOX_CONFIG_IPLINK) 
    346         config BUSYBOX_CONFIG_FEATURE_IP_LINK 
    347                 bool "  link" 
    348                 default n 
    349                 depends on BUSYBOX_CONFIG_IP 
    350                 help 
    351                   Configure network devices with "ip". 
    352 endif 
    353  
    354 if BUSYBOX_CONFIG_IP && BUSYBOX_CONFIG_IPROUTE 
    355         config BUSYBOX_CONFIG_FEATURE_IP_ROUTE 
    356                 default n 
    357         comment "  route (forced enabled for iproute)" 
    358 endif 
    359 if !(CONFIG_IP && BUSYBOX_CONFIG_IPROUTE) 
    360         config BUSYBOX_CONFIG_FEATURE_IP_ROUTE 
    361                 bool "  route" 
    362                 default n 
    363                 depends on BUSYBOX_CONFIG_IP 
    364                 help 
    365                   Add support for routing table management to "ip". 
    366 endif 
    367  
    368 if BUSYBOX_CONFIG_IP && BUSYBOX_CONFIG_IPTUNNEL 
    369         config BUSYBOX_CONFIG_FEATURE_IP_TUNNEL 
    370                 default n 
    371         comment "  tunnel (forced enabled for iptunnel)" 
    372 endif 
    373 if !(CONFIG_IP && BUSYBOX_CONFIG_IPTUNNEL) 
    374         config BUSYBOX_CONFIG_FEATURE_IP_TUNNEL 
    375                 bool "  tunnel" 
    376                 default n 
    377                 depends on BUSYBOX_CONFIG_IP 
    378                 help 
    379                   Add support for tunneling commands to "ip". 
    380 endif 
     345config BUSYBOX_CONFIG_FEATURE_IP_ADDRESS 
     346        bool "ip address" 
     347        default y 
     348        depends on BUSYBOX_CONFIG_IP 
     349        help 
     350          Address manipulation support for the "ip" applet. 
     351 
     352config BUSYBOX_CONFIG_FEATURE_IP_LINK 
     353        bool "ip link" 
     354        default y 
     355        depends on BUSYBOX_CONFIG_IP 
     356        help 
     357          Configure network devices with "ip". 
     358 
     359config BUSYBOX_CONFIG_FEATURE_IP_ROUTE 
     360        bool "ip route" 
     361        default y 
     362        depends on BUSYBOX_CONFIG_IP 
     363        help 
     364          Add support for routing table management to "ip". 
     365 
     366config BUSYBOX_CONFIG_FEATURE_IP_TUNNEL 
     367        bool "ip tunnel" 
     368        default n 
     369        depends on BUSYBOX_CONFIG_IP 
     370        help 
     371          Add support for tunneling commands to "ip". 
     372 
     373config BUSYBOX_CONFIG_FEATURE_IP_SHORT_FORMS 
     374        bool "Support short forms of ip commands." 
     375        default n 
     376        depends on BUSYBOX_CONFIG_IP 
     377        help 
     378          Also support short-form of ip <OBJECT> commands: 
     379          ip addr   -> ipaddr 
     380          ip link   -> iplink 
     381          ip route  -> iproute 
     382          ip tunnel -> iptunnel 
     383 
     384          Say N unless you desparately need the short form of the ip 
     385          object commands. 
     386 
     387config BUSYBOX_CONFIG_IPADDR 
     388        bool 
     389        default y 
     390        depends on BUSYBOX_CONFIG_FEATURE_IP_SHORT_FORMS && BUSYBOX_CONFIG_FEATURE_IP_ADDRESS 
     391 
     392config BUSYBOX_CONFIG_IPLINK 
     393        bool 
     394        default y 
     395        depends on BUSYBOX_CONFIG_FEATURE_IP_SHORT_FORMS && BUSYBOX_CONFIG_FEATURE_IP_LINK 
     396 
     397config BUSYBOX_CONFIG_IPROUTE 
     398        bool 
     399        default y 
     400        depends on BUSYBOX_CONFIG_FEATURE_IP_SHORT_FORMS && BUSYBOX_CONFIG_FEATURE_IP_ROUTE 
     401 
     402config BUSYBOX_CONFIG_IPTUNNEL 
     403        bool 
     404        default y 
     405        depends on BUSYBOX_CONFIG_FEATURE_IP_SHORT_FORMS && BUSYBOX_CONFIG_FEATURE_IP_TUNNEL 
    381406 
    382407config BUSYBOX_CONFIG_IPCALC 
     
    388413 
    389414config BUSYBOX_CONFIG_FEATURE_IPCALC_FANCY 
    390         bool "  Fancy IPCALC, more options, adds 1 kbyte" 
    391         default n 
     415        bool "Fancy IPCALC, more options, adds 1 kbyte" 
     416        default y 
    392417        depends on BUSYBOX_CONFIG_IPCALC 
    393418        help 
    394419          Adds the options hostname, prefix and silent to the output of "ipcalc". 
    395420 
    396 config BUSYBOX_CONFIG_IPADDR 
    397         bool "ipaddr" 
    398         default y 
    399         help 
    400           Equivalent to selecting address support to "ip", above. 
    401  
    402 config BUSYBOX_CONFIG_IPLINK 
    403         bool "iplink" 
    404         default y 
    405         help 
    406           Equivalent to selecting link support to "ip", above. 
    407  
    408 config BUSYBOX_CONFIG_IPROUTE 
    409         bool "iproute" 
    410         default y 
    411         help 
    412           Equivalent to selecting route support to "ip", above. 
    413  
    414 config BUSYBOX_CONFIG_IPTUNNEL 
    415         bool "iptunnel" 
    416         default y 
    417         help 
    418           Equivalent to selecting tunnel support to "ip", above. 
     421config BUSYBOX_CONFIG_FEATURE_IPCALC_LONG_OPTIONS 
     422        bool "Enable long options" 
     423        default n 
     424        depends on BUSYBOX_CONFIG_IPCALC && BUSYBOX_CONFIG_GETOPT_LONG 
     425        help 
     426          Support long options for the ipcalc applet. 
    419427 
    420428config BUSYBOX_CONFIG_NAMEIF 
     
    473481 
    474482config BUSYBOX_CONFIG_FEATURE_FANCY_PING 
    475         bool "  Enable fancy ping output" 
     483        bool "Enable fancy ping output" 
    476484        default y 
    477485        depends on BUSYBOX_CONFIG_PING 
     
    488496 
    489497config BUSYBOX_CONFIG_FEATURE_FANCY_PING6 
    490         bool "  Enable fancy ping6 output" 
    491         default n 
     498        bool "Enable fancy ping6 output" 
     499        default y 
    492500        depends on BUSYBOX_CONFIG_PING6 
    493501        help 
     
    509517 
    510518config BUSYBOX_CONFIG_FEATURE_TELNET_TTYPE 
    511         bool "  Pass TERM type to remote host" 
     519        bool "Pass TERM type to remote host" 
    512520        default y 
    513521        depends on BUSYBOX_CONFIG_TELNET 
     
    518526 
    519527config BUSYBOX_CONFIG_FEATURE_TELNET_AUTOLOGIN 
    520         bool "  Pass USER type to remote host" 
     528        bool "Pass USER type to remote host" 
    521529        default n 
    522530        depends on BUSYBOX_CONFIG_TELNET 
     
    541549          Note that for busybox telnetd to work you need several things: 
    542550          First of all, your kernel needs: 
    543                   BUSYBOX_CONFIG_UNIX98_PTYS=y 
    544                   BUSYBOX_CONFIG_DEVPTS_FS=y 
     551                  CONFIG_UNIX98_PTYS=y 
     552                  CONFIG_DEVPTS_FS=y 
    545553 
    546554          Next, you need a /dev/pts directory on your root filesystem: 
     
    559567                  mount -t devpts devpts /dev/pts 
    560568 
    561           You need to be sure that Busybox has BUSYBOX_CONFIG_LOGIN and 
    562           BUSYBOX_CONFIG_FEATURE_SUID enabled.  And finally, you should make 
     569          You need to be sure that Busybox has CONFIG_LOGIN and 
     570          CONFIG_FEATURE_SUID enabled.  And finally, you should make 
    563571          certain that Busybox has been installed setuid root: 
    564572 
     
    570578 
    571579config BUSYBOX_CONFIG_FEATURE_TELNETD_INETD 
    572         bool "  Support call from inetd only" 
     580        bool "Support call from inetd only" 
    573581        default n 
    574582        depends on BUSYBOX_CONFIG_TELNETD 
     
    586594 
    587595config BUSYBOX_CONFIG_FEATURE_TFTP_GET 
    588         bool "  Enable \"get\" command" 
    589         default n 
     596        bool "Enable \"get\" command" 
     597        default y 
    590598        depends on BUSYBOX_CONFIG_TFTP 
    591599        help 
     
    594602 
    595603config BUSYBOX_CONFIG_FEATURE_TFTP_PUT 
    596         bool "  Enable \"put\" command" 
    597         default n 
     604        bool "Enable \"put\" command" 
     605        default y 
    598606        depends on BUSYBOX_CONFIG_TFTP 
    599607        help 
     
    602610 
    603611config BUSYBOX_CONFIG_FEATURE_TFTP_BLOCKSIZE 
    604         bool "  Enable \"blocksize\" command" 
     612        bool "Enable \"blocksize\" command" 
    605613        default n 
    606614        depends on BUSYBOX_CONFIG_TFTP 
     
    608616          Allow the client to specify the desired block size for transfers. 
    609617 
    610 config BUSYBOX_CONFIG_FEATURE_TFTP_DEBUG 
    611         bool "  Enable debug" 
     618config BUSYBOX_CONFIG_DEBUG_TFTP 
     619        bool "Enable debug" 
    612620        default n 
    613621        depends on BUSYBOX_CONFIG_TFTP 
     
    624632 
    625633config BUSYBOX_CONFIG_FEATURE_TRACEROUTE_VERBOSE 
    626         bool "  Enable verbose output" 
     634        bool "Enable verbose output" 
    627635        default y 
    628636        depends on BUSYBOX_CONFIG_TRACEROUTE 
     
    632640 
    633641config BUSYBOX_CONFIG_FEATURE_TRACEROUTE_SOURCE_ROUTE 
    634         bool "  Enable loose source route" 
     642        bool "Enable loose source route" 
    635643        default n 
    636644        depends on BUSYBOX_CONFIG_TRACEROUTE 
     
    640648 
    641649config BUSYBOX_CONFIG_FEATURE_TRACEROUTE_USE_ICMP 
    642         bool "  Use ICMP instead of UDP" 
    643         default n 
     650        bool "Use ICMP instead of UDP" 
     651        default y 
    644652        depends on BUSYBOX_CONFIG_TRACEROUTE 
    645653        help 
    646654          Add feature to allow for ICMP ECHO instead of UDP datagrams. 
    647655 
     656source package/busybox/config/networking/udhcp/Config.in 
    648657 
    649658config BUSYBOX_CONFIG_VCONFIG 
     
    661670 
    662671config BUSYBOX_CONFIG_FEATURE_WGET_STATUSBAR 
    663         bool "  Enable a nifty process meter (+2k)" 
     672        bool "Enable a nifty process meter (+2k)" 
    664673        default y 
    665674        depends on BUSYBOX_CONFIG_WGET 
     
    668677 
    669678config BUSYBOX_CONFIG_FEATURE_WGET_AUTHENTICATION 
    670         bool "  Enable HTTP authentication" 
     679        bool "Enable HTTP authentication" 
    671680        default y 
    672681        depends on BUSYBOX_CONFIG_WGET 
     
    675684 
    676685config BUSYBOX_CONFIG_FEATURE_WGET_IP6_LITERAL 
    677         bool "  Enable IPv6 literal addresses" 
    678         default n 
    679         depends on BUSYBOX_CONFIG_WGET 
     686        bool "Enable IPv6 literal addresses" 
     687        default y 
     688        depends on BUSYBOX_CONFIG_WGET && BUSYBOX_CONFIG_FEATURE_IPV6 
    680689        help 
    681690          Support IPv6 address literal notation in URLs. 
    682691 
    683 source package/busybox/config/networking/udhcp/Config.in 
     692config BUSYBOX_CONFIG_FEATURE_WGET_LONG_OPTIONS 
     693        bool "Enable long options" 
     694        default n 
     695        depends on BUSYBOX_CONFIG_WGET && BUSYBOX_CONFIG_GETOPT_LONG 
     696        help 
     697          Support long options for the wget applet. 
    684698 
    685699config BUSYBOX_CONFIG_ZCIP 
     
    695709 
    696710endmenu 
    697  
  • trunk/freewrt/package/busybox/config/networking/udhcp/Config.in

    r1 r993  
    66menu "udhcp Server/Client" 
    77 
    8 config BUSYBOX_CONFIG_UDHCPD 
     8config BUSYBOX_CONFIG_APP_UDHCPD 
    99        bool "udhcp Server (udhcpd)" 
    1010        default n 
     
    1515          See http://udhcp.busybox.net for further details. 
    1616 
    17 config BUSYBOX_CONFIG_UDHCPC 
     17config BUSYBOX_CONFIG_APP_UDHCPC 
    1818        bool "udhcp Client (udhcpc)" 
    1919        default y 
     
    2727          See http://udhcp.busybox.net for further details. 
    2828 
    29 config BUSYBOX_CONFIG_DUMPLEASES 
     29config BUSYBOX_CONFIG_APP_DUMPLEASES 
    3030        bool "Lease display utility (dumpleases)" 
    3131        default n 
    32         depends on BUSYBOX_CONFIG_UDHCPD 
     32        depends on BUSYBOX_CONFIG_APP_UDHCPD 
    3333        help 
    3434          dumpleases displays the leases written out by the udhcpd server. 
     
    4141        bool "  Log udhcp messages to syslog (instead of stdout)" 
    4242        default n 
    43         depends on BUSYBOX_CONFIG_UDHCPD || BUSYBOX_CONFIG_UDHCPC 
     43        depends on BUSYBOX_CONFIG_APP_UDHCPD || BUSYBOX_CONFIG_APP_UDHCPC 
    4444        help 
    4545          If selected, udhcpd will log all its messages to syslog, otherwise, 
     
    5151        bool "  Compile udhcp with noisy debugging messages" 
    5252        default n 
    53         depends on BUSYBOX_CONFIG_UDHCPD || BUSYBOX_CONFIG_UDHCPC 
     53        depends on BUSYBOX_CONFIG_APP_UDHCPD || BUSYBOX_CONFIG_APP_UDHCPC 
    5454        help 
    5555          If selected, udhcpd will output extra debugging output.  If using 
  • trunk/freewrt/package/busybox/config/procps/Config.in

    r1 r993  
    5252 
    5353config BUSYBOX_CONFIG_FEATURE_PIDOF_SINGLE 
    54         bool "  Enable argument for single shot (-s)" 
     54        bool "Enable argument for single shot (-s)" 
    5555        default n 
    5656        depends on BUSYBOX_CONFIG_PIDOF 
     
    5959 
    6060config BUSYBOX_CONFIG_FEATURE_PIDOF_OMIT 
    61         bool "  Enable argument for omitting pids (-o)" 
     61        bool "Enable argument for omitting pids (-o)" 
    6262        default n 
    6363        depends on BUSYBOX_CONFIG_PIDOF 
     
    7474 
    7575config BUSYBOX_CONFIG_FEATURE_PS_WIDE 
    76         bool "  Enable argument for wide output (-w)" 
     76        bool "Enable argument for wide output (-w)" 
    7777        default n 
    7878        depends on BUSYBOX_CONFIG_PS 
     
    103103 
    104104config BUSYBOX_CONFIG_FEATURE_TOP_CPU_USAGE_PERCENTAGE 
    105         bool "  Support showing CPU usage percentage (add 2k bytes)" 
     105        bool "Support showing CPU usage percentage (add 2k bytes)" 
    106106        default y 
    107107        depends on BUSYBOX_CONFIG_TOP 
  • trunk/freewrt/package/busybox/config/shell/Config.in

    r443 r993  
    33comment "  built-in shells: ash, hush, lash, msh" 
    44        depends !FWRT_PACKAGE_BUSYBOX 
     5# 
     6# For a description of the syntax of this configuration file, 
     7# see scripts/kbuild/config-language.txt. 
     8# 
     9# 
     10#menu "Shells" 
     11# 
     12#choice 
     13#       prompt "Choose your default shell" 
     14#       default BUSYBOX_CONFIG_FEATURE_SH_IS_NONE 
     15#       help 
     16#         Choose a shell. The ash shell is the most bash compatible 
     17#         and full featured one. 
     18# 
     19#config BUSYBOX_CONFIG_FEATURE_SH_IS_ASH 
     20#       select BUSYBOX_CONFIG_ASH 
     21#       bool "ash" 
     22# 
     23#config BUSYBOX_CONFIG_FEATURE_SH_IS_HUSH 
     24#       select BUSYBOX_CONFIG_HUSH 
     25#       bool "hush" 
     26# 
     27#config BUSYBOX_CONFIG_FEATURE_SH_IS_LASH 
     28#       select BUSYBOX_CONFIG_LASH 
     29#       bool "lash" 
     30# 
     31#config BUSYBOX_CONFIG_FEATURE_SH_IS_MSH 
     32#       select BUSYBOX_CONFIG_MSH 
     33#       bool "msh" 
     34# 
     35#config BUSYBOX_CONFIG_FEATURE_SH_IS_NONE 
     36#       bool "none" 
     37# 
     38#endchoice 
    539 
    640config BUSYBOX_CONFIG_ASH 
    7         bool "ash............................... default featured shell
     41        bool "ash
    842        default y 
    943        depends FWRT_PACKAGE_BUSYBOX 
     
    1549          shell (by Herbert Xu), which was created by porting the 'ash' shell 
    1650          (written by Kenneth Almquist) from NetBSD. 
    17           FreeWRT needs a working /bin/ash in all cases; if you do not select 
    18           busybox ash make sure you enable mksh to run as /bin/ash below. 
    1951 
    2052comment "Ash Shell Options" 
     
    2254 
    2355config BUSYBOX_CONFIG_ASH_JOB_CONTROL 
    24         bool "  Enable Job control" 
     56        bool "Job control" 
    2557        default y 
    2658        depends on BUSYBOX_CONFIG_ASH 
     
    2961 
    3062config BUSYBOX_CONFIG_ASH_READ_NCHARS 
    31         bool "  Enable 'read -n N' and 'read -s' support" 
     63        bool "'read -n N' and 'read -s' support" 
    3264        default n 
    3365        depends on BUSYBOX_CONFIG_ASH 
     
    3769 
    3870config BUSYBOX_CONFIG_ASH_READ_TIMEOUT 
    39         bool "  Enable 'read -t S' support." 
    40         default y 
     71        bool "'read -t S' support." 
     72        default n 
    4173        depends on BUSYBOX_CONFIG_ASH 
    4274        help 
     
    4678 
    4779config BUSYBOX_CONFIG_ASH_ALIAS 
    48         bool "  Enable alias support" 
     80        bool "alias support" 
    4981        default y 
    5082        depends on BUSYBOX_CONFIG_ASH 
     
    5385 
    5486config BUSYBOX_CONFIG_ASH_MATH_SUPPORT 
    55         bool "  Enable Posix math support" 
     87        bool "Posix math support" 
    5688        default y 
    5789        depends on BUSYBOX_CONFIG_ASH 
     
    6092 
    6193config BUSYBOX_CONFIG_ASH_MATH_SUPPORT_64 
    62         bool "    Extend Posix math support to 64 bit" 
     94        bool "Extend Posix math support to 64 bit" 
    6395        default n 
    6496        depends on BUSYBOX_CONFIG_ASH_MATH_SUPPORT 
     
    69101 
    70102config BUSYBOX_CONFIG_ASH_GETOPTS 
    71         bool "  Enable getopts builtin to parse positional parameters" 
     103        bool "Builtin getopt to parse positional parameters" 
    72104        default y 
    73105        depends on BUSYBOX_CONFIG_ASH 
     
    75107          Enable getopts builtin in the ash shell. 
    76108 
     109config BUSYBOX_CONFIG_ASH_BUILTIN_ECHO 
     110        bool "Builtin version of 'echo'" 
     111        default y 
     112        select BUSYBOX_CONFIG_ECHO 
     113        depends on BUSYBOX_CONFIG_ASH 
     114        help 
     115          Enable support for echo, built in to ash. 
     116 
     117config BUSYBOX_CONFIG_ASH_BUILTIN_TEST 
     118        bool "Builtin version of 'test'" 
     119        default y 
     120        select BUSYBOX_CONFIG_TEST 
     121        depends on BUSYBOX_CONFIG_ASH 
     122        help 
     123          Enable support for test, built in to ash. 
     124 
    77125config BUSYBOX_CONFIG_ASH_CMDCMD 
    78         bool "  Enable cmdcmd to override shell builtins" 
     126        bool "'command' command to override shell builtins" 
    79127        default y 
    80128        depends on BUSYBOX_CONFIG_ASH 
     
    84132          even when there is an ash builtin command with the same name. 
    85133 
    86 config BUSYBOX_CONFIG_ASH_BUILTIN_ECHO 
    87         bool "  Enable builtin version of 'echo'" 
    88         default y 
    89         depends on BUSYBOX_CONFIG_ASH 
    90         help 
    91           Enable support for echo, built in to ash. 
    92  
    93 # this entry also appears in coreutils/Config.in, next to the echo applet 
    94 config BUSYBOX_CONFIG_FEATURE_FANCY_ECHO 
    95         bool "  Enable echo options (-n and -e)" 
    96         default y 
    97         depends on BUSYBOX_CONFIG_ASH_BUILTIN_ECHO 
    98         help 
    99           This adds options (-n and -e) to echo. 
    100  
    101134config BUSYBOX_CONFIG_ASH_MAIL 
    102         bool "  Check for new mail on interactive shells" 
     135        bool "Check for new mail on interactive shells" 
    103136        default n 
    104137        depends on BUSYBOX_CONFIG_ASH 
     
    107140 
    108141config BUSYBOX_CONFIG_ASH_OPTIMIZE_FOR_SIZE 
    109         bool "  Optimize for size instead of speed" 
     142        bool "Optimize for size instead of speed" 
    110143        default y 
    111144        depends on BUSYBOX_CONFIG_ASH 
     
    114147 
    115148config BUSYBOX_CONFIG_ASH_RANDOM_SUPPORT 
    116         bool "  Enable pseudorandom generator and variable $RANDOM" 
     149        bool "Pseudorandom generator and variable $RANDOM" 
    117150        default n 
    118151        depends on BUSYBOX_CONFIG_ASH 
     
    125158 
    126159config BUSYBOX_CONFIG_ASH_EXPAND_PRMT 
    127         bool "  Expand prompt string" 
     160        bool "Expand prompt string" 
    128161        default n 
    129162        depends on BUSYBOX_CONFIG_ASH 
     
    134167 
    135168config BUSYBOX_CONFIG_HUSH 
    136         bool "hush.............................. small bourne-compatible shell" 
    137         default n 
    138         depends FWRT_PACKAGE_BUSYBOX 
     169        bool "hush" 
     170        default n 
    139171        select BUSYBOX_CONFIG_TRUE 
    140172        select BUSYBOX_CONFIG_FALSE 
     
    152184 
    153185config BUSYBOX_CONFIG_LASH 
    154         bool "lash.............................. smallest shell" 
    155         default n 
    156         depends FWRT_PACKAGE_BUSYBOX 
     186        bool "lash" 
     187        default n 
    157188        select BUSYBOX_CONFIG_TRUE 
    158189        select BUSYBOX_CONFIG_FALSE 
     
    168199 
    169200config BUSYBOX_CONFIG_MSH 
    170         bool "msh............................... Minix shell" 
    171         default n 
    172         depends FWRT_PACKAGE_BUSYBOX 
     201        bool "msh" 
     202        default n 
    173203        select BUSYBOX_CONFIG_TRUE 
    174204        select BUSYBOX_CONFIG_FALSE 
     
    182212          It also uses only vfork, so it can be used on uClinux systems. 
    183213 
    184 comment "  busybox Bourne Shell Options" 
     214comment "Bourne Shell Options" 
    185215        depends on BUSYBOX_CONFIG_MSH || BUSYBOX_CONFIG_LASH || BUSYBOX_CONFIG_HUSH || BUSYBOX_CONFIG_ASH 
    186216 
    187217config BUSYBOX_CONFIG_FEATURE_SH_EXTRA_QUIET 
    188         bool "    Hide message on interactive shell startup" 
     218        bool "Hide message on interactive shell startup" 
    189219        default n 
    190220        depends on BUSYBOX_CONFIG_MSH || BUSYBOX_CONFIG_LASH || BUSYBOX_CONFIG_HUSH || BUSYBOX_CONFIG_ASH 
     
    193223 
    194224config BUSYBOX_CONFIG_FEATURE_SH_STANDALONE_SHELL 
    195         bool "    Standalone shell" 
     225        bool "Standalone shell" 
    196226        default n 
    197227        depends on BUSYBOX_CONFIG_MSH || BUSYBOX_CONFIG_LASH || BUSYBOX_CONFIG_HUSH || BUSYBOX_CONFIG_ASH 
     
    200230          in preference to executables in the PATH whenever possible.  For 
    201231          example, entering the command 'ifconfig' into the shell would cause 
    202           busybox to use the ifconfig busybox applet.  Specifying the fully 
     232          busybox to use the ifconfig BUSYBOX_busybox applet.  Specifying the fully 
    203233          qualified executable name, such as '/sbin/ifconfig' will still 
    204           execute the /sbin/ifconfig executable on the filesystem.  This option 
     234          execute the /sbin/ifconfig BUSYBOX_executable on the filesystem.  This option 
    205235          is generally used when creating a statically linked version of busybox 
    206236          for use as a rescue shell, in the event that you screw up your system. 
     237 
     238          Note that this will *also* cause applets to take precedence 
     239          over shell builtins of the same name.  So turning this on will 
     240          eliminate any performance gained by turning on the builtin "echo" 
     241          and "test" commands in ash. 
    207242 
    208243          Note that when using this option, the shell will attempt to directly 
     
    212247 
    213248config BUSYBOX_CONFIG_FEATURE_COMMAND_EDITING 
    214         bool "    command line editing" 
     249        bool "Command line editing" 
    215250        default y 
    216251        depends on BUSYBOX_CONFIG_MSH || BUSYBOX_CONFIG_LASH || BUSYBOX_CONFIG_HUSH || BUSYBOX_CONFIG_ASH 
     
    219254 
    220255config BUSYBOX_CONFIG_FEATURE_COMMAND_EDITING_VI 
    221         bool "    vi-style line editing commands" 
     256        bool "vi-style line editing commands" 
    222257        default n 
    223258        depends on BUSYBOX_CONFIG_FEATURE_COMMAND_EDITING 
     
    227262 
    228263config BUSYBOX_CONFIG_FEATURE_COMMAND_HISTORY 
    229         int "    history size" 
     264        int "History size" 
    230265        default 15 
    231266        depends on BUSYBOX_CONFIG_FEATURE_COMMAND_EDITING 
     
    234269 
    235270config BUSYBOX_CONFIG_FEATURE_COMMAND_SAVEHISTORY 
    236         bool "    history saving" 
     271        bool "History saving" 
    237272        default n 
    238273        depends on BUSYBOX_CONFIG_ASH && BUSYBOX_CONFIG_FEATURE_COMMAND_EDITING 
     
    241276 
    242277config BUSYBOX_CONFIG_FEATURE_COMMAND_TAB_COMPLETION 
    243         bool "    tab completion" 
     278        bool "Tab completion" 
    244279        default y 
    245280        depends on BUSYBOX_CONFIG_FEATURE_COMMAND_EDITING 
     
    248283 
    249284config BUSYBOX_CONFIG_FEATURE_COMMAND_USERNAME_COMPLETION 
    250         bool "    username completion" 
     285        bool "Username completion" 
    251286        default n 
    252287        depends on BUSYBOX_CONFIG_FEATURE_COMMAND_TAB_COMPLETION 
     
    255290 
    256291config BUSYBOX_CONFIG_FEATURE_SH_FANCY_PROMPT 
    257         bool "    Fancy shell prompts" 
     292        bool "Fancy shell prompts" 
    258293        default y 
    259294        depends on BUSYBOX_CONFIG_FEATURE_COMMAND_EDITING 
     
    261296          Setting this option allows for prompts to use things like \w and 
    262297          \$ and also using escape codes. 
     298 
     299#endmenu 
  • trunk/freewrt/package/busybox/config/sysklogd/Config.in

    r1 r993  
    2222 
    2323config BUSYBOX_CONFIG_FEATURE_ROTATE_LOGFILE 
    24         bool "  Rotate message files" 
     24        bool "Rotate message files" 
    2525        default y 
    2626        depends on BUSYBOX_CONFIG_SYSLOGD 
     
    3030 
    3131config BUSYBOX_CONFIG_FEATURE_REMOTE_LOG 
    32         bool "  Remote Log support" 
     32        bool "Remote Log support" 
    3333        default y 
    3434        depends on BUSYBOX_CONFIG_SYSLOGD 
     
    4444 
    4545config BUSYBOX_CONFIG_FEATURE_IPC_SYSLOG 
    46         bool "  Circular Buffer support" 
     46        bool "Circular Buffer support" 
    4747        default y 
    4848        depends on BUSYBOX_CONFIG_SYSLOGD 
     
    6666 
    6767config BUSYBOX_CONFIG_LOGREAD 
    68         bool "  logread" 
     68        bool "logread" 
    6969        default y 
    7070        depends on BUSYBOX_CONFIG_FEATURE_IPC_SYSLOG 
     
    7676 
    7777config BUSYBOX_CONFIG_FEATURE_LOGREAD_REDUCED_LOCKING 
    78         bool "    logread double buffering" 
     78        bool "logread double buffering" 
    7979        default n 
    8080        depends on BUSYBOX_CONFIG_LOGREAD 
  • trunk/freewrt/package/busybox/config/util-linux/Config.in

    r1 r993  
    2828 
    2929config BUSYBOX_CONFIG_FEATURE_FBSET_FANCY 
    30         bool "  Turn on extra fbset options" 
     30        bool "Turn on extra fbset options" 
    3131        default n 
    3232        depends on BUSYBOX_CONFIG_FBSET 
     
    3838 
    3939config BUSYBOX_CONFIG_FEATURE_FBSET_READMODE 
    40         bool "  Turn on fbset readmode support" 
     40        bool "Turn on fbset readmode support" 
    4141        default n 
    4242        depends on BUSYBOX_CONFIG_FBSET 
    4343        help 
    4444          This option allows fbset to read the video mode database stored by 
    45           default n /etc/fb.modes, which can be used to set frame buffer 
     45          default as /etc/fb.modes, which can be used to set frame buffer 
    4646          device to pre-defined video modes. 
    4747 
     
    7474 
    7575config BUSYBOX_FDISK_SUPPORT_LARGE_DISKS 
    76         bool 
     76        bool "support over 4GB disks" 
    7777        default y 
    7878        depends on BUSYBOX_CONFIG_FDISK 
     
    8181 
    8282config BUSYBOX_CONFIG_FEATURE_FDISK_WRITABLE 
    83         bool "  Write support" 
    84         default n 
     83        bool "Write support" 
     84        default y 
    8585        depends on BUSYBOX_CONFIG_FDISK 
    8686        help 
     
    9090 
    9191config BUSYBOX_CONFIG_FEATURE_AIX_LABEL 
    92         bool "  Support AIX disklabels" 
     92        bool "Support AIX disklabels" 
    9393        default n 
    9494        depends on BUSYBOX_CONFIG_FDISK && BUSYBOX_CONFIG_FEATURE_FDISK_WRITABLE 
     
    9898 
    9999config BUSYBOX_CONFIG_FEATURE_SGI_LABEL 
    100         bool "  Support SGI disklabels" 
     100        bool "Support SGI disklabels" 
    101101        default n 
    102102        depends on BUSYBOX_CONFIG_FDISK && BUSYBOX_CONFIG_FEATURE_FDISK_WRITABLE 
     
    106106 
    107107config BUSYBOX_CONFIG_FEATURE_SUN_LABEL 
    108         bool "  Support SUN disklabels" 
     108        bool "Support SUN disklabels" 
    109109        default n 
    110110        depends on BUSYBOX_CONFIG_FDISK && BUSYBOX_CONFIG_FEATURE_FDISK_WRITABLE 
     
    114114 
    115115config BUSYBOX_CONFIG_FEATURE_OSF_LABEL 
    116         bool "  Support BSD disklabels" 
     116        bool "Support BSD disklabels" 
    117117        default n 
    118118        depends on BUSYBOX_CONFIG_FDISK && BUSYBOX_CONFIG_FEATURE_FDISK_WRITABLE 
     
    122122 
    123123config BUSYBOX_CONFIG_FEATURE_FDISK_ADVANCED 
    124         bool "  Support expert mode" 
     124        bool "Support expert mode" 
    125125        default n 
    126126        depends on BUSYBOX_CONFIG_FDISK && BUSYBOX_CONFIG_FEATURE_FDISK_WRITABLE 
     
    165165 
    166166config BUSYBOX_CONFIG_FEATURE_MINIX2 
    167         bool "  Support Minix fs v2 (fsck_minix/mkfs_minix)" 
    168         default n 
     167        bool "Support Minix fs v2 (fsck_minix/mkfs_minix)" 
     168        default y 
    169169        depends on BUSYBOX_CONFIG_FSCK_MINIX || BUSYBOX_CONFIG_MKFS_MINIX 
    170170        help 
     
    200200          correct time when Linux is _not_ running. 
    201201 
    202 config BUSYBOX_CONFIG_FEATURE_HWCLOCK_LONGOPTIONS 
    203         bool "  Support long options (--hctosys,...)" 
    204         default n 
    205         depends on BUSYBOX_CONFIG_HWCLOCK 
     202config BUSYBOX_CONFIG_FEATURE_HWCLOCK_LONG_OPTIONS 
     203        bool "Support long options (--hctosys,...)" 
     204        default n 
     205        depends on BUSYBOX_CONFIG_HWCLOCK && BUSYBOX_CONFIG_GETOPT_LONG 
    206206        help 
    207207          By default, the hwclock utility only uses short options.  If you 
     
    210210 
    211211config BUSYBOX_CONFIG_FEATURE_HWCLOCK_ADJTIME_FHS 
    212         bool "  Use FHS /var/lib/hwclock/adjtime" 
    213         default n 
     212        bool "Use FHS /var/lib/hwclock/adjtime" 
     213        default y 
    214214        depends on BUSYBOX_CONFIG_HWCLOCK 
    215215        help 
     
    256256 
    257257config BUSYBOX_CONFIG_FEATURE_MDEV_CONF 
    258         bool "  Support /etc/mdev.conf" 
     258        bool "Support /etc/mdev.conf" 
    259259        default n 
    260260        depends on BUSYBOX_CONFIG_MDEV 
    261261        help 
    262           The mdev config file contains lines that look like: 
     262          The mdev config BUSYBOX_file contains lines that look like: 
    263263 
    264264            hd[a-z][0-9]* 0:3 660 
    265265 
    266266          That's device name (with regex match), uid:gid, and permissions. 
    267  
    268           Optionally, that can be followed (on the same line) by an asterisk 
    269           and a command line to run after creating the corresponding device(s), 
    270           ala: 
    271  
    272             hdc root:cdrom 660  *ln -s hdc cdrom 
    273267 
    274268          Config file parsing stops on the first matching line.  If no config 
    275269          entry is matched, devices are created with default 0:0 660.  (Make 
    276270          the last line match .* to override this.) 
     271 
     272config BUSYBOX_CONFIG_FEATURE_MDEV_EXEC 
     273        bool "Support command execution at device addition/removal" 
     274        default n 
     275        depends on BUSYBOX_CONFIG_FEATURE_MDEV_CONF 
     276        help 
     277          This adds support for an optional field to /etc/mdev.conf, consisting 
     278          of a special character and a command line to run after creating the 
     279          corresponding device(s) and before removing, ala: 
     280 
     281            hdc root:cdrom 660  *ln -s $MDEV cdrom 
     282 
     283          The $MDEV environment variable is set to the name of the device. 
     284 
     285          The special characters and their meanings are: 
     286            @ Run after creating the device. 
     287            $ Run before removing the device. 
     288            * Run both after creating and before removing the device. 
     289 
     290          Commands are executed via system() so you need /bin/sh, meaning you 
     291          probably want to select a default shell in the Shells menu. 
    277292 
    278293config BUSYBOX_CONFIG_MKSWAP 
     
    289304          the swap space using the 'swapon' utility. 
    290305 
     306config BUSYBOX_CONFIG_FEATURE_MKSWAP_V0 
     307        bool "version 0 support" 
     308        default n 
     309        depends on BUSYBOX_CONFIG_MKSWAP 
     310#       depends on BUSYBOX_CONFIG_MKSWAP && BUSYBOX_CONFIG_DEPRECATED 
     311        help 
     312          Enable support for the old v0 style. 
     313          If your kernel is older than 2.1.117, then v0 support is the 
     314          only option. 
     315 
    291316config BUSYBOX_CONFIG_MORE 
    292317        bool "more" 
     
    300325 
    301326config BUSYBOX_CONFIG_FEATURE_USE_TERMIOS 
    302         bool "  Use termios to manipulate the screen" 
     327        bool "Use termios to manipulate the screen" 
    303328        default y 
    304329        depends on BUSYBOX_CONFIG_MORE 
     
    322347 
    323348config BUSYBOX_CONFIG_FEATURE_MOUNT_NFS 
    324         bool "  Support mounting NFS file systems" 
     349        bool "Support mounting NFS file systems" 
    325350        default y 
    326351        depends on BUSYBOX_CONFIG_MOUNT 
     
    404429 
    405430config BUSYBOX_CONFIG_FEATURE_UMOUNT_ALL 
    406         bool "  umount -a option" 
     431        bool "umount -a option" 
    407432        default y 
    408433        depends on BUSYBOX_CONFIG_UMOUNT 
     
    414439 
    415440config BUSYBOX_CONFIG_FEATURE_MOUNT_LOOP 
    416         bool "  Support loopback mounts" 
     441        bool "Support loopback mounts" 
    417442        default y 
    418443        depends on BUSYBOX_CONFIG_MOUNT || BUSYBOX_CONFIG_UMOUNT 
     
    430455 
    431456config BUSYBOX_CONFIG_FEATURE_MTAB_SUPPORT 
    432         bool "  Support for the old /etc/mtab file" 
    433         default n 
    434         depends on BUSYBOX_CONFIG_MOUNT || BUSYBOX_CONFIG_UMOUNT 
     457        bool "Support for the old /etc/mtab file" 
     458        default n 
     459        depends on CONFIG_MOUNT || CONFIG_UMOUNT 
    435460        help 
    436461          Historically, Unix systems kept track of the currently mounted 
     
    446471          features like separate per-process filesystem namespaces, requires 
    447472          that your /etc directory be writeable, tends to get easily confused 
    448           by --bind or --move mounts, and so on.  (In brief: avoid.) 
     473          by --bind or --move mounts, won't update if you rename a directory 
     474          that contains a mount point, and so on.  (In brief: avoid.) 
     475 
     476          About the only reason to use this is if you've removed /proc from 
     477          your kernel. 
    449478 
    450479endmenu 
  • trunk/freewrt/package/busybox/patches/100-killall5.patch

    r1 r993  
    1 diff -Nur busybox-1.1.1/include/applets.h busybox-1.1.1-owrt/include/applets.h 
    2 --- busybox-1.1.1/include/applets.h    2006-03-22 22:16:24.000000000 +0100 
    3 +++ busybox-1.1.1-owrt/include/applets.h       2006-04-01 18:23:43.000000000 +0200 
    4 @@ -154,6 +154,7 @@ 
    5  USE_IPTUNNEL(APPLET(iptunnel, iptunnel_main, _BB_DIR_BIN, _BB_SUID_NEVER)) 
    6  USE_KILL(APPLET(kill, kill_main, _BB_DIR_BIN, _BB_SUID_NEVER)) 
    7  USE_KILLALL(APPLET(killall, kill_main, _BB_DIR_USR_BIN, _BB_SUID_NEVER)) 
    8 +USE_KILLALL5(APPLET(killall5, kill_main, _BB_DIR_USR_BIN, _BB_SUID_NEVER)) 
    9  USE_KLOGD(APPLET(klogd, klogd_main, _BB_DIR_SBIN, _BB_SUID_NEVER)) 
    10  USE_LASH(APPLET(lash, lash_main, _BB_DIR_BIN, _BB_SUID_NEVER)) 
    11  USE_LAST(APPLET(last, last_main, _BB_DIR_USR_BIN, _BB_SUID_NEVER)) 
    12 diff -Nur busybox-1.1.1/include/usage.h busybox-1.1.1-owrt/include/usage.h 
    13 --- busybox-1.1.1/include/usage.h      2006-03-22 22:16:24.000000000 +0100 
    14 +++ busybox-1.1.1-owrt/include/usage.h 2006-04-01 18:22:53.000000000 +0200 
    15 @@ -1598,6 +1598,13 @@ 
     1diff -ruN busybox-1.2.0-old/include/applets.h busybox-1.2.0-new/include/applets.h 
     2--- busybox-1.2.0-old/include/applets.h        2006-07-01 00:42:10.000000000 +0200 
     3+++ busybox-1.2.0-new/include/applets.h        2006-07-31 00:29:34.000000000 +0200 
     4@@ -157,6 +157,7 @@ 
     5 USE_IPTUNNEL(APPLET(iptunnel, _BB_DIR_BIN, _BB_SUID_NEVER)) 
     6 USE_KILL(APPLET(kill, _BB_DIR_BIN, _BB_SUID_NEVER)) 
     7 USE_KILLALL(APPLET_ODDNAME(killall, kill, _BB_DIR_USR_BIN, _BB_SUID_NEVER, killall)) 
     8+USE_KILLALL5(APPLET_ODDNAME(killall5, kill, _BB_DIR_USR_BIN, _BB_SUID_NEVER, killall5)) 
     9 USE_KLOGD(APPLET(klogd, _BB_DIR_SBIN, _BB_SUID_NEVER)) 
     10 USE_LASH(APPLET(lash, _BB_DIR_BIN, _BB_SUID_NEVER)) 
     11 USE_LAST(APPLET(last, _BB_DIR_USR_BIN, _BB_SUID_NEVER)) 
     12diff -ruN busybox-1.2.0-old/include/usage.h busybox-1.2.0-new/include/usage.h 
     13--- busybox-1.2.0-old/include/usage.h  2006-07-01 00:42:10.000000000 +0200 
     14+++ busybox-1.2.0-new/include/usage.h  2006-07-31 00:25:57.000000000 +0200 
     15@@ -1503,6 +1503,13 @@ 
    1616 #define killall_example_usage \ 
    1717        "$ killall apache\n" 
     
    2727        "[-c n] [-n]" 
    2828 #define klogd_full_usage \ 
    29 diff -Nur busybox-1.1.1/procps/Config.in busybox-1.1.1-owrt/procps/Config.in 
    30 --- busybox-1.1.1/procps/Config.in     2006-03-22 22:16:25.000000000 +0100 
    31 +++ busybox-1.1.1-owrt/procps/Config.in        2006-04-01 18:22:53.000000000 +0200 
     29diff -ruN busybox-1.2.0-old/procps/Config.in busybox-1.2.0-new/procps/Config.in 
     30--- busybox-1.2.0-old/procps/Config.in 2006-07-01 00:42:12.000000000 +0200 
     31+++ busybox-1.2.0-new/procps/Config.in 2006-07-31 00:25:57.000000000 +0200 
    3232@@ -38,6 +38,11 @@ 
    3333          specified commands.  If no signal name is specified, SIGTERM is 
     
    4242        bool "pidof" 
    4343        default n 
    44 diff -Nur busybox-1.1.1/procps/kill.c busybox-1.1.1-owrt/procps/kill.c 
    45 --- busybox-1.1.1/procps/kill.c        2006-03-22 22:16:25.000000000 +0100 
    46 +++ busybox-1.1.1-owrt/procps/kill.c   2006-04-01 18:22:53.000000000 +0200 
    47 @@ -34,6 +34,7 @@ 
     44diff -ruN busybox-1.2.0-old/procps/kill.c busybox-1.2.0-new/procps/kill.c 
     45--- busybox-1.2.0-old/procps/kill.c    2006-07-01 00:42:12.000000000 +0200 
     46+++ busybox-1.2.0-new/procps/kill.c    2006-07-31 00:25:57.000000000 +0200 
     47@@ -20,6 +20,7 @@ 
    4848  
    4949 #define KILL 0 
     
    5353 int kill_main(int argc, char **argv) 
    5454 { 
    55 @@ -48,6 +49,9 @@ 
     55@@ -34,6 +35,9 @@ 
    5656 #else 
    5757        whichApp = KILL; 
     
    6363        /* Parse any options */ 
    6464        if (argc < 2) 
    65 @@ -126,6 +130,20 @@ 
     65@@ -112,6 +116,20 @@ 
    6666                } 
    6767  
  • trunk/freewrt/package/busybox/patches/110-telnetd.patch

    r1 r993  
    1 diff -ur busybox-1.1.0/networking/telnetd.c busybox-1.1.0-owrt/networking/telnetd.c 
    2 --- busybox-1.1.0/networking/telnetd.c 2006-01-11 06:43:51.000000000 +0100 
    3 +++ busybox-1.1.0-owrt/networking/telnetd.c    2006-01-14 17:41:20.000000000 +0100 
    4 @@ -45,6 +45,7 @@ 
     1diff -Nur busybox-1.2.1.orig/networking/telnetd.c busybox-1.2.1/networking/telnetd.c 
     2--- busybox-1.2.1.orig/networking/telnetd.c    2006-07-01 00:42:02.000000000 +0200 
     3+++ busybox-1.2.1/networking/telnetd.c 2006-10-17 12:21:14.000000000 +0200 
     4@@ -44,6 +44,7 @@ 
    55 #include <arpa/telnet.h> 
    66 #include <ctype.h> 
     
    1010 #include "busybox.h" 
    1111  
    12 @@ -394,11 +395,13 @@ 
     12@@ -391,11 +392,13 @@ 
    1313        struct in_addr bind_addr = { .s_addr = 0x0 }; 
    1414 #endif /* CONFIG_FEATURE_TELNETD_INETD */ 
     
    2626        int maxlen, w, r; 
    2727  
    28 @@ -413,6 +416,9 @@ 
     28@@ -410,6 +413,9 @@ 
    2929                        case 'f': 
    3030                                issuefile = optarg; 
     
    3636                                loginpath = optarg; 
    3737                                break; 
    38 @@ -465,6 +471,13 @@ 
     38@@ -459,6 +465,13 @@ 
    3939        sa.sin_addr = bind_addr; 
    4040 #endif 
     
    4444+               strncpy(interface.ifr_ifrn.ifrn_name, interface_name, IFNAMSIZ); 
    4545+               (void)setsockopt(master_fd, SOL_SOCKET, 
    46 +                               SO_BINDTODEVICE, &interface, sizeof(interface)); 
     46+                                              SO_BINDTODEVICE, &interface, sizeof(interface)); 
    4747+       } 
    4848+ 
    49         if (bind(master_fd, (struct sockaddr *) &sa, sizeof(sa)) < 0) { 
    50                bb_perror_msg_and_die("bind"); 
    51         } 
     49        bb_xbind(master_fd, (struct sockaddr *) &sa, sizeof(sa)); 
     50        bb_xlisten(master_fd, 1); 
     51        bb_xdaemon(0, 0); 
  • trunk/freewrt/package/busybox/patches/140-unlink-passwd.patch

    r1 r993  
    1 --- busybox-1.00.old/loginutils/passwd.c        2004-09-15 04:39:09.000000000 +0200 
    2 +++ busybox-1.00/loginutils/passwd.c    2005-03-23 15:31:07.000000000 +0100 
     1diff -Nur busybox-1.2.1.orig/loginutils/passwd.c busybox-1.2.1/loginutils/passwd.c 
     2--- busybox-1.2.1.orig/loginutils/passwd.c      2006-07-29 00:53:44.000000000 +0200 
     3+++ busybox-1.2.1/loginutils/passwd.c   2006-10-17 12:24:09.000000000 +0200 
    34@@ -54,11 +54,12 @@ 
    45                snprintf(filename, sizeof filename, "%s", bb_path_passwd_file); 
     
    2324        snprintf(buf, sizeof buf, "%s-", filename); 
    2425        if (create_backup(buf, fp)) { 
    25 @@ -119,6 +121,7 @@ 
     26@@ -120,6 +122,7 @@ 
    2627                fclose(fp); 
    2728                return 1; 
  • trunk/freewrt/package/busybox/patches/150-udhcp-release.patch

    r1 r993  
    1 diff -Nur busybox-1.1.1/include/usage.h busybox-1.1.1-owrt/include/usage.h 
    2 --- busybox-1.1.1/include/usage.h      2006-04-01 18:26:21.000000000 +0200 
    3 +++ busybox-1.1.1-owrt/include/usage.h 2006-04-01 18:27:45.000000000 +0200 
    4 @@ -3268,6 +3268,7 @@ 
     1diff -Nur busybox-1.2.1.orig/include/usage.h busybox-1.2.1/include/usage.h 
     2--- busybox-1.2.1.orig/include/usage.h 2006-10-17 12:22:12.000000000 +0200 
     3+++ busybox-1.2.1/include/usage.h      2006-10-17 12:25:18.000000000 +0200 
     4@@ -3190,6 +3190,7 @@ 
    55        "\t-n,\t--now\tExit with failure if lease cannot be immediately negotiated\n" \ 
    66        "\t-p,\t--pidfile=file\tStore process ID of daemon in file\n" \ 
     
    1010        "\t-s,\t--script=file\tRun file at dhcp events (default: /usr/share/udhcpc/default.script)\n" \ 
    1111        "\t-t,\t--retries=NUM\tSend up to NUM request packets\n"\ 
    12 diff -Nur busybox-1.1.1/networking/udhcp/dhcpc.c busybox-1.1.1-owrt/networking/udhcp/dhcpc.c 
    13 --- busybox-1.1.1/networking/udhcp/dhcpc.c     2006-03-22 22:16:19.000000000 +0100 
    14 +++ busybox-1.1.1-owrt/networking/udhcp/dhcpc.c        2006-04-01 18:28:19.000000000 +0200 
    15 @@ -49,6 +49,7 @@ 
     12diff -Nur busybox-1.2.1.orig/networking/udhcp/dhcpc.c busybox-1.2.1/networking/udhcp/dhcpc.c 
     13--- busybox-1.2.1.orig/networking/udhcp/dhcpc.c        2006-07-01 00:42:02.000000000 +0200 
     14+++ busybox-1.2.1/networking/udhcp/dhcpc.c     2006-10-17 12:25:18.000000000 +0200 
     15@@ -47,6 +47,7 @@ 
    1616        .abort_if_no_lease = 0, 
    1717        .foreground = 0, 
     
    2121        .interface = "eth0", 
    2222        .pidfile = NULL, 
    23 @@ -82,6 +83,7 @@ 
    24  "                                  immediately negotiated.\n" 
    25  "  -p, --pidfile=file              Store process ID of daemon in file\n" 
    26  "  -q, --quit                      Quit after obtaining lease\n" 
    27 +"  -R, --release                   Release IP on quit\n" 
    28  "  -r, --request=IP                IP address to request (default: none)\n" 
    29  "  -s, --script=file               Run file at dhcp events (default:\n" 
    30  "                                  " DEFAULT_SCRIPT ")\n" 
    31 @@ -203,6 +205,7 @@ 
     23@@ -163,6 +164,7 @@ 
    3224                {"now",         no_argument,            0, 'n'}, 
    3325                {"pidfile",     required_argument,      0, 'p'}, 
     
    3729                {"script",      required_argument,      0, 's'}, 
    3830                {"timeout",     required_argument,      0, 'T'}, 
    39 @@ -214,7 +217,7 @@ 
     31@@ -174,7 +176,7 @@ 
    4032        /* get options */ 
    4133        while (1) { 
     
    4638  
    4739                switch (c) { 
    48 @@ -284,6 +287,9 @@ 
     40@@ -244,6 +246,9 @@ 
    4941                case 'q': 
    5042                        client_config.quit_after_lease = 1; 
     
    5648                        requested_ip = inet_addr(optarg); 
    5749                        break; 
    58 @@ -527,8 +533,11 @@ 
     50@@ -488,8 +493,11 @@ 
    5951  
    6052                                        state = BOUND; 
     
    6961                                                client_background(); 
    7062  
    71 @@ -553,12 +562,13 @@ 
     63@@ -514,12 +522,13 @@ 
    7264                        case SIGUSR1: 
    7365                                perform_renew(); 
     
    8678                } else if (retval == -1 && errno == EINTR) { 
    8779                        /* a signal was caught */ 
    88 diff -Nur busybox-1.1.1/networking/udhcp/dhcpc.h busybox-1.1.1-owrt/networking/udhcp/dhcpc.h 
    89 --- busybox-1.1.1/networking/udhcp/dhcpc.h     2006-03-22 22:16:19.000000000 +0100 
    90 +++ busybox-1.1.1-owrt/networking/udhcp/dhcpc.h        2006-04-01 18:27:45.000000000 +0200 
    91 @@ -19,6 +19,7 @@ 
     80diff -Nur busybox-1.2.1.orig/networking/udhcp/dhcpc.h busybox-1.2.1/networking/udhcp/dhcpc.h 
     81--- busybox-1.2.1.orig/networking/udhcp/dhcpc.h        2006-07-01 00:42:02.000000000 +0200 
     82+++ busybox-1.2.1/networking/udhcp/dhcpc.h     2006-10-17 12:25:18.000000000 +0200 
     83@@ -18,6 +18,7 @@ 
    9284 struct client_config_t { 
    9385        char foreground;                /* Do not fork */ 
  • trunk/freewrt/package/busybox/patches/170-udhcp-options.patch

    r1 r993  
    1 diff -Nur busybox-1.00.orig/networking/udhcp/options.c busybox-1.00/networking/udhcp/options.c 
    2 --- busybox-1.00.orig/networking/udhcp/options.c       2004-03-15 09:29:01.000000000 +0100 
    3 +++ busybox-1.00/networking/udhcp/options.c    2005-09-14 13:27:23.792609800 +0200 
    4 @@ -39,8 +39,11 @@ 
     1diff -Nur busybox-1.2.1.orig/networking/udhcp/options.c busybox-1.2.1/networking/udhcp/options.c 
     2--- busybox-1.2.1.orig/networking/udhcp/options.c      2006-07-01 00:42:02.000000000 +0200 
     3+++ busybox-1.2.1/networking/udhcp/options.c   2006-10-17 12:35:30.000000000 +0200 
     4@@ -41,8 +41,11 @@ 
    55        {"dhcptype",    OPTION_U8,                              0x35}, 
    66        {"serverid",    OPTION_IP,                              0x36}, 
  • trunk/freewrt/package/busybox/patches/180-telnetd_ipv6.patch

    r1 r993  
    1 diff -urN busybox.old/networking/telnetd.c busybox.dev/networking/telnetd.c 
    2 --- busybox.old/networking/telnetd.c   2005-08-17 03:29:10.000000000 +0200 
    3 +++ busybox.dev/networking/telnetd.c   2005-10-22 19:37:49.976396000 +0200 
    4 @@ -49,6 +49,8 @@ 
     1diff -Nur busybox-1.2.1.orig/networking/telnetd.c busybox-1.2.1/networking/telnetd.c 
     2--- busybox-1.2.1.orig/networking/telnetd.c    2006-10-17 12:23:28.000000000 +0200 
     3+++ busybox-1.2.1/networking/telnetd.c 2006-10-17 12:37:30.000000000 +0200 
     4@@ -50,6 +50,8 @@ 
    55  
    66 #define BUFSIZE 4000 
  • trunk/freewrt/package/busybox/patches/190-ash_performance.patch

    r1 r993  
    1 diff -urN busybox.old/shell/ash.c busybox.dev/shell/ash.c 
    2 --- busybox.old/shell/ash.c    2005-11-12 22:39:19.853826250 +0100 
    3 +++ busybox.dev/shell/ash.c    2005-11-12 22:39:42.771258500 +0100 
    4 @@ -1414,6 +1414,13 @@ 
     1diff -Nur busybox-1.2.1.orig/shell/ash.c busybox-1.2.1/shell/ash.c 
     2--- busybox-1.2.1.orig/shell/ash.c     2006-07-29 00:53:44.000000000 +0200 
     3+++ busybox-1.2.1/shell/ash.c  2006-10-23 16:32:05.000000000 +0200 
     4@@ -1384,6 +1384,13 @@ 
    55  
    66 #define NUMBUILTINS  (sizeof (builtincmd) / sizeof (struct builtincmd) ) 
     
    1616  
    1717 struct cmdentry { 
    18 @@ -2050,6 +2057,19 @@ 
    19  static void exitshell(void) __attribute__((__noreturn__))
     18@@ -2037,6 +2044,19 @@ 
     19 static void exitshell(void) ATTRIBUTE_NORETURN
    2020 static int decode_signal(const char *, int); 
    2121  
     
    3636  * This routine is called when an error or an interrupt occurs in an 
    3737  * interactive shell and control is returned to the main command loop. 
    38 @@ -3680,6 +3700,7 @@ 
     38@@ -3694,6 +3714,7 @@ 
    3939        clearredir(1); 
    4040        envp = environment(); 
     
    4444                || find_applet_by_name(argv[0]) 
    4545 #endif 
    46 @@ -3721,6 +3742,18 @@ 
     46@@ -3736,6 +3757,18 @@ 
    4747 tryexec(char *cmd, char **argv, char **envp) 
    4848 { 
     
    6161+       } 
    6262 #ifdef CONFIG_FEATURE_SH_STANDALONE_SHELL 
    63         int flg_bb = 0; 
    64         char *name = cmd; 
    65 @@ -3919,6 +3952,12 @@ 
     63        if(find_applet_by_name(cmd) != NULL) { 
     64               /* re-exec ourselves with the new arguments */ 
     65@@ -3918,6 +3951,12 @@ 
    6666        } 
    6767 #endif 
  • trunk/freewrt/package/busybox/patches/200-etc_crontabs.patch

    r1 r993  
    1 diff -urN busybox.old/miscutils/crond.c busybox.dev/miscutils/crond.c 
    2 --- busybox.old/miscutils/crond.c      2004-04-14 19:51:21.000000000 +0200 
    3 +++ busybox.dev/miscutils/crond.c      2005-12-11 22:54:07.878256250 +0100 
    4 @@ -36,7 +36,7 @@ 
     1diff -Nur busybox-1.2.1.orig/miscutils/crond.c busybox-1.2.1/miscutils/crond.c 
     2--- busybox-1.2.1.orig/miscutils/crond.c       2006-07-01 00:42:09.000000000 +0200 
     3+++ busybox-1.2.1/miscutils/crond.c    2006-10-23 16:33:40.000000000 +0200 
     4@@ -33,7 +33,7 @@ 
    55 #define arysize(ary)    (sizeof(ary)/sizeof((ary)[0])) 
    66  
     
    1111 #ifndef TMPDIR 
    1212 #define TMPDIR          "/var/spool/cron" 
    13 diff -urN busybox.old/miscutils/crontab.c busybox.dev/miscutils/crontab.c 
    14 --- busybox.old/miscutils/crontab.c    2004-04-14 19:51:21.000000000 +0200 
    15 +++ busybox.dev/miscutils/crontab.c    2005-12-11 22:54:28.647554250 +0100 
    16 @@ -28,7 +28,7 @@ 
     13diff -Nur busybox-1.2.1.orig/miscutils/crontab.c busybox-1.2.1/miscutils/crontab.c 
     14--- busybox-1.2.1.orig/miscutils/crontab.c     2006-07-01 00:42:09.000000000 +0200 
     15+++ busybox-1.2.1/miscutils/crontab.c  2006-10-23 16:33:40.000000000 +0200 
     16@@ -29,7 +29,7 @@ 
    1717 #include <sys/resource.h> 
    1818  
  • trunk/freewrt/package/busybox/patches/210-passwd_limit.patch

    r1 r993  
    1 diff -urN busybox.old/loginutils/passwd.c busybox.dev/loginutils/passwd.c 
    2 --- busybox.old/loginutils/passwd.c    2005-12-11 22:52:46.185150000 +0100 
    3 +++ busybox.dev/loginutils/passwd.c    2005-12-11 23:19:15.276596500 +0100 
    4 @@ -353,7 +353,7 @@ 
     1diff -Nur busybox-1.2.1.orig/loginutils/passwd.c busybox-1.2.1/loginutils/passwd.c 
     2--- busybox-1.2.1.orig/loginutils/passwd.c     2006-10-23 16:31:36.000000000 +0200 
     3+++ busybox-1.2.1/loginutils/passwd.c  2006-10-23 16:34:24.000000000 +0200 
     4@@ -346,7 +346,7 @@ 
    55        } else { 
    66                orig[0] = '\0'; 
  • trunk/freewrt/package/busybox/patches/220-awk_bitops.patch

    r1 r993  
    1 --- busybox-1.00/editors/awk.c.orig     2004-09-24 05:24:27 -04:00 
    2 +++ busybox-1.00/editors/awk.c  2006-03-08 02:16:52 -05:00 
    3 @@ -271,7 +271,8 @@ 
     1diff -Nur busybox-1.2.1.orig/editors/awk.c busybox-1.2.1/editors/awk.c 
     2--- busybox-1.2.1.orig/editors/awk.c    2006-07-01 00:42:13.000000000 +0200 
     3+++ busybox-1.2.1/editors/awk.c 2006-10-23 16:35:00.000000000 +0200 
     4@@ -259,7 +259,8 @@ 
    45 /* builtins */ 
    56 enum { 
     
    1112  
    1213 /* tokens and their corresponding info values */ 
    13 @@ -311,6 +312,8 @@ 
     14@@ -299,6 +300,8 @@ 
    1415        "\5while"       NTC 
    1516        "\4else"        NTC 
     
    2021        "\3cos"         "\3exp"         "\3int"         "\3log" 
    2122        "\4rand"        "\3sin"         "\4sqrt"        "\5srand" 
    22 @@ -364,6 +367,8 @@ 
     23@@ -352,6 +355,8 @@ 
    2324        ST_WHILE, 
    2425        0, 
     
    2930        OC_FBLTIN|Nx|F_co, OC_FBLTIN|Nx|F_ex, OC_FBLTIN|Nx|F_in, OC_FBLTIN|Nx|F_lg, 
    3031        OC_FBLTIN|F_rn,    OC_FBLTIN|Nx|F_si, OC_FBLTIN|Nx|F_sq, OC_FBLTIN|Nx|F_sr, 
    31 @@ -1942,6 +1947,30 @@ 
    32                 strncpy(s, as[0]+i, n); 
     32@@ -1933,6 +1938,30 @@ 
    3333                s[n] = '\0'; 
    3434                setvar_p(res, s); 
    35 +             break; 
     35              break; 
    3636+                
    3737+        case B_an: 
     
    5757+        case B_xo: 
    5858+               setvar_i(res, (long)getvar_i(av[0]) ^ (long)getvar_i(av[1])); 
    59               break; 
     59+             break; 
    6060  
    6161          case B_lo: 
     62                to_xxx = tolower; 
  • trunk/freewrt/package/busybox/patches/300-netmsg.patch

    r1 r993  
    1 diff -Nur busybox-1.1.1/include/applets.h busybox-1.1.1-owrt/include/applets.h 
    2 --- busybox-1.1.1/include/applets.h     2006-04-01 18:26:21.000000000 +0200 
    3 +++ busybox-1.1.1-owrt/include/applets.h        2006-04-01 18:36:28.000000000 +0200 
    4 @@ -197,6 +197,7 @@ 
    5  USE_MV(APPLET(mv, mv_main, _BB_DIR_BIN, _BB_SUID_NEVER)) 
    6  USE_NAMEIF(APPLET(nameif, nameif_main, _BB_DIR_SBIN, _BB_SUID_NEVER)) 
    7  USE_NC(APPLET(nc, nc_main, _BB_DIR_USR_BIN, _BB_SUID_NEVER)) 
    8 +USE_NETMSG(APPLET_NOUSAGE(netmsg, netmsg_main, _BB_DIR_BIN, _BB_SUID_ALWAYS)) 
    9  USE_NETSTAT(APPLET(netstat, netstat_main, _BB_DIR_BIN, _BB_SUID_NEVER)) 
    10  USE_NICE(APPLET(nice, nice_main, _BB_DIR_BIN, _BB_SUID_NEVER)) 
    11  USE_NOHUP(APPLET(nohup, nohup_main, _BB_DIR_USR_BIN, _BB_SUID_NEVER)) 
    12 diff -Nur busybox-1.1.1/networking/Config.in busybox-1.1.1-owrt/networking/Config.in 
    13 --- busybox-1.1.1/networking/Config.in  2006-03-22 22:16:19.000000000 +0100 
    14 +++ busybox-1.1.1-owrt/networking/Config.in     2006-04-01 18:35:32.000000000 +0200 
    15 @@ -451,6 +451,12 @@ 
     1# Copyright (C) 2006 OpenWrt.org 
     2
     3# This is free software, licensed under the GNU General Public License v2. 
     4# See /LICENSE for more information. 
     5
     6diff -ruN busybox-1.2.0-old/include/applets.h busybox-1.2.0-new/include/applets.h 
     7--- busybox-1.2.0-old/include/applets.h 2006-07-31 10:47:56.000000000 +0200 
     8+++ busybox-1.2.0-new/include/applets.h 2006-07-31 11:21:00.000000000 +0200 
     9@@ -200,6 +200,7 @@ 
     10 USE_MV(APPLET(mv, _BB_DIR_BIN, _BB_SUID_NEVER)) 
     11 USE_NAMEIF(APPLET(nameif, _BB_DIR_SBIN, _BB_SUID_NEVER)) 
     12 USE_NC(APPLET(nc, _BB_DIR_USR_BIN, _BB_SUID_NEVER)) 
     13+USE_NETMSG(APPLET_NOUSAGE(netmsg, netmsg, _BB_DIR_BIN, _BB_SUID_ALWAYS)) 
     14 USE_NETSTAT(APPLET(netstat, _BB_DIR_BIN, _BB_SUID_NEVER)) 
     15 USE_NICE(APPLET(nice, _BB_DIR_BIN, _BB_SUID_NEVER)) 
     16 USE_NOHUP(APPLET(nohup, _BB_DIR_USR_BIN, _BB_SUID_NEVER)) 
     17diff -ruN busybox-1.2.0-old/networking/Config.in busybox-1.2.0-new/networking/Config.in 
     18--- busybox-1.2.0-old/networking/Config.in      2006-07-01 00:42:02.000000000 +0200 
     19+++ busybox-1.2.0-new/networking/Config.in      2006-07-31 11:18:01.000000000 +0200 
     20@@ -445,6 +445,12 @@ 
    1621        help 
    1722          A simple Unix utility which reads and writes data across network 
     
    2631 config CONFIG_NC_GAPING_SECURITY_HOLE 
    2732        bool "gaping security hole" 
    28 diff -Nur busybox-1.1.1/networking/Makefile.in busybox-1.1.1-owrt/networking/Makefile.in 
    29 --- busybox-1.1.1/networking/Makefile.in       2006-03-22 22:16:19.000000000 +0100 
    30 +++ busybox-1.1.1-owrt/networking/Makefile.in  2006-04-01 18:35:32.000000000 +0200 
     33diff -ruN busybox-1.2.0-old/networking/Makefile.in busybox-1.2.0-new/networking/Makefile.in 
     34--- busybox-1.2.0-old/networking/Makefile.in   2006-07-01 00:42:02.000000000 +0200 
     35+++ busybox-1.2.0-new/networking/Makefile.in   2006-07-31 11:18:01.000000000 +0200 
    3136@@ -30,6 +30,7 @@ 
    3237 NETWORKING-$(CONFIG_IPTUNNEL)     += iptunnel.o 
     
    3742 NETWORKING-$(CONFIG_NSLOOKUP)     += nslookup.o 
    3843 NETWORKING-$(CONFIG_PING)         += ping.o 
    39 diff -Nur busybox-1.1.1/networking/netmsg.c busybox-1.1.1-owrt/networking/netmsg.c 
    40 --- busybox-1.1.1/networking/netmsg.c   1970-01-01 01:00:00.000000000 +0100 
    41 +++ busybox-1.1.1-owrt/networking/netmsg.c      2006-04-01 18:35:32.000000000 +0200 
    42 @@ -0,0 +1,58 @@ 
     44diff -ruN busybox-1.2.0-old/networking/netmsg.c busybox-1.2.0-new/networking/netmsg.c 
     45--- busybox-1.2.0-old/networking/netmsg.c       1970-01-01 01:00:00.000000000 +0100 
     46+++ busybox-1.2.0-new/networking/netmsg.c       2006-07-31 11:18:01.000000000 +0200 
     47@@ -0,0 +1,63 @@ 
     48+/* 
     49+ * Copyright (C) 2006 Felix Fietkau <nbd@openwrt.org> 
     50+ * 
     51+ * This is free software, licensed under the GNU General Public License v2. 
     52+ */ 
    4353+#include <sys/types.h> 
    4454+#include <sys/socket.h> 
  • trunk/freewrt/package/busybox/patches/310-passwd_access.patch

    r1 r993  
    1 diff -urN busybox.old/networking/httpd.c busybox.dev/networking/httpd.c 
    2 --- busybox.old/networking/httpd.c     2004-10-08 10:03:29.000000000 +0200 
    3 +++ busybox.dev/networking/httpd.c     2006-02-04 01:54:19.688016250 +0100 
    4 @@ -1467,12 +1467,22 @@ 
     1diff -Nur busybox-1.2.1.orig/networking/httpd.c busybox-1.2.1/networking/httpd.c 
     2--- busybox-1.2.1.orig/networking/httpd.c      2006-07-01 00:42:02.000000000 +0200 
     3+++ busybox-1.2.1/networking/httpd.c   2006-10-23 16:36:05.000000000 +0200 
     4@@ -1432,12 +1432,26 @@ 
    55                { 
    66                        char *cipher; 
     
    1717+                                                pp[3] == '$' && pp[4] && 
    1818+                                                (pwd = getpwnam(&pp[4])) != NULL) { 
     19+                               if(pwd->pw_passwd && pwd->pw_passwd[0] == '!') { 
     20+                                       prev = NULL; 
     21+                                       continue; 
     22+                               } 
    1923+                               ppnew = malloc(5 + strlen(pwd->pw_passwd)); 
    2024+                               ppnew[0] = ':'; 
     
    2529                                                 pp[3] == '$' && pp[4]) { 
    2630                                pp++; 
    27 @@ -1482,6 +1492,10 @@ 
     31@@ -1447,6 +1461,10 @@ 
    2832                                /* unauthorized */ 
    2933                                continue; 
  • trunk/freewrt/package/busybox/patches/320-httpd_address_binding.patch

    r1 r993  
    1 --- busybox-1.1.1/networking/httpd.c    2006-03-22 22:16:19.000000000 +0100 
    2 +++ busybox-1.1.1.new/networking/httpd.c        2006-04-01 19:41:42.150744624 +0200 
    3 @@ -110,6 +110,7 @@ 
     1diff -Nur busybox-1.2.1.orig/networking/httpd.c busybox-1.2.1/networking/httpd.c 
     2--- busybox-1.2.1.orig/networking/httpd.c       2006-10-23 16:36:30.000000000 +0200 
     3+++ busybox-1.2.1/networking/httpd.c    2006-10-23 16:36:37.000000000 +0200 
     4@@ -99,6 +99,7 @@ 
    45 #include <sys/types.h> 
    56 #include <sys/socket.h>    /* for connect and socket*/ 
    67 #include <netinet/in.h>    /* for sockaddr_in       */ 
    78+#include <arpa/inet.h> 
    8  #include <sys/time.h> 
    99 #include <sys/stat.h> 
    1010 #include <sys/wait.h> 
    11 @@ -204,8 +205,8 @@ 
    12   
    13  void bb_show_usage(void) 
    14  { 
    15 -  fprintf(stderr, "Usage: %s [-p <port>] [-c configFile] [-d/-e <string>] " 
    16 -                 "[-r realm] [-u user] [-h homedir]\n", bb_applet_name); 
    17 +  fprintf(stderr, "Usage: %s [-p <port>] [-l <IP address>] [-c configFile]" 
    18 +                 "[-d/-e <string>] [-r realm] [-u user] [-h homedir]\n", bb_applet_name); 
    19    exit(1); 
    20  } 
    21  #endif 
    22 @@ -255,6 +256,7 @@ 
     11 #include <fcntl.h>         /* for open modes        */ 
     12@@ -165,6 +166,7 @@ 
    2313 #endif 
    2414   unsigned port;           /* server initial port and for 
     
    2818        const char *found_mime_type; 
    2919        const char *found_moved_temporarily; 
    30 @@ -958,7 +960,10 @@ 
     20@@ -868,7 +870,10 @@ 
    3121   /* inet_addr() returns a value that is already in network order */ 
    3222   memset(&lsocket, 0, sizeof(lsocket)); 
     
    3727+         else lsocket.sin_addr.s_addr = htons(INADDR_ANY); 
    3828+  } 
    39    lsocket.sin_port = htons(config->port)
    40    fd = socket(AF_INET, SOCK_STREAM, 0); 
    41    if (fd >= 0) { 
    42 @@ -1996,6 +2001,7 @@ 
     29   lsocket.sin_port = htons(config->port)
     30   fd = bb_xsocket(AF_INET, SOCK_STREAM, 0); 
     31   /* tell the OS it's OK to reuse a previous address even though */ 
     32@@ -1917,6 +1922,7 @@ 
    4333        USE_FEATURE_HTTPD_AUTH_MD5(m_opt_md5,) 
    4434        USE_FEATURE_HTTPD_SETUID(u_opt_setuid,) 
    45         SKIP_FEATURE_HTTPD_USAGE_FROM_INETD_ONLY(p_opt_port,) 
    46 +       SKIP_FEATURE_HTTPD_USAGE_FROM_INETD_ONLY(l_opt_addr,) 
     35        USE_FEATURE_HTTPD_WITHOUT_INETD(p_opt_port,) 
     36+       USE_FEATURE_HTTPD_WITHOUT_INETD(l_opt_addr,) 
    4737 }; 
    4838  
    4939 static const char httpd_opts[]="c:d:h:" 
    50 @@ -2003,7 +2009,7 @@ 
     40@@ -1924,7 +1930,7 @@ 
    5141        USE_FEATURE_HTTPD_BASIC_AUTH("r:") 
    5242        USE_FEATURE_HTTPD_AUTH_MD5("m:") 
    5343        USE_FEATURE_HTTPD_SETUID("u:") 
    54 -       SKIP_FEATURE_HTTPD_USAGE_FROM_INETD_ONLY("p:"); 
    55 +       SKIP_FEATURE_HTTPD_USAGE_FROM_INETD_ONLY("p:l:"); 
     44-       USE_FEATURE_HTTPD_WITHOUT_INETD("p:"); 
     45+       USE_FEATURE_HTTPD_WITHOUT_INETD("p:l:"); 
    5646  
    5747 #define OPT_CONFIG_FILE (1<<c_opt_config_file) 
    5848 #define OPT_DECODE_URL  (1<<d_opt_decode_url) 
    59 @@ -2024,6 +2030,8 @@ 
    60  #define OPT_PORT        SKIP_FEATURE_HTTPD_USAGE_FROM_INETD_ONLY((1<<p_opt_port)) \ 
    61                         USE_FEATURE_HTTPD_USAGE_FROM_INETD_ONLY(0) 
     49@@ -1945,6 +1951,8 @@ 
     50 #define OPT_PORT        USE_FEATURE_HTTPD_WITHOUT_INETD((1<<p_opt_port)) \ 
     51                        SKIP_FEATURE_HTTPD_WITHOUT_INETD(0) 
    6252  
    63 +#define OPT_ADDRESS     SKIP_FEATURE_HTTPD_USAGE_FROM_INETD_ONLY((1<<l_opt_addr)) \ 
    64 +                       USE_FEATURE_HTTPD_USAGE_FROM_INETD_ONLY(0) 
     53+#define OPT_ADDRESS     USE_FEATURE_HTTPD_WITHOUT_INETD((1<<l_opt_addr)) \ 
     54+                       SKIP_FEATURE_HTTPD_WITHOUT_INETD(0) 
    6555  
    66  #ifdef HTTPD_STANDALONE 
    67  int main(int argc, char *argv[]) 
    68 @@ -2036,6 +2044,7 @@ 
     56 int httpd_main(int argc, char *argv[]) 
     57 { 
     58@@ -1953,6 +1961,7 @@ 
    6959   char *url_for_decode; 
    7060   USE_FEATURE_HTTPD_ENCODE_URL_STR(const char *url_for_encode;) 
    71    SKIP_FEATURE_HTTPD_USAGE_FROM_INETD_ONLY(const char *s_port;) 
    72 SKIP_FEATURE_HTTPD_USAGE_FROM_INETD_ONLY(const char *s_addr;) 
    73    SKIP_FEATURE_HTTPD_USAGE_FROM_INETD_ONLY(int server;) 
     61   USE_FEATURE_HTTPD_WITHOUT_INETD(const char *s_port;) 
     62USE_FEATURE_HTTPD_WITHOUT_INETD(const char *s_addr;) 
     63   USE_FEATURE_HTTPD_WITHOUT_INETD(int server;) 
    7464  
    7565   USE_FEATURE_HTTPD_SETUID(const char *s_uid;) 
    76 @@ -2050,6 +2059,7 @@ 
     66@@ -1967,6 +1976,7 @@ 
    7767  
    78  #ifndef CONFIG_FEATURE_HTTPD_USAGE_FROM_INETD_ONLY 
     68 #ifdef CONFIG_FEATURE_HTTPD_WITHOUT_INETD 
    7969   config->port = 80; 
    8070+  config->address = ""; 
     
    8272  
    8373   config->ContentLength = -1; 
    84 @@ -2061,6 +2071,7 @@ 
     74@@ -1978,6 +1988,7 @@ 
    8575                        USE_FEATURE_HTTPD_AUTH_MD5(, &pass) 
    8676                        USE_FEATURE_HTTPD_SETUID(, &s_uid) 
    87                         SKIP_FEATURE_HTTPD_USAGE_FROM_INETD_ONLY(, &s_port) 
    88 +                       SKIP_FEATURE_HTTPD_USAGE_FROM_INETD_ONLY(, &s_addr) 
     77                        USE_FEATURE_HTTPD_WITHOUT_INETD(, &s_port) 
     78+                       USE_FEATURE_HTTPD_WITHOUT_INETD(, &s_addr) 
    8979        ); 
    9080  
    9181   if(opt & OPT_DECODE_URL) { 
    92 @@ -2082,6 +2093,8 @@ 
    93  #ifndef CONFIG_FEATURE_HTTPD_USAGE_FROM_INETD_ONLY 
     82@@ -1999,6 +2010,8 @@ 
     83 #ifdef CONFIG_FEATURE_HTTPD_WITHOUT_INETD 
    9484     if(opt & OPT_PORT) 
    9585        config->port = bb_xgetlarg(s_port, 10, 1, 0xffff); 
  • trunk/freewrt/package/busybox/patches/330-httpd_user_agent.patch

    r1 r993  
    1 diff -Nur busybox-1.1.1/networking/httpd.c busybox-1.1.1-owrt/networking/httpd.c 
    2 --- busybox-1.1.1/networking/httpd.c   2006-04-01 19:42:36.000000000 +0200 
    3 +++ busybox-1.1.1-owrt/networking/httpd.c      2006-04-01 19:43:59.000000000 +0200 
    4 @@ -247,6 +247,7 @@ 
     1diff -Nur busybox-1.2.1.orig/networking/httpd.c busybox-1.2.1/networking/httpd.c 
     2--- busybox-1.2.1.orig/networking/httpd.c      2006-10-23 16:36:51.000000000 +0200 
     3+++ busybox-1.2.1/networking/httpd.c   2006-10-23 16:37:01.000000000 +0200 
     4@@ -157,6 +157,7 @@ 
    55   const char *query; 
    66  
     
    1010   const char *configFile; 
    1111  
    12 @@ -1208,6 +1209,7 @@ 
     12@@ -1111,6 +1112,7 @@ 
    1313       addEnv("SERVER",         "PROTOCOL", "HTTP/1.0"); 
    1414       addEnv("GATEWAY_INTERFACE", "",      "CGI/1.1"); 
     
    1818       addEnvPort("REMOTE"); 
    1919 #endif 
    20 @@ -1771,6 +1773,10 @@ 
     20@@ -1676,6 +1678,10 @@ 
    2121                  for(test = buf + 8; isspace(*test); test++) 
    2222                          ; 
  • trunk/freewrt/package/busybox/patches/340-lock_util.patch

    r1 r993  
    1 diff -urN busybox.old/include/applets.h busybox.dev/include/applets.h 
    2 --- busybox.old/include/applets.h       2006-04-05 01:06:29.000000000 +0200 
    3 +++ busybox.dev/include/applets.h       2006-04-05 01:19:09.000000000 +0200 
    4 @@ -167,6 +167,7 @@ 
    5  USE_LN(APPLET(ln, ln_main, _BB_DIR_BIN, _BB_SUID_NEVER)) 
    6  USE_LOADFONT(APPLET(loadfont, loadfont_main, _BB_DIR_USR_BIN, _BB_SUID_NEVER)) 
    7  USE_LOADKMAP(APPLET(loadkmap, loadkmap_main, _BB_DIR_SBIN, _BB_SUID_NEVER)) 
    8 +USE_LOCK(APPLET_NOUSAGE(lock, lock_main, _BB_DIR_BIN, _BB_SUID_NEVER)) 
    9  USE_LOGGER(APPLET(logger, logger_main, _BB_DIR_USR_BIN, _BB_SUID_NEVER)) 
    10  USE_LOGIN(APPLET(login, login_main, _BB_DIR_BIN, _BB_SUID_ALWAYS)) 
    11  USE_LOGNAME(APPLET(logname, logname_main, _BB_DIR_USR_BIN, _BB_SUID_NEVER)) 
    12 diff -urN busybox.old/miscutils/Config.in busybox.dev/miscutils/Config.in 
    13 --- busybox.old/miscutils/Config.in     2006-03-22 22:16:24.000000000 +0100 
    14 +++ busybox.dev/miscutils/Config.in     2006-04-05 01:07:12.000000000 +0200 
    15 @@ -209,6 +209,12 @@ 
     1# Copyright (C) 2006 OpenWrt.org 
     2
     3# This is free software, licensed under the GNU General Public License v2. 
     4# See /LICENSE for more information. 
     5
     6diff -ruN busybox-1.2.0-old/include/applets.h busybox-1.2.0-new/include/applets.h 
     7--- busybox-1.2.0-old/include/applets.h 2006-07-31 11:21:00.000000000 +0200 
     8+++ busybox-1.2.0-new/include/applets.h 2006-08-01 10:21:15.000000000 +0200 
     9@@ -169,6 +169,7 @@ 
     10 USE_LN(APPLET(ln, _BB_DIR_BIN, _BB_SUID_NEVER)) 
     11 USE_LOADFONT(APPLET(loadfont, _BB_DIR_USR_BIN, _BB_SUID_NEVER)) 
     12 USE_LOADKMAP(APPLET(loadkmap, _BB_DIR_SBIN, _BB_SUID_NEVER)) 
     13+USE_LOCK(APPLET_NOUSAGE(lock, lock, _BB_DIR_BIN, _BB_SUID_NEVER)) 
     14 USE_LOGGER(APPLET(logger, _BB_DIR_USR_BIN, _BB_SUID_NEVER)) 
     15 USE_LOGIN(APPLET(login, _BB_DIR_BIN, _BB_SUID_ALWAYS)) 
     16 USE_LOGNAME(APPLET(logname, _BB_DIR_USR_BIN, _BB_SUID_NEVER)) 
     17diff -ruN busybox-1.2.0-old/miscutils/Config.in busybox-1.2.0-new/miscutils/Config.in 
     18--- busybox-1.2.0-old/miscutils/Config.in       2006-07-01 00:42:09.000000000 +0200 
     19+++ busybox-1.2.0-new/miscutils/Config.in       2006-08-01 10:21:15.000000000 +0200 
     20@@ -231,6 +231,12 @@ 
    1621          Enables the 'hdparm -d' option to get/set using_dma flag. 
    1722          This is dangerous stuff, so you should probably say N. 
     
    2631        bool "makedevs" 
    2732        default n 
    28 diff -urN busybox.old/miscutils/Makefile.in busybox.dev/miscutils/Makefile.in 
    29 --- busybox.old/miscutils/Makefile.in   2006-03-22 22:16:24.000000000 +0100 
    30 +++ busybox.dev/miscutils/Makefile.in   2006-04-05 01:10:50.000000000 +0200 
    31 @@ -20,6 +20,7 @@ 
    32  MISCUTILS-$(CONFIG_EJECT)       += eject.o 
    33  MISCUTILS-$(CONFIG_HDPARM)      += hdparm.o 
    34  MISCUTILS-$(CONFIG_LAST)        += last.o 
    35 +MISCUTILS-$(CONFIG_LOCK)        += lock.o 
    36  MISCUTILS-${CONFIG_LESS}        += less.o 
    37  MISCUTILS-$(CONFIG_MAKEDEVS)    += makedevs.o 
    38  MISCUTILS-$(CONFIG_MOUNTPOINT)  += mountpoint.o 
    39 diff -urN busybox.old/miscutils/lock.c busybox.dev/miscutils/lock.c 
    40 --- busybox.old/miscutils/lock.c        1970-01-01 01:00:00.000000000 +0100 
    41 +++ busybox.dev/miscutils/lock.c        2006-04-05 01:07:12.000000000 +0200 
    42 @@ -0,0 +1,128 @@ 
     33diff -ruN busybox-1.2.0-old/miscutils/lock.c busybox-1.2.0-new/miscutils/lock.c 
     34--- busybox-1.2.0-old/miscutils/lock.c  1970-01-01 01:00:00.000000000 +0100 
     35+++ busybox-1.2.0-new/miscutils/lock.c  2006-08-01 10:21:15.000000000 +0200 
     36@@ -0,0 +1,133 @@ 
     37+/* 
     38+ * Copyright (C) 2006 Felix Fietkau <nbd@openwrt.org> 
     39+ * 
     40+ * This is free software, licensed under the GNU General Public License v2. 
     41+ */ 
    4342+#include <sys/types.h> 
    4443+#include <sys/file.h> 
     
    169168+               return do_lock(); 
    170169+} 
     170diff -ruN busybox-1.2.0-old/miscutils/Makefile.in busybox-1.2.0-new/miscutils/Makefile.in 
     171--- busybox-1.2.0-old/miscutils/Makefile.in     2006-07-01 00:42:09.000000000 +0200 
     172+++ busybox-1.2.0-new/miscutils/Makefile.in     2006-08-01 10:21:15.000000000 +0200 
     173@@ -20,6 +20,7 @@ 
     174 MISCUTILS-$(CONFIG_EJECT)       += eject.o 
     175 MISCUTILS-$(CONFIG_HDPARM)      += hdparm.o 
     176 MISCUTILS-$(CONFIG_LAST)        += last.o 
     177+MISCUTILS-$(CONFIG_LOCK)        += lock.o 
     178 MISCUTILS-${CONFIG_LESS}        += less.o 
     179 MISCUTILS-$(CONFIG_MAKEDEVS)    += makedevs.o 
     180 MISCUTILS-$(CONFIG_MOUNTPOINT)  += mountpoint.o 
  • trunk/freewrt/package/busybox/patches/350-ping-opt-srcaddr.patch

    r324 r993  
    1 diff -Nur busybox-1.1.3.orig/include/usage.h busybox-1.1.3/include/usage.h 
    2 --- busybox-1.1.3.orig/include/usage.h 2006-07-19 19:06:34.000000000 +0200 
    3 +++ busybox-1.1.3/include/usage.h      2006-07-19 19:07:15.000000000 +0200 
    4 @@ -2350,6 +2350,7 @@ 
     1diff -Nur busybox-1.2.1.orig/include/usage.h busybox-1.2.1/include/usage.h 
     2--- busybox-1.2.1.orig/include/usage.h 2006-10-23 16:32:21.000000000 +0200 
     3+++ busybox-1.2.1/include/usage.h      2006-10-23 16:37:36.000000000 +0200 
     4@@ -2286,6 +2286,7 @@ 
    55        "Options:\n" \ 
    66        "\t-c COUNT\tSend only COUNT pings\n" \ 
     
    1010        "\t\t\tand when finished" 
    1111 #endif 
    12 diff -Nur busybox-1.1.3.orig/networking/ping.c busybox-1.1.3/networking/ping.c 
    13 --- busybox-1.1.3.orig/networking/ping.c       2006-03-22 22:16:19.000000000 +0100 
    14 +++ busybox-1.1.3/networking/ping.c    2006-07-14 13:51:55.000000000 +0200 
    15 @@ -153,6 +153,7 @@ 
     12diff -Nur busybox-1.2.1.orig/networking/ping.c busybox-1.2.1/networking/ping.c 
     13--- busybox-1.2.1.orig/networking/ping.c       2006-07-01 00:42:02.000000000 +0200 
     14+++ busybox-1.2.1/networking/ping.c    2006-10-23 16:37:36.000000000 +0200 
     15@@ -155,6 +155,7 @@ 
    1616 #else /* ! CONFIG_FEATURE_FANCY_PING */ 
    1717 /* full(er) version */ 
     
    2121 static int datalen; /* intentionally uninitialized to work around gcc bug */ 
    2222  
    23 @@ -330,6 +331,11 @@ 
     23@@ -332,6 +333,11 @@ 
    2424  
    2525        pingsock = create_icmp_socket(); 
     
    3333  
    3434        pingaddr.sin_family = AF_INET; 
    35 @@ -349,10 +355,14 @@ 
     35@@ -351,10 +357,14 @@ 
    3636        setsockopt(pingsock, SOL_SOCKET, SO_RCVBUF, (char *) &sockopt, 
    3737                           sizeof(sockopt)); 
     
    5252        signal(SIGINT, pingstats); 
    5353  
    54 @@ -388,6 +398,7 @@ 
     54@@ -390,6 +400,7 @@ 
    5555        argc--; 
    5656        argv++; 
     
    6060        while (argc >= 1 && **argv == '-') { 
    6161                thisarg = *argv; 
    62 @@ -408,6 +419,27 @@ 
     62@@ -410,6 +421,27 @@ 
    6363                        argv++; 
    6464                        datalen = atoi(*argv); 
  • trunk/freewrt/package/busybox/patches/911-ipkg.patch

    r1 r993  
    1 
    2 # add ipkg support to busybox 
    3 
    4 diff -ruN busybox-1.1.2-orig/Makefile busybox-1.1.2+ipkg-0.99.162/Makefile 
    5 --- busybox-1.1.2-orig/Makefile 2006-04-10 21:45:46.000000000 +0200 
    6 +++ busybox-1.1.2+ipkg-0.99.162/Makefile        2006-05-09 02:06:48.000000000 +0200 
    7 @@ -25,7 +25,7 @@ 
    8  export srctree=$(top_srcdir) 
    9  vpath %/Config.in $(srctree) 
    10   
    11 -DIRS:=applets archival archival/libunarchive coreutils console-tools \ 
    12 +DIRS:=applets archival archival/libipkg archival/libunarchive coreutils console-tools \ 
    13         debianutils editors findutils init miscutils modutils networking \ 
    14         networking/libiproute networking/udhcp procps loginutils shell \ 
    15         sysklogd util-linux e2fsprogs libpwdgrp coreutils/libcoreutils libbb 
    16 diff -ruN busybox-1.1.2-orig/archival/Config.in busybox-1.1.2+ipkg-0.99.162/archival/Config.in 
    17 --- busybox-1.1.2-orig/archival/Config.in       2006-03-22 22:16:20.000000000 +0100 
    18 +++ busybox-1.1.2+ipkg-0.99.162/archival/Config.in      2006-05-09 02:06:48.000000000 +0200 
     1diff -ruN busybox-1.2.0-orig/archival/Config.in busybox-1.2.0+ipkg-0.99.162/archival/Config.in 
     2--- busybox-1.2.0-orig/archival/Config.in       2006-07-01 00:42:04.000000000 +0200 
     3+++ busybox-1.2.0+ipkg-0.99.162/archival/Config.in      2006-07-22 16:31:25.000000000 +0200 
    194@@ -121,6 +121,14 @@ 
    205          gzip is used to compress files. 
     
    3217        bool "rpm2cpio" 
    3318        default n 
    34 diff -ruN busybox-1.1.2-orig/archival/Makefile.in busybox-1.1.2+ipkg-0.99.162/archival/Makefile.in 
    35 --- busybox-1.1.2-orig/archival/Makefile.in     2006-03-22 22:16:20.000000000 +0100 
    36 +++ busybox-1.1.2+ipkg-0.99.162/archival/Makefile.in    2006-05-09 02:06:48.000000000 +0200 
    37 @@ -20,6 +20,7 @@ 
    38  ARCHIVAL-$(CONFIG_DPKG_DEB)    += dpkg_deb.o 
    39  ARCHIVAL-$(CONFIG_GUNZIP)      += gunzip.o 
    40  ARCHIVAL-$(CONFIG_GZIP)                += gzip.o 
    41 +ARCHIVAL-$(CONFIG_IPKG)                += ipkg.o 
    42  ARCHIVAL-$(CONFIG_RPM2CPIO)    += rpm2cpio.o 
    43  ARCHIVAL-$(CONFIG_RPM)         += rpm.o 
    44  ARCHIVAL-$(CONFIG_TAR)         += tar.o 
    45 diff -ruN busybox-1.1.2-orig/archival/dpkg.c busybox-1.1.2+ipkg-0.99.162/archival/dpkg.c 
    46 --- busybox-1.1.2-orig/archival/dpkg.c  2006-03-22 22:16:20.000000000 +0100 
    47 +++ busybox-1.1.2+ipkg-0.99.162/archival/dpkg.c 2006-05-09 02:06:48.000000000 +0200 
    48 @@ -1530,6 +1530,10 @@ 
     19diff -ruN busybox-1.2.0-orig/archival/dpkg.c busybox-1.2.0+ipkg-0.99.162/archival/dpkg.c 
     20--- busybox-1.2.0-orig/archival/dpkg.c  2006-07-01 00:42:04.000000000 +0200 
     21+++ busybox-1.2.0+ipkg-0.99.162/archival/dpkg.c 2006-07-22 16:31:25.000000000 +0200 
     22@@ -1430,6 +1430,10 @@ 
    4923        return(ar_handle->sub_archive->buffer); 
    5024 } 
     
    5731 { 
    5832        char *name_ptr = archive_handle->file_header->name; 
    59 @@ -1544,6 +1548,8 @@ 
     33@@ -1442,6 +1446,8 @@ 
    6034        return; 
    6135 } 
     
    6640 { 
    6741        const char *package_name = name_hashtable[package_hashtable[deb_file->package]->name]; 
    68 diff -ruN busybox-1.1.2-orig/archival/ipkg.c busybox-1.1.2+ipkg-0.99.162/archival/ipkg.c 
    69 --- busybox-1.1.2-orig/archival/ipkg.c        1970-01-01 01:00:00.000000000 +0100 
    70 +++ busybox-1.1.2+ipkg-0.99.162/archival/ipkg.c        2006-05-09 02:06:48.000000000 +0200 
     42diff -ruN busybox-1.2.0-orig/archival/ipkg.c busybox-1.2.0+ipkg-0.99.162/archival/ipkg.c 
     43--- busybox-1.2.0-orig/archival/ipkg.c        1970-01-01 01:00:00.000000000 +0100 
     44+++ busybox-1.2.0+ipkg-0.99.162/archival/ipkg.c        2006-07-22 16:31:25.000000000 +0200 
    7145@@ -0,0 +1,26 @@ 
    7246+/* ipkg.c - the itsy package management system 
     
    9670+       return ipkg_op(argc, argv); 
    9771+} 
    98 diff -ruN busybox-1.1.2-orig/archival/libipkg/Makefile busybox-1.1.2+ipkg-0.99.162/archival/libipkg/Makefile 
    99 --- busybox-1.1.2-orig/archival/libipkg/Makefile        1970-01-01 01:00:00.000000000 +0100 
    100 +++ busybox-1.1.2+ipkg-0.99.162/archival/libipkg/Makefile       2006-05-09 02:06:48.000000000 +0200 
    101 @@ -0,0 +1,32 @@ 
    102 +# Makefile for busybox 
    103 +# 
    104 +# Copyright (C) 1999-2004 by Erik Andersen <andersen@codepoet.org> 
    105 +# 
    106 +# This program is free software; you can redistribute it and/or modify 
    107 +# it under the terms of the GNU General Public License as published by 
    108 +# the Free Software Foundation; either version 2 of the License, or 
    109 +# (at your option) any later version. 
    110 +# 
    111 +# This program is distributed in the hope that it will be useful, 
    112 +# but WITHOUT ANY WARRANTY; without even the implied warranty of 
    113 +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 
    114 +# General Public License for more details. 
    115 +# 
    116 +# You should have received a copy of the GNU General Public License 
    117 +# along with this program; if not, write to the Free Software 
    118 +# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 
    119 +# 
    120 
    121 +top_srcdir=../.. 
    122 +top_builddir=../.. 
    123 +srcdir=$(top_srcdir)/archival/libipkg 
    124 +LIBIPKG_DIR:=./ 
    125 +include $(top_builddir)/Rules.mak 
    126 +include $(top_builddir)/.config 
    127 +include $(srcdir)/Makefile.in 
    128 +all: $(libraries-y) 
    129 +-include $(top_builddir)/.depend 
    130 
    131 +clean: 
    132 +       rm -f *.o *.a $(AR_TARGET) 
    133 
    134 diff -ruN busybox-1.1.2-orig/archival/libipkg/Makefile.in busybox-1.1.2+ipkg-0.99.162/archival/libipkg/Makefile.in 
    135 --- busybox-1.1.2-orig/archival/libipkg/Makefile.in     1970-01-01 01:00:00.000000000 +0100 
    136 +++ busybox-1.1.2+ipkg-0.99.162/archival/libipkg/Makefile.in    2006-05-09 02:06:48.000000000 +0200 
    137 @@ -0,0 +1,85 @@ 
    138 +# Makefile for busybox 
    139 +# 
    140 +# Copyright (C) 1999-2004 by Erik Andersen <andersen@codepoet.org> 
    141 +# 
    142 +# This program is free software; you can redistribute it and/or modify 
    143 +# it under the terms of the GNU General Public License as published by 
    144 +# the Free Software Foundation; either version 2 of the License, or 
    145 +# (at your option) any later version. 
    146 +# 
    147 +# This program is distributed in the hope that it will be useful, 
    148 +# but WITHOUT ANY WARRANTY; without even the implied warranty of 
    149 +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 
    150 +# General Public License for more details. 
    151 +# 
    152 +# You should have received a copy of the GNU General Public License 
    153 +# along with this program; if not, write to the Free Software 
    154 +# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 
    155 +# 
    156 
    157 +LIBIPKG_AR:=libipkg.a 
    158 +ifndef $(LIBIPKG_DIR) 
    159 +LIBIPKG_DIR:=$(top_builddir)/archival/libipkg/ 
    160 +endif 
    161 +srcdir=$(top_srcdir)/archival/libipkg 
    162 
    163 +LIBIPKG_CORE_SOURCES:= \ 
    164 +       args.c \ 
    165 +       libipkg.c \ 
    166 +       user.c \ 
    167 
    168 +LIBIPKG_CMD_SOURCES:= \ 
    169 +       ipkg_cmd.c \ 
    170 +       ipkg_configure.c \ 
    171 +       ipkg_download.c \ 
    172 +       ipkg_install.c \ 
    173 +       ipkg_remove.c \ 
    174 +       ipkg_upgrade.c \ 
    175 
    176 +LIBIPKG_DB_SOURCES:= \ 
    177 +       hash_table.c \ 
    178 +       ipkg_conf.c \ 
    179 +       ipkg_utils.c \ 
    180 +       pkg.c \ 
    181 +       pkg_depends.c \ 
    182 +       pkg_extract.c \ 
    183 +       pkg_hash.c \ 
    184 +       pkg_parse.c \ 
    185 +       pkg_vec.c \ 
    186 
    187 +LIBIPKG_LIST_SOURCES:= \ 
    188 +       conffile.c \ 
    189 +       conffile_list.c \ 
    190 +       nv_pair.c \ 
    191 +       nv_pair_list.c \ 
    192 +       pkg_dest.c \ 
    193 +       pkg_dest_list.c \ 
    194 +       pkg_src.c \ 
    195 +       pkg_src_list.c \ 
    196 +       str_list.c \ 
    197 +       void_list.c \ 
    198 
    199 +LIBIPKG_UTIL_SOURCES:= \ 
    200 +       file_util.c \ 
    201 +       ipkg_message.c \ 
    202 +       md5.c \ 
    203 +       str_util.c \ 
    204 +       xsystem.c \ 
    205 
    206 +LIBIPKG-y += $(LIBIPKG_CORE_SOURCES) 
    207 +LIBIPKG-y += $(LIBIPKG_CMD_SOURCES) 
    208 +LIBIPKG-y += $(LIBIPKG_DB_SOURCES) 
    209 +LIBIPKG-y += $(LIBIPKG_LIST_SOURCES) 
    210 +LIBIPKG-y += $(LIBIPKG_UTIL_SOURCES) 
    211 +LIBIPKG_OBJS=$(patsubst %.c,$(LIBIPKG_DIR)%.o, $(LIBIPKG-y)) 
    212 
    213 +CFLAGS += -DIPKG_LIB -DIPKGLIBDIR="\"/usr/lib\"" -DHOST_CPU_STR="\"$(TARGET_ARCH)\"" 
    214 
    215 +libraries-y += $(LIBIPKG_DIR)$(LIBIPKG_AR) 
    216 
    217 +$(LIBIPKG_DIR)$(LIBIPKG_AR): $(LIBIPKG_OBJS) 
    218 +       $(do_ar) 
    219 
    220 +$(LIBIPKG_OBJS): $(LIBIPKG_DIR)%.o : $(srcdir)/%.c 
    221 +       $(compile.c) 
    222 
    223 diff -ruN busybox-1.1.2-orig/archival/libipkg/args.c busybox-1.1.2+ipkg-0.99.162/archival/libipkg/args.c 
    224 --- busybox-1.1.2-orig/archival/libipkg/args.c  1970-01-01 01:00:00.000000000 +0100 
    225 +++ busybox-1.1.2+ipkg-0.99.162/archival/libipkg/args.c 2006-05-09 02:12:03.000000000 +0200 
     72diff -ruN busybox-1.2.0-orig/archival/libipkg/args.c busybox-1.2.0+ipkg-0.99.162/archival/libipkg/args.c 
     73--- busybox-1.2.0-orig/archival/libipkg/args.c  1970-01-01 01:00:00.000000000 +0100 
     74+++ busybox-1.2.0+ipkg-0.99.162/archival/libipkg/args.c 2006-07-22 16:31:25.000000000 +0200 
    22675@@ -0,0 +1,242 @@ 
    22776+/* args.c - parse command-line args 
     
    467316+       bb_error_msg("version %s\n", IPKG_VERSION); 
    468317+} 
    469 diff -ruN busybox-1.1.2-orig/archival/libipkg/args.h busybox-1.1.2+ipkg-0.99.162/archival/libipkg/args.h 
    470 --- busybox-1.1.2-orig/archival/libipkg/args.h        1970-01-01 01:00:00.000000000 +0100 
    471 +++ busybox-1.1.2+ipkg-0.99.162/archival/libipkg/args.h        2006-05-09 02:12:03.000000000 +0200 
     318diff -ruN busybox-1.2.0-orig/archival/libipkg/args.h busybox-1.2.0+ipkg-0.99.162/archival/libipkg/args.h 
     319--- busybox-1.2.0-orig/archival/libipkg/args.h        1970-01-01 01:00:00.000000000 +0100 
     320+++ busybox-1.2.0+ipkg-0.99.162/archival/libipkg/args.h        2006-07-22 16:31:25.000000000 +0200 
    472321@@ -0,0 +1,72 @@ 
    473322+/* args.h - parse command-line args 
     
    543392+ 
    544393+#endif 
    545 diff -ruN busybox-1.1.2-orig/archival/libipkg/conffile.c busybox-1.1.2+ipkg-0.99.162/archival/libipkg/conffile.c 
    546 --- busybox-1.1.2-orig/archival/libipkg/conffile.c    1970-01-01 01:00:00.000000000 +0100 
    547 +++ busybox-1.1.2+ipkg-0.99.162/archival/libipkg/conffile.c    2006-05-09 02:06:48.000000000 +0200 
     394diff -ruN busybox-1.2.0-orig/archival/libipkg/conffile.c busybox-1.2.0+ipkg-0.99.162/archival/libipkg/conffile.c 
     395--- busybox-1.2.0-orig/archival/libipkg/conffile.c    1970-01-01 01:00:00.000000000 +0100 
     396+++ busybox-1.2.0+ipkg-0.99.162/archival/libipkg/conffile.c    2006-07-22 16:31:25.000000000 +0200 
    548397@@ -0,0 +1,64 @@ 
    549398+/* conffile.c - the itsy package management system 
     
    611460+    return ret; 
    612461+} 
    613 diff -ruN busybox-1.1.2-orig/archival/libipkg/conffile.h busybox-1.1.2+ipkg-0.99.162/archival/libipkg/conffile.h 
    614 --- busybox-1.1.2-orig/archival/libipkg/conffile.h    1970-01-01 01:00:00.000000000 +0100 
    615 +++ busybox-1.1.2+ipkg-0.99.162/archival/libipkg/conffile.h    2006-05-09 02:06:48.000000000 +0200 
     462diff -ruN busybox-1.2.0-orig/archival/libipkg/conffile.h busybox-1.2.0+ipkg-0.99.162/archival/libipkg/conffile.h 
     463--- busybox-1.2.0-orig/archival/libipkg/conffile.h    1970-01-01 01:00:00.000000000 +0100 
     464+++ busybox-1.2.0+ipkg-0.99.162/archival/libipkg/conffile.h    2006-07-22 16:31:25.000000000 +0200 
    616465@@ -0,0 +1,30 @@ 
    617466+/* conffile.h - the itsy package management system 
     
    645494+#endif 
    646495+ 
    647 diff -ruN busybox-1.1.2-orig/archival/libipkg/conffile_list.c busybox-1.1.2+ipkg-0.99.162/archival/libipkg/conffile_list.c 
    648 --- busybox-1.1.2-orig/archival/libipkg/conffile_list.c       1970-01-01 01:00:00.000000000 +0100 
    649 +++ busybox-1.1.2+ipkg-0.99.162/archival/libipkg/conffile_list.c       2006-05-09 02:06:48.000000000 +0200 
     496diff -ruN busybox-1.2.0-orig/archival/libipkg/conffile_list.c busybox-1.2.0+ipkg-0.99.162/archival/libipkg/conffile_list.c 
     497--- busybox-1.2.0-orig/archival/libipkg/conffile_list.c       1970-01-01 01:00:00.000000000 +0100 
     498+++ busybox-1.2.0+ipkg-0.99.162/archival/libipkg/conffile_list.c       2006-07-22 16:31:25.000000000 +0200 
    650499@@ -0,0 +1,47 @@ 
    651500+/* conffile_list.c - the itsy package management system 
     
    696545+} 
    697546+ 
    698 diff -ruN busybox-1.1.2-orig/archival/libipkg/conffile_list.h busybox-1.1.2+ipkg-0.99.162/archival/libipkg/conffile_list.h 
    699 --- busybox-1.1.2-orig/archival/libipkg/conffile_list.h       1970-01-01 01:00:00.000000000 +0100 
    700 +++ busybox-1.1.2+ipkg-0.99.162/archival/libipkg/conffile_list.h       2006-05-09 02:06:48.000000000 +0200 
     547diff -ruN busybox-1.2.0-orig/archival/libipkg/conffile_list.h busybox-1.2.0+ipkg-0.99.162/archival/libipkg/conffile_list.h 
     548--- busybox-1.2.0-orig/archival/libipkg/conffile_list.h       1970-01-01 01:00:00.000000000 +0100 
     549+++ busybox-1.2.0+ipkg-0.99.162/archival/libipkg/conffile_list.h       2006-07-22 16:31:25.000000000 +0200 
    701550@@ -0,0 +1,36 @@ 
    702551+/* conffile_list.h - the itsy package management system 
     
    736585+#endif 
    737586+ 
    738 diff -ruN busybox-1.1.2-orig/archival/libipkg/file_util.c busybox-1.1.2+ipkg-0.99.162/archival/libipkg/file_util.c 
    739 --- busybox-1.1.2-orig/archival/libipkg/file_util.c   1970-01-01 01:00:00.000000000 +0100 
    740 +++ busybox-1.1.2+ipkg-0.99.162/archival/libipkg/file_util.c   2006-05-09 02:06:48.000000000 +0200 
     587diff -ruN busybox-1.2.0-orig/archival/libipkg/file_util.c busybox-1.2.0+ipkg-0.99.162/archival/libipkg/file_util.c 
     588--- busybox-1.2.0-orig/archival/libipkg/file_util.c   1970-01-01 01:00:00.000000000 +0100 
     589+++ busybox-1.2.0+ipkg-0.99.162/archival/libipkg/file_util.c   2006-07-22 16:31:25.000000000 +0200 
    741590@@ -0,0 +1,177 @@ 
    742591+/* file_util.c - convenience routines for common stat operations 
     
    917766+} 
    918767+ 
    919 diff -ruN busybox-1.1.2-orig/archival/libipkg/file_util.h busybox-1.1.2+ipkg-0.99.162/archival/libipkg/file_util.h 
    920 --- busybox-1.1.2-orig/archival/libipkg/file_util.h   1970-01-01 01:00:00.000000000 +0100 
    921 +++ busybox-1.1.2+ipkg-0.99.162/archival/libipkg/file_util.h   2006-05-09 02:06:48.000000000 +0200 
     768diff -ruN busybox-1.2.0-orig/archival/libipkg/file_util.h busybox-1.2.0+ipkg-0.99.162/archival/libipkg/file_util.h 
     769--- busybox-1.2.0-orig/archival/libipkg/file_util.h   1970-01-01 01:00:00.000000000 +0100 
     770+++ busybox-1.2.0+ipkg-0.99.162/archival/libipkg/file_util.h   2006-07-22 16:31:25.000000000 +0200 
    922771@@ -0,0 +1,29 @@ 
    923772+/* file_util.h - convenience routines for common file operations 
     
    950799+ 
    951800+#endif 
    952 diff -ruN busybox-1.1.2-orig/archival/libipkg/hash_table.c busybox-1.1.2+ipkg-0.99.162/archival/libipkg/hash_table.c 
    953 --- busybox-1.1.2-orig/archival/libipkg/hash_table.c  1970-01-01 01:00:00.000000000 +0100 
    954 +++ busybox-1.1.2+ipkg-0.99.162/archival/libipkg/hash_table.c  2006-05-09 02:06:48.000000000 +0200 
     801diff -ruN busybox-1.2.0-orig/archival/libipkg/hash_table.c busybox-1.2.0+ipkg-0.99.162/archival/libipkg/hash_table.c 
     802--- busybox-1.2.0-orig/archival/libipkg/hash_table.c  1970-01-01 01:00:00.000000000 +0100 
     803+++ busybox-1.2.0+ipkg-0.99.162/archival/libipkg/hash_table.c  2006-07-22 16:31:25.000000000 +0200 
    955804@@ -0,0 +1,155 @@ 
    956805+/* hash.c - hash tables for ipkg 
     
    1109958+} 
    1110959+ 
    1111 diff -ruN busybox-1.1.2-orig/archival/libipkg/hash_table.h busybox-1.1.2+ipkg-0.99.162/archival/libipkg/hash_table.h 
    1112 --- busybox-1.1.2-orig/archival/libipkg/hash_table.h  1970-01-01 01:00:00.000000000 +0100 
    1113 +++ busybox-1.1.2+ipkg-0.99.162/archival/libipkg/hash_table.h  2006-05-09 02:06:48.000000000 +0200 
     960diff -ruN busybox-1.2.0-orig/archival/libipkg/hash_table.h busybox-1.2.0+ipkg-0.99.162/archival/libipkg/hash_table.h 
     961--- busybox-1.2.0-orig/archival/libipkg/hash_table.h  1970-01-01 01:00:00.000000000 +0100 
     962+++ busybox-1.2.0+ipkg-0.99.162/archival/libipkg/hash_table.h  2006-07-22 16:31:25.000000000 +0200 
    1114963@@ -0,0 +1,44 @@ 
    1115964+/* hash.h - hash tables for ipkg 
     
    11571006+ 
    11581007+#endif /* _HASH_TABLE_H_ */ 
    1159 diff -ruN busybox-1.1.2-orig/archival/libipkg/ipkg.h busybox-1.1.2+ipkg-0.99.162/archival/libipkg/ipkg.h 
    1160 --- busybox-1.1.2-orig/archival/libipkg/ipkg.h  1970-01-01 01:00:00.000000000 +0100 
    1161 +++ busybox-1.1.2+ipkg-0.99.162/archival/libipkg/ipkg.h 2006-05-09 02:06:48.000000000 +0200 
    1162 @@ -0,0 +1,74 @@ 
    1163 +/* ipkg.h - the itsy package management system 
    1164 
    1165 +   Carl D. Worth 
    1166 
    1167 +   Copyright (C) 2001 University of Southern California 
    1168 
    1169 +   This program is free software; you can redistribute it and/or 
    1170 +   modify it under the terms of the GNU General Public License as 
    1171 +   published by the Free Software Foundation; either version 2, or (at 
    1172 +   your option) any later version. 
    1173 
    1174 +   This program is distributed in the hope that it will be useful, but 
    1175 +   WITHOUT ANY WARRANTY; without even the implied warranty of 
    1176 +   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU 
    1177 +   General Public License for more details. 
    1178 +*/ 
    1179 
    1180 +#ifndef IPKG_H 
    1181 +#define IPKG_H 
    1182 
    1183 +/* 
    1184 +#ifdef HAVE_CONFIG_H 
    1185 +#include "config.h" 
    1186 +#endif 
    1187 +*/ 
    1188 
    1189 +#if 0 
    1190 +#define IPKG_DEBUG_NO_TMP_CLEANUP 
    1191 +#endif 
    1192 
    1193 +#include "ipkg_includes.h" 
    1194 +#include "ipkg_conf.h" 
    1195 +#include "ipkg_message.h" 
    1196 
    1197 +#define IPKG_PKG_EXTENSION ".ipk" 
    1198 +#define DPKG_PKG_EXTENSION ".deb" 
    1199 
    1200 +#define IPKG_LEGAL_PKG_NAME_CHARS "abcdefghijklmnopqrstuvwxyz0123456789.+-" 
    1201 +#define IPKG_PKG_VERSION_SEP_CHAR '_' 
    1202 
    1203 +#define IPKG_STATE_DIR_PREFIX IPKGLIBDIR"/ipkg" 
    1204 +#define IPKG_LISTS_DIR_SUFFIX "lists" 
    1205 +#define IPKG_INFO_DIR_SUFFIX "info" 
    1206 +#define IPKG_STATUS_FILE_SUFFIX "status" 
    1207 
    1208 +#define IPKG_BACKUP_SUFFIX "-ipkg.backup" 
    1209 
    1210 +#define IPKG_LIST_DESCRIPTION_LENGTH 128 
    1211 
    1212 +#define IPKG_VERSION "0.99.162" 
    1213 
    1214 
    1215 +enum ipkg_error { 
    1216 +    IPKG_SUCCESS = 0, 
    1217 +    IPKG_PKG_DEPS_UNSATISFIED, 
    1218 +    IPKG_PKG_IS_ESSENTIAL, 
    1219 +    IPKG_PKG_HAS_DEPENDENTS, 
    1220 +    IPKG_PKG_HAS_NO_CANDIDATE 
    1221 +}; 
    1222 +typedef enum ipkg_error ipkg_error_t; 
    1223 
    1224 +extern int ipkg_state_changed; 
    1225 
    1226 
    1227 +struct errlist { 
    1228 +    char * errmsg; 
    1229 +    struct errlist * next; 
    1230 +} ; 
    1231 
    1232 +extern struct errlist* error_list; 
    1233 
    1234 +extern ipkg_conf_t *global_conf; 
    1235 
    1236 +#endif 
    1237 diff -ruN busybox-1.1.2-orig/archival/libipkg/ipkg_cmd.c busybox-1.1.2+ipkg-0.99.162/archival/libipkg/ipkg_cmd.c 
    1238 --- busybox-1.1.2-orig/archival/libipkg/ipkg_cmd.c      1970-01-01 01:00:00.000000000 +0100 
    1239 +++ busybox-1.1.2+ipkg-0.99.162/archival/libipkg/ipkg_cmd.c     2006-05-09 02:23:37.000000000 +0200 
     1008diff -ruN busybox-1.2.0-orig/archival/libipkg/ipkg_cmd.c busybox-1.2.0+ipkg-0.99.162/archival/libipkg/ipkg_cmd.c 
     1009--- busybox-1.2.0-orig/archival/libipkg/ipkg_cmd.c      1970-01-01 01:00:00.000000000 +0100 
     1010+++ busybox-1.2.0+ipkg-0.99.162/archival/libipkg/ipkg_cmd.c     2006-07-22 16:31:25.000000000 +0200 
    12401011@@ -0,0 +1,1431 @@ 
    12411012+/* ipkg_cmd.c - the itsy package management system 
     
    26702441+ 
    26712442+ 
    2672 diff -ruN busybox-1.1.2-orig/archival/libipkg/ipkg_cmd.h busybox-1.1.2+ipkg-0.99.162/archival/libipkg/ipkg_cmd.h 
    2673 --- busybox-1.1.2-orig/archival/libipkg/ipkg_cmd.h    1970-01-01 01:00:00.000000000 +0100 
    2674 +++ busybox-1.1.2+ipkg-0.99.162/archival/libipkg/ipkg_cmd.h    2006-05-09 02:06:48.000000000 +0200 
     2443diff -ruN busybox-1.2.0-orig/archival/libipkg/ipkg_cmd.h busybox-1.2.0+ipkg-0.99.162/archival/libipkg/ipkg_cmd.h 
     2444--- busybox-1.2.0-orig/archival/libipkg/ipkg_cmd.h    1970-01-01 01:00:00.000000000 +0100 
     2445+++ busybox-1.2.0+ipkg-0.99.162/archival/libipkg/ipkg_cmd.h    2006-07-22 16:31:25.000000000 +0200 
    26752446@@ -0,0 +1,46 @@ 
    26762447+/* ipkg_cmd.h - the itsy package management system 
     
    27202491+ 
    27212492+#endif 
    2722 diff -ruN busybox-1.1.2-orig/archival/libipkg/ipkg_conf.c busybox-1.1.2+ipkg-0.99.162/archival/libipkg/ipkg_conf.c 
    2723 --- busybox-1.1.2-orig/archival/libipkg/ipkg_conf.c   1970-01-01 01:00:00.000000000 +0100 
    2724 +++ busybox-1.1.2+ipkg-0.99.162/archival/libipkg/ipkg_conf.c   2006-05-09 02:12:04.000000000 +0200 
     2493diff -ruN busybox-1.2.0-orig/archival/libipkg/ipkg_conf.c busybox-1.2.0+ipkg-0.99.162/archival/libipkg/ipkg_conf.c 
     2494--- busybox-1.2.0-orig/archival/libipkg/ipkg_conf.c   1970-01-01 01:00:00.000000000 +0100 
     2495+++ busybox-1.2.0+ipkg-0.99.162/archival/libipkg/ipkg_conf.c   2006-07-22 16:31:25.000000000 +0200 
    27252496@@ -0,0 +1,711 @@ 
    27262497+/* ipkg_conf.c - the itsy package management system 
     
    34353206+     return root_filename; 
    34363207+} 
    3437 diff -ruN busybox-1.1.2-orig/archival/libipkg/ipkg_conf.h busybox-1.1.2+ipkg-0.99.162/archival/libipkg/ipkg_conf.h 
    3438 --- busybox-1.1.2-orig/archival/libipkg/ipkg_conf.h   1970-01-01 01:00:00.000000000 +0100 
    3439 +++ busybox-1.1.2+ipkg-0.99.162/archival/libipkg/ipkg_conf.h   2006-05-09 02:06:48.000000000 +0200 
     3208diff -ruN busybox-1.2.0-orig/archival/libipkg/ipkg_conf.h busybox-1.2.0+ipkg-0.99.162/archival/libipkg/ipkg_conf.h 
     3209--- busybox-1.2.0-orig/archival/libipkg/ipkg_conf.h   1970-01-01 01:00:00.000000000 +0100 
     3210+++ busybox-1.2.0+ipkg-0.99.162/archival/libipkg/ipkg_conf.h   2006-07-22 16:31:25.000000000 +0200 
    34403211@@ -0,0 +1,107 @@ 
    34413212+/* ipkg_conf.h - the itsy package management system 
     
    35463317+ 
    35473318+#endif 
    3548 diff -ruN busybox-1.1.2-orig/archival/libipkg/ipkg_configure.c busybox-1.1.2+ipkg-0.99.162/archival/libipkg/ipkg_configure.c 
    3549 --- busybox-1.1.2-orig/archival/libipkg/ipkg_configure.c      1970-01-01 01:00:00.000000000 +0100 
    3550 +++ busybox-1.1.2+ipkg-0.99.162/archival/libipkg/ipkg_configure.c      2006-05-09 02:06:48.000000000 +0200 
     3319diff -ruN busybox-1.2.0-orig/archival/libipkg/ipkg_configure.c busybox-1.2.0+ipkg-0.99.162/archival/libipkg/ipkg_configure.c 
     3320--- busybox-1.2.0-orig/archival/libipkg/ipkg_configure.c      1970-01-01 01:00:00.000000000 +0100 
     3321+++ busybox-1.2.0+ipkg-0.99.162/archival/libipkg/ipkg_configure.c      2006-07-22 16:31:25.000000000 +0200 
    35513322@@ -0,0 +1,40 @@ 
    35523323+/* ipkg_configure.c - the itsy package management system 
     
    35903361+} 
    35913362+ 
    3592 diff -ruN busybox-1.1.2-orig/archival/libipkg/ipkg_configure.h busybox-1.1.2+ipkg-0.99.162/archival/libipkg/ipkg_configure.h 
    3593 --- busybox-1.1.2-orig/archival/libipkg/ipkg_configure.h      1970-01-01 01:00:00.000000000 +0100 
    3594 +++ busybox-1.1.2+ipkg-0.99.162/archival/libipkg/ipkg_configure.h      2006-05-09 02:06:48.000000000 +0200 
     3363diff -ruN busybox-1.2.0-orig/archival/libipkg/ipkg_configure.h busybox-1.2.0+ipkg-0.99.162/archival/libipkg/ipkg_configure.h 
     3364--- busybox-1.2.0-orig/archival/libipkg/ipkg_configure.h      1970-01-01 01:00:00.000000000 +0100 
     3365+++ busybox-1.2.0+ipkg-0.99.162/archival/libipkg/ipkg_configure.h      2006-07-22 16:31:25.000000000 +0200 
    35953366@@ -0,0 +1,25 @@ 
    35963367+/* ipkg_configure.h - the itsy package management system 
     
    36193390+ 
    36203391+#endif 
    3621 diff -ruN busybox-1.1.2-orig/archival/libipkg/ipkg_download.c busybox-1.1.2+ipkg-0.99.162/archival/libipkg/ipkg_download.c 
    3622 --- busybox-1.1.2-orig/archival/libipkg/ipkg_download.c       1970-01-01 01:00:00.000000000 +0100 
    3623 +++ busybox-1.1.2+ipkg-0.99.162/archival/libipkg/ipkg_download.c       2006-05-09 02:12:04.000000000 +0200 
     3392diff -ruN busybox-1.2.0-orig/archival/libipkg/ipkg_download.c busybox-1.2.0+ipkg-0.99.162/archival/libipkg/ipkg_download.c 
     3393--- busybox-1.2.0-orig/archival/libipkg/ipkg_download.c       1970-01-01 01:00:00.000000000 +0100 
     3394+++ busybox-1.2.0+ipkg-0.99.162/archival/libipkg/ipkg_download.c       2006-07-22 16:31:25.000000000 +0200 
    36243395@@ -0,0 +1,195 @@ 
    36253396+/* ipkg_download.c - the itsy package management system 
     
    38183589+     return 0; 
    38193590+} 
    3820 diff -ruN busybox-1.1.2-orig/archival/libipkg/ipkg_download.h busybox-1.1.2+ipkg-0.99.162/archival/libipkg/ipkg_download.h 
    3821 --- busybox-1.1.2-orig/archival/libipkg/ipkg_download.h       1970-01-01 01:00:00.000000000 +0100 
    3822 +++ busybox-1.1.2+ipkg-0.99.162/archival/libipkg/ipkg_download.h       2006-05-09 02:06:48.000000000 +0200 
     3591diff -ruN busybox-1.2.0-orig/archival/libipkg/ipkg_download.h busybox-1.2.0+ipkg-0.99.162/archival/libipkg/ipkg_download.h 
     3592--- busybox-1.2.0-orig/archival/libipkg/ipkg_download.h       1970-01-01 01:00:00.000000000 +0100 
     3593+++ busybox-1.2.0+ipkg-0.99.162/archival/libipkg/ipkg_download.h       2006-07-22 16:31:25.000000000 +0200 
    38233594@@ -0,0 +1,30 @@ 
    38243595+/* ipkg_download.h - the itsy package management system 
     
    38523623+ 
    38533624+#endif 
    3854 diff -ruN busybox-1.1.2-orig/archival/libipkg/ipkg_includes.h busybox-1.1.2+ipkg-0.99.162/archival/libipkg/ipkg_includes.h 
    3855 --- busybox-1.1.2-orig/archival/libipkg/ipkg_includes.h 1970-01-01 01:00:00.000000000 +0100 
    3856 +++ busybox-1.1.2+ipkg-0.99.162/archival/libipkg/ipkg_includes.h        2006-05-09 02:06:48.000000000 +0200 
     3625diff -ruN busybox-1.2.0-orig/archival/libipkg/ipkg.h busybox-1.2.0+ipkg-0.99.162/archival/libipkg/ipkg.h 
     3626--- busybox-1.2.0-orig/archival/libipkg/ipkg.h  1970-01-01 01:00:00.000000000 +0100 
     3627+++ busybox-1.2.0+ipkg-0.99.162/archival/libipkg/ipkg.h 2006-07-22 16:31:25.000000000 +0200 
     3628@@ -0,0 +1,74 @@ 
     3629+/* ipkg.h - the itsy package management system 
     3630
     3631+   Carl D. Worth 
     3632
     3633+   Copyright (C) 2001 University of Southern California 
     3634
     3635+   This program is free software; you can redistribute it and/or 
     3636+   modify it under the terms of the GNU General Public License as 
     3637+   published by the Free Software Foundation; either version 2, or (at 
     3638+   your option) any later version. 
     3639
     3640+   This program is distributed in the hope that it will be useful, but 
     3641+   WITHOUT ANY WARRANTY; without even the implied warranty of 
     3642+   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU 
     3643+   General Public License for more details. 
     3644+*/ 
     3645
     3646+#ifndef IPKG_H 
     3647+#define IPKG_H 
     3648
     3649+/* 
     3650+#ifdef HAVE_CONFIG_H 
     3651+#include "config.h" 
     3652+#endif 
     3653+*/ 
     3654
     3655+#if 0 
     3656+#define IPKG_DEBUG_NO_TMP_CLEANUP 
     3657+#endif 
     3658
     3659+#include "ipkg_includes.h" 
     3660+#include "ipkg_conf.h" 
     3661+#include "ipkg_message.h" 
     3662
     3663+#define IPKG_PKG_EXTENSION ".ipk" 
     3664+#define DPKG_PKG_EXTENSION ".deb" 
     3665
     3666+#define IPKG_LEGAL_PKG_NAME_CHARS "abcdefghijklmnopqrstuvwxyz0123456789.+-" 
     3667+#define IPKG_PKG_VERSION_SEP_CHAR '_' 
     3668
     3669+#define IPKG_STATE_DIR_PREFIX IPKGLIBDIR"/ipkg" 
     3670+#define IPKG_LISTS_DIR_SUFFIX "lists" 
     3671+#define IPKG_INFO_DIR_SUFFIX "info" 
     3672+#define IPKG_STATUS_FILE_SUFFIX "status" 
     3673
     3674+#define IPKG_BACKUP_SUFFIX "-ipkg.backup" 
     3675
     3676+#define IPKG_LIST_DESCRIPTION_LENGTH 128 
     3677
     3678+#define IPKG_VERSION "0.99.162" 
     3679
     3680
     3681+enum ipkg_error { 
     3682+    IPKG_SUCCESS = 0, 
     3683+    IPKG_PKG_DEPS_UNSATISFIED, 
     3684+    IPKG_PKG_IS_ESSENTIAL, 
     3685+    IPKG_PKG_HAS_DEPENDENTS, 
     3686+    IPKG_PKG_HAS_NO_CANDIDATE 
     3687+}; 
     3688+typedef enum ipkg_error ipkg_error_t; 
     3689
     3690+extern int ipkg_state_changed; 
     3691
     3692
     3693+struct errlist { 
     3694+    char * errmsg; 
     3695+    struct errlist * next; 
     3696+} ; 
     3697
     3698+extern struct errlist* error_list; 
     3699
     3700+extern ipkg_conf_t *global_conf; 
     3701
     3702+#endif 
     3703diff -ruN busybox-1.2.0-orig/archival/libipkg/ipkg_includes.h busybox-1.2.0+ipkg-0.99.162/archival/libipkg/ipkg_includes.h 
     3704--- busybox-1.2.0-orig/archival/libipkg/ipkg_includes.h 1970-01-01 01:00:00.000000000 +0100 
     3705+++ busybox-1.2.0+ipkg-0.99.162/archival/libipkg/ipkg_includes.h        2006-07-22 16:31:25.000000000 +0200 
    38573706@@ -0,0 +1,79 @@ 
    38583707+#ifndef IPKG_INCLUDES_H 
     
    39353784+ 
    39363785+#endif /* IPKG_INCLUDES_H */ 
    3937 diff -ruN busybox-1.1.2-orig/archival/libipkg/ipkg_install.c busybox-1.1.2+ipkg-0.99.162/archival/libipkg/ipkg_install.c 
    3938 --- busybox-1.1.2-orig/archival/libipkg/ipkg_install.c        1970-01-01 01:00:00.000000000 +0100 
    3939 +++ busybox-1.1.2+ipkg-0.99.162/archival/libipkg/ipkg_install.c        2006-05-09 02:12:04.000000000 +0200 
     3786diff -ruN busybox-1.2.0-orig/archival/libipkg/ipkg_install.c busybox-1.2.0+ipkg-0.99.162/archival/libipkg/ipkg_install.c 
     3787--- busybox-1.2.0-orig/archival/libipkg/ipkg_install.c        1970-01-01 01:00:00.000000000 +0100 
     3788+++ busybox-1.2.0+ipkg-0.99.162/archival/libipkg/ipkg_install.c        2006-07-22 16:31:25.000000000 +0200 
    39403789@@ -0,0 +1,1942 @@ 
    39413790+/* ipkg_install.c - the itsy package management system 
     
    58815730+ 
    58825731+#endif 
    5883 diff -ruN busybox-1.1.2-orig/archival/libipkg/ipkg_install.h busybox-1.1.2+ipkg-0.99.162/archival/libipkg/ipkg_install.h 
    5884 --- busybox-1.1.2-orig/archival/libipkg/ipkg_install.h        1970-01-01 01:00:00.000000000 +0100 
    5885 +++ busybox-1.1.2+ipkg-0.99.162/archival/libipkg/ipkg_install.h        2006-05-09 02:12:04.000000000 +0200 
     5732diff -ruN busybox-1.2.0-orig/archival/libipkg/ipkg_install.h busybox-1.2.0+ipkg-0.99.162/archival/libipkg/ipkg_install.h 
     5733--- busybox-1.2.0-orig/archival/libipkg/ipkg_install.h        1970-01-01 01:00:00.000000000 +0100 
     5734+++ busybox-1.2.0+ipkg-0.99.162/archival/libipkg/ipkg_install.h        2006-07-22 16:31:25.000000000 +0200 
    58865735@@ -0,0 +1,35 @@ 
    58875736+/* ipkg_install.h - the itsy package management system 
     
    59205769+ 
    59215770+#endif 
    5922 diff -ruN busybox-1.1.2-orig/archival/libipkg/ipkg_message.c busybox-1.1.2+ipkg-0.99.162/archival/libipkg/ipkg_message.c 
    5923 --- busybox-1.1.2-orig/archival/libipkg/ipkg_message.c        1970-01-01 01:00:00.000000000 +0100 
    5924 +++ busybox-1.1.2+ipkg-0.99.162/archival/libipkg/ipkg_message.c        2006-05-09 02:06:48.000000000 +0200 
     5771diff -ruN busybox-1.2.0-orig/archival/libipkg/ipkg_message.c busybox-1.2.0+ipkg-0.99.162/archival/libipkg/ipkg_message.c 
     5772--- busybox-1.2.0-orig/archival/libipkg/ipkg_message.c        1970-01-01 01:00:00.000000000 +0100 
     5773+++ busybox-1.2.0+ipkg-0.99.162/archival/libipkg/ipkg_message.c        2006-07-22 16:31:25.000000000 +0200 
    59255774@@ -0,0 +1,61 @@ 
    59265775+/* ipkg_message.c - the itsy package management system 
     
    59855834+} 
    59865835+#endif 
    5987 diff -ruN busybox-1.1.2-orig/archival/libipkg/ipkg_message.h busybox-1.1.2+ipkg-0.99.162/archival/libipkg/ipkg_message.h 
    5988 --- busybox-1.1.2-orig/archival/libipkg/ipkg_message.h        1970-01-01 01:00:00.000000000 +0100 
    5989 +++ busybox-1.1.2+ipkg-0.99.162/archival/libipkg/ipkg_message.h        2006-05-09 02:06:48.000000000 +0200 
     5836diff -ruN busybox-1.2.0-orig/archival/libipkg/ipkg_message.h busybox-1.2.0+ipkg-0.99.162/archival/libipkg/ipkg_message.h 
     5837--- busybox-1.2.0-orig/archival/libipkg/ipkg_message.h        1970-01-01 01:00:00.000000000 +0100 
     5838+++ busybox-1.2.0+ipkg-0.99.162/archival/libipkg/ipkg_message.h        2006-07-22 16:31:25.000000000 +0200 
    59905839@@ -0,0 +1,32 @@ 
    59915840+/* ipkg_message.h - the itsy package management system 
     
    60215870+ 
    60225871+#endif /* _IPKG_MESSAGE_H_ */ 
    6023 diff -ruN busybox-1.1.2-orig/archival/libipkg/ipkg_remove.c busybox-1.1.2+ipkg-0.99.162/archival/libipkg/ipkg_remove.c 
    6024 --- busybox-1.1.2-orig/archival/libipkg/ipkg_remove.c 1970-01-01 01:00:00.000000000 +0100 
    6025 +++ busybox-1.1.2+ipkg-0.99.162/archival/libipkg/ipkg_remove.c 2006-05-09 02:12:04.000000000 +0200 
     5872diff -ruN busybox-1.2.0-orig/archival/libipkg/ipkg_remove.c busybox-1.2.0+ipkg-0.99.162/archival/libipkg/ipkg_remove.c 
     5873--- busybox-1.2.0-orig/archival/libipkg/ipkg_remove.c 1970-01-01 01:00:00.000000000 +0100 
     5874+++ busybox-1.2.0+ipkg-0.99.162/archival/libipkg/ipkg_remove.c 2006-07-22 16:31:25.000000000 +0200 
    60265875@@ -0,0 +1,383 @@ 
    60275876+/* ipkg_remove.c - the itsy package management system 
     
    64086257+    return 0; 
    64096258+} 
    6410 diff -ruN busybox-1.1.2-orig/archival/libipkg/ipkg_remove.h busybox-1.1.2+ipkg-0.99.162/archival/libipkg/ipkg_remove.h 
    6411 --- busybox-1.1.2-orig/archival/libipkg/ipkg_remove.h 1970-01-01 01:00:00.000000000 +0100 
    6412 +++ busybox-1.1.2+ipkg-0.99.162/archival/libipkg/ipkg_remove.h 2006-05-09 02:12:04.000000000 +0200 
     6259diff -ruN busybox-1.2.0-orig/archival/libipkg/ipkg_remove.h busybox-1.2.0+ipkg-0.99.162/archival/libipkg/ipkg_remove.h 
     6260--- busybox-1.2.0-orig/archival/libipkg/ipkg_remove.h 1970-01-01 01:00:00.000000000 +0100 
     6261+++ busybox-1.2.0+ipkg-0.99.162/archival/libipkg/ipkg_remove.h 2006-07-22 16:31:25.000000000 +0200 
    64136262@@ -0,0 +1,33 @@ 
    64146263+/* ipkg_remove.h - the itsy package management system 
     
    64456294+ 
    64466295+#endif 
    6447 diff -ruN busybox-1.1.2-orig/archival/libipkg/ipkg_upgrade.c busybox-1.1.2+ipkg-0.99.162/archival/libipkg/ipkg_upgrade.c 
    6448 --- busybox-1.1.2-orig/archival/libipkg/ipkg_upgrade.c        1970-01-01 01:00:00.000000000 +0100 
    6449 +++ busybox-1.1.2+ipkg-0.99.162/archival/libipkg/ipkg_upgrade.c        2006-05-09 02:12:04.000000000 +0200 
     6296diff -ruN busybox-1.2.0-orig/archival/libipkg/ipkg_upgrade.c busybox-1.2.0+ipkg-0.99.162/archival/libipkg/ipkg_upgrade.c 
     6297--- busybox-1.2.0-orig/archival/libipkg/ipkg_upgrade.c        1970-01-01 01:00:00.000000000 +0100 
     6298+++ busybox-1.2.0+ipkg-0.99.162/archival/libipkg/ipkg_upgrade.c        2006-07-22 16:31:25.000000000 +0200 
    64506299@@ -0,0 +1,77 @@ 
    64516300+/* ipkg_upgrade.c - the itsy package management system 
     
    65266375+     return ipkg_install_pkg(conf, new,1); 
    65276376+} 
    6528 diff -ruN busybox-1.1.2-orig/archival/libipkg/ipkg_upgrade.h busybox-1.1.2+ipkg-0.99.162/archival/libipkg/ipkg_upgrade.h 
    6529 --- busybox-1.1.2-orig/archival/libipkg/ipkg_upgrade.h        1970-01-01 01:00:00.000000000 +0100 
    6530 +++ busybox-1.1.2+ipkg-0.99.162/archival/libipkg/ipkg_upgrade.h        2006-05-09 02:06:48.000000000 +0200 
     6377diff -ruN busybox-1.2.0-orig/archival/libipkg/ipkg_upgrade.h busybox-1.2.0+ipkg-0.99.162/archival/libipkg/ipkg_upgrade.h 
     6378--- busybox-1.2.0-orig/archival/libipkg/ipkg_upgrade.h        1970-01-01 01:00:00.000000000 +0100 
     6379+++ busybox-1.2.0+ipkg-0.99.162/archival/libipkg/ipkg_upgrade.h        2006-07-22 16:31:25.000000000 +0200 
    65316380@@ -0,0 +1,18 @@ 
    65326381+/* ipkg_upgrade.c - the itsy package management system 
     
    65486397+ 
    65496398+int ipkg_upgrade_pkg(ipkg_conf_t *conf, pkg_t *old); 
    6550 diff -ruN busybox-1.1.2-orig/archival/libipkg/ipkg_utils.c busybox-1.1.2+ipkg-0.99.162/archival/libipkg/ipkg_utils.c 
    6551 --- busybox-1.1.2-orig/archival/libipkg/ipkg_utils.c  1970-01-01 01:00:00.000000000 +0100 
    6552 +++ busybox-1.1.2+ipkg-0.99.162/archival/libipkg/ipkg_utils.c  2006-05-09 02:06:48.000000000 +0200 
     6399diff -ruN busybox-1.2.0-orig/archival/libipkg/ipkg_utils.c busybox-1.2.0+ipkg-0.99.162/archival/libipkg/ipkg_utils.c 
     6400--- busybox-1.2.0-orig/archival/libipkg/ipkg_utils.c  1970-01-01 01:00:00.000000000 +0100 
     6401+++ busybox-1.2.0+ipkg-0.99.162/archival/libipkg/ipkg_utils.c  2006-07-22 16:31:25.000000000 +0200 
    65536402@@ -0,0 +1,181 @@ 
    65546403+/* ipkg_utils.c - the itsy package management system 
     
    67336582+ 
    67346583+        
    6735 diff -ruN busybox-1.1.2-orig/archival/libipkg/ipkg_utils.h busybox-1.1.2+ipkg-0.99.162/archival/libipkg/ipkg_utils.h 
    6736 --- busybox-1.1.2-orig/archival/libipkg/ipkg_utils.h  1970-01-01 01:00:00.000000000 +0100 
    6737 +++ busybox-1.1.2+ipkg-0.99.162/archival/libipkg/ipkg_utils.h  2006-05-09 02:06:48.000000000 +0200 
     6584diff -ruN busybox-1.2.0-orig/archival/libipkg/ipkg_utils.h busybox-1.2.0+ipkg-0.99.162/archival/libipkg/ipkg_utils.h 
     6585--- busybox-1.2.0-orig/archival/libipkg/ipkg_utils.h  1970-01-01 01:00:00.000000000 +0100 
     6586+++ busybox-1.2.0+ipkg-0.99.162/archival/libipkg/ipkg_utils.h  2006-07-22 16:31:25.000000000 +0200 
    67386587@@ -0,0 +1,29 @@ 
    67396588+/* ipkg_utils.h - the itsy package management system 
     
    67666615+ 
    67676616+#endif 
    6768 diff -ruN busybox-1.1.2-orig/archival/libipkg/libipkg.c busybox-1.1.2+ipkg-0.99.162/archival/libipkg/libipkg.c 
    6769 --- busybox-1.1.2-orig/archival/libipkg/libipkg.c     1970-01-01 01:00:00.000000000 +0100 
    6770 +++ busybox-1.1.2+ipkg-0.99.162/archival/libipkg/libipkg.c     2006-05-09 02:12:05.000000000 +0200 
     6617diff -ruN busybox-1.2.0-orig/archival/libipkg/libipkg.c busybox-1.2.0+ipkg-0.99.162/archival/libipkg/libipkg.c 
     6618--- busybox-1.2.0-orig/archival/libipkg/libipkg.c     1970-01-01 01:00:00.000000000 +0100 
     6619+++ busybox-1.2.0+ipkg-0.99.162/archival/libipkg/libipkg.c     2006-07-22 16:31:25.000000000 +0200 
    67716620@@ -0,0 +1,527 @@ 
    67726621+/* ipkglib.c - the itsy package management system 
     
    72977146+ 
    72987147+#endif /* IPKG_LIB */ 
    7299 diff -ruN busybox-1.1.2-orig/archival/libipkg/libipkg.h busybox-1.1.2+ipkg-0.99.162/archival/libipkg/libipkg.h 
    7300 --- busybox-1.1.2-orig/archival/libipkg/libipkg.h     1970-01-01 01:00:00.000000000 +0100 
    7301 +++ busybox-1.1.2+ipkg-0.99.162/archival/libipkg/libipkg.h     2006-05-09 02:06:48.000000000 +0200 
     7148diff -ruN busybox-1.2.0-orig/archival/libipkg/libipkg.h busybox-1.2.0+ipkg-0.99.162/archival/libipkg/libipkg.h 
     7149--- busybox-1.2.0-orig/archival/libipkg/libipkg.h     1970-01-01 01:00:00.000000000 +0100 
     7150+++ busybox-1.2.0+ipkg-0.99.162/archival/libipkg/libipkg.h     2006-07-22 16:31:25.000000000 +0200 
    73027151@@ -0,0 +1,87 @@ 
    73037152+/* ipkglib.h - the itsy package management system 
     
    73887237+ 
    73897238+#endif 
    7390 diff -ruN busybox-1.1.2-orig/archival/libipkg/md5.c busybox-1.1.2+ipkg-0.99.162/archival/libipkg/md5.c 
    7391 --- busybox-1.1.2-orig/archival/libipkg/md5.c   1970-01-01 01:00:00.000000000 +0100 
    7392 +++ busybox-1.1.2+ipkg-0.99.162/archival/libipkg/md5.c  2006-05-09 02:06:48.000000000 +0200 
     7239diff -ruN busybox-1.2.0-orig/archival/libipkg/Makefile busybox-1.2.0+ipkg-0.99.162/archival/libipkg/Makefile 
     7240--- busybox-1.2.0-orig/archival/libipkg/Makefile        1970-01-01 01:00:00.000000000 +0100 
     7241+++ busybox-1.2.0+ipkg-0.99.162/archival/libipkg/Makefile       2006-07-22 16:31:25.000000000 +0200 
     7242@@ -0,0 +1,32 @@ 
     7243+# Makefile for busybox 
     7244+# 
     7245+# Copyright (C) 1999-2004 by Erik Andersen <andersen@codepoet.org> 
     7246+# 
     7247+# This program is free software; you can redistribute it and/or modify 
     7248+# it under the terms of the GNU General Public License as published by 
     7249+# the Free Software Foundation; either version 2 of the License, or 
     7250+# (at your option) any later version. 
     7251+# 
     7252+# This program is distributed in the hope that it will be useful, 
     7253+# but WITHOUT ANY WARRANTY; without even the implied warranty of 
     7254+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 
     7255+# General Public License for more details. 
     7256+# 
     7257+# You should have received a copy of the GNU General Public License 
     7258+# along with this program; if not, write to the Free Software 
     7259+# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 
     7260+# 
     7261
     7262+top_srcdir=../.. 
     7263+top_builddir=../.. 
     7264+srcdir=$(top_srcdir)/archival/libipkg 
     7265+LIBIPKG_DIR:=./ 
     7266+include $(top_builddir)/Rules.mak 
     7267+include $(top_builddir)/.config 
     7268+include $(srcdir)/Makefile.in 
     7269+all: $(libraries-y) 
     7270+-include $(top_builddir)/.depend 
     7271
     7272+clean: 
     7273+       rm -f *.o *.a $(AR_TARGET) 
     7274
     7275diff -ruN busybox-1.2.0-orig/archival/libipkg/Makefile.in busybox-1.2.0+ipkg-0.99.162/archival/libipkg/Makefile.in 
     7276--- busybox-1.2.0-orig/archival/libipkg/Makefile.in     1970-01-01 01:00:00.000000000 +0100 
     7277+++ busybox-1.2.0+ipkg-0.99.162/archival/libipkg/Makefile.in    2006-10-08 12:29:39.000000000 +0200 
     7278@@ -0,0 +1,88 @@ 
     7279+# Makefile for busybox 
     7280+# 
     7281+# Copyright (C) 1999-2004 by Erik Andersen <andersen@codepoet.org> 
     7282+# 
     7283+# This program is free software; you can redistribute it and/or modify 
     7284+# it under the terms of the GNU General Public License as published by 
     7285+# the Free Software Foundation; either version 2 of the License, or 
     7286+# (at your option) any later version. 
     7287+# 
     7288+# This program is distributed in the hope that it will be useful, 
     7289+# but WITHOUT ANY WARRANTY; without even the implied warranty of 
     7290+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 
     7291+# General Public License for more details. 
     7292+# 
     7293+# You should have received a copy of the GNU General Public License 
     7294+# along with this program; if not, write to the Free Software 
     7295+# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 
     7296+# 
     7297
     7298+LIBIPKG_AR:=libipkg.a 
     7299+ifndef $(LIBIPKG_DIR) 
     7300+LIBIPKG_DIR:=$(top_builddir)/archival/libipkg/ 
     7301+endif 
     7302+srcdir=$(top_srcdir)/archival/libipkg 
     7303
     7304+LIBIPKG_CORE_SOURCES:= \ 
     7305+       args.c \ 
     7306+       libipkg.c \ 
     7307+       user.c \ 
     7308
     7309+LIBIPKG_CMD_SOURCES:= \ 
     7310+       ipkg_cmd.c \ 
     7311+       ipkg_configure.c \ 
     7312+       ipkg_download.c \ 
     7313+       ipkg_install.c \ 
     7314+       ipkg_remove.c \ 
     7315+       ipkg_upgrade.c \ 
     7316
     7317+LIBIPKG_DB_SOURCES:= \ 
     7318+       hash_table.c \ 
     7319+       ipkg_conf.c \ 
     7320+       ipkg_utils.c \ 
     7321+       pkg.c \ 
     7322+       pkg_depends.c \ 
     7323+       pkg_extract.c \ 
     7324+       pkg_hash.c \ 
     7325+       pkg_parse.c \ 
     7326+       pkg_vec.c \ 
     7327
     7328+LIBIPKG_LIST_SOURCES:= \ 
     7329+       conffile.c \ 
     7330+       conffile_list.c \ 
     7331+       nv_pair.c \ 
     7332+       nv_pair_list.c \ 
     7333+       pkg_dest.c \ 
     7334+       pkg_dest_list.c \ 
     7335+       pkg_src.c \ 
     7336+       pkg_src_list.c \ 
     7337+       str_list.c \ 
     7338+       void_list.c \ 
     7339
     7340+LIBIPKG_UTIL_SOURCES:= \ 
     7341+       file_util.c \ 
     7342+       ipkg_message.c \ 
     7343+       md5.c \ 
     7344+       str_util.c \ 
     7345+       xsystem.c \ 
     7346
     7347+LIBIPKG-$(CONFIG_IPKG) += $(LIBIPKG_CORE_SOURCES) 
     7348+LIBIPKG-$(CONFIG_IPKG) += $(LIBIPKG_CMD_SOURCES) 
     7349+LIBIPKG-$(CONFIG_IPKG) += $(LIBIPKG_DB_SOURCES) 
     7350+LIBIPKG-$(CONFIG_IPKG) += $(LIBIPKG_LIST_SOURCES) 
     7351+LIBIPKG-$(CONFIG_IPKG) += $(LIBIPKG_UTIL_SOURCES) 
     7352+LIBIPKG_OBJS=$(patsubst %.c,$(LIBIPKG_DIR)%.o, $(LIBIPKG-y)) 
     7353
     7354+ifeq ($(strip $(IPKG_ARCH)),) 
     7355+IPKG_ARCH:=$(TARGET_ARCH) 
     7356+endif 
     7357+CFLAGS += -DIPKG_LIB -DIPKGLIBDIR="\"/usr/lib\"" -DHOST_CPU_STR="\"$(IPKG_ARCH)\"" 
     7358
     7359+libraries-$(CONFIG_IPKG) += $(LIBIPKG_DIR)$(LIBIPKG_AR) 
     7360
     7361+$(LIBIPKG_DIR)$(LIBIPKG_AR): $(LIBIPKG_OBJS) 
     7362+       $(do_ar) 
     7363
     7364+$(LIBIPKG_OBJS): $(LIBIPKG_DIR)%.o : $(srcdir)/%.c 
     7365+       $(compile.c) 
     7366
     7367diff -ruN busybox-1.2.0-orig/archival/libipkg/md5.c busybox-1.2.0+ipkg-0.99.162/archival/libipkg/md5.c 
     7368--- busybox-1.2.0-orig/archival/libipkg/md5.c   1970-01-01 01:00:00.000000000 +0100 
     7369+++ busybox-1.2.0+ipkg-0.99.162/archival/libipkg/md5.c  2006-07-22 16:31:25.000000000 +0200 
    73937370@@ -0,0 +1,48 @@ 
    73947371+/* md5.c - wrappers to busybox md5 functions 
     
    74407417+} 
    74417418+ 
    7442 diff -ruN busybox-1.1.2-orig/archival/libipkg/md5.h busybox-1.1.2+ipkg-0.99.162/archival/libipkg/md5.h 
    7443 --- busybox-1.1.2-orig/archival/libipkg/md5.h 1970-01-01 01:00:00.000000000 +0100 
    7444 +++ busybox-1.1.2+ipkg-0.99.162/archival/libipkg/md5.h 2006-05-09 02:06:48.000000000 +0200 
     7419diff -ruN busybox-1.2.0-orig/archival/libipkg/md5.h busybox-1.2.0+ipkg-0.99.162/archival/libipkg/md5.h 
     7420--- busybox-1.2.0-orig/archival/libipkg/md5.h 1970-01-01 01:00:00.000000000 +0100 
     7421+++ busybox-1.2.0+ipkg-0.99.162/archival/libipkg/md5.h 2006-07-22 16:31:25.000000000 +0200 
    74457422@@ -0,0 +1,35 @@ 
    74467423+/* md5.h - Compute MD5 checksum of files or strings according to the 
     
    74797456+#endif 
    74807457+ 
    7481 diff -ruN busybox-1.1.2-orig/archival/libipkg/nv_pair.c busybox-1.1.2+ipkg-0.99.162/archival/libipkg/nv_pair.c 
    7482 --- busybox-1.1.2-orig/archival/libipkg/nv_pair.c     1970-01-01 01:00:00.000000000 +0100 
    7483 +++ busybox-1.1.2+ipkg-0.99.162/archival/libipkg/nv_pair.c     2006-05-09 02:06:48.000000000 +0200 
     7458diff -ruN busybox-1.2.0-orig/archival/libipkg/nv_pair.c busybox-1.2.0+ipkg-0.99.162/archival/libipkg/nv_pair.c 
     7459--- busybox-1.2.0-orig/archival/libipkg/nv_pair.c     1970-01-01 01:00:00.000000000 +0100 
     7460+++ busybox-1.2.0+ipkg-0.99.162/archival/libipkg/nv_pair.c     2006-07-22 16:31:25.000000000 +0200 
    74847461@@ -0,0 +1,40 @@ 
    74857462+/* nv_pair.c - the itsy package management system 
     
    75237500+ 
    75247501+ 
    7525 diff -ruN busybox-1.1.2-orig/archival/libipkg/nv_pair.h busybox-1.1.2+ipkg-0.99.162/archival/libipkg/nv_pair.h 
    7526 --- busybox-1.1.2-orig/archival/libipkg/nv_pair.h     1970-01-01 01:00:00.000000000 +0100 
    7527 +++ busybox-1.1.2+ipkg-0.99.162/archival/libipkg/nv_pair.h     2006-05-09 02:06:48.000000000 +0200 
     7502diff -ruN busybox-1.2.0-orig/archival/libipkg/nv_pair.h busybox-1.2.0+ipkg-0.99.162/archival/libipkg/nv_pair.h 
     7503--- busybox-1.2.0-orig/archival/libipkg/nv_pair.h     1970-01-01 01:00:00.000000000 +0100 
     7504+++ busybox-1.2.0+ipkg-0.99.162/archival/libipkg/nv_pair.h     2006-07-22 16:31:25.000000000 +0200 
    75287505@@ -0,0 +1,32 @@ 
    75297506+/* nv_pair.h - the itsy package management system 
     
    75597536+#endif 
    75607537+ 
    7561 diff -ruN busybox-1.1.2-orig/archival/libipkg/nv_pair_list.c busybox-1.1.2+ipkg-0.99.162/archival/libipkg/nv_pair_list.c 
    7562 --- busybox-1.1.2-orig/archival/libipkg/nv_pair_list.c        1970-01-01 01:00:00.000000000 +0100 
    7563 +++ busybox-1.1.2+ipkg-0.99.162/archival/libipkg/nv_pair_list.c        2006-05-09 02:06:48.000000000 +0200 
     7538diff -ruN busybox-1.2.0-orig/archival/libipkg/nv_pair_list.c busybox-1.2.0+ipkg-0.99.162/archival/libipkg/nv_pair_list.c 
     7539--- busybox-1.2.0-orig/archival/libipkg/nv_pair_list.c        1970-01-01 01:00:00.000000000 +0100 
     7540+++ busybox-1.2.0+ipkg-0.99.162/archival/libipkg/nv_pair_list.c        2006-07-22 16:31:25.000000000 +0200 
    75647541@@ -0,0 +1,98 @@ 
    75657542+/* nv_pair_list.c - the itsy package management system 
     
    76617638+     return NULL; 
    76627639+} 
    7663 diff -ruN busybox-1.1.2-orig/archival/libipkg/nv_pair_list.h busybox-1.1.2+ipkg-0.99.162/archival/libipkg/nv_pair_list.h 
    7664 --- busybox-1.1.2-orig/archival/libipkg/nv_pair_list.h        1970-01-01 01:00:00.000000000 +0100 
    7665 +++ busybox-1.1.2+ipkg-0.99.162/archival/libipkg/nv_pair_list.h        2006-05-09 02:06:48.000000000 +0200 
     7640diff -ruN busybox-1.2.0-orig/archival/libipkg/nv_pair_list.h busybox-1.2.0+ipkg-0.99.162/archival/libipkg/nv_pair_list.h 
     7641--- busybox-1.2.0-orig/archival/libipkg/nv_pair_list.h        1970-01-01 01:00:00.000000000 +0100 
     7642+++ busybox-1.2.0+ipkg-0.99.162/archival/libipkg/nv_pair_list.h        2006-07-22 16:31:25.000000000 +0200 
    76667643@@ -0,0 +1,60 @@ 
    76677644+/* nv_pair_list.h - the itsy package management system 
     
    77257702+#endif 
    77267703+ 
    7727 diff -ruN busybox-1.1.2-orig/archival/libipkg/pkg.c busybox-1.1.2+ipkg-0.99.162/archival/libipkg/pkg.c 
    7728 --- busybox-1.1.2-orig/archival/libipkg/pkg.c 1970-01-01 01:00:00.000000000 +0100 
    7729 +++ busybox-1.1.2+ipkg-0.99.162/archival/libipkg/pkg.c 2006-05-09 02:12:05.000000000 +0200 
     7704diff -ruN busybox-1.2.0-orig/archival/libipkg/pkg.c busybox-1.2.0+ipkg-0.99.162/archival/libipkg/pkg.c 
     7705--- busybox-1.2.0-orig/archival/libipkg/pkg.c 1970-01-01 01:00:00.000000000 +0100 
     7706+++ busybox-1.2.0+ipkg-0.99.162/archival/libipkg/pkg.c 2006-07-22 16:31:25.000000000 +0200 
    77307707@@ -0,0 +1,1754 @@ 
    77317708+/* pkg.c - the itsy package management system 
     
    94839460+     return 0; 
    94849461+} 
    9485 diff -ruN busybox-1.1.2-orig/archival/libipkg/pkg.h busybox-1.1.2+ipkg-0.99.162/archival/libipkg/pkg.h 
    9486 --- busybox-1.1.2-orig/archival/libipkg/pkg.h   1970-01-01 01:00:00.000000000 +0100 
    9487 +++ busybox-1.1.2+ipkg-0.99.162/archival/libipkg/pkg.h  2006-05-09 02:12:05.000000000 +0200 
    9488 @@ -0,0 +1,232 @@ 
    9489 +/* pkg.h - the itsy package management system 
    9490 
    9491 +   Carl D. Worth 
    9492 
    9493 +   Copyright (C) 2001 University of Southern California 
    9494 
    9495 +   This program is free software; you can redistribute it and/or 
    9496 +   modify it under the terms of the GNU General Public License as 
    9497 +   published by the Free Software Foundation; either version 2, or (at 
    9498 +   your option) any later version. 
    9499 
    9500 +   This program is distributed in the hope that it will be useful, but 
    9501 +   WITHOUT ANY WARRANTY; without even the implied warranty of 
    9502 +   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU 
    9503 +   General Public License for more details. 
    9504 +*/ 
    9505 
    9506 +#ifndef PKG_H 
    9507 +#define PKG_H 
    9508 
    9509 +#include <sys/types.h> 
    9510 +#include <sys/stat.h> 
    9511 +#include <unistd.h> 
    9512 
    9513 +#include "pkg_vec.h" 
    9514 +#include "str_list.h" 
    9515 +#include "pkg_src.h" 
    9516 +#include "pkg_dest.h" 
    9517 +#include "ipkg_conf.h" 
    9518 +#include "conffile_list.h" 
    9519 
    9520 +struct ipkg_conf; 
    9521 
    9522 
    9523 +#define ARRAY_SIZE(array) sizeof(array) / sizeof((array)[0]) 
    9524 
    9525 +/* I think "Size" is currently the shortest field name */ 
    9526 +#define PKG_MINIMUM_FIELD_NAME_LEN 4 
    9527 
    9528 +enum pkg_state_want 
    9529 +{ 
    9530 +    SW_UNKNOWN = 1, 
    9531 +    SW_INSTALL, 
    9532 +    SW_DEINSTALL, 
    9533 +    SW_PURGE, 
    9534 +    SW_LAST_STATE_WANT 
    9535 +}; 
    9536 +typedef enum pkg_state_want pkg_state_want_t; 
    9537 
    9538 +enum pkg_state_flag 
    9539 +{ 
    9540 +    SF_OK        = 0, 
    9541 +    SF_REINSTREQ = 1, 
    9542 +    SF_HOLD      = 2,  /* do not upgrade version */ 
    9543 +    SF_REPLACE   = 4,  /* replace this package */ 
    9544 +    SF_NOPRUNE   = 8,  /* do not remove obsolete files */ 
    9545 +    SF_PREFER    = 16, /* prefer this version */ 
    9546 +    SF_OBSOLETE  = 32, /* old package in upgrade pair */ 
    9547 +    SF_MARKED    = 64, /* temporary mark */ 
    9548 +    SF_FILELIST_CHANGED = 128, /* needs filelist written */ 
    9549 +    SF_USER      = 256, 
    9550 +    SF_LAST_STATE_FLAG 
    9551 +}; 
    9552 +typedef enum pkg_state_flag pkg_state_flag_t; 
    9553 +#define SF_NONVOLATILE_FLAGS (SF_HOLD|SF_NOPRUNE|SF_PREFER|SF_OBSOLETE|SF_USER) 
    9554 
    9555 +enum pkg_state_status 
    9556 +{ 
    9557 +    SS_NOT_INSTALLED = 1, 
    9558 +    SS_UNPACKED, 
    9559 +    SS_HALF_CONFIGURED, 
    9560 +    SS_INSTALLED, 
    9561 +    SS_HALF_INSTALLED, 
    9562 +    SS_CONFIG_FILES, 
    9563 +    SS_POST_INST_FAILED, 
    9564 +    SS_REMOVAL_FAILED, 
    9565 +    SS_LAST_STATE_STATUS 
    9566 +}; 
    9567 +typedef enum pkg_state_status pkg_state_status_t; 
    9568 
    9569 +struct abstract_pkg{ 
    9570 +    char * name; 
    9571 +    int dependencies_checked; 
    9572 +    pkg_vec_t * pkgs; 
    9573 +    pkg_state_status_t state_status; 
    9574 +    pkg_state_flag_t state_flag; 
    9575 +    struct abstract_pkg ** depended_upon_by; /* @@@@ this should be abstract_pkg_vec_t -Jamey */ 
    9576 +    abstract_pkg_vec_t * provided_by; 
    9577 +    abstract_pkg_vec_t * replaced_by; 
    9578 +}; 
    9579 
    9580 +#include "pkg_depends.h" 
    9581 
    9582 +/* XXX: CLEANUP: I'd like to clean up pkg_t in several ways: 
    9583 
    9584 +   The 3 version fields should go into a single version struct. (This 
    9585 +   is especially important since, currently, pkg->version can easily 
    9586 +   be mistaken for pkg_verson_str_alloc(pkg) although they are very 
    9587 +   distinct. This has been the source of multiple bugs. 
    9588 
    9589 +   The 3 state fields could possibly also go into their own struct. 
    9590 
    9591 +   All fields which deal with lists of packages, (Depends, 
    9592 +   Pre-Depends, Provides, Suggests, Recommends, Enhances), should each 
    9593 +   be handled by a single struct in pkg_t 
    9594 
    9595 +   All string fields for which there is a small set of possible 
    9596 +   values, (section, maintainer, architecture, maybe version?), that 
    9597 +   are reused among different packages -- for all such packages we 
    9598 +   should move from "char *"s to some atom datatype to share data 
    9599 +   storage and use less memory. We might even do reference counting, 
    9600 +   but probably not since most often we only create new pkg_t structs, 
    9601 +   we don't often free them.  */ 
    9602 +struct pkg 
    9603 +{ 
    9604 +     char *name; 
    9605 +     unsigned long epoch; 
    9606 +     char *version; 
    9607 +     char *revision; 
    9608 +     char *familiar_revision; 
    9609 +     pkg_src_t *src; 
    9610 +     pkg_dest_t *dest; 
    9611 +     char *architecture; 
    9612 +     char *section; 
    9613 +     char *maintainer; 
    9614 +     char *description; 
    9615 +     pkg_state_want_t state_want; 
    9616 +     pkg_state_flag_t state_flag; 
    9617 +     pkg_state_status_t state_status; 
    9618 +     char **depends_str; 
    9619 +     int depends_count; 
    9620 +     char **pre_depends_str; 
    9621 +     int pre_depends_count; 
    9622 +     char **recommends_str; 
    9623 +     int recommends_count; 
    9624 +     char **suggests_str; 
    9625 +     int suggests_count; 
    9626 +     compound_depend_t * depends; 
    9627 
    9628 +     /* Abhaya: new conflicts */ 
    9629 +     char **conflicts_str; 
    9630 +     compound_depend_t * conflicts; 
    9631 +     int conflicts_count; 
    9632 +        
    9633 +     char **replaces_str; 
    9634 +     int replaces_count; 
    9635 +     abstract_pkg_t ** replaces; 
    9636 
    9637 +     char **provides_str; 
    9638 +     int provides_count; 
    9639 +     abstract_pkg_t ** provides; 
    9640 
    9641 +     abstract_pkg_t *parent; 
    9642 
    9643 +     pkg_t *old_pkg; /* during upgrade, points from installee to previously installed */ 
    9644 
    9645 +     char *filename; 
    9646 +     char *local_filename; 
    9647 +     char *url; 
    9648 +     char *tmp_unpack_dir; 
    9649 +     char *md5sum; 
    9650 +     char *size; 
    9651 +     char *installed_size; 
    9652 +     char *priority; 
    9653 +     char *source; 
    9654 +     conffile_list_t conffiles; 
    9655 +     time_t installed_time; 
    9656 +     /* As pointer for lazy evaluation */ 
    9657 +     str_list_t *installed_files; 
    9658 +     /* XXX: CLEANUP: I'd like to perhaps come up with a better 
    9659 +       mechanism to avoid the problem here, (which is that the 
    9660 +       installed_files list was being freed from an inner loop while 
    9661 +       still being used within an outer loop. */ 
    9662 +     int installed_files_ref_cnt; 
    9663 +     int essential; 
    9664 +     int arch_priority; 
    9665 +/* Adding this flag, to "force" ipkg to choose a "provided_by_hand" package, if there are multiple choice */ 
    9666 +     int provided_by_hand; 
    9667 +}; 
    9668 
    9669 +pkg_t *pkg_new(void); 
    9670 +int pkg_init(pkg_t *pkg); 
    9671 +void pkg_deinit(pkg_t *pkg); 
    9672 +int pkg_init_from_file(pkg_t *pkg, const char *filename); 
    9673 +abstract_pkg_t *abstract_pkg_new(void); 
    9674 +int abstract_pkg_init(abstract_pkg_t *ab_pkg); 
    9675 
    9676 +/*  
    9677 + * merges fields from newpkg into oldpkg. 
    9678 + * Forcibly sets oldpkg state_status, state_want and state_flags if set_status is nonzero  
    9679 + */ 
    9680 +int pkg_merge(pkg_t *oldpkg, pkg_t *newpkg, int set_status); 
    9681 
    9682 +char *pkg_version_str_alloc(pkg_t *pkg); 
    9683 
    9684 +int pkg_compare_versions(const pkg_t *pkg, const pkg_t *ref_pkg); 
    9685 +int pkg_name_version_and_architecture_compare(void *a, void *b); 
    9686 +int abstract_pkg_name_compare(void *a, void *b); 
    9687 
    9688 +char * pkg_formatted_info(pkg_t *pkg ); 
    9689 +char * pkg_formatted_field(pkg_t *pkg, const char *field ); 
    9690 
    9691 +void set_flags_from_control(ipkg_conf_t *conf, pkg_t *pkg); 
    9692 
    9693 +void pkg_print_info(pkg_t *pkg, FILE *file); 
    9694 +void pkg_print_status(pkg_t * pkg, FILE * file); 
    9695 +void pkg_print_field(pkg_t *pkg, FILE *file, const char *field); 
    9696 +str_list_t *pkg_get_installed_files(pkg_t *pkg); 
    9697 +int pkg_free_installed_files(pkg_t *pkg); 
    9698 +int pkg_remove_installed_files_list(ipkg_conf_t *conf, pkg_t *pkg); 
    9699 +conffile_t *pkg_get_conffile(pkg_t *pkg, const char *file_name); 
    9700 +int pkg_run_script(struct ipkg_conf *conf, pkg_t *pkg, 
    9701 +                  const char *script, const char *args); 
    9702 
    9703 +/* enum mappings */ 
    9704 +char *pkg_state_want_to_str(pkg_state_want_t sw); 
    9705 +pkg_state_want_t pkg_state_want_from_str(char *str); 
    9706 +char *pkg_state_flag_to_str(pkg_state_flag_t sf); 
    9707 +pkg_state_flag_t pkg_state_flag_from_str(char *str); 
    9708 +char *pkg_state_status_to_str(pkg_state_status_t ss); 
    9709 +pkg_state_status_t pkg_state_status_from_str(char *str); 
    9710 
    9711 +int pkg_version_satisfied(pkg_t *it, pkg_t *ref, const char *op); 
    9712 
    9713 +int pkg_arch_supported(ipkg_conf_t *conf, pkg_t *pkg); 
    9714 +int pkg_info_preinstall_check(ipkg_conf_t *conf); 
    9715 +int pkg_free_installed_files(pkg_t *pkg); 
    9716 
    9717 +int pkg_write_filelist(ipkg_conf_t *conf, pkg_t *pkg); 
    9718 +int pkg_write_changed_filelists(ipkg_conf_t *conf); 
    9719 
    9720 +#endif 
    9721 diff -ruN busybox-1.1.2-orig/archival/libipkg/pkg_depends.c busybox-1.1.2+ipkg-0.99.162/archival/libipkg/pkg_depends.c 
    9722 --- busybox-1.1.2-orig/archival/libipkg/pkg_depends.c   1970-01-01 01:00:00.000000000 +0100 
    9723 +++ busybox-1.1.2+ipkg-0.99.162/archival/libipkg/pkg_depends.c  2006-05-09 02:12:05.000000000 +0200 
     9462diff -ruN busybox-1.2.0-orig/archival/libipkg/pkg_depends.c busybox-1.2.0+ipkg-0.99.162/archival/libipkg/pkg_depends.c 
     9463--- busybox-1.2.0-orig/archival/libipkg/pkg_depends.c   1970-01-01 01:00:00.000000000 +0100 
     9464+++ busybox-1.2.0+ipkg-0.99.162/archival/libipkg/pkg_depends.c  2006-07-22 16:31:25.000000000 +0200 
    97249465@@ -0,0 +1,1033 @@ 
    97259466+/* pkg_depends.c - the itsy package management system 
     
    1075610497+     return 0; 
    1075710498+} 
    10758 diff -ruN busybox-1.1.2-orig/archival/libipkg/pkg_depends.h busybox-1.1.2+ipkg-0.99.162/archival/libipkg/pkg_depends.h 
    10759 --- busybox-1.1.2-orig/archival/libipkg/pkg_depends.h 1970-01-01 01:00:00.000000000 +0100 
    10760 +++ busybox-1.1.2+ipkg-0.99.162/archival/libipkg/pkg_depends.h 2006-05-09 02:06:48.000000000 +0200 
     10499diff -ruN busybox-1.2.0-orig/archival/libipkg/pkg_depends.h busybox-1.2.0+ipkg-0.99.162/archival/libipkg/pkg_depends.h 
     10500--- busybox-1.2.0-orig/archival/libipkg/pkg_depends.h 1970-01-01 01:00:00.000000000 +0100 
     10501+++ busybox-1.2.0+ipkg-0.99.162/archival/libipkg/pkg_depends.h 2006-07-22 16:31:25.000000000 +0200 
    1076110502@@ -0,0 +1,105 @@ 
    1076210503+/* pkg_depends.h - the itsy package management system 
     
    1086510606+ 
    1086610607+#endif 
    10867 diff -ruN busybox-1.1.2-orig/archival/libipkg/pkg_dest.c busybox-1.1.2+ipkg-0.99.162/archival/libipkg/pkg_dest.c 
    10868 --- busybox-1.1.2-orig/archival/libipkg/pkg_dest.c    1970-01-01 01:00:00.000000000 +0100 
    10869 +++ busybox-1.1.2+ipkg-0.99.162/archival/libipkg/pkg_dest.c    2006-05-09 02:06:48.000000000 +0200 
     10608diff -ruN busybox-1.2.0-orig/archival/libipkg/pkg_dest.c busybox-1.2.0+ipkg-0.99.162/archival/libipkg/pkg_dest.c 
     10609--- busybox-1.2.0-orig/archival/libipkg/pkg_dest.c    1970-01-01 01:00:00.000000000 +0100 
     10610+++ busybox-1.2.0+ipkg-0.99.162/archival/libipkg/pkg_dest.c    2006-07-22 16:31:25.000000000 +0200 
    1087010611@@ -0,0 +1,92 @@ 
    1087110612+/* pkg_dest.c - the itsy package management system 
     
    1096110702+    dest->root_dir = NULL; 
    1096210703+} 
    10963 diff -ruN busybox-1.1.2-orig/archival/libipkg/pkg_dest.h busybox-1.1.2+ipkg-0.99.162/archival/libipkg/pkg_dest.h 
    10964 --- busybox-1.1.2-orig/archival/libipkg/pkg_dest.h    1970-01-01 01:00:00.000000000 +0100 
    10965 +++ busybox-1.1.2+ipkg-0.99.162/archival/libipkg/pkg_dest.h    2006-05-09 02:06:48.000000000 +0200 
     10704diff -ruN busybox-1.2.0-orig/archival/libipkg/pkg_dest.h busybox-1.2.0+ipkg-0.99.162/archival/libipkg/pkg_dest.h 
     10705--- busybox-1.2.0-orig/archival/libipkg/pkg_dest.h    1970-01-01 01:00:00.000000000 +0100 
     10706+++ busybox-1.2.0+ipkg-0.99.162/archival/libipkg/pkg_dest.h    2006-07-22 16:31:25.000000000 +0200 
    1096610707@@ -0,0 +1,38 @@ 
    1096710708+/* pkg_dest.h - the itsy package management system 
     
    1100310744+#endif 
    1100410745+ 
    11005 diff -ruN busybox-1.1.2-orig/archival/libipkg/pkg_dest_list.c busybox-1.1.2+ipkg-0.99.162/archival/libipkg/pkg_dest_list.c 
    11006 --- busybox-1.1.2-orig/archival/libipkg/pkg_dest_list.c       1970-01-01 01:00:00.000000000 +0100 
    11007 +++ busybox-1.1.2+ipkg-0.99.162/archival/libipkg/pkg_dest_list.c       2006-05-09 02:06:48.000000000 +0200 
     10746diff -ruN busybox-1.2.0-orig/archival/libipkg/pkg_dest_list.c busybox-1.2.0+ipkg-0.99.162/archival/libipkg/pkg_dest_list.c 
     10747--- busybox-1.2.0-orig/archival/libipkg/pkg_dest_list.c       1970-01-01 01:00:00.000000000 +0100 
     10748+++ busybox-1.2.0+ipkg-0.99.162/archival/libipkg/pkg_dest_list.c       2006-07-22 16:31:25.000000000 +0200 
    1100810749@@ -0,0 +1,85 @@ 
    1100910750+/* pkg_dest_list.c - the itsy package management system 
     
    1109210833+    return (pkg_dest_list_elt_t *) void_list_pop((void_list_t *) list); 
    1109310834+} 
    11094 diff -ruN busybox-1.1.2-orig/archival/libipkg/pkg_dest_list.h busybox-1.1.2+ipkg-0.99.162/archival/libipkg/pkg_dest_list.h 
    11095 --- busybox-1.1.2-orig/archival/libipkg/pkg_dest_list.h       1970-01-01 01:00:00.000000000 +0100 
    11096 +++ busybox-1.1.2+ipkg-0.99.162/archival/libipkg/pkg_dest_list.h       2006-05-09 02:06:48.000000000 +0200 
     10835diff -ruN busybox-1.2.0-orig/archival/libipkg/pkg_dest_list.h busybox-1.2.0+ipkg-0.99.162/archival/libipkg/pkg_dest_list.h 
     10836--- busybox-1.2.0-orig/archival/libipkg/pkg_dest_list.h       1970-01-01 01:00:00.000000000 +0100 
     10837+++ busybox-1.2.0+ipkg-0.99.162/archival/libipkg/pkg_dest_list.h       2006-07-22 16:31:25.000000000 +0200 
    1109710838@@ -0,0 +1,50 @@ 
    1109810839+/* pkg_dest_list.h - the itsy package management system 
     
    1114610887+#endif 
    1114710888+ 
    11148 diff -ruN busybox-1.1.2-orig/archival/libipkg/pkg_extract.c busybox-1.1.2+ipkg-0.99.162/archival/libipkg/pkg_extract.c 
    11149 --- busybox-1.1.2-orig/archival/libipkg/pkg_extract.c 1970-01-01 01:00:00.000000000 +0100 
    11150 +++ busybox-1.1.2+ipkg-0.99.162/archival/libipkg/pkg_extract.c 2006-05-09 02:06:48.000000000 +0200 
     10889diff -ruN busybox-1.2.0-orig/archival/libipkg/pkg_extract.c busybox-1.2.0+ipkg-0.99.162/archival/libipkg/pkg_extract.c 
     10890--- busybox-1.2.0-orig/archival/libipkg/pkg_extract.c 1970-01-01 01:00:00.000000000 +0100 
     10891+++ busybox-1.2.0+ipkg-0.99.162/archival/libipkg/pkg_extract.c 2006-07-30 22:47:49.000000000 +0200 
    1115110892@@ -0,0 +1,224 @@ 
    1115210893+/* pkg_extract.c - the itsy package management system 
     
    1119210933+       archive->src_fd = bb_xopen(pkg->local_filename, O_RDONLY); 
    1119310934+       archive->filter = filter_accept_list; 
    11194 +       archive->accept = llist_add_to(NULL, (char *)filename); 
     10935+       llist_add_to(&(archive->accept), (char *)filename); 
    1119510936+       archive->buffer = path; 
    1119610937+       archive->action_data = data_extract_all_prefix; 
     
    1122910970+       archive->src_fd = bb_xopen(name, O_RDONLY); 
    1123010971+       archive->filter = filter_accept_list; 
    11231 +       archive->accept = llist_add_to(NULL, "./" IPKG_CONTROL_FILE); 
     10972+       llist_add_to(&(archive->accept), "./" IPKG_CONTROL_FILE); 
    1123210973+       archive->action_data = data_extract_to_buffer; 
    1123310974+       while( get_header_tar_gz(archive) == EXIT_SUCCESS ); 
     
    1137411115+       return 0; 
    1137511116+} 
    11376 diff -ruN busybox-1.1.2-orig/archival/libipkg/pkg_extract.h busybox-1.1.2+ipkg-0.99.162/archival/libipkg/pkg_extract.h 
    11377 --- busybox-1.1.2-orig/archival/libipkg/pkg_extract.h 1970-01-01 01:00:00.000000000 +0100 
    11378 +++ busybox-1.1.2+ipkg-0.99.162/archival/libipkg/pkg_extract.h 2006-05-09 02:06:48.000000000 +0200 
     11117diff -ruN busybox-1.2.0-orig/archival/libipkg/pkg_extract.h busybox-1.2.0+ipkg-0.99.162/archival/libipkg/pkg_extract.h 
     11118--- busybox-1.2.0-orig/archival/libipkg/pkg_extract.h 1970-01-01 01:00:00.000000000 +0100 
     11119+++ busybox-1.2.0+ipkg-0.99.162/archival/libipkg/pkg_extract.h 2006-07-22 16:31:25.000000000 +0200 
    1137911120@@ -0,0 +1,32 @@ 
    1138011121+/* pkg_extract.c - the itsy package management system 
     
    1141011151+ 
    1141111152+#endif 
    11412 diff -ruN busybox-1.1.2-orig/archival/libipkg/pkg_hash.c busybox-1.1.2+ipkg-0.99.162/archival/libipkg/pkg_hash.c 
    11413 --- busybox-1.1.2-orig/archival/libipkg/pkg_hash.c      1970-01-01 01:00:00.000000000 +0100 
    11414 +++ busybox-1.1.2+ipkg-0.99.162/archival/libipkg/pkg_hash.c     2006-05-09 02:12:05.000000000 +0200 
     11153diff -ruN busybox-1.2.0-orig/archival/libipkg/pkg.h busybox-1.2.0+ipkg-0.99.162/archival/libipkg/pkg.h 
     11154--- busybox-1.2.0-orig/archival/libipkg/pkg.h   1970-01-01 01:00:00.000000000 +0100 
     11155+++ busybox-1.2.0+ipkg-0.99.162/archival/libipkg/pkg.h  2006-07-22 16:31:25.000000000 +0200 
     11156@@ -0,0 +1,232 @@ 
     11157+/* pkg.h - the itsy package management system 
     11158
     11159+   Carl D. Worth 
     11160
     11161+   Copyright (C) 2001 University of Southern California 
     11162
     11163+   This program is free software; you can redistribute it and/or 
     11164+   modify it under the terms of the GNU General Public License as 
     11165+   published by the Free Software Foundation; either version 2, or (at 
     11166+   your option) any later version. 
     11167
     11168+   This program is distributed in the hope that it will be useful, but 
     11169+   WITHOUT ANY WARRANTY; without even the implied warranty of 
     11170+   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU 
     11171+   General Public License for more details. 
     11172+*/ 
     11173
     11174+#ifndef PKG_H 
     11175+#define PKG_H 
     11176
     11177+#include <sys/types.h> 
     11178+#include <sys/stat.h> 
     11179+#include <unistd.h> 
     11180
     11181+#include "pkg_vec.h" 
     11182+#include "str_list.h" 
     11183+#include "pkg_src.h" 
     11184+#include "pkg_dest.h" 
     11185+#include "ipkg_conf.h" 
     11186+#include "conffile_list.h" 
     11187
     11188+struct ipkg_conf; 
     11189
     11190
     11191+#define ARRAY_SIZE(array) sizeof(array) / sizeof((array)[0]) 
     11192
     11193+/* I think "Size" is currently the shortest field name */ 
     11194+#define PKG_MINIMUM_FIELD_NAME_LEN 4 
     11195
     11196+enum pkg_state_want 
     11197+{ 
     11198+    SW_UNKNOWN = 1, 
     11199+    SW_INSTALL, 
     11200+    SW_DEINSTALL, 
     11201+    SW_PURGE, 
     11202+    SW_LAST_STATE_WANT 
     11203+}; 
     11204+typedef enum pkg_state_want pkg_state_want_t; 
     11205
     11206+enum pkg_state_flag 
     11207+{ 
     11208+    SF_OK        = 0, 
     11209+    SF_REINSTREQ = 1, 
     11210+    SF_HOLD      = 2,  /* do not upgrade version */ 
     11211+    SF_REPLACE   = 4,  /* replace this package */ 
     11212+    SF_NOPRUNE   = 8,  /* do not remove obsolete files */ 
     11213+    SF_PREFER    = 16, /* prefer this version */ 
     11214+    SF_OBSOLETE  = 32, /* old package in upgrade pair */ 
     11215+    SF_MARKED    = 64, /* temporary mark */ 
     11216+    SF_FILELIST_CHANGED = 128, /* needs filelist written */ 
     11217+    SF_USER      = 256, 
     11218+    SF_LAST_STATE_FLAG 
     11219+}; 
     11220+typedef enum pkg_state_flag pkg_state_flag_t; 
     11221+#define SF_NONVOLATILE_FLAGS (SF_HOLD|SF_NOPRUNE|SF_PREFER|SF_OBSOLETE|SF_USER) 
     11222
     11223+enum pkg_state_status 
     11224+{ 
     11225+    SS_NOT_INSTALLED = 1, 
     11226+    SS_UNPACKED, 
     11227+    SS_HALF_CONFIGURED, 
     11228+    SS_INSTALLED, 
     11229+    SS_HALF_INSTALLED, 
     11230+    SS_CONFIG_FILES, 
     11231+    SS_POST_INST_FAILED, 
     11232+    SS_REMOVAL_FAILED, 
     11233+    SS_LAST_STATE_STATUS 
     11234+}; 
     11235+typedef enum pkg_state_status pkg_state_status_t; 
     11236
     11237+struct abstract_pkg{ 
     11238+    char * name; 
     11239+    int dependencies_checked; 
     11240+    pkg_vec_t * pkgs; 
     11241+    pkg_state_status_t state_status; 
     11242+    pkg_state_flag_t state_flag; 
     11243+    struct abstract_pkg ** depended_upon_by; /* @@@@ this should be abstract_pkg_vec_t -Jamey */ 
     11244+    abstract_pkg_vec_t * provided_by; 
     11245+    abstract_pkg_vec_t * replaced_by; 
     11246+}; 
     11247
     11248+#include "pkg_depends.h" 
     11249
     11250+/* XXX: CLEANUP: I'd like to clean up pkg_t in several ways: 
     11251
     11252+   The 3 version fields should go into a single version struct. (This 
     11253+   is especially important since, currently, pkg->version can easily 
     11254+   be mistaken for pkg_verson_str_alloc(pkg) although they are very 
     11255+   distinct. This has been the source of multiple bugs. 
     11256
     11257+   The 3 state fields could possibly also go into their own struct. 
     11258
     11259+   All fields which deal with lists of packages, (Depends, 
     11260+   Pre-Depends, Provides, Suggests, Recommends, Enhances), should each 
     11261+   be handled by a single struct in pkg_t 
     11262
     11263+   All string fields for which there is a small set of possible 
     11264+   values, (section, maintainer, architecture, maybe version?), that 
     11265+   are reused among different packages -- for all such packages we 
     11266+   should move from "char *"s to some atom datatype to share data 
     11267+   storage and use less memory. We might even do reference counting, 
     11268+   but probably not since most often we only create new pkg_t structs, 
     11269+   we don't often free them.  */ 
     11270+struct pkg 
     11271+{ 
     11272+     char *name; 
     11273+     unsigned long epoch; 
     11274+     char *version; 
     11275+     char *revision; 
     11276+     char *familiar_revision; 
     11277+     pkg_src_t *src; 
     11278+     pkg_dest_t *dest; 
     11279+     char *architecture; 
     11280+     char *section; 
     11281+     char *maintainer; 
     11282+     char *description; 
     11283+     pkg_state_want_t state_want; 
     11284+     pkg_state_flag_t state_flag; 
     11285+     pkg_state_status_t state_status; 
     11286+     char **depends_str; 
     11287+     int depends_count; 
     11288+     char **pre_depends_str; 
     11289+     int pre_depends_count; 
     11290+     char **recommends_str; 
     11291+     int recommends_count; 
     11292+     char **suggests_str; 
     11293+     int suggests_count; 
     11294+     compound_depend_t * depends; 
     11295
     11296+     /* Abhaya: new conflicts */ 
     11297+     char **conflicts_str; 
     11298+     compound_depend_t * conflicts; 
     11299+     int conflicts_count; 
     11300+        
     11301+     char **replaces_str; 
     11302+     int replaces_count; 
     11303+     abstract_pkg_t ** replaces; 
     11304
     11305+     char **provides_str; 
     11306+     int provides_count; 
     11307+     abstract_pkg_t ** provides; 
     11308
     11309+     abstract_pkg_t *parent; 
     11310
     11311+     pkg_t *old_pkg; /* during upgrade, points from installee to previously installed */ 
     11312
     11313+     char *filename; 
     11314+     char *local_filename; 
     11315+     char *url; 
     11316+     char *tmp_unpack_dir; 
     11317+     char *md5sum; 
     11318+     char *size; 
     11319+     char *installed_size; 
     11320+     char *priority; 
     11321+     char *source; 
     11322+     conffile_list_t conffiles; 
     11323+     time_t installed_time; 
     11324+     /* As pointer for lazy evaluation */ 
     11325+     str_list_t *installed_files; 
     11326+     /* XXX: CLEANUP: I'd like to perhaps come up with a better 
     11327+       mechanism to avoid the problem here, (which is that the 
     11328+       installed_files list was being freed from an inner loop while 
     11329+       still being used within an outer loop. */ 
     11330+     int installed_files_ref_cnt; 
     11331+     int essential; 
     11332+     int arch_priority; 
     11333+/* Adding this flag, to "force" ipkg to choose a "provided_by_hand" package, if there are multiple choice */ 
     11334+     int provided_by_hand; 
     11335+}; 
     11336
     11337+pkg_t *pkg_new(void); 
     11338+int pkg_init(pkg_t *pkg); 
     11339+void pkg_deinit(pkg_t *pkg); 
     11340+int pkg_init_from_file(pkg_t *pkg, const char *filename); 
     11341+abstract_pkg_t *abstract_pkg_new(void); 
     11342+int abstract_pkg_init(abstract_pkg_t *ab_pkg); 
     11343
     11344+/*  
     11345+ * merges fields from newpkg into oldpkg. 
     11346+ * Forcibly sets oldpkg state_status, state_want and state_flags if set_status is nonzero  
     11347+ */ 
     11348+int pkg_merge(pkg_t *oldpkg, pkg_t *newpkg, int set_status); 
     11349
     11350+char *pkg_version_str_alloc(pkg_t *pkg); 
     11351
     11352+int pkg_compare_versions(const pkg_t *pkg, const pkg_t *ref_pkg); 
     11353+int pkg_name_version_and_architecture_compare(void *a, void *b); 
     11354+int abstract_pkg_name_compare(void *a, void *b); 
     11355
     11356+char * pkg_formatted_info(pkg_t *pkg ); 
     11357+char * pkg_formatted_field(pkg_t *pkg, const char *field ); 
     11358
     11359+void set_flags_from_control(ipkg_conf_t *conf, pkg_t *pkg); 
     11360
     11361+void pkg_print_info(pkg_t *pkg, FILE *file); 
     11362+void pkg_print_status(pkg_t * pkg, FILE * file); 
     11363+void pkg_print_field(pkg_t *pkg, FILE *file, const char *field); 
     11364+str_list_t *pkg_get_installed_files(pkg_t *pkg); 
     11365+int pkg_free_installed_files(pkg_t *pkg); 
     11366+int pkg_remove_installed_files_list(ipkg_conf_t *conf, pkg_t *pkg); 
     11367+conffile_t *pkg_get_conffile(pkg_t *pkg, const char *file_name); 
     11368+int pkg_run_script(struct ipkg_conf *conf, pkg_t *pkg, 
     11369+                  const char *script, const char *args); 
     11370
     11371+/* enum mappings */ 
     11372+char *pkg_state_want_to_str(pkg_state_want_t sw); 
     11373+pkg_state_want_t pkg_state_want_from_str(char *str); 
     11374+char *pkg_state_flag_to_str(pkg_state_flag_t sf); 
     11375+pkg_state_flag_t pkg_state_flag_from_str(char *str); 
     11376+char *pkg_state_status_to_str(pkg_state_status_t ss); 
     11377+pkg_state_status_t pkg_state_status_from_str(char *str); 
     11378
     11379+int pkg_version_satisfied(pkg_t *it, pkg_t *ref, const char *op); 
     11380
     11381+int pkg_arch_supported(ipkg_conf_t *conf, pkg_t *pkg); 
     11382+int pkg_info_preinstall_check(ipkg_conf_t *conf); 
     11383+int pkg_free_installed_files(pkg_t *pkg); 
     11384
     11385+int pkg_write_filelist(ipkg_conf_t *conf, pkg_t *pkg); 
     11386+int pkg_write_changed_filelists(ipkg_conf_t *conf); 
     11387
     11388+#endif 
     11389diff -ruN busybox-1.2.0-orig/archival/libipkg/pkg_hash.c busybox-1.2.0+ipkg-0.99.162/archival/libipkg/pkg_hash.c 
     11390--- busybox-1.2.0-orig/archival/libipkg/pkg_hash.c      1970-01-01 01:00:00.000000000 +0100 
     11391+++ busybox-1.2.0+ipkg-0.99.162/archival/libipkg/pkg_hash.c     2006-07-22 16:31:25.000000000 +0200 
    1141511392@@ -0,0 +1,617 @@ 
    1141611393+/* ipkg_hash.c - the itsy package management system 
     
    1203112008+ 
    1203212009+ 
    12033 diff -ruN busybox-1.1.2-orig/archival/libipkg/pkg_hash.h busybox-1.1.2+ipkg-0.99.162/archival/libipkg/pkg_hash.h 
    12034 --- busybox-1.1.2-orig/archival/libipkg/pkg_hash.h    1970-01-01 01:00:00.000000000 +0100 
    12035 +++ busybox-1.1.2+ipkg-0.99.162/archival/libipkg/pkg_hash.h    2006-05-09 02:06:48.000000000 +0200 
     12010diff -ruN busybox-1.2.0-orig/archival/libipkg/pkg_hash.h busybox-1.2.0+ipkg-0.99.162/archival/libipkg/pkg_hash.h 
     12011--- busybox-1.2.0-orig/archival/libipkg/pkg_hash.h    1970-01-01 01:00:00.000000000 +0100 
     12012+++ busybox-1.2.0+ipkg-0.99.162/archival/libipkg/pkg_hash.h    2006-07-22 16:31:25.000000000 +0200 
    1203612013@@ -0,0 +1,61 @@ 
    1203712014+/* pkg_hash.h - the itsy package management system 
     
    1209612073+#endif 
    1209712074+ 
    12098 diff -ruN busybox-1.1.2-orig/archival/libipkg/pkg_parse.c busybox-1.1.2+ipkg-0.99.162/archival/libipkg/pkg_parse.c 
    12099 --- busybox-1.1.2-orig/archival/libipkg/pkg_parse.c   1970-01-01 01:00:00.000000000 +0100 
    12100 +++ busybox-1.1.2+ipkg-0.99.162/archival/libipkg/pkg_parse.c   2006-05-09 02:06:48.000000000 +0200 
     12075diff -ruN busybox-1.2.0-orig/archival/libipkg/pkg_parse.c busybox-1.2.0+ipkg-0.99.162/archival/libipkg/pkg_parse.c 
     12076--- busybox-1.2.0-orig/archival/libipkg/pkg_parse.c   1970-01-01 01:00:00.000000000 +0100 
     12077+++ busybox-1.2.0+ipkg-0.99.162/archival/libipkg/pkg_parse.c   2006-07-22 16:31:25.000000000 +0200 
    1210112078@@ -0,0 +1,366 @@ 
    1210212079+/* pkg_parse.c - the itsy package management system 
     
    1246612443+    return 0; 
    1246712444+} 
    12468 diff -ruN busybox-1.1.2-orig/archival/libipkg/pkg_parse.h busybox-1.1.2+ipkg-0.99.162/archival/libipkg/pkg_parse.h 
    12469 --- busybox-1.1.2-orig/archival/libipkg/pkg_parse.h   1970-01-01 01:00:00.000000000 +0100 
    12470 +++ busybox-1.1.2+ipkg-0.99.162/archival/libipkg/pkg_parse.h   2006-05-09 02:06:48.000000000 +0200 
     12445diff -ruN busybox-1.2.0-orig/archival/libipkg/pkg_parse.h busybox-1.2.0+ipkg-0.99.162/archival/libipkg/pkg_parse.h 
     12446--- busybox-1.2.0-orig/archival/libipkg/pkg_parse.h   1970-01-01 01:00:00.000000000 +0100 
     12447+++ busybox-1.2.0+ipkg-0.99.162/archival/libipkg/pkg_parse.h   2006-07-22 16:31:25.000000000 +0200 
    1247112448@@ -0,0 +1,31 @@ 
    1247212449+/* pkg_parse.h - the itsy package management system 
     
    1250112478+ 
    1250212479+#endif 
    12503 diff -ruN busybox-1.1.2-orig/archival/libipkg/pkg_src.c busybox-1.1.2+ipkg-0.99.162/archival/libipkg/pkg_src.c 
    12504 --- busybox-1.1.2-orig/archival/libipkg/pkg_src.c     1970-01-01 01:00:00.000000000 +0100 
    12505 +++ busybox-1.1.2+ipkg-0.99.162/archival/libipkg/pkg_src.c     2006-05-09 02:06:48.000000000 +0200 
     12480diff -ruN busybox-1.2.0-orig/archival/libipkg/pkg_src.c busybox-1.2.0+ipkg-0.99.162/archival/libipkg/pkg_src.c 
     12481--- busybox-1.2.0-orig/archival/libipkg/pkg_src.c     1970-01-01 01:00:00.000000000 +0100 
     12482+++ busybox-1.2.0+ipkg-0.99.162/archival/libipkg/pkg_src.c     2006-07-22 16:31:25.000000000 +0200 
    1250612483@@ -0,0 +1,43 @@ 
    1250712484+/* pkg_src.c - the itsy package management system 
     
    1254812525+ 
    1254912526+ 
    12550 diff -ruN busybox-1.1.2-orig/archival/libipkg/pkg_src.h busybox-1.1.2+ipkg-0.99.162/archival/libipkg/pkg_src.h 
    12551 --- busybox-1.1.2-orig/archival/libipkg/pkg_src.h     1970-01-01 01:00:00.000000000 +0100 
    12552 +++ busybox-1.1.2+ipkg-0.99.162/archival/libipkg/pkg_src.h     2006-05-09 02:06:48.000000000 +0200 
     12527diff -ruN busybox-1.2.0-orig/archival/libipkg/pkg_src.h busybox-1.2.0+ipkg-0.99.162/archival/libipkg/pkg_src.h 
     12528--- busybox-1.2.0-orig/archival/libipkg/pkg_src.h     1970-01-01 01:00:00.000000000 +0100 
     12529+++ busybox-1.2.0+ipkg-0.99.162/archival/libipkg/pkg_src.h     2006-07-22 16:31:25.000000000 +0200 
    1255312530@@ -0,0 +1,34 @@ 
    1255412531+/* pkg_src.h - the itsy package management system 
     
    1258612563+ 
    1258712564+#endif 
    12588 diff -ruN busybox-1.1.2-orig/archival/libipkg/pkg_src_list.c busybox-1.1.2+ipkg-0.99.162/archival/libipkg/pkg_src_list.c 
    12589 --- busybox-1.1.2-orig/archival/libipkg/pkg_src_list.c        1970-01-01 01:00:00.000000000 +0100 
    12590 +++ busybox-1.1.2+ipkg-0.99.162/archival/libipkg/pkg_src_list.c        2006-05-09 02:06:48.000000000 +0200 
     12565diff -ruN busybox-1.2.0-orig/archival/libipkg/pkg_src_list.c busybox-1.2.0+ipkg-0.99.162/archival/libipkg/pkg_src_list.c 
     12566--- busybox-1.2.0-orig/archival/libipkg/pkg_src_list.c        1970-01-01 01:00:00.000000000 +0100 
     12567+++ busybox-1.2.0+ipkg-0.99.162/archival/libipkg/pkg_src_list.c        2006-07-22 16:31:25.000000000 +0200 
    1259112568@@ -0,0 +1,75 @@ 
    1259212569+/* pkg_src_list.c - the itsy package management system 
     
    1266512642+    return (pkg_src_list_elt_t *) void_list_pop((void_list_t *) list); 
    1266612643+} 
    12667 diff -ruN busybox-1.1.2-orig/archival/libipkg/pkg_src_list.h busybox-1.1.2+ipkg-0.99.162/archival/libipkg/pkg_src_list.h 
    12668 --- busybox-1.1.2-orig/archival/libipkg/pkg_src_list.h        1970-01-01 01:00:00.000000000 +0100 
    12669 +++ busybox-1.1.2+ipkg-0.99.162/archival/libipkg/pkg_src_list.h        2006-05-09 02:06:48.000000000 +0200 
     12644diff -ruN busybox-1.2.0-orig/archival/libipkg/pkg_src_list.h busybox-1.2.0+ipkg-0.99.162/archival/libipkg/pkg_src_list.h 
     12645--- busybox-1.2.0-orig/archival/libipkg/pkg_src_list.h        1970-01-01 01:00:00.000000000 +0100 
     12646+++ busybox-1.2.0+ipkg-0.99.162/archival/libipkg/pkg_src_list.h        2006-07-22 16:31:25.000000000 +0200 
    1267012647@@ -0,0 +1,57 @@ 
    1267112648+/* pkg_src_list.h - the itsy package management system 
     
    1272612703+#endif 
    1272712704+ 
    12728 diff -ruN busybox-1.1.2-orig/archival/libipkg/pkg_vec.c busybox-1.1.2+ipkg-0.99.162/archival/libipkg/pkg_vec.c 
    12729 --- busybox-1.1.2-orig/archival/libipkg/pkg_vec.c     1970-01-01 01:00:00.000000000 +0100 
    12730 +++ busybox-1.1.2+ipkg-0.99.162/archival/libipkg/pkg_vec.c     2006-05-09 02:12:05.000000000 +0200 
     12705diff -ruN busybox-1.2.0-orig/archival/libipkg/pkg_vec.c busybox-1.2.0+ipkg-0.99.162/archival/libipkg/pkg_vec.c 
     12706--- busybox-1.2.0-orig/archival/libipkg/pkg_vec.c     1970-01-01 01:00:00.000000000 +0100 
     12707+++ busybox-1.2.0+ipkg-0.99.162/archival/libipkg/pkg_vec.c     2006-07-22 16:31:26.000000000 +0200 
    1273112708@@ -0,0 +1,230 @@ 
    1273212709+/* pkg_vec.c - the itsy package management system 
     
    1296012937+} 
    1296112938+ 
    12962 diff -ruN busybox-1.1.2-orig/archival/libipkg/pkg_vec.h busybox-1.1.2+ipkg-0.99.162/archival/libipkg/pkg_vec.h 
    12963 --- busybox-1.1.2-orig/archival/libipkg/pkg_vec.h     1970-01-01 01:00:00.000000000 +0100 
    12964 +++ busybox-1.1.2+ipkg-0.99.162/archival/libipkg/pkg_vec.h     2006-05-09 02:06:48.000000000 +0200 
     12939diff -ruN busybox-1.2.0-orig/archival/libipkg/pkg_vec.h busybox-1.2.0+ipkg-0.99.162/archival/libipkg/pkg_vec.h 
     12940--- busybox-1.2.0-orig/archival/libipkg/pkg_vec.h     1970-01-01 01:00:00.000000000 +0100 
     12941+++ busybox-1.2.0+ipkg-0.99.162/archival/libipkg/pkg_vec.h     2006-07-22 16:31:26.000000000 +0200 
    1296512942@@ -0,0 +1,62 @@ 
    1296612943+/* pkg_vec.h - the itsy package management system 
     
    1302613003+#endif 
    1302713004+ 
    13028 diff -ruN busybox-1.1.2-orig/archival/libipkg/sprintf_alloc.h busybox-1.1.2+ipkg-0.99.162/archival/libipkg/sprintf_alloc.h 
    13029 --- busybox-1.1.2-orig/archival/libipkg/sprintf_alloc.h       1970-01-01 01:00:00.000000000 +0100 
    13030 +++ busybox-1.1.2+ipkg-0.99.162/archival/libipkg/sprintf_alloc.h       2006-05-09 02:06:48.000000000 +0200 
     13005diff -ruN busybox-1.2.0-orig/archival/libipkg/sprintf_alloc.h busybox-1.2.0+ipkg-0.99.162/archival/libipkg/sprintf_alloc.h 
     13006--- busybox-1.2.0-orig/archival/libipkg/sprintf_alloc.h       1970-01-01 01:00:00.000000000 +0100 
     13007+++ busybox-1.2.0+ipkg-0.99.162/archival/libipkg/sprintf_alloc.h       2006-07-22 16:31:26.000000000 +0200 
    1303113008@@ -0,0 +1,25 @@ 
    1303213009+/* sprintf_alloca.c -- like sprintf with memory allocation 
     
    1305513032+ 
    1305613033+#endif 
    13057 diff -ruN busybox-1.1.2-orig/archival/libipkg/str_list.c busybox-1.1.2+ipkg-0.99.162/archival/libipkg/str_list.c 
    13058 --- busybox-1.1.2-orig/archival/libipkg/str_list.c    1970-01-01 01:00:00.000000000 +0100 
    13059 +++ busybox-1.1.2+ipkg-0.99.162/archival/libipkg/str_list.c    2006-05-09 02:06:48.000000000 +0200 
     13034diff -ruN busybox-1.2.0-orig/archival/libipkg/str_list.c busybox-1.2.0+ipkg-0.99.162/archival/libipkg/str_list.c 
     13035--- busybox-1.2.0-orig/archival/libipkg/str_list.c    1970-01-01 01:00:00.000000000 +0100 
     13036+++ busybox-1.2.0+ipkg-0.99.162/archival/libipkg/str_list.c    2006-07-22 16:31:26.000000000 +0200 
    1306013037@@ -0,0 +1,76 @@ 
    1306113038+/* str_list.c - the itsy package management system 
     
    1313513112+                                        (void_list_cmp_t)strcmp); 
    1313613113+} 
    13137 diff -ruN busybox-1.1.2-orig/archival/libipkg/str_list.h busybox-1.1.2+ipkg-0.99.162/archival/libipkg/str_list.h 
    13138 --- busybox-1.1.2-orig/archival/libipkg/str_list.h    1970-01-01 01:00:00.000000000 +0100 
    13139 +++ busybox-1.1.2+ipkg-0.99.162/archival/libipkg/str_list.h    2006-05-09 02:06:48.000000000 +0200 
     13114diff -ruN busybox-1.2.0-orig/archival/libipkg/str_list.h busybox-1.2.0+ipkg-0.99.162/archival/libipkg/str_list.h 
     13115--- busybox-1.2.0-orig/archival/libipkg/str_list.h    1970-01-01 01:00:00.000000000 +0100 
     13116+++ busybox-1.2.0+ipkg-0.99.162/archival/libipkg/str_list.h    2006-07-22 16:31:26.000000000 +0200 
    1314013117@@ -0,0 +1,51 @@ 
    1314113118+/* str_list.h - the itsy package management system 
     
    1319013167+ 
    1319113168+#endif 
    13192 diff -ruN busybox-1.1.2-orig/archival/libipkg/str_util.c busybox-1.1.2+ipkg-0.99.162/archival/libipkg/str_util.c 
    13193 --- busybox-1.1.2-orig/archival/libipkg/str_util.c    1970-01-01 01:00:00.000000000 +0100 
    13194 +++ busybox-1.1.2+ipkg-0.99.162/archival/libipkg/str_util.c    2006-05-09 02:06:48.000000000 +0200 
     13169diff -ruN busybox-1.2.0-orig/archival/libipkg/str_util.c busybox-1.2.0+ipkg-0.99.162/archival/libipkg/str_util.c 
     13170--- busybox-1.2.0-orig/archival/libipkg/str_util.c    1970-01-01 01:00:00.000000000 +0100 
     13171+++ busybox-1.2.0+ipkg-0.99.162/archival/libipkg/str_util.c    2006-07-22 16:31:26.000000000 +0200 
    1319513172@@ -0,0 +1,73 @@ 
    1319613173+/* str_utils.c - the itsy package management system 
     
    1326713244+} 
    1326813245+ 
    13269 diff -ruN busybox-1.1.2-orig/archival/libipkg/str_util.h busybox-1.1.2+ipkg-0.99.162/archival/libipkg/str_util.h 
    13270 --- busybox-1.1.2-orig/archival/libipkg/str_util.h    1970-01-01 01:00:00.000000000 +0100 
    13271 +++ busybox-1.1.2+ipkg-0.99.162/archival/libipkg/str_util.h    2006-05-09 02:06:48.000000000 +0200 
     13246diff -ruN busybox-1.2.0-orig/archival/libipkg/str_util.h busybox-1.2.0+ipkg-0.99.162/archival/libipkg/str_util.h 
     13247--- busybox-1.2.0-orig/archival/libipkg/str_util.h    1970-01-01 01:00:00.000000000 +0100 
     13248+++ busybox-1.2.0+ipkg-0.99.162/archival/libipkg/str_util.h    2006-07-22 16:31:26.000000000 +0200 
    1327213249@@ -0,0 +1,28 @@ 
    1327313250+/* str_utils.h - the itsy package management system 
     
    1329913276+ 
    1330013277+#endif 
    13301 diff -ruN busybox-1.1.2-orig/archival/libipkg/user.c busybox-1.1.2+ipkg-0.99.162/archival/libipkg/user.c 
    13302 --- busybox-1.1.2-orig/archival/libipkg/user.c        1970-01-01 01:00:00.000000000 +0100 
    13303 +++ busybox-1.1.2+ipkg-0.99.162/archival/libipkg/user.c        2006-05-09 02:06:48.000000000 +0200 
     13278diff -ruN busybox-1.2.0-orig/archival/libipkg/user.c busybox-1.2.0+ipkg-0.99.162/archival/libipkg/user.c 
     13279--- busybox-1.2.0-orig/archival/libipkg/user.c        1970-01-01 01:00:00.000000000 +0100 
     13280+++ busybox-1.2.0+ipkg-0.99.162/archival/libipkg/user.c        2006-07-22 16:31:26.000000000 +0200 
    1330413281@@ -0,0 +1,58 @@ 
    1330513282+/* user.c - the itsy package management system 
     
    1336113338+     return response; 
    1336213339+} 
    13363 diff -ruN busybox-1.1.2-orig/archival/libipkg/user.h busybox-1.1.2+ipkg-0.99.162/archival/libipkg/user.h 
    13364 --- busybox-1.1.2-orig/archival/libipkg/user.h        1970-01-01 01:00:00.000000000 +0100 
    13365 +++ busybox-1.1.2+ipkg-0.99.162/archival/libipkg/user.h        2006-05-09 02:06:48.000000000 +0200 
     13340diff -ruN busybox-1.2.0-orig/archival/libipkg/user.h busybox-1.2.0+ipkg-0.99.162/archival/libipkg/user.h 
     13341--- busybox-1.2.0-orig/archival/libipkg/user.h        1970-01-01 01:00:00.000000000 +0100 
     13342+++ busybox-1.2.0+ipkg-0.99.162/archival/libipkg/user.h        2006-07-22 16:31:26.000000000 +0200 
    1336613343@@ -0,0 +1,23 @@ 
    1336713344+/* user.c - the itsy package management system 
     
    1338813365+char *get_user_response(const char *format, ...); 
    1338913366+ 
    13390 diff -ruN busybox-1.1.2-orig/archival/libipkg/void_list.c busybox-1.1.2+ipkg-0.99.162/archival/libipkg/void_list.c 
    13391 --- busybox-1.1.2-orig/archival/libipkg/void_list.c   1970-01-01 01:00:00.000000000 +0100 
    13392 +++ busybox-1.1.2+ipkg-0.99.162/archival/libipkg/void_list.c   2006-05-09 02:06:48.000000000 +0200 
     13367diff -ruN busybox-1.2.0-orig/archival/libipkg/void_list.c busybox-1.2.0+ipkg-0.99.162/archival/libipkg/void_list.c 
     13368--- busybox-1.2.0-orig/archival/libipkg/void_list.c   1970-01-01 01:00:00.000000000 +0100 
     13369+++ busybox-1.2.0+ipkg-0.99.162/archival/libipkg/void_list.c   2006-07-22 16:31:26.000000000 +0200 
    1339313370@@ -0,0 +1,194 @@ 
    1339413371+/* void_list.c - the itsy package management system 
     
    1358613563+         return NULL; 
    1358713564+} 
    13588 diff -ruN busybox-1.1.2-orig/archival/libipkg/void_list.h busybox-1.1.2+ipkg-0.99.162/archival/libipkg/void_list.h 
    13589 --- busybox-1.1.2-orig/archival/libipkg/void_list.h   1970-01-01 01:00:00.000000000 +0100 
    13590 +++ busybox-1.1.2+ipkg-0.99.162/archival/libipkg/void_list.h   2006-05-09 02:06:48.000000000 +0200 
     13565diff -ruN busybox-1.2.0-orig/archival/libipkg/void_list.h busybox-1.2.0+ipkg-0.99.162/archival/libipkg/void_list.h 
     13566--- busybox-1.2.0-orig/archival/libipkg/void_list.h   1970-01-01 01:00:00.000000000 +0100 
     13567+++ busybox-1.2.0+ipkg-0.99.162/archival/libipkg/void_list.h   2006-07-22 16:31:26.000000000 +0200 
    1359113568@@ -0,0 +1,59 @@ 
    1359213569+/* void_list.h - the itsy package management system 
     
    1364913626+ 
    1365013627+#endif 
    13651 diff -ruN busybox-1.1.2-orig/archival/libipkg/xsystem.c busybox-1.1.2+ipkg-0.99.162/archival/libipkg/xsystem.c 
    13652 --- busybox-1.1.2-orig/archival/libipkg/xsystem.c     1970-01-01 01:00:00.000000000 +0100 
    13653 +++ busybox-1.1.2+ipkg-0.99.162/archival/libipkg/xsystem.c     2006-05-09 02:06:48.000000000 +0200 
     13628diff -ruN busybox-1.2.0-orig/archival/libipkg/xsystem.c busybox-1.2.0+ipkg-0.99.162/archival/libipkg/xsystem.c 
     13629--- busybox-1.2.0-orig/archival/libipkg/xsystem.c     1970-01-01 01:00:00.000000000 +0100 
     13630+++ busybox-1.2.0+ipkg-0.99.162/archival/libipkg/xsystem.c     2006-07-22 16:31:26.000000000 +0200 
    1365413631@@ -0,0 +1,64 @@ 
    1365513632+/* xsystem.c - system(3) with error messages 
     
    1371713694+} 
    1371813695+         
    13719 diff -ruN busybox-1.1.2-orig/archival/libipkg/xsystem.h busybox-1.1.2+ipkg-0.99.162/archival/libipkg/xsystem.h 
    13720 --- busybox-1.1.2-orig/archival/libipkg/xsystem.h     1970-01-01 01:00:00.000000000 +0100 
    13721 +++ busybox-1.1.2+ipkg-0.99.162/archival/libipkg/xsystem.h     2006-05-09 02:06:48.000000000 +0200 
     13696diff -ruN busybox-1.2.0-orig/archival/libipkg/xsystem.h busybox-1.2.0+ipkg-0.99.162/archival/libipkg/xsystem.h 
     13697--- busybox-1.2.0-orig/archival/libipkg/xsystem.h     1970-01-01 01:00:00.000000000 +0100 
     13698+++ busybox-1.2.0+ipkg-0.99.162/archival/libipkg/xsystem.h     2006-07-22 16:31:26.000000000 +0200 
    1372213699@@ -0,0 +1,34 @@ 
    1372313700+/* xsystem.h - system(3) with error messages 
     
    1375513732+#endif 
    1375613733+         
    13757 diff -ruN busybox-1.1.2-orig/archival/libunarchive/Makefile.in busybox-1.1.2+ipkg-0.99.162/archival/libunarchive/Makefile.in 
    13758 --- busybox-1.1.2-orig/archival/libunarchive/Makefile.in        2006-03-22 22:16:20.000000000 +0100 
    13759 +++ busybox-1.1.2+ipkg-0.99.162/archival/libunarchive/Makefile.in       2006-05-09 02:06:48.000000000 +0200 
     13734diff -ruN busybox-1.2.0-orig/archival/libunarchive/data_extract_all.c busybox-1.2.0+ipkg-0.99.162/archival/libunarchive/data_extract_all.c 
     13735--- busybox-1.2.0-orig/archival/libunarchive/data_extract_all.c 2006-07-01 00:42:04.000000000 +0200 
     13736+++ busybox-1.2.0+ipkg-0.99.162/archival/libunarchive/data_extract_all.c        2006-07-22 16:31:26.000000000 +0200 
     13737@@ -126,3 +126,17 @@ 
     13738                utime(file_header->name, &t); 
     13739        } 
     13740 } 
     13741
     13742+extern void data_extract_all_prefix(archive_handle_t *archive_handle) 
     13743+{ 
     13744+       char *name_ptr = archive_handle->file_header->name; 
     13745
     13746+       name_ptr += strspn(name_ptr, "./"); 
     13747+       if (name_ptr[0] != '\0') { 
     13748+               archive_handle->file_header->name = xmalloc(strlen(archive_handle->buffer) + 1 + strlen(name_ptr) + 1); 
     13749+               strcpy(archive_handle->file_header->name, archive_handle->buffer); 
     13750+               strcat(archive_handle->file_header->name, name_ptr); 
     13751+               data_extract_all(archive_handle); 
     13752+       } 
     13753+} 
     13754
     13755diff -ruN busybox-1.2.0-orig/archival/libunarchive/Makefile.in busybox-1.2.0+ipkg-0.99.162/archival/libunarchive/Makefile.in 
     13756--- busybox-1.2.0-orig/archival/libunarchive/Makefile.in        2006-07-01 00:42:03.000000000 +0200 
     13757+++ busybox-1.2.0+ipkg-0.99.162/archival/libunarchive/Makefile.in       2006-07-22 16:31:26.000000000 +0200 
    1376013758@@ -58,6 +58,7 @@ 
    1376113759 LIBUNARCHIVE-$(CONFIG_FEATURE_DEB_TAR_LZMA) += decompress_unlzma.o get_header_tar_lzma.o 
     
    1376613764 LIBUNARCHIVE-$(CONFIG_RPM) += $(GUNZIP_FILES) get_header_cpio.o 
    1376713765 LIBUNARCHIVE-$(CONFIG_TAR) += get_header_tar.o 
    13768 diff -ruN busybox-1.1.2-orig/archival/libunarchive/data_extract_all.c busybox-1.1.2+ipkg-0.99.162/archival/libunarchive/data_extract_all.c 
    13769 --- busybox-1.1.2-orig/archival/libunarchive/data_extract_all.c 2006-03-22 22:16:20.000000000 +0100 
    13770 +++ busybox-1.1.2+ipkg-0.99.162/archival/libunarchive/data_extract_all.c        2006-05-09 02:06:48.000000000 +0200 
    13771 @@ -126,3 +126,17 @@ 
    13772                 utime(file_header->name, &t); 
    13773         } 
    13774  } 
    13775 
    13776 +extern void data_extract_all_prefix(archive_handle_t *archive_handle) 
    13777 +{ 
    13778 +       char *name_ptr = archive_handle->file_header->name; 
    13779 
    13780 +       name_ptr += strspn(name_ptr, "./"); 
    13781 +       if (name_ptr[0] != '\0') { 
    13782 +               archive_handle->file_header->name = xmalloc(strlen(archive_handle->buffer) + 1 + strlen(name_ptr) + 1); 
    13783 +               strcpy(archive_handle->file_header->name, archive_handle->buffer); 
    13784 +               strcat(archive_handle->file_header->name, name_ptr); 
    13785 +               data_extract_all(archive_handle); 
    13786 +       } 
    13787 +} 
    13788 
    13789 diff -ruN busybox-1.1.2-orig/include/applets.h busybox-1.1.2+ipkg-0.99.162/include/applets.h 
    13790 --- busybox-1.1.2-orig/include/applets.h        2006-03-22 22:16:24.000000000 +0100 
    13791 +++ busybox-1.1.2+ipkg-0.99.162/include/applets.h       2006-05-09 02:06:48.000000000 +0200 
    13792 @@ -149,6 +149,7 @@ 
    13793  USE_IPCALC(APPLET(ipcalc, ipcalc_main, _BB_DIR_BIN, _BB_SUID_NEVER)) 
    13794  USE_IPCRM(APPLET(ipcrm, ipcrm_main, _BB_DIR_USR_BIN, _BB_SUID_ALWAYS)) 
    13795  USE_IPCS(APPLET(ipcs, ipcs_main, _BB_DIR_USR_BIN, _BB_SUID_ALWAYS)) 
    13796 +USE_IPKG(APPLET(ipkg, ipkg_main, _BB_DIR_USR_BIN, _BB_SUID_NEVER)) 
    13797  USE_IPLINK(APPLET(iplink, iplink_main, _BB_DIR_BIN, _BB_SUID_NEVER)) 
    13798  USE_IPROUTE(APPLET(iproute, iproute_main, _BB_DIR_BIN, _BB_SUID_NEVER)) 
    13799  USE_IPTUNNEL(APPLET(iptunnel, iptunnel_main, _BB_DIR_BIN, _BB_SUID_NEVER)) 
    13800 diff -ruN busybox-1.1.2-orig/include/unarchive.h busybox-1.1.2+ipkg-0.99.162/include/unarchive.h 
    13801 --- busybox-1.1.2-orig/include/unarchive.h      2006-03-22 22:16:24.000000000 +0100 
    13802 +++ busybox-1.1.2+ipkg-0.99.162/include/unarchive.h     2006-05-09 02:06:48.000000000 +0200 
    13803 @@ -74,6 +74,7 @@ 
     13766diff -ruN busybox-1.2.0-orig/archival/Makefile.in busybox-1.2.0+ipkg-0.99.162/archival/Makefile.in 
     13767--- busybox-1.2.0-orig/archival/Makefile.in     2006-07-01 00:42:04.000000000 +0200 
     13768+++ busybox-1.2.0+ipkg-0.99.162/archival/Makefile.in    2006-07-22 16:31:25.000000000 +0200 
     13769@@ -20,6 +20,7 @@ 
     13770 ARCHIVAL-$(CONFIG_DPKG_DEB)    += dpkg_deb.o 
     13771 ARCHIVAL-$(CONFIG_GUNZIP)      += gunzip.o 
     13772 ARCHIVAL-$(CONFIG_GZIP)                += gzip.o 
     13773+ARCHIVAL-$(CONFIG_IPKG)                += ipkg.o 
     13774 ARCHIVAL-$(CONFIG_RPM2CPIO)    += rpm2cpio.o 
     13775 ARCHIVAL-$(CONFIG_RPM)         += rpm.o 
     13776 ARCHIVAL-$(CONFIG_TAR)         += tar.o 
     13777diff -ruN busybox-1.2.0-orig/include/applets.h busybox-1.2.0+ipkg-0.99.162/include/applets.h 
     13778--- busybox-1.2.0-orig/include/applets.h        2006-07-01 00:42:10.000000000 +0200 
     13779+++ busybox-1.2.0+ipkg-0.99.162/include/applets.h       2006-07-22 16:35:35.000000000 +0200 
     13780@@ -152,6 +152,7 @@ 
     13781 USE_IPCALC(APPLET(ipcalc, _BB_DIR_BIN, _BB_SUID_NEVER)) 
     13782 USE_IPCRM(APPLET(ipcrm, _BB_DIR_USR_BIN, _BB_SUID_ALWAYS)) 
     13783 USE_IPCS(APPLET(ipcs, _BB_DIR_USR_BIN, _BB_SUID_ALWAYS)) 
     13784+USE_IPKG(APPLET(ipkg, _BB_DIR_USR_BIN, _BB_SUID_NEVER)) 
     13785 USE_IPLINK(APPLET(iplink, _BB_DIR_BIN, _BB_SUID_NEVER)) 
     13786 USE_IPROUTE(APPLET(iproute, _BB_DIR_BIN, _BB_SUID_NEVER)) 
     13787 USE_IPTUNNEL(APPLET(iptunnel, _BB_DIR_BIN, _BB_SUID_NEVER)) 
     13788diff -ruN busybox-1.2.0-orig/include/unarchive.h busybox-1.2.0+ipkg-0.99.162/include/unarchive.h 
     13789--- busybox-1.2.0-orig/include/unarchive.h      2006-07-01 00:42:10.000000000 +0200 
     13790+++ busybox-1.2.0+ipkg-0.99.162/include/unarchive.h     2006-07-22 16:31:26.000000000 +0200 
     13791@@ -77,6 +77,7 @@ 
    1380413792  
    1380513793 extern void data_skip(archive_handle_t *archive_handle); 
     
    1380913797 extern void data_extract_to_buffer(archive_handle_t *archive_handle); 
    1381013798  
    13811 diff -ruN busybox-1.1.2-orig/include/usage.h busybox-1.1.2+ipkg-0.99.162/include/usage.h 
    13812 --- busybox-1.1.2-orig/include/usage.h 2006-03-22 22:16:24.000000000 +0100 
    13813 +++ busybox-1.1.2+ipkg-0.99.162/include/usage.h        2006-05-09 02:06:48.000000000 +0200 
    13814 @@ -1013,6 +1013,82 @@ 
     13799diff -ruN busybox-1.2.0-orig/include/usage.h busybox-1.2.0+ipkg-0.99.162/include/usage.h 
     13800--- busybox-1.2.0-orig/include/usage.h 2006-07-01 00:42:10.000000000 +0200 
     13801+++ busybox-1.2.0+ipkg-0.99.162/include/usage.h        2006-07-22 16:31:26.000000000 +0200 
     13802@@ -982,6 +982,82 @@ 
    1381513803        "$ ls -la /tmp/busybox*\n" \ 
    1381613804        "-rw-rw-r--    1 andersen andersen   554058 Apr 14 17:49 /tmp/busybox.tar.gz\n" 
     
    1389513883        "[-d<delay>] [-n<nosync>] [-f<force>]" 
    1389613884 #define halt_full_usage \ 
     13885diff -ruN busybox-1.2.0-orig/Makefile busybox-1.2.0+ipkg-0.99.162/Makefile 
     13886--- busybox-1.2.0-orig/Makefile 2006-07-01 00:42:13.000000000 +0200 
     13887+++ busybox-1.2.0+ipkg-0.99.162/Makefile        2006-07-22 16:31:25.000000000 +0200 
     13888@@ -31,7 +31,7 @@ 
     13889 export srctree=$(top_srcdir) 
     13890 vpath %/Config.in $(srctree) 
     13891  
     13892-DIRS:=applets archival archival/libunarchive coreutils console-tools \ 
     13893+DIRS:=applets archival archival/libipkg archival/libunarchive coreutils console-tools \ 
     13894        debianutils editors findutils init miscutils modutils networking \ 
     13895        networking/libiproute networking/udhcp procps loginutils shell \ 
     13896        sysklogd util-linux e2fsprogs libpwdgrp coreutils/libcoreutils libbb 
  • trunk/freewrt/package/busybox/patches/912-ipkg-no_warnings.patch

    r1 r993  
     1# Copyright (C) 2006 OpenWrt.org 
     2# 
     3# This is free software, licensed under the GNU General Public License v2. 
     4# See /LICENSE for more information. 
    15# 
    26# remove (numerous) compile warnings 
  • trunk/freewrt/package/busybox/patches/913-libbb_hash.patch

    r1 r993  
    1 
    2 # expose (again) an hash_fd function (used 911-ipkg.patch) 
    3 
    4 diff -ruN busybox-1.1.1-old/coreutils/md5_sha1_sum.c busybox-1.1.1-new/coreutils/md5_sha1_sum.c 
    5 --- busybox-1.1.1-old/coreutils/md5_sha1_sum.c  2006-03-30 00:14:50.000000000 +0200 
    6 +++ busybox-1.1.1-new/coreutils/md5_sha1_sum.c  2006-03-29 23:46:51.000000000 +0200 
    7 @@ -15,80 +15,10 @@ 
     1diff -Nur busybox-1.2.1.orig/coreutils/md5_sha1_sum.c busybox-1.2.1/coreutils/md5_sha1_sum.c 
     2--- busybox-1.2.1.orig/coreutils/md5_sha1_sum.c 2006-07-01 00:42:07.000000000 +0200 
     3+++ busybox-1.2.1/coreutils/md5_sha1_sum.c      2006-10-23 16:39:05.000000000 +0200 
     4@@ -16,79 +16,10 @@ 
    85  
    96 #include "busybox.h" 
     
    4138-       void (*update)(const void*, size_t, void*); 
    4239-       void (*final)(void*, void*); 
    43 -       
    44 -       if(strcmp(filename, "-") == 0) { 
     40- 
     41-       if (strcmp(filename, "-") == 0) { 
    4542-               src_fd = STDIN_FILENO; 
    4643-       } else if(0 > (src_fd = open(filename, O_RDONLY))) { 
     
    4946-       } 
    5047- 
    51 -       // figure specific hash algorithims 
    52 -       if(ENABLE_MD5SUM && hash_algo==HASH_MD5) { 
     48-       /* figure specific hash algorithims */ 
     49-       if (ENABLE_MD5SUM && hash_algo==HASH_MD5) { 
    5350-               md5_begin(&context.md5); 
    5451-               update = (void (*)(const void*, size_t, void*))md5_hash; 
    5552-               final = (void (*)(void*, void*))md5_end; 
    5653-               hash_len = 16; 
    57 -       } else if(ENABLE_SHA1SUM && hash_algo==HASH_SHA1) { 
     54-       } else if (ENABLE_SHA1SUM && hash_algo==HASH_SHA1) { 
    5855-               sha1_begin(&context.sha1); 
    5956-               update = (void (*)(const void*, size_t, void*))sha1_hash; 
     
    6158-               hash_len = 20; 
    6259-       } else { 
    63 -               bb_error_msg_and_die("algotithm not supported"); 
    64 -       } 
    65 -        
    66 
    67 -       while(0 < (count = read(src_fd, in_buf, sizeof in_buf))) { 
     60-               bb_error_msg_and_die("algorithm not supported"); 
     61-       } 
     62
     63-       while (0 < (count = read(src_fd, in_buf, 4096))) { 
    6864-               update(in_buf, count, &context); 
    6965-       } 
    7066- 
    71 -       if(count == 0) { 
     67-       if (count == 0) { 
    7268-               final(in_buf, &context); 
    7369-               hash_value = hash_bin_to_hex(in_buf, hash_len); 
    7470-       } 
    75 -       
     71- 
    7672-       RELEASE_CONFIG_BUFFER(in_buf); 
    77 -       
    78 -       if(src_fd != STDIN_FILENO) { 
     73- 
     74-       if (src_fd != STDIN_FILENO) { 
    7975-               close(src_fd); 
    8076-       } 
    81 -       
     77- 
    8278-       return hash_value; 
    8379-} 
     
    8682 static int hash_files(int argc, char **argv, hash_algo_t hash_algo) 
    8783 { 
    88 diff -ruN busybox-1.1.1-old/include/libbb.h busybox-1.1.1-new/include/libbb.h 
    89 --- busybox-1.1.1-old/include/libbb.h   2006-03-30 00:14:50.000000000 +0200 
    90 +++ busybox-1.1.1-new/include/libbb.h   2006-03-30 00:31:48.000000000 +0200 
    91 @@ -490,6 +490,12 @@ 
     84diff -Nur busybox-1.2.1.orig/include/libbb.h busybox-1.2.1/include/libbb.h 
     85--- busybox-1.2.1.orig/include/libbb.h  2006-07-29 00:53:44.000000000 +0200 
     86+++ busybox-1.2.1/include/libbb.h       2006-10-23 16:39:05.000000000 +0200 
     87@@ -520,6 +520,8 @@ 
     88 extern int get_terminal_width_height(int fd, int *width, int *height); 
     89 extern unsigned long get_ug_id(const char *s, long (*__bb_getxxnam)(const char *)); 
     90  
     91+typedef enum { HASH_SHA1, HASH_MD5 } hash_algo_t; 
     92
     93 typedef struct _sha1_ctx_t_ { 
     94        uint32_t count[2]; 
     95        uint32_t hash[5]; 
     96@@ -544,6 +546,10 @@ 
    9297 void md5_hash(const void *data, size_t length, md5_ctx_t *ctx); 
    9398 void *md5_end(void *resbuf, md5_ctx_t *ctx); 
    9499  
    95 +typedef enum { HASH_SHA1, HASH_MD5 } hash_algo_t; 
    96 + 
    97100+unsigned char *hash_bin_to_hex(unsigned char *hash_value, unsigned char hash_length); 
    98101+int hash_fd(int fd, hash_algo_t hash_algo, uint8_t *hash_value); 
    99102+uint8_t *hash_file(const char *filename, hash_algo_t hash_algo); 
    100103+ 
    101  /* busybox.h will include dmalloc later for us, else include it here.  */ 
    102  #if !defined _BB_INTERNAL_H_ && defined DMALLOC 
    103  #include <dmalloc.h> 
    104 diff -ruN busybox-1.1.1-old/libbb/Makefile.in busybox-1.1.1-new/libbb/Makefile.in 
    105 --- busybox-1.1.1-old/libbb/Makefile.in 2006-03-30 00:14:50.000000000 +0200 
    106 +++ busybox-1.1.1-new/libbb/Makefile.in 2006-03-29 23:46:51.000000000 +0200 
    107 @@ -11,6 +11,7 @@ 
    108   
    109  LIBBB-n:= 
    110  LIBBB-y:= \ 
    111 +       hash.c \ 
    112         bb_asprintf.c ask_confirmation.c change_identity.c chomp.c \ 
    113         compare_string_array.c concat_path_file.c copy_file.c copyfd.c \ 
    114         create_icmp_socket.c create_icmp6_socket.c \ 
    115 diff -ruN busybox-1.1.1-old/libbb/hash.c busybox-1.1.1-new/libbb/hash.c 
    116 --- busybox-1.1.1-old/libbb/hash.c      1970-01-01 01:00:00.000000000 +0100 
    117 +++ busybox-1.1.1-new/libbb/hash.c      2006-03-30 00:35:54.000000000 +0200 
     104 extern uint32_t *bb_crc32_filltable (int endian); 
     105  
     106 #ifndef RB_POWER_OFF 
     107diff -Nur busybox-1.2.1.orig/libbb/hash.c busybox-1.2.1/libbb/hash.c 
     108--- busybox-1.2.1.orig/libbb/hash.c     1970-01-01 01:00:00.000000000 +0100 
     109+++ busybox-1.2.1/libbb/hash.c  2006-10-23 16:39:05.000000000 +0200 
    118110@@ -0,0 +1,100 @@ 
    119111+/* 
     
    159151+        
    160152+       // figure specific hash algorithims 
    161 +       if(hash_algo==HASH_MD5) { 
     153+       if (hash_algo==HASH_MD5) { 
    162154+               md5_begin(&context.md5); 
    163155+               update = (void (*)(const void*, size_t, void*))md5_hash; 
    164156+               final = (void (*)(void*, void*))md5_end; 
    165 +       } else if(hash_algo==HASH_SHA1) { 
     157+       } else if (hash_algo==HASH_SHA1) { 
    166158+               sha1_begin(&context.sha1); 
    167159+               update = (void (*)(const void*, size_t, void*))sha1_hash; 
     
    170162+ 
    171163+ 
    172 +       while(0 < (count = read(fd, in_buf, sizeof in_buf))) { 
     164+       while (0 < (count = read(fd, in_buf, sizeof in_buf))) { 
    173165+               update(in_buf, count, &context); 
    174166+               result += count; 
    175167+       } 
    176168+ 
    177 +       if(count == 0) { 
     169+       if (count == 0) { 
    178170+               final(hash_value, &context); 
    179171+       } 
     
    190182+       uint8_t *hash_value = NULL; 
    191183+        
    192 +       if(ENABLE_MD5SUM && hash_algo==HASH_MD5) { 
     184+       if (ENABLE_MD5SUM && hash_algo==HASH_MD5) { 
    193185+               hash_len = 16; 
    194 +       } else if(ENABLE_SHA1SUM && hash_algo==HASH_SHA1) { 
     186+       } else if (ENABLE_SHA1SUM && hash_algo==HASH_SHA1) { 
    195187+               hash_len = 20; 
    196188+       } else { 
     
    198190+       } 
    199191+ 
    200 +       if(strcmp(filename, "-") == 0) { 
     192+       if (strcmp(filename, "-") == 0) { 
    201193+               src_fd = STDIN_FILENO; 
    202 +       } else if(0 > (src_fd = open(filename, O_RDONLY))) { 
     194+       } else if (0 > (src_fd = open(filename, O_RDONLY))) { 
    203195+               bb_perror_msg("%s", filename); 
    204196+               return NULL; 
    205197+       } 
    206198+ 
    207 +       if(hash_fd(src_fd, hash_algo, hash_buf) > 0) { 
     199+       if (hash_fd(src_fd, hash_algo, hash_buf) > 0) { 
    208200+               hash_value = hash_bin_to_hex(hash_buf, hash_len); 
    209201+       } 
    210202+        
    211 +       if(src_fd != STDIN_FILENO) { 
     203+       if (src_fd != STDIN_FILENO) { 
    212204+               close(src_fd); 
    213205+       } 
     
    217209+       return hash_value; 
    218210+} 
     211diff -Nur busybox-1.2.1.orig/libbb/Makefile.in busybox-1.2.1/libbb/Makefile.in 
     212--- busybox-1.2.1.orig/libbb/Makefile.in        2006-07-01 00:42:08.000000000 +0200 
     213+++ busybox-1.2.1/libbb/Makefile.in     2006-10-23 16:39:05.000000000 +0200 
     214@@ -11,6 +11,7 @@ 
     215  
     216 LIBBB-n:= 
     217 LIBBB-y:= \ 
     218+       hash.c \ 
     219        bb_asprintf.c ask_confirmation.c change_identity.c chomp.c \ 
     220        compare_string_array.c concat_path_file.c copy_file.c copyfd.c \ 
     221        crc32.c create_icmp_socket.c create_icmp6_socket.c \ 
  • trunk/freewrt/package/busybox/patches/914-ipkg-fixes.patch

    r1 r993  
     1# Copyright (C) 2006 OpenWrt.org 
     2# 
     3# This is free software, licensed under the GNU General Public License v2. 
     4# See /LICENSE for more information. 
    15# 
    26# fix ipkg bugs 
  • trunk/freewrt/package/busybox/patches/920-ifupdown-manual.patch

    r751 r993  
    1 diff -Nur busybox-1.1.3.orig/networking/ifupdown.c busybox-1.1.3/networking/ifupdown.c 
    2 --- busybox-1.1.3.orig/networking/ifupdown.c   2006-09-28 18:55:56.000000000 +0200 
    3 +++ busybox-1.1.3/networking/ifupdown.c        2006-09-28 18:56:40.000000000 +0200 
    4 @@ -486,6 +486,16 @@ 
     1diff -Nur busybox-1.2.1.orig/networking/ifupdown.c busybox-1.2.1/networking/ifupdown.c 
     2--- busybox-1.2.1.orig/networking/ifupdown.c   2006-07-01 00:42:02.000000000 +0200 
     3+++ busybox-1.2.1/networking/ifupdown.c        2006-10-23 16:39:59.000000000 +0200 
     4@@ -453,6 +453,16 @@ 
    55        return ((result == 2) ? 2 : 0); 
    66 } 
     
    1919 { 
    2020        struct stat buf; 
    21 @@ -569,6 +579,7 @@ 
     21@@ -536,6 +546,7 @@ 
    2222        { "bootp", bootp_up, static_down, }, 
    2323        { "dhcp", dhcp_up, dhcp_down, },