From 28bfc5688a1a016bef4a001a5bc2a7f7703b1f85 Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Tue, 20 Mar 2012 17:47:39 +0100 Subject: allconfig fixes for lemote yeelong --- package/busybox/Makefile | 4 +- .../config/e2fsprogs/old_e2fsprogs/Config.in | 70 +-- .../0001-nameif-fix-parsing-proc-net-dev.patch | 31 -- ...02-nameif-Added-matching-for-PhyAddresses.patch | 103 ---- package/busybox/patches/001-ipkg.patch | 549 ++++++++++++--------- package/busybox/patches/003-defaults.patch | 157 +++--- package/busybox/patches/004-remove-cflags.patch | 22 - package/busybox/patches/008-ps.patch | 110 ----- package/busybox/patches/009-nfs-remount.patch | 13 - 9 files changed, 442 insertions(+), 617 deletions(-) delete mode 100644 package/busybox/patches/0001-nameif-fix-parsing-proc-net-dev.patch delete mode 100644 package/busybox/patches/0002-nameif-Added-matching-for-PhyAddresses.patch delete mode 100644 package/busybox/patches/004-remove-cflags.patch delete mode 100644 package/busybox/patches/008-ps.patch delete mode 100644 package/busybox/patches/009-nfs-remount.patch (limited to 'package/busybox') diff --git a/package/busybox/Makefile b/package/busybox/Makefile index 67884cf3e..0f305065e 100644 --- a/package/busybox/Makefile +++ b/package/busybox/Makefile @@ -4,9 +4,9 @@ include $(TOPDIR)/rules.mk PKG_NAME:= busybox -PKG_VERSION:= 1.18.4 +PKG_VERSION:= 1.19.4 PKG_RELEASE:= 1 -PKG_MD5SUM:= b03c5b46ced732679e525a920a1a62f5 +PKG_MD5SUM:= 9c0cae5a0379228e7b55e5b29528df8e PKG_DESCR:= Core utilities for embedded systems PKG_SECTION:= base PKG_URL:= http://www.busybox.net/ diff --git a/package/busybox/config/e2fsprogs/old_e2fsprogs/Config.in b/package/busybox/config/e2fsprogs/old_e2fsprogs/Config.in index f07b54c3d..e7e376c0d 100644 --- a/package/busybox/config/e2fsprogs/old_e2fsprogs/Config.in +++ b/package/busybox/config/e2fsprogs/old_e2fsprogs/Config.in @@ -11,15 +11,15 @@ config BUSYBOX_CHATTR help chattr changes the file attributes on a second extended file system. -config BUSYBOX_E2FSCK - bool "e2fsck" - default n - help - e2fsck is used to check Linux second extended file systems (ext2fs). - e2fsck also supports ext2 filesystems countaining a journal (ext3). - The normal compat symlinks 'fsck.ext2' and 'fsck.ext3' are also - provided. - +#config BUSYBOX_E2FSCK +# bool "e2fsck" +# default n +# help +## e2fsck is used to check Linux second extended file systems (ext2fs). +# e2fsck also supports ext2 filesystems countaining a journal (ext3). +# The normal compat symlinks 'fsck.ext2' and 'fsck.ext3' are also +# provided. +# config BUSYBOX_FSCK bool "fsck" default n @@ -34,34 +34,34 @@ config BUSYBOX_LSATTR help lsattr lists the file attributes on a second extended file system. -config BUSYBOX_MKE2FS - bool "mke2fs" - default n - help - mke2fs is used to create an ext2/ext3 filesystem. The normal compat - symlinks 'mkfs.ext2' and 'mkfs.ext3' are also provided. +#config BUSYBOX_MKE2FS +# bool "mke2fs" +# default n +# help +# mke2fs is used to create an ext2/ext3 filesystem. The normal compat +# symlinks 'mkfs.ext2' and 'mkfs.ext3' are also provided. -config BUSYBOX_TUNE2FS - bool "tune2fs" - default n - help - tune2fs allows the system administrator to adjust various tunable - filesystem parameters on Linux ext2/ext3 filesystems. +#config BUSYBOX_TUNE2FS +# bool "tune2fs" +# default n +# help +## tune2fs allows the system administrator to adjust various tunable +# filesystem parameters on Linux ext2/ext3 filesystems. -config BUSYBOX_E2LABEL - bool "e2label" - default n - depends on BUSYBOX_TUNE2FS - help - e2label will display or change the filesystem label on the ext2 - filesystem located on device. +#config BUSYBOX_E2LABEL +# bool "e2label" +# default n +# depends on BUSYBOX_TUNE2FS +# help +# e2label will display or change the filesystem label on the ext2 +# filesystem located on device. -config BUSYBOX_FINDFS - bool "findfs" - default n - depends on BUSYBOX_TUNE2FS - help - findfs will search the disks in the system looking for a filesystem - which has a label matching label or a UUID equal to uuid. +#config BUSYBOX_FINDFS +# bool "findfs" +# default n +# depends on BUSYBOX_TUNE2FS +# help +# findfs will search the disks in the system looking for a filesystem +# which has a label matching label or a UUID equal to uuid. endmenu diff --git a/package/busybox/patches/0001-nameif-fix-parsing-proc-net-dev.patch b/package/busybox/patches/0001-nameif-fix-parsing-proc-net-dev.patch deleted file mode 100644 index 2c5ef6b41..000000000 --- a/package/busybox/patches/0001-nameif-fix-parsing-proc-net-dev.patch +++ /dev/null @@ -1,31 +0,0 @@ -From ea80044062500c7473cf214010576ea2681d8d2e Mon Sep 17 00:00:00 2001 -From: Phil Sutter -Date: Thu, 3 Mar 2011 15:13:57 +0100 -Subject: [PATCH 1/2] nameif: fix parsing /proc/net/dev - -The parser field lineno is initially zero and incremented upon each -call to config_read(). So lineno is effectively a "real" line number, -not an index. Fix the off-by-one bug here, which led to parsing for an -interface named "face". - -Signed-off-by: Phil Sutter ---- - networking/nameif.c | 2 +- - 1 files changed, 1 insertions(+), 1 deletions(-) - -diff --git a/networking/nameif.c b/networking/nameif.c -index 6cf1c50..8e325e7 100644 ---- a/networking/nameif.c -+++ b/networking/nameif.c -@@ -174,7 +174,7 @@ int nameif_main(int argc, char **argv) - #if ENABLE_FEATURE_NAMEIF_EXTENDED - struct ethtool_drvinfo drvinfo; - #endif -- if (parser->lineno < 2) -+ if (parser->lineno < 3) - continue; /* Skip the first two lines */ - - /* Find the current interface name and copy it to ifr.ifr_name */ --- -1.7.3.4 - diff --git a/package/busybox/patches/0002-nameif-Added-matching-for-PhyAddresses.patch b/package/busybox/patches/0002-nameif-Added-matching-for-PhyAddresses.patch deleted file mode 100644 index e388c4c5b..000000000 --- a/package/busybox/patches/0002-nameif-Added-matching-for-PhyAddresses.patch +++ /dev/null @@ -1,103 +0,0 @@ -From eb65132adca3fe1e7c39fc6032266a8d04150561 Mon Sep 17 00:00:00 2001 -From: Nico Erfurth -Date: Sun, 27 Feb 2011 17:57:30 +0100 -Subject: [PATCH 2/2] nameif: Added matching for PhyAddresses - -Very useful when trying to distinguish platform-devices served by the -same driver, which is actually quite common in embedded-devices. - -Signed-off-by: Nico Erfurth -Signed-off-by: Phil Sutter ---- - networking/nameif.c | 33 +++++++++++++++++++++++++++++++++ - 1 files changed, 33 insertions(+), 0 deletions(-) - -diff --git a/networking/nameif.c b/networking/nameif.c -index 8e325e7..8d64b37 100644 ---- a/networking/nameif.c -+++ b/networking/nameif.c -@@ -38,6 +38,7 @@ typedef struct ethtable_s { - #if ENABLE_FEATURE_NAMEIF_EXTENDED - char *bus_info; - char *driver; -+ int32_t phy_address; - #endif - } ethtable_t; - -@@ -59,6 +60,25 @@ struct ethtool_drvinfo { - uint32_t eedump_len; /* Size of data from ETHTOOL_GEEPROM (bytes) */ - uint32_t regdump_len; /* Size of data from ETHTOOL_GREGS (bytes) */ - }; -+ -+struct ethtool_cmd { -+ __u32 cmd; -+ __u32 supported; /* Features this interface supports */ -+ __u32 advertising; /* Features this interface advertises */ -+ __u16 speed; /* The forced speed, 10Mb, 100Mb, gigabit */ -+ __u8 duplex; /* Duplex, half or full */ -+ __u8 port; /* Which connector port */ -+ __u8 phy_address; -+ __u8 transceiver; /* Which transceiver to use */ -+ __u8 autoneg; /* Enable or disable autonegotiation */ -+ __u32 maxtxpkt; /* Tx pkts before generating tx int */ -+ __u32 maxrxpkt; /* Rx pkts before generating rx int */ -+ __u16 speed_hi; -+ __u16 reserved2; -+ __u32 reserved[3]; -+}; -+ -+#define ETHTOOL_GSET 0x00000001 /* Get settings. */ - #define ETHTOOL_GDRVINFO 0x00000003 /* Get driver info. */ - #endif - -@@ -74,6 +94,7 @@ static void nameif_parse_selector(ethtable_t *ch, char *selector) - #endif - selector = skip_whitespace(selector); - #if ENABLE_FEATURE_NAMEIF_EXTENDED -+ ch->phy_address = -1; - if (*selector == '\0') - break; - /* Search for the end .... */ -@@ -87,6 +108,9 @@ static void nameif_parse_selector(ethtable_t *ch, char *selector) - } else if (strncmp(selector, "driver=", 7) == 0) { - ch->driver = xstrdup(selector + 7); - found_selector++; -+ } else if (strncmp(selector, "phyaddr=", 8) == 0) { -+ ch->phy_address = atoi(selector + 8); -+ found_selector++; - } else { - #endif - lmac = xmalloc(ETH_ALEN); -@@ -173,6 +197,7 @@ int nameif_main(int argc, char **argv) - struct ifreq ifr; - #if ENABLE_FEATURE_NAMEIF_EXTENDED - struct ethtool_drvinfo drvinfo; -+ struct ethtool_cmd eth_settings; - #endif - if (parser->lineno < 3) - continue; /* Skip the first two lines */ -@@ -182,6 +207,12 @@ int nameif_main(int argc, char **argv) - strncpy_IFNAMSIZ(ifr.ifr_name, token[0]); - - #if ENABLE_FEATURE_NAMEIF_EXTENDED -+ /* Check for phy address */ -+ memset(ð_settings, 0, sizeof(struct ethtool_cmd)); -+ eth_settings.cmd = ETHTOOL_GSET; -+ ifr.ifr_data = (caddr_t) ð_settings; -+ ioctl(ctl_sk, SIOCETHTOOL, &ifr); -+ - /* Check for driver etc. */ - memset(&drvinfo, 0, sizeof(struct ethtool_drvinfo)); - drvinfo.cmd = ETHTOOL_GDRVINFO; -@@ -198,6 +229,8 @@ int nameif_main(int argc, char **argv) - continue; - if (ch->driver && strcmp(ch->driver, drvinfo.driver) != 0) - continue; -+ if (ch->phy_address != -1 && ch->phy_address != eth_settings.phy_address) -+ continue; - #endif - if (ch->mac && memcmp(ch->mac, ifr.ifr_hwaddr.sa_data, ETH_ALEN) != 0) - continue; --- -1.7.3.4 - diff --git a/package/busybox/patches/001-ipkg.patch b/package/busybox/patches/001-ipkg.patch index 9b5f9a739..df391a54f 100644 --- a/package/busybox/patches/001-ipkg.patch +++ b/package/busybox/patches/001-ipkg.patch @@ -1,5 +1,6 @@ ---- busybox-1.18.1.orig/Makefile -+++ busybox-1.18.1/Makefile +diff -Nur busybox-1.19.4.orig/Makefile busybox-1.19.4/Makefile +--- busybox-1.19.4.orig/Makefile 2012-02-04 20:34:24.000000000 +0100 ++++ busybox-1.19.4/Makefile 2012-03-17 00:58:08.189100677 +0100 @@ -465,6 +465,7 @@ libs-y := \ archival/ \ @@ -8,8 +9,9 @@ console-tools/ \ coreutils/ \ coreutils/libcoreutils/ \ ---- busybox-1.18.1.orig/archival/Config.src -+++ busybox-1.18.1/archival/Config.src +diff -Nur busybox-1.19.4.orig/archival/Config.src busybox-1.19.4/archival/Config.src +--- busybox-1.19.4.orig/archival/Config.src 2012-02-04 20:34:24.000000000 +0100 ++++ busybox-1.19.4/archival/Config.src 2012-03-17 00:58:08.189100677 +0100 @@ -202,6 +202,12 @@ are actually slower than gzip at equivalent compression ratios and take up 3.2K of code. @@ -23,8 +25,9 @@ config RPM2CPIO bool "rpm2cpio" default y ---- busybox-1.18.1.orig/archival/Kbuild.src -+++ busybox-1.18.1/archival/Kbuild.src +diff -Nur busybox-1.19.4.orig/archival/Kbuild.src busybox-1.19.4/archival/Kbuild.src +--- busybox-1.19.4.orig/archival/Kbuild.src 2012-02-04 20:24:55.000000000 +0100 ++++ busybox-1.19.4/archival/Kbuild.src 2012-03-17 00:58:08.189100677 +0100 @@ -22,6 +22,7 @@ lib-$(CONFIG_LZOP) += lzop.o bbunzip.o lib-$(CONFIG_GZIP) += gzip.o bbunzip.o @@ -33,8 +36,9 @@ lib-$(CONFIG_UNXZ) += bbunzip.o lib-$(CONFIG_UNLZMA) += bbunzip.o ---- /dev/null -+++ busybox-1.18.1/archival/ipkg.c +diff -Nur busybox-1.19.4.orig/archival/ipkg.c busybox-1.19.4/archival/ipkg.c +--- busybox-1.19.4.orig/archival/ipkg.c 1970-01-01 01:00:00.000000000 +0100 ++++ busybox-1.19.4/archival/ipkg.c 2012-03-17 00:58:08.189100677 +0100 @@ -0,0 +1,28 @@ +/* ipkg.c - the itsy package management system + @@ -64,8 +68,9 @@ +{ + return ipkg_op(argc, argv); +} ---- /dev/null -+++ busybox-1.18.1/archival/libipkg/Kbuild +diff -Nur busybox-1.19.4.orig/archival/libipkg/Kbuild busybox-1.19.4/archival/libipkg/Kbuild +--- busybox-1.19.4.orig/archival/libipkg/Kbuild 1970-01-01 01:00:00.000000000 +0100 ++++ busybox-1.19.4/archival/libipkg/Kbuild 2012-03-17 00:58:08.189100677 +0100 @@ -0,0 +1,60 @@ +# Makefile for busybox +# @@ -127,8 +132,9 @@ +IPKG_ARCH:=$(TARGET_ARCH) +endif +CFLAGS += -DIPKGLIBDIR="\"/usr/lib\"" -DHOST_CPU_STR="\"$(IPKG_ARCH)\"" ---- /dev/null -+++ busybox-1.18.1/archival/libipkg/args.c +diff -Nur busybox-1.19.4.orig/archival/libipkg/args.c busybox-1.19.4/archival/libipkg/args.c +--- busybox-1.19.4.orig/archival/libipkg/args.c 1970-01-01 01:00:00.000000000 +0100 ++++ busybox-1.19.4/archival/libipkg/args.c 2012-03-17 00:58:08.189100677 +0100 @@ -0,0 +1,242 @@ +/* args.c - parse command-line args + @@ -372,8 +378,9 @@ +{ + bb_error_msg("version %s\n", IPKG_VERSION); +} ---- /dev/null -+++ busybox-1.18.1/archival/libipkg/args.h +diff -Nur busybox-1.19.4.orig/archival/libipkg/args.h busybox-1.19.4/archival/libipkg/args.h +--- busybox-1.19.4.orig/archival/libipkg/args.h 1970-01-01 01:00:00.000000000 +0100 ++++ busybox-1.19.4/archival/libipkg/args.h 2012-03-17 00:58:08.189100677 +0100 @@ -0,0 +1,72 @@ +/* args.h - parse command-line args + @@ -447,8 +454,9 @@ +void args_usage(const char *complaint); + +#endif ---- /dev/null -+++ busybox-1.18.1/archival/libipkg/conffile.c +diff -Nur busybox-1.19.4.orig/archival/libipkg/conffile.c busybox-1.19.4/archival/libipkg/conffile.c +--- busybox-1.19.4.orig/archival/libipkg/conffile.c 1970-01-01 01:00:00.000000000 +0100 ++++ busybox-1.19.4/archival/libipkg/conffile.c 2012-03-17 00:58:08.189100677 +0100 @@ -0,0 +1,65 @@ +/* conffile.c - the itsy package management system + @@ -515,8 +523,9 @@ + + return ret; +} ---- /dev/null -+++ busybox-1.18.1/archival/libipkg/conffile.h +diff -Nur busybox-1.19.4.orig/archival/libipkg/conffile.h busybox-1.19.4/archival/libipkg/conffile.h +--- busybox-1.19.4.orig/archival/libipkg/conffile.h 1970-01-01 01:00:00.000000000 +0100 ++++ busybox-1.19.4/archival/libipkg/conffile.h 2012-03-17 00:58:08.189100677 +0100 @@ -0,0 +1,30 @@ +/* conffile.h - the itsy package management system + @@ -548,8 +557,9 @@ + +#endif + ---- /dev/null -+++ busybox-1.18.1/archival/libipkg/conffile_list.c +diff -Nur busybox-1.19.4.orig/archival/libipkg/conffile_list.c busybox-1.19.4/archival/libipkg/conffile_list.c +--- busybox-1.19.4.orig/archival/libipkg/conffile_list.c 1970-01-01 01:00:00.000000000 +0100 ++++ busybox-1.19.4/archival/libipkg/conffile_list.c 2012-03-17 00:58:08.189100677 +0100 @@ -0,0 +1,47 @@ +/* conffile_list.c - the itsy package management system + @@ -598,8 +608,9 @@ + return nv_pair_list_pop(list); +} + ---- /dev/null -+++ busybox-1.18.1/archival/libipkg/conffile_list.h +diff -Nur busybox-1.19.4.orig/archival/libipkg/conffile_list.h busybox-1.19.4/archival/libipkg/conffile_list.h +--- busybox-1.19.4.orig/archival/libipkg/conffile_list.h 1970-01-01 01:00:00.000000000 +0100 ++++ busybox-1.19.4/archival/libipkg/conffile_list.h 2012-03-17 00:58:08.189100677 +0100 @@ -0,0 +1,36 @@ +/* conffile_list.h - the itsy package management system + @@ -637,8 +648,9 @@ + +#endif + ---- /dev/null -+++ busybox-1.18.1/archival/libipkg/file_util.c +diff -Nur busybox-1.19.4.orig/archival/libipkg/file_util.c busybox-1.19.4/archival/libipkg/file_util.c +--- busybox-1.19.4.orig/archival/libipkg/file_util.c 1970-01-01 01:00:00.000000000 +0100 ++++ busybox-1.19.4/archival/libipkg/file_util.c 2012-03-17 00:58:08.189100677 +0100 @@ -0,0 +1,186 @@ +/* file_util.c - convenience routines for common stat operations + @@ -826,8 +838,9 @@ + return hash_file(file_name, HASH_MD5); +} + ---- /dev/null -+++ busybox-1.18.1/archival/libipkg/file_util.h +diff -Nur busybox-1.19.4.orig/archival/libipkg/file_util.h busybox-1.19.4/archival/libipkg/file_util.h +--- busybox-1.19.4.orig/archival/libipkg/file_util.h 1970-01-01 01:00:00.000000000 +0100 ++++ busybox-1.19.4/archival/libipkg/file_util.h 2012-03-17 00:58:08.189100677 +0100 @@ -0,0 +1,29 @@ +/* file_util.h - convenience routines for common file operations + @@ -858,8 +871,9 @@ +uint8_t *file_md5sum_alloc(const char *file_name); + +#endif ---- /dev/null -+++ busybox-1.18.1/archival/libipkg/hash_table.c +diff -Nur busybox-1.19.4.orig/archival/libipkg/hash_table.c busybox-1.19.4/archival/libipkg/hash_table.c +--- busybox-1.19.4.orig/archival/libipkg/hash_table.c 1970-01-01 01:00:00.000000000 +0100 ++++ busybox-1.19.4/archival/libipkg/hash_table.c 2012-03-17 00:58:08.189100677 +0100 @@ -0,0 +1,155 @@ +/* hash.c - hash tables for ipkg + @@ -1016,8 +1030,9 @@ + } +} + ---- /dev/null -+++ busybox-1.18.1/archival/libipkg/hash_table.h +diff -Nur busybox-1.19.4.orig/archival/libipkg/hash_table.h busybox-1.19.4/archival/libipkg/hash_table.h +--- busybox-1.19.4.orig/archival/libipkg/hash_table.h 1970-01-01 01:00:00.000000000 +0100 ++++ busybox-1.19.4/archival/libipkg/hash_table.h 2012-03-17 00:58:08.189100677 +0100 @@ -0,0 +1,44 @@ +/* hash.h - hash tables for ipkg + @@ -1063,8 +1078,9 @@ +void hash_table_foreach(hash_table_t *hash, void (*f)(const char *key, void *entry, void *data), void *data); + +#endif /* _HASH_TABLE_H_ */ ---- /dev/null -+++ busybox-1.18.1/archival/libipkg/ipkg.h +diff -Nur busybox-1.19.4.orig/archival/libipkg/ipkg.h busybox-1.19.4/archival/libipkg/ipkg.h +--- busybox-1.19.4.orig/archival/libipkg/ipkg.h 1970-01-01 01:00:00.000000000 +0100 ++++ busybox-1.19.4/archival/libipkg/ipkg.h 2012-03-17 00:58:08.189100677 +0100 @@ -0,0 +1,68 @@ +/* ipkg.h - the itsy package management system + @@ -1134,8 +1150,9 @@ +typedef enum { HASH_SHA1, HASH_MD5 } hash_algo_t; + +#endif ---- /dev/null -+++ busybox-1.18.1/archival/libipkg/ipkg_cmd.c +diff -Nur busybox-1.19.4.orig/archival/libipkg/ipkg_cmd.c busybox-1.19.4/archival/libipkg/ipkg_cmd.c +--- busybox-1.19.4.orig/archival/libipkg/ipkg_cmd.c 1970-01-01 01:00:00.000000000 +0100 ++++ busybox-1.19.4/archival/libipkg/ipkg_cmd.c 2012-03-17 00:58:08.193100680 +0100 @@ -0,0 +1,1366 @@ +/* ipkg_cmd.c - the itsy package management system + @@ -2503,8 +2520,9 @@ +} + + ---- /dev/null -+++ busybox-1.18.1/archival/libipkg/ipkg_cmd.h +diff -Nur busybox-1.19.4.orig/archival/libipkg/ipkg_cmd.h busybox-1.19.4/archival/libipkg/ipkg_cmd.h +--- busybox-1.19.4.orig/archival/libipkg/ipkg_cmd.h 1970-01-01 01:00:00.000000000 +0100 ++++ busybox-1.19.4/archival/libipkg/ipkg_cmd.h 2012-03-17 00:58:08.193100680 +0100 @@ -0,0 +1,41 @@ +/* ipkg_cmd.h - the itsy package management system + @@ -2547,8 +2565,9 @@ +int pkg_mark_provides(pkg_t *pkg); + +#endif ---- /dev/null -+++ busybox-1.18.1/archival/libipkg/ipkg_conf.c +diff -Nur busybox-1.19.4.orig/archival/libipkg/ipkg_conf.c busybox-1.19.4/archival/libipkg/ipkg_conf.c +--- busybox-1.19.4.orig/archival/libipkg/ipkg_conf.c 1970-01-01 01:00:00.000000000 +0100 ++++ busybox-1.19.4/archival/libipkg/ipkg_conf.c 2012-03-17 00:58:08.193100680 +0100 @@ -0,0 +1,711 @@ +/* ipkg_conf.c - the itsy package management system + @@ -3261,8 +3280,9 @@ + sprintf_alloc(&root_filename, "%s%s", (conf->offline_root ? conf->offline_root : ""), filename); + return root_filename; +} ---- /dev/null -+++ busybox-1.18.1/archival/libipkg/ipkg_conf.h +diff -Nur busybox-1.19.4.orig/archival/libipkg/ipkg_conf.h busybox-1.19.4/archival/libipkg/ipkg_conf.h +--- busybox-1.19.4.orig/archival/libipkg/ipkg_conf.h 1970-01-01 01:00:00.000000000 +0100 ++++ busybox-1.19.4/archival/libipkg/ipkg_conf.h 2012-03-17 00:58:08.193100680 +0100 @@ -0,0 +1,107 @@ +/* ipkg_conf.h - the itsy package management system + @@ -3371,8 +3391,9 @@ +char *root_filename_alloc(ipkg_conf_t *conf, char *filename); + +#endif ---- /dev/null -+++ busybox-1.18.1/archival/libipkg/ipkg_configure.c +diff -Nur busybox-1.19.4.orig/archival/libipkg/ipkg_configure.c busybox-1.19.4/archival/libipkg/ipkg_configure.c +--- busybox-1.19.4.orig/archival/libipkg/ipkg_configure.c 1970-01-01 01:00:00.000000000 +0100 ++++ busybox-1.19.4/archival/libipkg/ipkg_configure.c 2012-03-17 00:58:08.193100680 +0100 @@ -0,0 +1,40 @@ +/* ipkg_configure.c - the itsy package management system + @@ -3414,8 +3435,9 @@ + return 0; +} + ---- /dev/null -+++ busybox-1.18.1/archival/libipkg/ipkg_configure.h +diff -Nur busybox-1.19.4.orig/archival/libipkg/ipkg_configure.h busybox-1.19.4/archival/libipkg/ipkg_configure.h +--- busybox-1.19.4.orig/archival/libipkg/ipkg_configure.h 1970-01-01 01:00:00.000000000 +0100 ++++ busybox-1.19.4/archival/libipkg/ipkg_configure.h 2012-03-17 00:58:08.193100680 +0100 @@ -0,0 +1,25 @@ +/* ipkg_configure.h - the itsy package management system + @@ -3442,8 +3464,9 @@ +int ipkg_configure(ipkg_conf_t *ipkg_conf, pkg_t *pkg); + +#endif ---- /dev/null -+++ busybox-1.18.1/archival/libipkg/ipkg_download.c +diff -Nur busybox-1.19.4.orig/archival/libipkg/ipkg_download.c busybox-1.19.4/archival/libipkg/ipkg_download.c +--- busybox-1.19.4.orig/archival/libipkg/ipkg_download.c 1970-01-01 01:00:00.000000000 +0100 ++++ busybox-1.19.4/archival/libipkg/ipkg_download.c 2012-03-17 00:58:08.193100680 +0100 @@ -0,0 +1,195 @@ +/* ipkg_download.c - the itsy package management system + @@ -3640,8 +3663,9 @@ + } + return 0; +} ---- /dev/null -+++ busybox-1.18.1/archival/libipkg/ipkg_download.h +diff -Nur busybox-1.19.4.orig/archival/libipkg/ipkg_download.h busybox-1.19.4/archival/libipkg/ipkg_download.h +--- busybox-1.19.4.orig/archival/libipkg/ipkg_download.h 1970-01-01 01:00:00.000000000 +0100 ++++ busybox-1.19.4/archival/libipkg/ipkg_download.h 2012-03-17 00:58:08.193100680 +0100 @@ -0,0 +1,30 @@ +/* ipkg_download.h - the itsy package management system + @@ -3673,8 +3697,9 @@ +int ipkg_prepare_url_for_install(ipkg_conf_t *conf, const char *url, char **namep); + +#endif ---- /dev/null -+++ busybox-1.18.1/archival/libipkg/ipkg_includes.h +diff -Nur busybox-1.19.4.orig/archival/libipkg/ipkg_includes.h busybox-1.19.4/archival/libipkg/ipkg_includes.h +--- busybox-1.19.4.orig/archival/libipkg/ipkg_includes.h 1970-01-01 01:00:00.000000000 +0100 ++++ busybox-1.19.4/archival/libipkg/ipkg_includes.h 2012-03-17 00:58:08.193100680 +0100 @@ -0,0 +1,82 @@ +#ifndef IPKG_INCLUDES_H +#define IPKG_INCLUDES_H @@ -3758,8 +3783,9 @@ +#include + +#endif /* IPKG_INCLUDES_H */ ---- /dev/null -+++ busybox-1.18.1/archival/libipkg/ipkg_install.c +diff -Nur busybox-1.19.4.orig/archival/libipkg/ipkg_install.c busybox-1.19.4/archival/libipkg/ipkg_install.c +--- busybox-1.19.4.orig/archival/libipkg/ipkg_install.c 1970-01-01 01:00:00.000000000 +0100 ++++ busybox-1.19.4/archival/libipkg/ipkg_install.c 2012-03-17 00:58:08.193100680 +0100 @@ -0,0 +1,1982 @@ +/* ipkg_install.c - the itsy package management system + @@ -5743,8 +5769,9 @@ +} + +#endif ---- /dev/null -+++ busybox-1.18.1/archival/libipkg/ipkg_install.h +diff -Nur busybox-1.19.4.orig/archival/libipkg/ipkg_install.h busybox-1.19.4/archival/libipkg/ipkg_install.h +--- busybox-1.19.4.orig/archival/libipkg/ipkg_install.h 1970-01-01 01:00:00.000000000 +0100 ++++ busybox-1.19.4/archival/libipkg/ipkg_install.h 2012-03-17 00:58:08.193100680 +0100 @@ -0,0 +1,35 @@ +/* ipkg_install.h - the itsy package management system + @@ -5781,8 +5808,9 @@ +int name_mark_dependencies_for_installation(ipkg_conf_t *conf, const char *pkg_name, pkg_vec_t *pkgs_needed); + +#endif ---- /dev/null -+++ busybox-1.18.1/archival/libipkg/ipkg_message.c +diff -Nur busybox-1.19.4.orig/archival/libipkg/ipkg_message.c busybox-1.19.4/archival/libipkg/ipkg_message.c +--- busybox-1.19.4.orig/archival/libipkg/ipkg_message.c 1970-01-01 01:00:00.000000000 +0100 ++++ busybox-1.19.4/archival/libipkg/ipkg_message.c 2012-03-17 00:58:08.193100680 +0100 @@ -0,0 +1,35 @@ +/* ipkg_message.c - the itsy package management system + @@ -5819,8 +5847,9 @@ + ipkg_cb_message(conf,level,ts); + } +} ---- /dev/null -+++ busybox-1.18.1/archival/libipkg/ipkg_message.h +diff -Nur busybox-1.19.4.orig/archival/libipkg/ipkg_message.h busybox-1.19.4/archival/libipkg/ipkg_message.h +--- busybox-1.19.4.orig/archival/libipkg/ipkg_message.h 1970-01-01 01:00:00.000000000 +0100 ++++ busybox-1.19.4/archival/libipkg/ipkg_message.h 2012-03-17 00:58:08.193100680 +0100 @@ -0,0 +1,32 @@ +/* ipkg_message.h - the itsy package management system + @@ -5854,8 +5883,9 @@ +extern void ipkg_message(ipkg_conf_t *conf, message_level_t level, const char *fmt, ...); + +#endif /* _IPKG_MESSAGE_H_ */ ---- /dev/null -+++ busybox-1.18.1/archival/libipkg/ipkg_remove.c +diff -Nur busybox-1.19.4.orig/archival/libipkg/ipkg_remove.c busybox-1.19.4/archival/libipkg/ipkg_remove.c +--- busybox-1.19.4.orig/archival/libipkg/ipkg_remove.c 1970-01-01 01:00:00.000000000 +0100 ++++ busybox-1.19.4/archival/libipkg/ipkg_remove.c 2012-03-17 00:58:08.193100680 +0100 @@ -0,0 +1,385 @@ +/* ipkg_remove.c - the itsy package management system + @@ -6242,8 +6272,9 @@ + + return 0; +} ---- /dev/null -+++ busybox-1.18.1/archival/libipkg/ipkg_remove.h +diff -Nur busybox-1.19.4.orig/archival/libipkg/ipkg_remove.h busybox-1.19.4/archival/libipkg/ipkg_remove.h +--- busybox-1.19.4.orig/archival/libipkg/ipkg_remove.h 1970-01-01 01:00:00.000000000 +0100 ++++ busybox-1.19.4/archival/libipkg/ipkg_remove.h 2012-03-17 00:58:08.193100680 +0100 @@ -0,0 +1,33 @@ +/* ipkg_remove.h - the itsy package management system + @@ -6278,8 +6309,9 @@ + + +#endif ---- /dev/null -+++ busybox-1.18.1/archival/libipkg/ipkg_upgrade.c +diff -Nur busybox-1.19.4.orig/archival/libipkg/ipkg_upgrade.c busybox-1.19.4/archival/libipkg/ipkg_upgrade.c +--- busybox-1.19.4.orig/archival/libipkg/ipkg_upgrade.c 1970-01-01 01:00:00.000000000 +0100 ++++ busybox-1.19.4/archival/libipkg/ipkg_upgrade.c 2012-03-17 00:58:08.193100680 +0100 @@ -0,0 +1,79 @@ +/* ipkg_upgrade.c - the itsy package management system + @@ -6360,8 +6392,9 @@ + new->state_flag |= SF_USER; + return ipkg_install_pkg(conf, new,1); +} ---- /dev/null -+++ busybox-1.18.1/archival/libipkg/ipkg_upgrade.h +diff -Nur busybox-1.19.4.orig/archival/libipkg/ipkg_upgrade.h busybox-1.19.4/archival/libipkg/ipkg_upgrade.h +--- busybox-1.19.4.orig/archival/libipkg/ipkg_upgrade.h 1970-01-01 01:00:00.000000000 +0100 ++++ busybox-1.19.4/archival/libipkg/ipkg_upgrade.h 2012-03-17 00:58:08.193100680 +0100 @@ -0,0 +1,18 @@ +/* ipkg_upgrade.c - the itsy package management system + @@ -6381,8 +6414,9 @@ +#include "ipkg.h" + +int ipkg_upgrade_pkg(ipkg_conf_t *conf, pkg_t *old); ---- /dev/null -+++ busybox-1.18.1/archival/libipkg/ipkg_utils.c +diff -Nur busybox-1.19.4.orig/archival/libipkg/ipkg_utils.c busybox-1.19.4/archival/libipkg/ipkg_utils.c +--- busybox-1.19.4.orig/archival/libipkg/ipkg_utils.c 1970-01-01 01:00:00.000000000 +0100 ++++ busybox-1.19.4/archival/libipkg/ipkg_utils.c 2012-03-17 00:58:08.193100680 +0100 @@ -0,0 +1,185 @@ +/* ipkg_utils.c - the itsy package management system + @@ -6569,8 +6603,9 @@ +} + + ---- /dev/null -+++ busybox-1.18.1/archival/libipkg/ipkg_utils.h +diff -Nur busybox-1.19.4.orig/archival/libipkg/ipkg_utils.h busybox-1.19.4/archival/libipkg/ipkg_utils.h +--- busybox-1.19.4.orig/archival/libipkg/ipkg_utils.h 1970-01-01 01:00:00.000000000 +0100 ++++ busybox-1.19.4/archival/libipkg/ipkg_utils.h 2012-03-17 00:58:08.193100680 +0100 @@ -0,0 +1,29 @@ +/* ipkg_utils.h - the itsy package management system + @@ -6601,8 +6636,9 @@ +int line_is_blank(const char *line); + +#endif ---- /dev/null -+++ busybox-1.18.1/archival/libipkg/libipkg.c +diff -Nur busybox-1.19.4.orig/archival/libipkg/libipkg.c busybox-1.19.4/archival/libipkg/libipkg.c +--- busybox-1.19.4.orig/archival/libipkg/libipkg.c 1970-01-01 01:00:00.000000000 +0100 ++++ busybox-1.19.4/archival/libipkg/libipkg.c 2012-03-17 00:58:08.193100680 +0100 @@ -0,0 +1,583 @@ +/* ipkglib.c - the itsy package management system + @@ -7187,8 +7223,9 @@ + + return err; +} ---- /dev/null -+++ busybox-1.18.1/archival/libipkg/libipkg.h +diff -Nur busybox-1.19.4.orig/archival/libipkg/libipkg.h busybox-1.19.4/archival/libipkg/libipkg.h +--- busybox-1.19.4.orig/archival/libipkg/libipkg.h 1970-01-01 01:00:00.000000000 +0100 ++++ busybox-1.19.4/archival/libipkg/libipkg.h 2012-03-17 00:58:08.193100680 +0100 @@ -0,0 +1,78 @@ +/* ipkglib.h - the itsy package management system + @@ -7268,8 +7305,9 @@ +extern void free_error_list(struct errlist **errors); + +#endif ---- /dev/null -+++ busybox-1.18.1/archival/libipkg/nv_pair.c +diff -Nur busybox-1.19.4.orig/archival/libipkg/nv_pair.c busybox-1.19.4/archival/libipkg/nv_pair.c +--- busybox-1.19.4.orig/archival/libipkg/nv_pair.c 1970-01-01 01:00:00.000000000 +0100 ++++ busybox-1.19.4/archival/libipkg/nv_pair.c 2012-03-17 00:58:08.193100680 +0100 @@ -0,0 +1,40 @@ +/* nv_pair.c - the itsy package management system + @@ -7311,8 +7349,9 @@ +} + + ---- /dev/null -+++ busybox-1.18.1/archival/libipkg/nv_pair.h +diff -Nur busybox-1.19.4.orig/archival/libipkg/nv_pair.h busybox-1.19.4/archival/libipkg/nv_pair.h +--- busybox-1.19.4.orig/archival/libipkg/nv_pair.h 1970-01-01 01:00:00.000000000 +0100 ++++ busybox-1.19.4/archival/libipkg/nv_pair.h 2012-03-17 00:58:08.193100680 +0100 @@ -0,0 +1,32 @@ +/* nv_pair.h - the itsy package management system + @@ -7346,8 +7385,9 @@ + +#endif + ---- /dev/null -+++ busybox-1.18.1/archival/libipkg/nv_pair_list.c +diff -Nur busybox-1.19.4.orig/archival/libipkg/nv_pair_list.c busybox-1.19.4/archival/libipkg/nv_pair_list.c +--- busybox-1.19.4.orig/archival/libipkg/nv_pair_list.c 1970-01-01 01:00:00.000000000 +0100 ++++ busybox-1.19.4/archival/libipkg/nv_pair_list.c 2012-03-17 00:58:08.193100680 +0100 @@ -0,0 +1,98 @@ +/* nv_pair_list.c - the itsy package management system + @@ -7447,8 +7487,9 @@ + } + return NULL; +} ---- /dev/null -+++ busybox-1.18.1/archival/libipkg/nv_pair_list.h +diff -Nur busybox-1.19.4.orig/archival/libipkg/nv_pair_list.h busybox-1.19.4/archival/libipkg/nv_pair_list.h +--- busybox-1.19.4.orig/archival/libipkg/nv_pair_list.h 1970-01-01 01:00:00.000000000 +0100 ++++ busybox-1.19.4/archival/libipkg/nv_pair_list.h 2012-03-17 00:58:08.193100680 +0100 @@ -0,0 +1,60 @@ +/* nv_pair_list.h - the itsy package management system + @@ -7510,8 +7551,9 @@ + +#endif + ---- /dev/null -+++ busybox-1.18.1/archival/libipkg/pkg.c +diff -Nur busybox-1.19.4.orig/archival/libipkg/pkg.c busybox-1.19.4/archival/libipkg/pkg.c +--- busybox-1.19.4.orig/archival/libipkg/pkg.c 1970-01-01 01:00:00.000000000 +0100 ++++ busybox-1.19.4/archival/libipkg/pkg.c 2012-03-17 00:58:08.197100679 +0100 @@ -0,0 +1,1757 @@ +/* pkg.c - the itsy package management system + @@ -9270,8 +9312,9 @@ + } + return 0; +} ---- /dev/null -+++ busybox-1.18.1/archival/libipkg/pkg.h +diff -Nur busybox-1.19.4.orig/archival/libipkg/pkg.h busybox-1.19.4/archival/libipkg/pkg.h +--- busybox-1.19.4.orig/archival/libipkg/pkg.h 1970-01-01 01:00:00.000000000 +0100 ++++ busybox-1.19.4/archival/libipkg/pkg.h 2012-03-17 00:58:08.197100679 +0100 @@ -0,0 +1,229 @@ +/* pkg.h - the itsy package management system + @@ -9502,8 +9545,9 @@ +int pkg_write_changed_filelists(ipkg_conf_t *conf); + +#endif ---- /dev/null -+++ busybox-1.18.1/archival/libipkg/pkg_depends.c +diff -Nur busybox-1.19.4.orig/archival/libipkg/pkg_depends.c busybox-1.19.4/archival/libipkg/pkg_depends.c +--- busybox-1.19.4.orig/archival/libipkg/pkg_depends.c 1970-01-01 01:00:00.000000000 +0100 ++++ busybox-1.19.4/archival/libipkg/pkg_depends.c 2012-03-17 00:58:08.197100679 +0100 @@ -0,0 +1,1032 @@ +/* pkg_depends.c - the itsy package management system + @@ -10537,8 +10581,9 @@ + + return 0; +} ---- /dev/null -+++ busybox-1.18.1/archival/libipkg/pkg_depends.h +diff -Nur busybox-1.19.4.orig/archival/libipkg/pkg_depends.h busybox-1.19.4/archival/libipkg/pkg_depends.h +--- busybox-1.19.4.orig/archival/libipkg/pkg_depends.h 1970-01-01 01:00:00.000000000 +0100 ++++ busybox-1.19.4/archival/libipkg/pkg_depends.h 2012-03-17 00:58:08.197100679 +0100 @@ -0,0 +1,105 @@ +/* pkg_depends.h - the itsy package management system + @@ -10645,8 +10690,9 @@ +int pkg_dependence_satisfied(depend_t *depend); + +#endif ---- /dev/null -+++ busybox-1.18.1/archival/libipkg/pkg_dest.c +diff -Nur busybox-1.19.4.orig/archival/libipkg/pkg_dest.c busybox-1.19.4/archival/libipkg/pkg_dest.c +--- busybox-1.19.4.orig/archival/libipkg/pkg_dest.c 1970-01-01 01:00:00.000000000 +0100 ++++ busybox-1.19.4/archival/libipkg/pkg_dest.c 2012-03-17 00:58:08.197100679 +0100 @@ -0,0 +1,92 @@ +/* pkg_dest.c - the itsy package management system + @@ -10740,8 +10786,9 @@ + + dest->root_dir = NULL; +} ---- /dev/null -+++ busybox-1.18.1/archival/libipkg/pkg_dest.h +diff -Nur busybox-1.19.4.orig/archival/libipkg/pkg_dest.h busybox-1.19.4/archival/libipkg/pkg_dest.h +--- busybox-1.19.4.orig/archival/libipkg/pkg_dest.h 1970-01-01 01:00:00.000000000 +0100 ++++ busybox-1.19.4/archival/libipkg/pkg_dest.h 2012-03-17 00:58:08.197100679 +0100 @@ -0,0 +1,38 @@ +/* pkg_dest.h - the itsy package management system + @@ -10781,8 +10828,9 @@ + +#endif + ---- /dev/null -+++ busybox-1.18.1/archival/libipkg/pkg_dest_list.c +diff -Nur busybox-1.19.4.orig/archival/libipkg/pkg_dest_list.c busybox-1.19.4/archival/libipkg/pkg_dest_list.c +--- busybox-1.19.4.orig/archival/libipkg/pkg_dest_list.c 1970-01-01 01:00:00.000000000 +0100 ++++ busybox-1.19.4/archival/libipkg/pkg_dest_list.c 2012-03-17 00:58:08.197100679 +0100 @@ -0,0 +1,85 @@ +/* pkg_dest_list.c - the itsy package management system + @@ -10869,8 +10917,9 @@ +{ + return (pkg_dest_list_elt_t *) void_list_pop((void_list_t *) list); +} ---- /dev/null -+++ busybox-1.18.1/archival/libipkg/pkg_dest_list.h +diff -Nur busybox-1.19.4.orig/archival/libipkg/pkg_dest_list.h busybox-1.19.4/archival/libipkg/pkg_dest_list.h +--- busybox-1.19.4.orig/archival/libipkg/pkg_dest_list.h 1970-01-01 01:00:00.000000000 +0100 ++++ busybox-1.19.4/archival/libipkg/pkg_dest_list.h 2012-03-17 00:58:08.197100679 +0100 @@ -0,0 +1,50 @@ +/* pkg_dest_list.h - the itsy package management system + @@ -10922,8 +10971,9 @@ + +#endif + ---- /dev/null -+++ busybox-1.18.1/archival/libipkg/pkg_extract.c +diff -Nur busybox-1.19.4.orig/archival/libipkg/pkg_extract.c busybox-1.19.4/archival/libipkg/pkg_extract.c +--- busybox-1.19.4.orig/archival/libipkg/pkg_extract.c 1970-01-01 01:00:00.000000000 +0100 ++++ busybox-1.19.4/archival/libipkg/pkg_extract.c 2012-03-17 00:58:08.197100679 +0100 @@ -0,0 +1,255 @@ +/* pkg_extract.c - the itsy package management system + @@ -11180,8 +11230,9 @@ + + return 0; +} ---- /dev/null -+++ busybox-1.18.1/archival/libipkg/pkg_extract.h +diff -Nur busybox-1.19.4.orig/archival/libipkg/pkg_extract.h busybox-1.19.4/archival/libipkg/pkg_extract.h +--- busybox-1.19.4.orig/archival/libipkg/pkg_extract.h 1970-01-01 01:00:00.000000000 +0100 ++++ busybox-1.19.4/archival/libipkg/pkg_extract.h 2012-03-17 00:58:08.197100679 +0100 @@ -0,0 +1,32 @@ +/* pkg_extract.c - the itsy package management system + @@ -11215,8 +11266,9 @@ +int pkg_extract_data_file_names_to_stream(pkg_t *pkg, FILE *file); + +#endif ---- /dev/null -+++ busybox-1.18.1/archival/libipkg/pkg_hash.c +diff -Nur busybox-1.19.4.orig/archival/libipkg/pkg_hash.c busybox-1.19.4/archival/libipkg/pkg_hash.c +--- busybox-1.19.4.orig/archival/libipkg/pkg_hash.c 1970-01-01 01:00:00.000000000 +0100 ++++ busybox-1.19.4/archival/libipkg/pkg_hash.c 2012-03-17 00:58:08.197100679 +0100 @@ -0,0 +1,623 @@ +/* ipkg_hash.c - the itsy package management system + @@ -11841,8 +11893,9 @@ +} + + ---- /dev/null -+++ busybox-1.18.1/archival/libipkg/pkg_hash.h +diff -Nur busybox-1.19.4.orig/archival/libipkg/pkg_hash.h busybox-1.19.4/archival/libipkg/pkg_hash.h +--- busybox-1.19.4.orig/archival/libipkg/pkg_hash.h 1970-01-01 01:00:00.000000000 +0100 ++++ busybox-1.19.4/archival/libipkg/pkg_hash.h 2012-03-17 00:58:08.197100679 +0100 @@ -0,0 +1,61 @@ +/* pkg_hash.h - the itsy package management system + @@ -11905,8 +11958,9 @@ + +#endif + ---- /dev/null -+++ busybox-1.18.1/archival/libipkg/pkg_parse.c +diff -Nur busybox-1.19.4.orig/archival/libipkg/pkg_parse.c busybox-1.19.4/archival/libipkg/pkg_parse.c +--- busybox-1.19.4.orig/archival/libipkg/pkg_parse.c 1970-01-01 01:00:00.000000000 +0100 ++++ busybox-1.19.4/archival/libipkg/pkg_parse.c 2012-03-17 00:58:08.197100679 +0100 @@ -0,0 +1,368 @@ +/* pkg_parse.c - the itsy package management system + @@ -12276,8 +12330,9 @@ + + return 0; +} ---- /dev/null -+++ busybox-1.18.1/archival/libipkg/pkg_parse.h +diff -Nur busybox-1.19.4.orig/archival/libipkg/pkg_parse.h busybox-1.19.4/archival/libipkg/pkg_parse.h +--- busybox-1.19.4.orig/archival/libipkg/pkg_parse.h 1970-01-01 01:00:00.000000000 +0100 ++++ busybox-1.19.4/archival/libipkg/pkg_parse.h 2012-03-17 00:58:08.197100679 +0100 @@ -0,0 +1,31 @@ +/* pkg_parse.h - the itsy package management system + @@ -12310,8 +12365,9 @@ +int pkg_valorize_other_field(pkg_t *pkg, char ***raw); + +#endif ---- /dev/null -+++ busybox-1.18.1/archival/libipkg/pkg_src.c +diff -Nur busybox-1.19.4.orig/archival/libipkg/pkg_src.c busybox-1.19.4/archival/libipkg/pkg_src.c +--- busybox-1.19.4.orig/archival/libipkg/pkg_src.c 1970-01-01 01:00:00.000000000 +0100 ++++ busybox-1.19.4/archival/libipkg/pkg_src.c 2012-03-17 00:58:08.197100679 +0100 @@ -0,0 +1,43 @@ +/* pkg_src.c - the itsy package management system + @@ -12356,8 +12412,9 @@ +} + + ---- /dev/null -+++ busybox-1.18.1/archival/libipkg/pkg_src.h +diff -Nur busybox-1.19.4.orig/archival/libipkg/pkg_src.h busybox-1.19.4/archival/libipkg/pkg_src.h +--- busybox-1.19.4.orig/archival/libipkg/pkg_src.h 1970-01-01 01:00:00.000000000 +0100 ++++ busybox-1.19.4/archival/libipkg/pkg_src.h 2012-03-17 00:58:08.197100679 +0100 @@ -0,0 +1,34 @@ +/* pkg_src.h - the itsy package management system + @@ -12393,8 +12450,9 @@ +void pkg_src_deinit(pkg_src_t *src); + +#endif ---- /dev/null -+++ busybox-1.18.1/archival/libipkg/pkg_src_list.c +diff -Nur busybox-1.19.4.orig/archival/libipkg/pkg_src_list.c busybox-1.19.4/archival/libipkg/pkg_src_list.c +--- busybox-1.19.4.orig/archival/libipkg/pkg_src_list.c 1970-01-01 01:00:00.000000000 +0100 ++++ busybox-1.19.4/archival/libipkg/pkg_src_list.c 2012-03-17 00:58:08.197100679 +0100 @@ -0,0 +1,75 @@ +/* pkg_src_list.c - the itsy package management system + @@ -12471,8 +12529,9 @@ +{ + return (pkg_src_list_elt_t *) void_list_pop((void_list_t *) list); +} ---- /dev/null -+++ busybox-1.18.1/archival/libipkg/pkg_src_list.h +diff -Nur busybox-1.19.4.orig/archival/libipkg/pkg_src_list.h busybox-1.19.4/archival/libipkg/pkg_src_list.h +--- busybox-1.19.4.orig/archival/libipkg/pkg_src_list.h 1970-01-01 01:00:00.000000000 +0100 ++++ busybox-1.19.4/archival/libipkg/pkg_src_list.h 2012-03-17 00:58:08.197100679 +0100 @@ -0,0 +1,57 @@ +/* pkg_src_list.h - the itsy package management system + @@ -12531,8 +12590,9 @@ + +#endif + ---- /dev/null -+++ busybox-1.18.1/archival/libipkg/pkg_vec.c +diff -Nur busybox-1.19.4.orig/archival/libipkg/pkg_vec.c busybox-1.19.4/archival/libipkg/pkg_vec.c +--- busybox-1.19.4.orig/archival/libipkg/pkg_vec.c 1970-01-01 01:00:00.000000000 +0100 ++++ busybox-1.19.4/archival/libipkg/pkg_vec.c 2012-03-17 00:58:08.197100679 +0100 @@ -0,0 +1,231 @@ +/* pkg_vec.c - the itsy package management system + @@ -12765,8 +12825,9 @@ + qsort(vec->pkgs, vec->len, sizeof(pkg_t *), (compare_fcn_t)compar); +} + ---- /dev/null -+++ busybox-1.18.1/archival/libipkg/pkg_vec.h +diff -Nur busybox-1.19.4.orig/archival/libipkg/pkg_vec.h busybox-1.19.4/archival/libipkg/pkg_vec.h +--- busybox-1.19.4.orig/archival/libipkg/pkg_vec.h 1970-01-01 01:00:00.000000000 +0100 ++++ busybox-1.19.4/archival/libipkg/pkg_vec.h 2012-03-17 00:58:08.197100679 +0100 @@ -0,0 +1,62 @@ +/* pkg_vec.h - the itsy package management system + @@ -12830,8 +12891,9 @@ +void abstract_pkg_vec_sort(pkg_vec_t *vec, int (*compar)(abstract_pkg_t *, abstract_pkg_t *)); +#endif + ---- /dev/null -+++ busybox-1.18.1/archival/libipkg/sprintf_alloc.h +diff -Nur busybox-1.19.4.orig/archival/libipkg/sprintf_alloc.h busybox-1.19.4/archival/libipkg/sprintf_alloc.h +--- busybox-1.19.4.orig/archival/libipkg/sprintf_alloc.h 1970-01-01 01:00:00.000000000 +0100 ++++ busybox-1.19.4/archival/libipkg/sprintf_alloc.h 2012-03-17 00:58:08.197100679 +0100 @@ -0,0 +1,25 @@ +/* sprintf_alloca.c -- like sprintf with memory allocation + @@ -12858,8 +12920,9 @@ +#define sprintf_alloc(str, fmt, args...) *str = xasprintf(fmt, ## args) + +#endif ---- /dev/null -+++ busybox-1.18.1/archival/libipkg/str_list.c +diff -Nur busybox-1.19.4.orig/archival/libipkg/str_list.c busybox-1.19.4/archival/libipkg/str_list.c +--- busybox-1.19.4.orig/archival/libipkg/str_list.c 1970-01-01 01:00:00.000000000 +0100 ++++ busybox-1.19.4/archival/libipkg/str_list.c 2012-03-17 00:58:08.201100676 +0100 @@ -0,0 +1,76 @@ +/* str_list.c - the itsy package management system + @@ -12937,8 +13000,9 @@ + (void *)target_str, + (void_list_cmp_t)strcmp); +} ---- /dev/null -+++ busybox-1.18.1/archival/libipkg/str_list.h +diff -Nur busybox-1.19.4.orig/archival/libipkg/str_list.h busybox-1.19.4/archival/libipkg/str_list.h +--- busybox-1.19.4.orig/archival/libipkg/str_list.h 1970-01-01 01:00:00.000000000 +0100 ++++ busybox-1.19.4/archival/libipkg/str_list.h 2012-03-17 00:58:08.201100676 +0100 @@ -0,0 +1,51 @@ +/* str_list.h - the itsy package management system + @@ -12991,8 +13055,9 @@ +char *str_list_remove_elt(str_list_t *list, const char *target_str); + +#endif ---- /dev/null -+++ busybox-1.18.1/archival/libipkg/str_util.c +diff -Nur busybox-1.19.4.orig/archival/libipkg/str_util.c busybox-1.19.4/archival/libipkg/str_util.c +--- busybox-1.19.4.orig/archival/libipkg/str_util.c 1970-01-01 01:00:00.000000000 +0100 ++++ busybox-1.19.4/archival/libipkg/str_util.c 2012-03-17 00:58:08.201100676 +0100 @@ -0,0 +1,69 @@ +/* str_utils.c - the itsy package management system + @@ -13063,8 +13128,9 @@ + return str ? strdup(str) : NULL; +} + ---- /dev/null -+++ busybox-1.18.1/archival/libipkg/str_util.h +diff -Nur busybox-1.19.4.orig/archival/libipkg/str_util.h busybox-1.19.4/archival/libipkg/str_util.h +--- busybox-1.19.4.orig/archival/libipkg/str_util.h 1970-01-01 01:00:00.000000000 +0100 ++++ busybox-1.19.4/archival/libipkg/str_util.h 2012-03-17 00:58:08.201100676 +0100 @@ -0,0 +1,27 @@ +/* str_utils.h - the itsy package management system + @@ -13093,8 +13159,9 @@ +char *str_dup_safe(const char *str); + +#endif ---- /dev/null -+++ busybox-1.18.1/archival/libipkg/user.c +diff -Nur busybox-1.19.4.orig/archival/libipkg/user.c busybox-1.19.4/archival/libipkg/user.c +--- busybox-1.19.4.orig/archival/libipkg/user.c 1970-01-01 01:00:00.000000000 +0100 ++++ busybox-1.19.4/archival/libipkg/user.c 2012-03-17 00:58:08.201100676 +0100 @@ -0,0 +1,49 @@ +/* user.c - the itsy package management system + @@ -13145,8 +13212,9 @@ + + return response; +} ---- /dev/null -+++ busybox-1.18.1/archival/libipkg/user.h +diff -Nur busybox-1.19.4.orig/archival/libipkg/user.h busybox-1.19.4/archival/libipkg/user.h +--- busybox-1.19.4.orig/archival/libipkg/user.h 1970-01-01 01:00:00.000000000 +0100 ++++ busybox-1.19.4/archival/libipkg/user.h 2012-03-17 00:58:08.201100676 +0100 @@ -0,0 +1,23 @@ +/* user.c - the itsy package management system + @@ -13171,8 +13239,9 @@ + +char *get_user_response(const char *format, ...); + ---- /dev/null -+++ busybox-1.18.1/archival/libipkg/void_list.c +diff -Nur busybox-1.19.4.orig/archival/libipkg/void_list.c busybox-1.19.4/archival/libipkg/void_list.c +--- busybox-1.19.4.orig/archival/libipkg/void_list.c 1970-01-01 01:00:00.000000000 +0100 ++++ busybox-1.19.4/archival/libipkg/void_list.c 2012-03-17 00:58:08.201100676 +0100 @@ -0,0 +1,194 @@ +/* void_list.c - the itsy package management system + @@ -13368,8 +13437,9 @@ + else + return NULL; +} ---- /dev/null -+++ busybox-1.18.1/archival/libipkg/void_list.h +diff -Nur busybox-1.19.4.orig/archival/libipkg/void_list.h busybox-1.19.4/archival/libipkg/void_list.h +--- busybox-1.19.4.orig/archival/libipkg/void_list.h 1970-01-01 01:00:00.000000000 +0100 ++++ busybox-1.19.4/archival/libipkg/void_list.h 2012-03-17 00:58:08.201100676 +0100 @@ -0,0 +1,59 @@ +/* void_list.h - the itsy package management system + @@ -13430,8 +13500,9 @@ +void *void_list_remove_elt(void_list_t *list, const void *target_data, void_list_cmp_t cmp); + +#endif ---- /dev/null -+++ busybox-1.18.1/archival/libipkg/xsystem.c +diff -Nur busybox-1.19.4.orig/archival/libipkg/xsystem.c busybox-1.19.4/archival/libipkg/xsystem.c +--- busybox-1.19.4.orig/archival/libipkg/xsystem.c 1970-01-01 01:00:00.000000000 +0100 ++++ busybox-1.19.4/archival/libipkg/xsystem.c 2012-03-17 00:58:08.201100676 +0100 @@ -0,0 +1,64 @@ +/* xsystem.c - system(3) with error messages + @@ -13497,8 +13568,9 @@ + return -1; +} + ---- /dev/null -+++ busybox-1.18.1/archival/libipkg/xsystem.h +diff -Nur busybox-1.19.4.orig/archival/libipkg/xsystem.h busybox-1.19.4/archival/libipkg/xsystem.h +--- busybox-1.19.4.orig/archival/libipkg/xsystem.h 1970-01-01 01:00:00.000000000 +0100 ++++ busybox-1.19.4/archival/libipkg/xsystem.h 2012-03-17 00:58:08.201100676 +0100 @@ -0,0 +1,34 @@ +/* xsystem.h - system(3) with error messages + @@ -13534,19 +13606,21 @@ + +#endif + ---- busybox-1.18.1.orig/include/applets.src.h -+++ busybox-1.18.1/include/applets.src.h -@@ -195,6 +195,7 @@ - IF_IPCALC(APPLET(ipcalc, _BB_DIR_BIN, _BB_SUID_DROP)) - IF_IPCRM(APPLET(ipcrm, _BB_DIR_USR_BIN, _BB_SUID_REQUIRE)) - IF_IPCS(APPLET(ipcs, _BB_DIR_USR_BIN, _BB_SUID_REQUIRE)) -+IF_IPKG(APPLET(ipkg, _BB_DIR_USR_BIN, _BB_SUID_DROP)) - IF_IPLINK(APPLET(iplink, _BB_DIR_BIN, _BB_SUID_DROP)) - IF_IPROUTE(APPLET(iproute, _BB_DIR_BIN, _BB_SUID_DROP)) - IF_IPRULE(APPLET(iprule, _BB_DIR_BIN, _BB_SUID_DROP)) ---- busybox-1.18.1.orig/include/archive.h -+++ busybox-1.18.1/include/archive.h -@@ -95,7 +95,7 @@ +diff -Nur busybox-1.19.4.orig/include/applets.src.h busybox-1.19.4/include/applets.src.h +--- busybox-1.19.4.orig/include/applets.src.h 2012-02-04 20:34:24.000000000 +0100 ++++ busybox-1.19.4/include/applets.src.h 2012-03-17 00:58:53.526834671 +0100 +@@ -200,6 +200,7 @@ + IF_IPCALC(APPLET(ipcalc, BB_DIR_BIN, BB_SUID_DROP)) + IF_IPCRM(APPLET(ipcrm, BB_DIR_USR_BIN, BB_SUID_DROP)) + IF_IPCS(APPLET(ipcs, BB_DIR_USR_BIN, BB_SUID_DROP)) ++IF_IPKG(APPLET(ipkg, BB_DIR_USR_BIN, BB_SUID_DROP)) + IF_IPLINK(APPLET(iplink, BB_DIR_BIN, BB_SUID_DROP)) + IF_IPROUTE(APPLET(iproute, BB_DIR_BIN, BB_SUID_DROP)) + IF_IPRULE(APPLET(iprule, BB_DIR_BIN, BB_SUID_DROP)) +diff -Nur busybox-1.19.4.orig/include/archive.h busybox-1.19.4/include/archive.h +--- busybox-1.19.4.orig/include/archive.h 2012-02-04 20:34:24.000000000 +0100 ++++ busybox-1.19.4/include/archive.h 2012-03-17 00:58:08.201100676 +0100 +@@ -96,7 +96,7 @@ struct hardlinks_t *cpio__hardlinks_to_create; struct hardlinks_t *cpio__created_hardlinks; #endif @@ -13555,88 +13629,87 @@ /* Temporary storage */ char *dpkg__buffer; /* How to process any sub archive, e.g. get_header_tar_gz */ ---- busybox-1.18.1.orig/include/usage.src.h -+++ busybox-1.18.1/include/usage.src.h -@@ -1919,6 +1919,82 @@ - "\n -l Limits" \ - "\n -u Summary" \ +diff -Nur busybox-1.19.4.orig/include/usage.src.h busybox-1.19.4/include/usage.src.h +--- busybox-1.19.4.orig/include/usage.src.h 2012-02-04 20:24:55.000000000 +0100 ++++ busybox-1.19.4/include/usage.src.h 2012-03-17 01:01:02.169888238 +0100 +@@ -19,4 +19,80 @@ + #define busybox_notes_usage \ + "Hello world!\n" +#define ipkg_trivial_usage \ + "[options]... sub-command [arguments]..." +#define ipkg_full_usage \ -+ "ipkg is an utility to install, remove and manage .ipk packages.\n" \ -+ "\n" \ -+ "Sub-commands:\n" \ -+ "\nPackage Manipulation:\n" \ -+ "\tupdate Update list of available packages\n" \ -+ "\tupgrade Upgrade all installed packages to latest version\n" \ -+ "\tinstall Download and install (and dependencies)\n" \ -+ "\tinstall Install package \n" \ -+ "\tconfigure [] Configure unpacked packages\n" \ -+ "\tremove Remove package \n" \ -+ "\tflag ... Flag package(s) \n" \ -+ "\t =hold|noprune|user|ok|installed|unpacked (one per invocation) \n" \ -+ "\n" \ -+ "Informational Commands:\n" \ -+ "\tlist List available packages and descriptions\n" \ -+ "\tlist_installed List all and only the installed packages and description \n" \ -+ "\tfiles List all files belonging to \n" \ -+ "\tsearch Search for a package providing \n" \ -+ "\tinfo [pkg|regexp []] Display all/some info fields for or all\n" \ -+ "\tstatus [pkg|regexp []] Display all/some status fields for or all\n" \ -+ "\tdownload Download to current directory.\n" \ -+ "\tcompare_versions \n" \ -+ "\t compare versions using <= < > >= = << >>\n" \ -+ "\tprint_architecture prints the architecture.\n" \ -+ "\tprint_installation_architecture\n" \ -+ "\twhatdepends [-A] [pkgname|pat]+\n" \ -+ "\twhatdependsrec [-A] [pkgname|pat]+\n" \ -+ "\twhatprovides [-A] [pkgname|pat]+\n" \ -+ "\twhatconflicts [-A] [pkgname|pat]+\n" \ -+ "\twhatreplaces [-A] [pkgname|pat]+\n" \ -+ "\t prints the installation architecture.\n" \ -+ "\n" \ -+ "\nOptions:\n" \ -+ "\t-A Query all packages with whatdepends, whatprovides, whatreplaces, whatconflicts\n" \ -+ "\t-V Set verbosity level to . If no value is\n" \ -+ "\t--verbosity provided increase verbosity by one. Verbosity levels:\n" \ -+ "\t 0 errors only\n" \ -+ "\t 1 normal messages (default)\n" \ -+ "\t 2 informative messages\n" \ -+ "\t 3 debug output\n" \ -+ "\t-f Use as the ipkg configuration file\n" \ -+ "\t-conf Default configuration file location\n" \ -+ " is /etc/ipkg.conf\n" \ -+ "\t-d Use as the the root directory for\n" \ -+ "\t-dest package installation, removal, upgrading.\n" \ -+ " should be a defined dest name from\n" \ -+ " the configuration file, (but can also be a\n" \ -+ " directory name in a pinch).\n" \ -+ "\t-o Use as the root directory for\n" \ -+ "\t-offline offline installation of packages.\n" \ -+ "\t-verbose_wget more wget messages\n" \ -+ "\n" \ -+ "Force Options (use when ipkg is too smart for its own good):\n" \ -+ "\t-force-depends Make dependency checks warnings instead of errors\n" \ -+ "\t Install/remove package in spite of failed dependences\n" \ -+ "\t-force-defaults Use default options for questions asked by ipkg.\n" \ -+ " (no prompts). Note that this will not prevent\n" \ -+ " package installation scripts from prompting.\n" \ -+ "\t-force-reinstall Allow ipkg to reinstall a package.\n" \ -+ "\t-force-overwrite Allow ipkg to overwrite files from another package during an install.\n" \ -+ "\t-force-downgrade Allow ipkg to downgrade packages.\n" \ -+ "\t-force_space Install even if there does not seem to be enough space.\n" \ -+ "\t-noaction No action -- test only\n" \ -+ "\t-nodeps Do not follow dependences\n" \ -+ "\t-force-removal-of-dependent-packages\n" \ -+ "\t-recursive Allow ipkg to remove package and all that depend on it.\n" \ -+ "\t-test No action -- test only\n" \ -+ "\t-t Specify tmp-dir.\n" \ -+ "\t--tmp-dir Specify tmp-dir.\n" \ -+ "\n" \ -+ "\tregexp could be something like 'pkgname*' '*file*' or similar\n" \ -+ "\teg: ipkg info 'libstd*' or ipkg search '*libop*' or ipkg remove 'libncur*'\n" -+ - #define iplink_trivial_usage \ - "{ set DEVICE { up | down | arp { on | off } | show [DEVICE] }" - #define iplink_full_usage "\n\n" \ ++ "ipkg is an utility to install, remove and manage .ipk packages.\n" \ ++ "\n" \ ++ "Sub-commands:\n" \ ++ "\nPackage Manipulation:\n" \ ++ "\tupdate Update list of available packages\n" \ ++ "\tupgrade Upgrade all installed packages to latest version\n" \ ++ "\tinstall Download and install (and dependencies)\n" \ ++ "\tinstall Install package \n" \ ++ "\tconfigure [] Configure unpacked packages\n" \ ++ "\tremove Remove package \n" \ ++ "\tflag ... Flag package(s) \n" \ ++ "\t =hold|noprune|user|ok|installed|unpacked (one per invocation) \n" \ ++ "\n" \ ++ "Informational Commands:\n" \ ++ "\tlist List available packages and descriptions\n" \ ++ "\tlist_installed List all and only the installed packages and description \n" \ ++ "\tfiles List all files belonging to \n" \ ++ "\tsearch Search for a package providing \n" \ ++ "\tinfo [pkg|regexp []] Display all/some info fields for or all\n" \ ++ "\tstatus [pkg|regexp []] Display all/some status fields for or all\n" \ ++ "\tdownload Download to current directory.\n" \ ++ "\tcompare_versions \n" \ ++ "\t compare versions using <= < > >= = << >>\n" \ ++ "\tprint_architecture prints the architecture.\n" \ ++ "\tprint_installation_architecture\n" \ ++ "\twhatdepends [-A] [pkgname|pat]+\n" \ ++ "\twhatdependsrec [-A] [pkgname|pat]+\n" \ ++ "\twhatprovides [-A] [pkgname|pat]+\n" \ ++ "\twhatconflicts [-A] [pkgname|pat]+\n" \ ++ "\twhatreplaces [-A] [pkgname|pat]+\n" \ ++ "\t prints the installation architecture.\n" \ ++ "\n" \ ++ "\nOptions:\n" \ ++ "\t-A Query all packages with whatdepends, whatprovides, whatreplaces, whatconflicts\n" \ ++ "\t-V Set verbosity level to . If no value is\n" \ ++ "\t--verbosity provided increase verbosity by one. Verbosity levels:\n" \ ++ "\t 0 errors only\n" \ ++ "\t 1 normal messages (default)\n" \ ++ "\t 2 informative messages\n" \ ++ "\t 3 debug output\n" \ ++ "\t-f Use as the ipkg configuration file\n" \ ++ "\t-conf Default configuration file location\n" \ ++ " is /etc/ipkg.conf\n" \ ++ "\t-d Use as the the root directory for\n" \ ++ "\t-dest package installation, removal, upgrading.\n" \ ++ " should be a defined dest name from\n" \ ++ " the configuration file, (but can also be a\n" \ ++ " directory name in a pinch).\n" \ ++ "\t-o Use as the root directory for\n" \ ++ "\t-offline offline installation of packages.\n" \ ++ "\t-verbose_wget more wget messages\n" \ ++ "\n" \ ++ "Force Options (use when ipkg is too smart for its own good):\n" \ ++ "\t-force-depends Make dependency checks warnings instead of errors\n" \ ++ "\t Install/remove package in spite of failed dependences\n" \ ++ "\t-force-defaults Use default options for questions asked by ipkg.\n" \ ++ " (no prompts). Note that this will not prevent\n" \ ++ " package installation scripts from prompting.\n" \ ++ "\t-force-reinstall Allow ipkg to reinstall a package.\n" \ ++ "\t-force-overwrite Allow ipkg to overwrite files from another package during an install.\n" \ ++ "\t-force-downgrade Allow ipkg to downgrade packages.\n" \ ++ "\t-force_space Install even if there does not seem to be enough space.\n" \ ++ "\t-noaction No action -- test only\n" \ ++ "\t-nodeps Do not follow dependences\n" \ ++ "\t-force-removal-of-dependent-packages\n" \ ++ "\t-recursive Allow ipkg to remove package and all that depend on it.\n" \ ++ "\t-test No action -- test only\n" \ ++ "\t-t Specify tmp-dir.\n" \ ++ "\t--tmp-dir Specify tmp-dir.\n" \ ++ "\n" \ ++ "\tregexp could be something like 'pkgname*' '*file*' or similar\n" \ ++ "\teg: ipkg info 'libstd*' or ipkg search '*libop*' or ipkg remove 'libncur*'\n" ++ + #endif diff --git a/package/busybox/patches/003-defaults.patch b/package/busybox/patches/003-defaults.patch index 0678cf908..2592dc04c 100644 --- a/package/busybox/patches/003-defaults.patch +++ b/package/busybox/patches/003-defaults.patch @@ -1,7 +1,7 @@ -diff -Naurp busybox-1.18.4/Config.in busybox-1.18.4.patched/Config.in ---- busybox-1.18.4/Config.in 2011-03-13 02:45:40.000000000 +0100 -+++ busybox-1.18.4.patched/Config.in 2011-04-12 17:11:37.904996819 +0200 -@@ -15,7 +15,7 @@ menu "General Configuration" +diff -Nur busybox-1.19.4.orig/Config.in busybox-1.19.4/Config.in +--- busybox-1.19.4.orig/Config.in 2012-02-04 20:34:24.000000000 +0100 ++++ busybox-1.19.4/Config.in 2012-03-20 16:07:34.206229130 +0100 +@@ -15,7 +15,7 @@ config DESKTOP bool "Enable options for full-blown desktop systems" @@ -10,7 +10,7 @@ diff -Naurp busybox-1.18.4/Config.in busybox-1.18.4.patched/Config.in help Enable options and features which are not essential. Select this only if you plan to use busybox on full-blown -@@ -32,7 +32,7 @@ config EXTRA_COMPAT +@@ -32,7 +32,7 @@ config INCLUDE_SUSv2 bool "Enable obsolete features removed before SUSv3" @@ -19,10 +19,10 @@ diff -Naurp busybox-1.18.4/Config.in busybox-1.18.4.patched/Config.in help This option will enable backwards compatibility with SuSv2, specifically, old-style numeric options ('command -1 ') -diff -Naurp busybox-1.18.4/archival/Config.src busybox-1.18.4.patched/archival/Config.src ---- busybox-1.18.4/archival/Config.src 2011-04-12 17:11:13.204993284 +0200 -+++ busybox-1.18.4.patched/archival/Config.src 2011-04-12 17:11:37.905996921 +0200 -@@ -79,7 +79,7 @@ config FEATURE_AR_CREATE +diff -Nur busybox-1.19.4.orig/archival/Config.src busybox-1.19.4/archival/Config.src +--- busybox-1.19.4.orig/archival/Config.src 2012-02-04 20:34:24.000000000 +0100 ++++ busybox-1.19.4/archival/Config.src 2012-03-20 16:07:34.206229130 +0100 +@@ -79,7 +79,7 @@ config BUNZIP2 bool "bunzip2" @@ -31,7 +31,7 @@ diff -Naurp busybox-1.18.4/archival/Config.src busybox-1.18.4.patched/archival/C help bunzip2 is a compression utility using the Burrows-Wheeler block sorting text compression algorithm, and Huffman coding. Compression -@@ -92,7 +92,7 @@ config BUNZIP2 +@@ -92,7 +92,7 @@ config BZIP2 bool "bzip2" @@ -40,7 +40,7 @@ diff -Naurp busybox-1.18.4/archival/Config.src busybox-1.18.4.patched/archival/C help bzip2 is a compression utility using the Burrows-Wheeler block sorting text compression algorithm, and Huffman coding. Compression -@@ -105,7 +105,7 @@ config BZIP2 +@@ -105,7 +105,7 @@ config CPIO bool "cpio" @@ -49,7 +49,7 @@ diff -Naurp busybox-1.18.4/archival/Config.src busybox-1.18.4.patched/archival/C help cpio is an archival utility program used to create, modify, and extract contents from archives. -@@ -210,19 +210,19 @@ config IPKG +@@ -204,19 +204,19 @@ config RPM2CPIO bool "rpm2cpio" @@ -72,7 +72,7 @@ diff -Naurp busybox-1.18.4/archival/Config.src busybox-1.18.4.patched/archival/C help tar is an archiving program. It's commonly used with gzip to create compressed archives. It's probably the most widely used -@@ -329,7 +329,7 @@ config UNCOMPRESS +@@ -323,7 +323,7 @@ config UNLZMA bool "unlzma" @@ -81,7 +81,7 @@ diff -Naurp busybox-1.18.4/archival/Config.src busybox-1.18.4.patched/archival/C help unlzma is a compression utility using the Lempel-Ziv-Markov chain compression algorithm, and range coding. Compression -@@ -360,7 +360,7 @@ config LZMA +@@ -354,7 +354,7 @@ config UNXZ bool "unxz" @@ -90,10 +90,10 @@ diff -Naurp busybox-1.18.4/archival/Config.src busybox-1.18.4.patched/archival/C help unxz is a unlzma successor. -diff -Naurp busybox-1.18.4/editors/Config.src busybox-1.18.4.patched/editors/Config.src ---- busybox-1.18.4/editors/Config.src 2011-03-13 02:45:06.000000000 +0100 -+++ busybox-1.18.4.patched/editors/Config.src 2011-04-12 17:11:37.905996921 +0200 -@@ -31,7 +31,7 @@ config CMP +diff -Nur busybox-1.19.4.orig/editors/Config.src busybox-1.19.4/editors/Config.src +--- busybox-1.19.4.orig/editors/Config.src 2012-02-04 20:24:55.000000000 +0100 ++++ busybox-1.19.4/editors/Config.src 2012-03-20 16:07:34.206229130 +0100 +@@ -31,7 +31,7 @@ config DIFF bool "diff" @@ -102,7 +102,7 @@ diff -Naurp busybox-1.18.4/editors/Config.src busybox-1.18.4.patched/editors/Con help diff compares two files or directories and outputs the differences between them in a form that can be given to -@@ -62,7 +62,7 @@ config ED +@@ -62,7 +62,7 @@ config SED bool "sed" @@ -111,10 +111,10 @@ diff -Naurp busybox-1.18.4/editors/Config.src busybox-1.18.4.patched/editors/Con help sed is used to perform text transformations on a file or input from a pipeline. -diff -Naurp busybox-1.18.4/editors/patch.c busybox-1.18.4.patched/editors/patch.c ---- busybox-1.18.4/editors/patch.c 2011-03-13 02:45:40.000000000 +0100 -+++ busybox-1.18.4.patched/editors/patch.c 2011-04-12 17:11:37.905996921 +0200 -@@ -27,7 +27,7 @@ +diff -Nur busybox-1.19.4.orig/editors/patch.c busybox-1.19.4/editors/patch.c +--- busybox-1.19.4.orig/editors/patch.c 2012-02-04 20:34:24.000000000 +0100 ++++ busybox-1.19.4/editors/patch.c 2012-03-20 16:07:34.206229130 +0100 +@@ -24,7 +24,7 @@ //config:config PATCH //config: bool "patch" @@ -123,10 +123,10 @@ diff -Naurp busybox-1.18.4/editors/patch.c busybox-1.18.4.patched/editors/patch. //config: help //config: Apply a unified diff formatted patch. -diff -Naurp busybox-1.18.4/findutils/find.c busybox-1.18.4.patched/findutils/find.c ---- busybox-1.18.4/findutils/find.c 2011-04-12 17:11:22.887000207 +0200 -+++ busybox-1.18.4.patched/findutils/find.c 2011-04-12 17:21:04.441000928 +0200 -@@ -59,7 +59,7 @@ +diff -Nur busybox-1.19.4.orig/findutils/find.c busybox-1.19.4/findutils/find.c +--- busybox-1.19.4.orig/findutils/find.c 2012-02-04 20:24:55.000000000 +0100 ++++ busybox-1.19.4/findutils/find.c 2012-03-20 16:07:34.206229130 +0100 +@@ -55,7 +55,7 @@ //config:config FIND //config: bool "find" @@ -135,9 +135,9 @@ diff -Naurp busybox-1.18.4/findutils/find.c busybox-1.18.4.patched/findutils/fin //config: help //config: find is used to search your system to find specified files. //config: -diff -Naurp busybox-1.18.4/findutils/grep.c busybox-1.18.4.patched/findutils/grep.c ---- busybox-1.18.4/findutils/grep.c 2011-03-13 02:45:40.000000000 +0100 -+++ busybox-1.18.4.patched/findutils/grep.c 2011-04-12 17:21:09.828998153 +0200 +diff -Nur busybox-1.19.4.orig/findutils/grep.c busybox-1.19.4/findutils/grep.c +--- busybox-1.19.4.orig/findutils/grep.c 2012-02-04 20:24:55.000000000 +0100 ++++ busybox-1.19.4/findutils/grep.c 2012-03-20 16:07:34.206229130 +0100 @@ -26,7 +26,7 @@ //config:config GREP @@ -147,67 +147,73 @@ diff -Naurp busybox-1.18.4/findutils/grep.c busybox-1.18.4.patched/findutils/gre //config: help //config: grep is used to search files for a specified pattern. //config: -diff -Naurp busybox-1.18.4/miscutils/Config.src busybox-1.18.4.patched/miscutils/Config.src ---- busybox-1.18.4/miscutils/Config.src 2011-03-13 02:45:40.000000000 +0100 -+++ busybox-1.18.4.patched/miscutils/Config.src 2011-04-12 17:19:11.872999667 +0200 -@@ -362,7 +362,7 @@ endchoice - - config LESS - bool "less" -- default y -+ default n - help - 'less' is a pager, meaning that it displays text files. It possesses - a wide array of features, and is an improvement over 'more'. -@@ -428,7 +428,7 @@ config FEATURE_LESS_LINENUMS +diff -Nur busybox-1.19.4.orig/include/applets.src.h busybox-1.19.4/include/applets.src.h +--- busybox-1.19.4.orig/include/applets.src.h 2012-02-04 20:34:24.000000000 +0100 ++++ busybox-1.19.4/include/applets.src.h 2012-03-20 16:12:28.806228451 +0100 +@@ -244,9 +244,9 @@ + IF_MICROCOM(APPLET(microcom, BB_DIR_USR_BIN, BB_SUID_DROP)) + IF_MKDIR(APPLET_NOFORK(mkdir, mkdir, BB_DIR_BIN, BB_SUID_DROP, mkdir)) + IF_MKFS_VFAT(APPLET_ODDNAME(mkdosfs, mkfs_vfat, BB_DIR_SBIN, BB_SUID_DROP, mkfs_vfat)) +-IF_MKFS_EXT2(APPLET_ODDNAME(mke2fs, mkfs_ext2, BB_DIR_SBIN, BB_SUID_DROP, mkfs_ext2)) ++//IF_MKFS_EXT2(APPLET_ODDNAME(mke2fs, mkfs_ext2, BB_DIR_SBIN, BB_SUID_DROP, mkfs_ext2)) + IF_MKFIFO(APPLET_NOEXEC(mkfifo, mkfifo, BB_DIR_USR_BIN, BB_SUID_DROP, mkfifo)) +-IF_MKFS_EXT2(APPLET_ODDNAME(mkfs.ext2, mkfs_ext2, BB_DIR_SBIN, BB_SUID_DROP, mkfs_ext2)) ++//IF_MKFS_EXT2(APPLET_ODDNAME(mkfs.ext2, mkfs_ext2, BB_DIR_SBIN, BB_SUID_DROP, mkfs_ext2)) + //IF_MKE2FS(APPLET_ODDNAME(mkfs.ext3, mke2fs, BB_DIR_SBIN, BB_SUID_DROP, mkfs_ext3)) + IF_MKFS_MINIX(APPLET_ODDNAME(mkfs.minix, mkfs_minix, BB_DIR_SBIN, BB_SUID_DROP, mkfs_minix)) + IF_MKFS_REISER(APPLET_ODDNAME(mkfs.reiser, mkfs_reiser, BB_DIR_SBIN, BB_SUID_DROP, mkfs_reiser)) +diff -Nur busybox-1.19.4.orig/miscutils/Config.src busybox-1.19.4/miscutils/Config.src +--- busybox-1.19.4.orig/miscutils/Config.src 2012-02-04 20:24:55.000000000 +0100 ++++ busybox-1.19.4/miscutils/Config.src 2012-03-20 16:07:34.206229130 +0100 +@@ -362,7 +362,7 @@ config HDPARM bool "hdparm" - default y + default n - depends on PLATFORM_LINUX + select PLATFORM_LINUX help Get/Set hard drive parameters. Primarily intended for ATA -@@ -663,7 +663,7 @@ config WALL +@@ -600,7 +600,7 @@ config WATCHDOG bool "watchdog" - default y + default n - depends on PLATFORM_LINUX + select PLATFORM_LINUX help The watchdog utility is used with hardware or software watchdog -diff -Naurp busybox-1.18.4/networking/Config.src busybox-1.18.4.patched/networking/Config.src ---- busybox-1.18.4/networking/Config.src 2011-03-13 02:45:40.000000000 +0100 -+++ busybox-1.18.4.patched/networking/Config.src 2011-04-12 17:16:48.182999877 +0200 -@@ -64,7 +64,7 @@ config ARPING +diff -Nur busybox-1.19.4.orig/networking/Config.src busybox-1.19.4/networking/Config.src +--- busybox-1.19.4.orig/networking/Config.src 2012-02-04 20:34:24.000000000 +0100 ++++ busybox-1.19.4/networking/Config.src 2012-03-20 16:07:34.206229130 +0100 +@@ -64,7 +64,7 @@ config BRCTL bool "brctl" - default y + default n - depends on PLATFORM_LINUX + select PLATFORM_LINUX help Manage ethernet bridges. -@@ -97,7 +97,7 @@ config DNSD +@@ -97,7 +97,7 @@ config ETHER_WAKE bool "ether-wake" - default y + default n - depends on PLATFORM_LINUX + select PLATFORM_LINUX help Send a magic packet to wake up sleeping machines. -@@ -497,7 +497,7 @@ config FEATURE_INETD_RPC +@@ -498,7 +498,7 @@ config IP bool "ip" - default y + default n - depends on PLATFORM_LINUX + select PLATFORM_LINUX help The "ip" applet is a TCP/IP interface configuration and routing -@@ -986,7 +986,7 @@ config VCONFIG +@@ -935,7 +935,7 @@ config WGET bool "wget" @@ -216,24 +222,49 @@ diff -Naurp busybox-1.18.4/networking/Config.src busybox-1.18.4.patched/networki help wget is a utility for non-interactive download of files from HTTP, HTTPS, and FTP servers. -diff -Naurp busybox-1.18.4/util-linux/Config.src busybox-1.18.4.patched/util-linux/Config.src ---- busybox-1.18.4/util-linux/Config.src 2011-03-13 02:45:40.000000000 +0100 -+++ busybox-1.18.4.patched/util-linux/Config.src 2011-04-12 17:18:25.998990985 +0200 -@@ -378,7 +378,7 @@ config LOSETUP +diff -Nur busybox-1.19.4.orig/util-linux/Config.src busybox-1.19.4/util-linux/Config.src +--- busybox-1.19.4.orig/util-linux/Config.src 2012-02-04 20:34:24.000000000 +0100 ++++ busybox-1.19.4/util-linux/Config.src 2012-03-20 16:09:26.662228452 +0100 +@@ -246,13 +246,6 @@ + check for and attempt to repair any corruption that occurs to a minix + filesystem. + +-config MKFS_EXT2 +- bool "mkfs_ext2" +- default y +- select PLATFORM_LINUX +- help +- Utility to create EXT2 filesystems. +- + config MKFS_MINIX + bool "mkfs_minix" + default y +@@ -386,7 +379,7 @@ config LSPCI bool "lspci" - default y + default n - #depends on PLATFORM_LINUX + #select PLATFORM_LINUX help lspci is a utility for displaying information about PCI buses in the -@@ -388,7 +388,7 @@ config LSPCI +@@ -396,7 +389,7 @@ config LSUSB bool "lsusb" - default y + default n - #depends on PLATFORM_LINUX + #select PLATFORM_LINUX help lsusb is a utility for displaying information about USB buses in the +diff -Nur busybox-1.19.4.orig/util-linux/Kbuild.src busybox-1.19.4/util-linux/Kbuild.src +--- busybox-1.19.4.orig/util-linux/Kbuild.src 2012-02-04 20:34:24.000000000 +0100 ++++ busybox-1.19.4/util-linux/Kbuild.src 2012-03-20 16:10:21.682228369 +0100 +@@ -27,7 +27,6 @@ + lib-$(CONFIG_LSPCI) += lspci.o + lib-$(CONFIG_LSUSB) += lsusb.o + lib-$(CONFIG_MDEV) += mdev.o +-lib-$(CONFIG_MKFS_EXT2) += mkfs_ext2.o + lib-$(CONFIG_MKFS_MINIX) += mkfs_minix.o + lib-$(CONFIG_MKFS_REISER) += mkfs_reiser.o + lib-$(CONFIG_MKFS_VFAT) += mkfs_vfat.o diff --git a/package/busybox/patches/004-remove-cflags.patch b/package/busybox/patches/004-remove-cflags.patch deleted file mode 100644 index e1daf3294..000000000 --- a/package/busybox/patches/004-remove-cflags.patch +++ /dev/null @@ -1,22 +0,0 @@ -diff -Nur busybox-1.18.1.orig/Makefile.flags busybox-1.18.1/Makefile.flags ---- busybox-1.18.1.orig/Makefile.flags 2010-12-20 01:41:26.000000000 +0100 -+++ busybox-1.18.1/Makefile.flags 2011-01-27 21:24:51.000000000 +0100 -@@ -57,18 +57,6 @@ - # be fixed.. - #CFLAGS += $(call cc-option,-Wconversion,) - --ifneq ($(CONFIG_DEBUG),y) --CFLAGS += $(call cc-option,-Os,) --else --CFLAGS += $(call cc-option,-g,) --#CFLAGS += "-D_FORTIFY_SOURCE=2" --ifeq ($(CONFIG_DEBUG_PESSIMIZE),y) --CFLAGS += $(call cc-option,-O0,) --else --CFLAGS += $(call cc-option,-Os,) --endif --endif -- - # If arch/$(ARCH)/Makefile did not override it (with, say, -fPIC)... - ARCH_FPIC ?= -fpic - ARCH_FPIE ?= -fpie diff --git a/package/busybox/patches/008-ps.patch b/package/busybox/patches/008-ps.patch deleted file mode 100644 index 7e9e2dd70..000000000 --- a/package/busybox/patches/008-ps.patch +++ /dev/null @@ -1,110 +0,0 @@ ---- busybox-1.17.2.orig/procps/ps.c 2010-08-23 02:44:35.000000000 +0200 -+++ busybox-1.17.2/procps/ps.c 2010-11-27 23:47:59.000000000 +0100 -@@ -14,8 +14,6 @@ - /* Absolute maximum on output line length */ - enum { MAX_WIDTH = 2*1024 }; - --#if ENABLE_DESKTOP -- - #include /* for times() */ - #ifndef AT_CLKTCK - #define AT_CLKTCK 17 -@@ -544,98 +542,3 @@ int ps_main(int argc UNUSED_PARAM, char - - return EXIT_SUCCESS; - } -- -- --#else /* !ENABLE_DESKTOP */ -- -- --int ps_main(int argc, char **argv) MAIN_EXTERNALLY_VISIBLE; --int ps_main(int argc UNUSED_PARAM, char **argv UNUSED_PARAM) --{ -- procps_status_t *p; -- int psscan_flags = PSSCAN_PID | PSSCAN_UIDGID -- | PSSCAN_STATE | PSSCAN_VSZ | PSSCAN_COMM; -- unsigned terminal_width IF_NOT_FEATURE_PS_WIDE(= 79); -- enum { -- OPT_Z = (1 << 0) * ENABLE_SELINUX, -- OPT_T = (1 << ENABLE_SELINUX) * ENABLE_FEATURE_SHOW_THREADS, -- }; -- int opts = 0; -- /* If we support any options, parse argv */ --#if ENABLE_SELINUX || ENABLE_FEATURE_SHOW_THREADS || ENABLE_FEATURE_PS_WIDE --# if ENABLE_FEATURE_PS_WIDE -- /* -w is a bit complicated */ -- int w_count = 0; -- opt_complementary = "-:ww"; -- opts = getopt32(argv, IF_SELINUX("Z")IF_FEATURE_SHOW_THREADS("T")"w", &w_count); -- /* if w is given once, GNU ps sets the width to 132, -- * if w is given more than once, it is "unlimited" -- */ -- if (w_count) { -- terminal_width = (w_count == 1) ? 132 : MAX_WIDTH; -- } else { -- get_terminal_width_height(0, &terminal_width, NULL); -- /* Go one less... */ -- if (--terminal_width > MAX_WIDTH) -- terminal_width = MAX_WIDTH; -- } --# else -- /* -w is not supported, only -Z and/or -T */ -- opt_complementary = "-"; -- opts = getopt32(argv, IF_SELINUX("Z")IF_FEATURE_SHOW_THREADS("T")); --# endif --#endif -- --#if ENABLE_SELINUX -- if ((opts & OPT_Z) && is_selinux_enabled()) { -- psscan_flags = PSSCAN_PID | PSSCAN_CONTEXT -- | PSSCAN_STATE | PSSCAN_COMM; -- puts(" PID CONTEXT STAT COMMAND"); -- } else --#endif -- { -- puts(" PID USER VSZ STAT COMMAND"); -- } -- if (opts & OPT_T) { -- psscan_flags |= PSSCAN_TASKS; -- } -- -- p = NULL; -- while ((p = procps_scan(p, psscan_flags)) != NULL) { -- int len; --#if ENABLE_SELINUX -- if (psscan_flags & PSSCAN_CONTEXT) { -- len = printf("%5u %-32.32s %s ", -- p->pid, -- p->context ? p->context : "unknown", -- p->state); -- } else --#endif -- { -- const char *user = get_cached_username(p->uid); -- //if (p->vsz == 0) -- // len = printf("%5u %-8.8s %s ", -- // p->pid, user, p->state); -- //else -- { -- char buf6[6]; -- smart_ulltoa5(p->vsz, buf6, " mgtpezy"); -- buf6[5] = '\0'; -- len = printf("%5u %-8.8s %s %s ", -- p->pid, user, buf6, p->state); -- } -- } -- -- { -- int sz = terminal_width - len; -- char buf[sz + 1]; -- read_cmdline(buf, sz, p->pid, p->comm); -- puts(buf); -- } -- } -- if (ENABLE_FEATURE_CLEAN_UP) -- clear_username_cache(); -- return EXIT_SUCCESS; --} -- --#endif /* !ENABLE_DESKTOP */ diff --git a/package/busybox/patches/009-nfs-remount.patch b/package/busybox/patches/009-nfs-remount.patch deleted file mode 100644 index e15de1a5a..000000000 --- a/package/busybox/patches/009-nfs-remount.patch +++ /dev/null @@ -1,13 +0,0 @@ -diff -Nur busybox-1.18.4.orig/util-linux/mount.c busybox-1.18.4/util-linux/mount.c ---- busybox-1.18.4.orig/util-linux/mount.c 2011-03-13 02:45:40.000000000 +0100 -+++ busybox-1.18.4/util-linux/mount.c 2011-05-15 03:12:40.000000000 +0200 -@@ -1129,6 +1129,9 @@ - continue; - case 20: // "addr" - ignore - continue; -+ case -1: // unknown -+ if (vfsflags & MS_REMOUNT) -+ continue; - } - - val = xatoi_positive(opteq); -- cgit v1.2.3