Skip to contentSkip to conversation

Package Upgrades

PATCH Superseded Radu Moisan 3 participants 19 messages Jul 4, 2013 – Jul 5, 2013

v2 of 4 Superseded Latest is v4 →

lore
Share & tools
lore
#0 lore raw

v2 cover Package Upgrades

* iputils: Removed obsolete patches & Replaced openssl with gnutls in dependency list
* busybox: Removed obsolete patches & Added a few fixes from upstream
(http://busybox.net/downloads/fixes-1.21.0/)

	busybox-1.21.0-mdev.patch
	busybox-1.21.0-platform.patch
	busybox-1.21.0-xz.patch

* elfutils: license changed to GPLv3
several patches were absolete so I removed them
redhat-portability & redhat-robustify backported from latest elfutils-portability & elfutils-robustify from upstream
* The rest are basic upgrades, no issues

The following changes since commit 8a186a6b3853fc1a7dcf342d421c8926c38949c9:

bitbake: hob: save button from settings called a nonexisting method (2013-07-03 08:13:35 +0100)

are available in the git repository at:

git://git.yoctoproject.org/poky-contrib rmoisan/branch-updates
http://git.yoctoproject.org/cgit.cgi/poky-contrib/log/?h=rmoisan/branch-updates

Radu Moisan (10):
iputils: Upgrade to v20121221
busybox: Upgrade to v1.21.0
elfutils: Upgrade to v0.155
rxvt-unicode: Upgrade to v9.18
ed: Upgrade to v1.8
libdmx: Upgrade to v1.1.3
apr: Upgrade to v1.4.8
apr-util: Upgrade to v1.5.2
diffutils: Upgrade to v3.3
usbutils: Upgrade to v007

 .../usbutils/{usbutils_006.bb => usbutils_007.bb}  |    5 +-
 .../busybox/busybox-1.20.2/B921600.patch           |   24 -
 .../busybox-1.20.2/busybox-1.20.2-kernel_ver.patch |   28 -
 .../busybox-mkfs-minix-tests_bigendian.patch       |   34 -
 .../fix-for-spurious-testsuite-failure.patch       |   27 -
 .../busybox/busybox-1.20.2/sys_resource.patch      |   99 --
 .../busybox/busybox-1.20.2/wget_dl_dir_fix.patch   |   30 -
 .../busybox-1.21.0/busybox-1.21.0-mdev.patch       |  647 +++++++
 .../busybox-1.21.0/busybox-1.21.0-platform.patch   |   28 +
 .../busybox/busybox-1.21.0/busybox-1.21.0-xz.patch |   88 +
 .../busybox-appletlib-dependency.patch             |    0
 ...usybox-list-suid-and-non-suid-app-configs.patch |    0
 .../busybox-sulogin-empty-root-password.patch      |    0
 .../busybox-udhcpc-no_deconfig.patch               |    0
 .../{busybox-1.20.2 => busybox-1.21.0}/defconfig   |    0
 .../fail_on_no_media.patch                         |    0
 .../get_header_tar.patch                           |    0
 .../login-utilities.cfg                            |    0
 .../run-parts.in.usr-bin.patch                     |    6 +-
 .../stat-usr-bin.patch                             |    0
 .../strict-atime.patch                             |    0
 ...estsuite-du-du-k-works-fix-false-positive.patch |    0
 .../watch.in.usr-bin.patch                         |    0
 .../{busybox_1.20.2.bb => busybox_1.21.0.bb}       |   20 +-
 .../elfutils/elfutils-0.155/arm_backend.diff       |  450 +++++
 .../elfutils/elfutils-0.155/do-autoreconf.diff     |  215 +++
 .../elfutils/elfutils-0.155/dso-link-change.patch  |   32 +
 .../elfutils/elfutils-0.155/elf_additions.diff     |   61 +
 .../elfutils-ar-c-fix-num-passed-to-memset.patch   |   23 +
 .../elfutils-0.155/elfutils-robustify.patch        | 1756 +++++++++++++++++++
 .../elfutils/elfutils-0.155/hppa_backend.diff      |  796 +++++++++
 .../elfutils/elfutils-0.155/i386_dis.h             | 1657 ++++++++++++++++++
 .../elfutils/elfutils-0.155/m68k_backend.diff      |  303 ++++
 .../elfutils/elfutils-0.155/mempcpy.patch          |   24 +
 .../elfutils/elfutils-0.155/mips_backend.diff      |  708 ++++++++
 ...ssed-to-snprintf-for-invalid-sh_name-case.patch |   27 +
 .../elfutils-0.155/redhat-portability.diff         | 1775 +++++++++++++++++++
 .../elfutils/elfutils-0.155/redhat-robustify.diff  | 1824 ++++++++++++++++++++
 .../elfutils/elfutils-0.155/uclibc-support.patch   |   91 +
 .../elfutils/elfutils-0.155/x86_64_dis.h           | 1632 ++++++++++++++++++
 meta/recipes-devtools/elfutils/elfutils_0.155.bb   |   84 +
 .../diffutils-3.2/obsolete_automake_macros.patch   |   14 -
 .../diffutils/diffutils-3.2/remove-gets.patch      |   22 -
 meta/recipes-extended/diffutils/diffutils.inc      |    2 +-
 .../{diffutils_3.2.bb => diffutils_3.3.bb}         |   10 +-
 meta/recipes-extended/ed/ed-1.7/ed-1.2-build.patch |   43 -
 meta/recipes-extended/ed/{ed_1.7.bb => ed_1.8.bb}  |   11 +-
 .../files/debian/add-icmp-return-codes.diff        |   43 -
 .../iputils/files/debian/fix-arping-timeouts.diff  |   26 -
 .../files/debian/fix-dead-host-ping-stats.diff     |   16 -
 .../iputils/files/debian/targets.diff              |   14 +-
 .../iputils/files/debian/use_gethostbyname2.diff   |   36 +-
 .../{iputils_s20101006.bb => iputils_s20121221.bb} |   14 +-
 .../xorg-lib/{libdmx_1.1.2.bb => libdmx_1.1.3.bb}  |    4 +-
 .../rxvt.desktop                                   |    0
 .../rxvt.png                                       |  Bin 2847 -> 2847 bytes
 .../xwc.patch                                      |    0
 .../{rxvt-unicode_9.17.bb => rxvt-unicode_9.18.bb} |    6 +-
 .../apr/{apr-util_1.5.1.bb => apr-util_1.5.2.bb}   |    6 +-
 .../apr/{apr_1.4.6.bb => apr_1.4.8.bb}             |    6 +-
 60 files changed, 12281 insertions(+), 486 deletions(-)
 rename meta/recipes-bsp/usbutils/{usbutils_006.bb => usbutils_007.bb} (83%)
 delete mode 100644 meta/recipes-core/busybox/busybox-1.20.2/B921600.patch
 delete mode 100644 meta/recipes-core/busybox/busybox-1.20.2/busybox-1.20.2-kernel_ver.patch
 delete mode 100644 meta/recipes-core/busybox/busybox-1.20.2/busybox-mkfs-minix-tests_bigendian.patch
 delete mode 100644 meta/recipes-core/busybox/busybox-1.20.2/fix-for-spurious-testsuite-failure.patch
 delete mode 100644 meta/recipes-core/busybox/busybox-1.20.2/sys_resource.patch
 delete mode 100644 meta/recipes-core/busybox/busybox-1.20.2/wget_dl_dir_fix.patch
 create mode 100644 meta/recipes-core/busybox/busybox-1.21.0/busybox-1.21.0-mdev.patch
 create mode 100644 meta/recipes-core/busybox/busybox-1.21.0/busybox-1.21.0-platform.patch
 create mode 100644 meta/recipes-core/busybox/busybox-1.21.0/busybox-1.21.0-xz.patch
 rename meta/recipes-core/busybox/{busybox-1.20.2 => busybox-1.21.0}/busybox-appletlib-dependency.patch (100%)
 rename meta/recipes-core/busybox/{busybox-1.20.2 => busybox-1.21.0}/busybox-list-suid-and-non-suid-app-configs.patch (100%)
 rename meta/recipes-core/busybox/{busybox-1.20.2 => busybox-1.21.0}/busybox-sulogin-empty-root-password.patch (100%)
 rename meta/recipes-core/busybox/{busybox-1.20.2 => busybox-1.21.0}/busybox-udhcpc-no_deconfig.patch (100%)
 rename meta/recipes-core/busybox/{busybox-1.20.2 => busybox-1.21.0}/defconfig (100%)
 rename meta/recipes-core/busybox/{busybox-1.20.2 => busybox-1.21.0}/fail_on_no_media.patch (100%)
 rename meta/recipes-core/busybox/{busybox-1.20.2 => busybox-1.21.0}/get_header_tar.patch (100%)
 rename meta/recipes-core/busybox/{busybox-1.20.2 => busybox-1.21.0}/login-utilities.cfg (100%)
 rename meta/recipes-core/busybox/{busybox-1.20.2 => busybox-1.21.0}/run-parts.in.usr-bin.patch (90%)
 rename meta/recipes-core/busybox/{busybox-1.20.2 => busybox-1.21.0}/stat-usr-bin.patch (100%)
 rename meta/recipes-core/busybox/{busybox-1.20.2 => busybox-1.21.0}/strict-atime.patch (100%)
 rename meta/recipes-core/busybox/{busybox-1.20.2 => busybox-1.21.0}/testsuite-du-du-k-works-fix-false-positive.patch (100%)
 rename meta/recipes-core/busybox/{busybox-1.20.2 => busybox-1.21.0}/watch.in.usr-bin.patch (100%)
 rename meta/recipes-core/busybox/{busybox_1.20.2.bb => busybox_1.21.0.bb} (73%)
 create mode 100644 meta/recipes-devtools/elfutils/elfutils-0.155/arm_backend.diff
 create mode 100644 meta/recipes-devtools/elfutils/elfutils-0.155/do-autoreconf.diff
 create mode 100644 meta/recipes-devtools/elfutils/elfutils-0.155/dso-link-change.patch
 create mode 100644 meta/recipes-devtools/elfutils/elfutils-0.155/elf_additions.diff
 create mode 100644 meta/recipes-devtools/elfutils/elfutils-0.155/elfutils-ar-c-fix-num-passed-to-memset.patch
 create mode 100644 meta/recipes-devtools/elfutils/elfutils-0.155/elfutils-robustify.patch
 create mode 100644 meta/recipes-devtools/elfutils/elfutils-0.155/hppa_backend.diff
 create mode 100644 meta/recipes-devtools/elfutils/elfutils-0.155/i386_dis.h
 create mode 100644 meta/recipes-devtools/elfutils/elfutils-0.155/m68k_backend.diff
 create mode 100644 meta/recipes-devtools/elfutils/elfutils-0.155/mempcpy.patch
 create mode 100644 meta/recipes-devtools/elfutils/elfutils-0.155/mips_backend.diff
 create mode 100644 meta/recipes-devtools/elfutils/elfutils-0.155/nm-Fix-size-passed-to-snprintf-for-invalid-sh_name-case.patch
 create mode 100644 meta/recipes-devtools/elfutils/elfutils-0.155/redhat-portability.diff
 create mode 100644 meta/recipes-devtools/elfutils/elfutils-0.155/redhat-robustify.diff
 create mode 100644 meta/recipes-devtools/elfutils/elfutils-0.155/uclibc-support.patch
 create mode 100644 meta/recipes-devtools/elfutils/elfutils-0.155/x86_64_dis.h
 create mode 100644 meta/recipes-devtools/elfutils/elfutils_0.155.bb
 delete mode 100644 meta/recipes-extended/diffutils/diffutils-3.2/obsolete_automake_macros.patch
 delete mode 100644 meta/recipes-extended/diffutils/diffutils-3.2/remove-gets.patch
 rename meta/recipes-extended/diffutils/{diffutils_3.2.bb => diffutils_3.3.bb} (59%)
 delete mode 100644 meta/recipes-extended/ed/ed-1.7/ed-1.2-build.patch
 rename meta/recipes-extended/ed/{ed_1.7.bb => ed_1.8.bb} (49%)
 delete mode 100644 meta/recipes-extended/iputils/files/debian/add-icmp-return-codes.diff
 delete mode 100644 meta/recipes-extended/iputils/files/debian/fix-arping-timeouts.diff
 delete mode 100644 meta/recipes-extended/iputils/files/debian/fix-dead-host-ping-stats.diff
 rename meta/recipes-extended/iputils/{iputils_s20101006.bb => iputils_s20121221.bb} (80%)
 rename meta/recipes-graphics/xorg-lib/{libdmx_1.1.2.bb => libdmx_1.1.3.bb} (79%)
 rename meta/recipes-sato/rxvt-unicode/{rxvt-unicode-9.17 => rxvt-unicode-9.18}/rxvt.desktop (100%)
 rename meta/recipes-sato/rxvt-unicode/{rxvt-unicode-9.17 => rxvt-unicode-9.18}/rxvt.png (100%)
 rename meta/recipes-sato/rxvt-unicode/{rxvt-unicode-9.17 => rxvt-unicode-9.18}/xwc.patch (100%)
 rename meta/recipes-sato/rxvt-unicode/{rxvt-unicode_9.17.bb => rxvt-unicode_9.18.bb} (92%)
 rename meta/recipes-support/apr/{apr-util_1.5.1.bb => apr-util_1.5.2.bb} (91%)
 rename meta/recipes-support/apr/{apr_1.4.6.bb => apr_1.4.8.bb} (92%)
Signature · 1 line
1.7.9.5
#1 lore raw

PATCH v2 1/10 iputils: Upgrade to v20121221

Removed obsolete patches
Replaced openssl with gnutls in dependency list

---
 .../files/debian/add-icmp-return-codes.diff        |   43 --------------------
 .../iputils/files/debian/fix-arping-timeouts.diff  |   26 ------------
 .../files/debian/fix-dead-host-ping-stats.diff     |   16 --------
 .../iputils/files/debian/targets.diff              |   14 +++----
 .../iputils/files/debian/use_gethostbyname2.diff   |   36 ++++++++--------
 .../{iputils_s20101006.bb => iputils_s20121221.bb} |   14 +++----
 6 files changed, 30 insertions(+), 119 deletions(-)
 delete mode 100644 meta/recipes-extended/iputils/files/debian/add-icmp-return-codes.diff
 delete mode 100644 meta/recipes-extended/iputils/files/debian/fix-arping-timeouts.diff
 delete mode 100644 meta/recipes-extended/iputils/files/debian/fix-dead-host-ping-stats.diff
 rename meta/recipes-extended/iputils/{iputils_s20101006.bb => iputils_s20121221.bb} (80%)
meta/recipes-extended/iputils/files/debian/add-icmp-return-codes.diff deleted +0 -43
deleted file mode 100644
index 40070c3..0000000
@@ -1,43 +0,0 @@
-Upstream-Status: Pending [from other distro Debian]
-
-Index: trunk/ping.c
-===================================================================
---- trunk.orig/ping.c	2010-05-07 23:13:54.000000000 -0700
-+++ trunk/ping.c	2010-05-07 23:23:22.000000000 -0700
-@@ -883,9 +883,36 @@
- 		case ICMP_SR_FAILED:
- 			printf("Source Route Failed\n");
- 			break;
-+		case ICMP_NET_UNKNOWN:
-+			printf("Destination Net Unknown\n");
-+			break;
-+		case ICMP_HOST_UNKNOWN:
-+			printf("Destination Host Unknown\n");
-+			break;
-+		case ICMP_HOST_ISOLATED:
-+			printf("Source Host Isolated\n");
-+			break;
-+		case ICMP_NET_ANO:
-+			printf("Destination Net Prohibited\n");
-+			break;
-+		case ICMP_HOST_ANO:
-+			printf("Destination Host Prohibited\n");
-+			break;
-+		case ICMP_NET_UNR_TOS:
-+			printf("Destination Net Unreachable for Type of Service\n");
-+			break;
-+		case ICMP_HOST_UNR_TOS:
-+			printf("Destination Host Unreachable for Type of Service\n");
-+			break;
- 		case ICMP_PKT_FILTERED:
- 			printf("Packet filtered\n");
- 			break;
-+		case ICMP_PREC_VIOLATION:
-+			printf("Precedence Violation\n");
-+			break;
-+		case ICMP_PREC_CUTOFF:
-+			printf("Precedence Cutoff\n");
-+			break;
- 		default:
- 			printf("Dest Unreachable, Bad Code: %d\n", code);
- 			break;
meta/recipes-extended/iputils/files/debian/fix-arping-timeouts.diff deleted +0 -26
deleted file mode 100644
index 3e34788..0000000
@@ -1,26 +0,0 @@
-Upstream-Status: Pending [from other distro Debian]
-
-Index: trunk/arping.c
-===================================================================
---- trunk.orig/arping.c	2010-05-07 23:13:52.000000000 -0700
-+++ trunk/arping.c	2010-05-07 23:41:16.000000000 -0700
-@@ -182,12 +182,17 @@
- 	if (start.tv_sec==0)
- 		start = tv;
- 
--	if (count-- == 0 || (timeout && MS_TDIFF(tv,start) > timeout*1000 + 500))
-+	if (timeout && MS_TDIFF(tv,start) > timeout*1000 + 500)
- 		finish();
- 
--	if (last.tv_sec==0 || MS_TDIFF(tv,last) > 500) {
-+	if ((!timeout) && (count == 0))
-+		finish();
-+
-+	if ( count!=0  && (last.tv_sec==0 || MS_TDIFF(tv,last) > 500 ) ) {
- 		send_pack(s, src, dst,
- 			  (struct sockaddr_ll *)&me, (struct sockaddr_ll *)&he);
-+		if (count >= 0)
-+		    count--;
- 		if (count == 0 && unsolicited)
- 			finish();
- 	}
meta/recipes-extended/iputils/files/debian/fix-dead-host-ping-stats.diff deleted +0 -16
deleted file mode 100644
index fda42bf..0000000
@@ -1,16 +0,0 @@
-Upstream-Status: Pending [from other distro Debian]
-
-Index: trunk/ping_common.c
-===================================================================
---- trunk.orig/ping_common.c	2010-05-07 23:13:51.000000000 -0700
-+++ trunk/ping_common.c	2010-05-07 23:22:33.000000000 -0700
-@@ -872,7 +872,8 @@
- 		printf("%spipe %d", comma, pipesize);
- 		comma = ", ";
- 	}
--	if (ntransmitted > 1 && (!interval || (options&(F_FLOOD|F_ADAPTIVE)))) {
-+	if (ntransmitted > 1 && nreceived &&
-+		(!interval || (options&(F_FLOOD|F_ADAPTIVE)))) {
- 		int ipg = (1000000*(long long)tv.tv_sec+tv.tv_usec)/(ntransmitted-1);
- 		printf("%sipg/ewma %d.%03d/%d.%03d ms",
- 		       comma, ipg/1000, ipg%1000, rtt/8000, (rtt/8)%1000);
meta/recipes-extended/iputils/files/debian/targets.diff +7 -7
index 6b899cb..2cb5576 100644
@@ -1,15 +1,15 @@
 Upstream-Status: Inappropriate [disable feature]
 
-Index: trunk/Makefile
+Index: iputils-s20121221/Makefile
 ===================================================================
---- trunk.orig/Makefile	2010-05-07 23:43:00.000000000 -0700
-+++ trunk/Makefile	2010-05-07 23:47:10.000000000 -0700
-@@ -16,7 +16,7 @@
- CCOPT=-D_GNU_SOURCE -O2 -Wstrict-prototypes -Wall -g
- CFLAGS=$(CCOPT) $(GLIBCFIX) $(DEFINES) 
+--- iputils-s20121221.orig/Makefile
++++ iputils-s20121221/Makefile
+@@ -106,7 +106,7 @@ endif
+ endif
  
+ # -------------------------------------
 -IPV4_TARGETS=tracepath ping clockdiff rdisc arping tftpd rarpd
-+IPV4_TARGETS=tracepath ping arping clockdiff
++IPV4_TARGETS=tracepath ping clockdiff arping
  IPV6_TARGETS=tracepath6 traceroute6 ping6
  TARGETS=$(IPV4_TARGETS) $(IPV6_TARGETS)
  
meta/recipes-extended/iputils/files/debian/use_gethostbyname2.diff +18 -18
index 1d01e15..d3b1886 100644
@@ -1,31 +1,31 @@
 Upstream-Status: Pending [from other distro Debian]
 
-Index: trunk/tracepath.c
+Index: iputils-s20121221/tracepath.c
 ===================================================================
---- trunk.orig/tracepath.c	2010-05-07 23:13:52.000000000 -0700
-+++ trunk/tracepath.c	2010-05-07 23:24:09.000000000 -0700
-@@ -338,9 +338,9 @@
- 		base_port = atoi(p+1);
- 	} else
- 		base_port = 44444;
--	he = gethostbyname(argv[0]);
+--- iputils-s20121221.orig/tracepath.c
++++ iputils-s20121221/tracepath.c
+@@ -370,9 +370,9 @@ main(int argc, char **argv)
+ 	}
+ #endif
+ 
+-	he = gethostbyname(p);
 +	he = gethostbyname2(argv[0], AF_INET);
  	if (he == NULL) {
 -		herror("gethostbyname");
 +		herror("gethostbyname2");
  		exit(1);
  	}
- 	memcpy(&target.sin_addr, he->h_addr, 4);
-Index: trunk/ping.c
+ 
+Index: iputils-s20121221/ping.c
 ===================================================================
---- trunk.orig/ping.c	2010-05-07 23:23:22.000000000 -0700
-+++ trunk/ping.c	2010-05-07 23:24:09.000000000 -0700
-@@ -250,7 +250,7 @@
- 			if (argc == 1)
- 				options |= F_NUMERIC;
- 		} else {
--			hp = gethostbyname(target);
-+			hp = gethostbyname2(target, AF_INET);
+--- iputils-s20121221.orig/ping.c
++++ iputils-s20121221/ping.c
+@@ -279,7 +279,7 @@ main(int argc, char **argv)
+ #else
+ 			idn = target;
+ #endif
+-			hp = gethostbyname(idn);
++			hp = gethostbyname2(idn, AF_INET);
  			if (!hp) {
  				fprintf(stderr, "ping: unknown host %s\n", target);
  				exit(2);
meta/recipes-extended/iputils/iputils_s20121221.bb renamed from meta/recipes-extended/iputils/iputils_s20101006.bb +5 -9
similarity index 80%
rename from meta/recipes-extended/iputils/iputils_s20101006.bb
rename to meta/recipes-extended/iputils/iputils_s20121221.bb
index 2c2766c..3892cab 100644
@@ -8,25 +8,21 @@ LICENSE = "BSD & GPLv2+"
 
 LIC_FILES_CHKSUM = "file://ping.c;beginline=1;endline=35;md5=f9ceb201733e9a6cf8f00766dd278d82 \
                     file://tracepath.c;beginline=1;endline=10;md5=0ecea2bf60bff2f3d840096d87647f3d \
-                    file://arping.c;beginline=1;endline=10;md5=ada2a6d06acc90f943bddf40d15e0541 \
+                    file://arping.c;beginline=1;endline=11;md5=fe84301b5c2655c950f8b92a057fafa6 \
                     file://tftpd.c;beginline=1;endline=32;md5=28834bf8a91a5b8a92755dbee709ef96 "
 
-DEPENDS = "openssl docbook-utils-native sgmlspl-native"
+DEPENDS = "gnutls docbook-utils-native sgmlspl-native"
 
-PR = "r6"
+PR = "r0"
 
 SRC_URI = "http://www.skbuff.net/iputils/${BPN}-${PV}.tar.bz2 \
-           file://debian/fix-dead-host-ping-stats.diff \
-           file://debian/add-icmp-return-codes.diff \
            file://debian/use_gethostbyname2.diff \
            file://debian/targets.diff \
-           file://debian/fix-arping-timeouts.diff \
            file://nsgmls-path-fix.patch \
-           file://arping-break-libsysfs-dependency.patch \
           "
 
-SRC_URI[md5sum] = "a36c25e9ec17e48be514dc0485e7376c"
-SRC_URI[sha256sum] = "fd3af46c80ebb99607c2ca1f2a3608b6fe828e25bbec6e54f2afd25f6ddb6ee7"
+SRC_URI[md5sum] = "6072aef64205720dd1893b375e184171"
+SRC_URI[sha256sum] = "450f549fc5b620c23c5929aa6d54b7ddfc7ee1cb1e8efdc5e8bb21d8d0c5319f"
 
 do_compile () {
 	oe_runmake 'CC=${CC} -D_GNU_SOURCE' VPATH="${STAGING_LIBDIR}:${STAGING_DIR_HOST}/${base_libdir}" all man
Signature · 1 line
1.7.9.5
#4 lore raw

PATCH v2 2/10 busybox: Upgrade to v1.21.0

In reply to Radu Moisan

Removed obsolete patches
Added a few fixes from upstream
(http://busybox.net/downloads/fixes-1.21.0/)
*busybox-1.21.0-mdev.patch
*busybox-1.21.0-platform.patch
*busybox-1.21.0-xz.patch

---
 .../busybox/busybox-1.20.2/B921600.patch           |   24 -
 .../busybox-1.20.2/busybox-1.20.2-kernel_ver.patch |   28 -
 .../busybox-mkfs-minix-tests_bigendian.patch       |   34 -
 .../fix-for-spurious-testsuite-failure.patch       |   27 -
 .../busybox/busybox-1.20.2/sys_resource.patch      |   99 ---
 .../busybox/busybox-1.20.2/wget_dl_dir_fix.patch   |   30 -
 .../busybox-1.21.0/busybox-1.21.0-mdev.patch       |  647 ++++++++++++++++++++
 .../busybox-1.21.0/busybox-1.21.0-platform.patch   |   28 +
 .../busybox/busybox-1.21.0/busybox-1.21.0-xz.patch |   88 +++
 .../busybox-appletlib-dependency.patch             |    0
 ...usybox-list-suid-and-non-suid-app-configs.patch |    0
 .../busybox-sulogin-empty-root-password.patch      |    0
 .../busybox-udhcpc-no_deconfig.patch               |    0
 .../{busybox-1.20.2 => busybox-1.21.0}/defconfig   |    0
 .../fail_on_no_media.patch                         |    0
 .../get_header_tar.patch                           |    0
 .../login-utilities.cfg                            |    0
 .../run-parts.in.usr-bin.patch                     |    6 +-
 .../stat-usr-bin.patch                             |    0
 .../strict-atime.patch                             |    0
 ...estsuite-du-du-k-works-fix-false-positive.patch |    0
 .../watch.in.usr-bin.patch                         |    0
 .../{busybox_1.20.2.bb => busybox_1.21.0.bb}       |   20 +-
 23 files changed, 774 insertions(+), 257 deletions(-)
 delete mode 100644 meta/recipes-core/busybox/busybox-1.20.2/B921600.patch
 delete mode 100644 meta/recipes-core/busybox/busybox-1.20.2/busybox-1.20.2-kernel_ver.patch
 delete mode 100644 meta/recipes-core/busybox/busybox-1.20.2/busybox-mkfs-minix-tests_bigendian.patch
 delete mode 100644 meta/recipes-core/busybox/busybox-1.20.2/fix-for-spurious-testsuite-failure.patch
 delete mode 100644 meta/recipes-core/busybox/busybox-1.20.2/sys_resource.patch
 delete mode 100644 meta/recipes-core/busybox/busybox-1.20.2/wget_dl_dir_fix.patch
 create mode 100644 meta/recipes-core/busybox/busybox-1.21.0/busybox-1.21.0-mdev.patch
 create mode 100644 meta/recipes-core/busybox/busybox-1.21.0/busybox-1.21.0-platform.patch
 create mode 100644 meta/recipes-core/busybox/busybox-1.21.0/busybox-1.21.0-xz.patch
 rename meta/recipes-core/busybox/{busybox-1.20.2 => busybox-1.21.0}/busybox-appletlib-dependency.patch (100%)
 rename meta/recipes-core/busybox/{busybox-1.20.2 => busybox-1.21.0}/busybox-list-suid-and-non-suid-app-configs.patch (100%)
 rename meta/recipes-core/busybox/{busybox-1.20.2 => busybox-1.21.0}/busybox-sulogin-empty-root-password.patch (100%)
 rename meta/recipes-core/busybox/{busybox-1.20.2 => busybox-1.21.0}/busybox-udhcpc-no_deconfig.patch (100%)
 rename meta/recipes-core/busybox/{busybox-1.20.2 => busybox-1.21.0}/defconfig (100%)
 rename meta/recipes-core/busybox/{busybox-1.20.2 => busybox-1.21.0}/fail_on_no_media.patch (100%)
 rename meta/recipes-core/busybox/{busybox-1.20.2 => busybox-1.21.0}/get_header_tar.patch (100%)
 rename meta/recipes-core/busybox/{busybox-1.20.2 => busybox-1.21.0}/login-utilities.cfg (100%)
 rename meta/recipes-core/busybox/{busybox-1.20.2 => busybox-1.21.0}/run-parts.in.usr-bin.patch (90%)
 rename meta/recipes-core/busybox/{busybox-1.20.2 => busybox-1.21.0}/stat-usr-bin.patch (100%)
 rename meta/recipes-core/busybox/{busybox-1.20.2 => busybox-1.21.0}/strict-atime.patch (100%)
 rename meta/recipes-core/busybox/{busybox-1.20.2 => busybox-1.21.0}/testsuite-du-du-k-works-fix-false-positive.patch (100%)
 rename meta/recipes-core/busybox/{busybox-1.20.2 => busybox-1.21.0}/watch.in.usr-bin.patch (100%)
 rename meta/recipes-core/busybox/{busybox_1.20.2.bb => busybox_1.21.0.bb} (73%)
meta/recipes-core/busybox/busybox-1.20.2/B921600.patch deleted +0 -24
deleted file mode 100644
index c4d98e3..0000000
@@ -1,24 +0,0 @@
-Upstream-Status: Inappropriate [configuration]
-
-# copy commit message from OE as the patch comment:
-#    commit 5b1ed09b1ab1a60a28a76e4658bc9957cd361b5d
-#    Author: Valentin Longchamp <[email protected]>
-#    Date:   Mon Dec 8 14:43:23 2008 +0100
-
-#    busybox: added support for 921600 speed of serial line
-#
-# above comment added by Kevin Tian <[email protected]>, 2010-07-06
-
-diff -upNr busybox-1.7.2/libbb/speed_table.c busybox-1.7.2-921600/libbb/speed_table.c
---- busybox-1.7.2/libbb/speed_table.c	2007-09-03 13:48:41.000000000 +0200
-+++ busybox-1.7.2-921600/libbb/speed_table.c	2008-10-09 16:23:26.269592899 +0200
-@@ -52,6 +52,9 @@ static const struct speed_map speeds[] =
- #ifdef B460800
- 	{B460800, 460800/256 + 0x8000U},
- #endif
-+#ifdef B921600
-+	{B921600, 921600/256 + 0x8000U},
-+#endif
- };
- 
- enum { NUM_SPEEDS = ARRAY_SIZE(speeds) };
meta/recipes-core/busybox/busybox-1.20.2/busybox-1.20.2-kernel_ver.patch deleted +0 -28
deleted file mode 100644
index 69bbe73..0000000
@@ -1,28 +0,0 @@
-Signed-off-by: Radu Moisan <[email protected]>
-Upstream-Status: Pending
-
---- busybox-1.20.2/libbb/kernel_version.c
-+++ busybox-1.20.2-kernel_ver/libbb/kernel_version.c
-@@ -20,18 +20,15 @@
- int FAST_FUNC get_linux_version_code(void)
- {
- 	struct utsname name;
--	char *s;
-+	char *s, *t;
- 	int i, r;
- 
--	if (uname(&name) == -1) {
--		bb_perror_msg("can't get system information");
--		return 0;
--	}
--
-+	uname(&name); /* never fails */
- 	s = name.release;
- 	r = 0;
- 	for (i = 0; i < 3; i++) {
--		r = r * 256 + atoi(strtok(s, "."));
-+		t = strtok(s, ".");
-+		r = r * 256 + (t ? atoi(t) : 0);
- 		s = NULL;
- 	}
- 	return r;
meta/recipes-core/busybox/busybox-1.20.2/busybox-mkfs-minix-tests_bigendian.patch deleted +0 -34
deleted file mode 100644
index 089c5e0..0000000
@@ -1,34 +0,0 @@
-patch mkfs.minix.tests to have correct md5sum on big endian platform
-
-Upstream-Status: Accepted, expected in next release
-
-Signed-off-by: Yao Zhao <[email protected]>
-
-diff --git a/testsuite/mkfs.minix.tests b/testsuite/mkfs.minix.tests
-index 8a33c16..7eecaf2 100755
---- a/testsuite/mkfs.minix.tests
-+++ b/testsuite/mkfs.minix.tests
-@@ -8,6 +8,14 @@
- 
- # testing "test name" "options" "expected result" "file input" "stdin"
- 
-+# '\n' produces 10 on little endian, but not on big endian
-+cr=`echo | od -i | sed 's/.* //g;2d'`
-+if [ x"$cr" = x"10" ]; then
-+	hash=4f35f7afeba07d56055bed1f29ae20b7
-+else
-+	hash=5adbc1b3ccd20ca5d0ab5bc1e13ac3fc
-+fi
-+
- testing "mkfs.minix" \
- 	"dd if=/dev/zero of=input bs=1k count=1024 2>/dev/null; mkfs.minix input; md5sum <input" \
- "352 inodes\n"\
-@@ -15,7 +23,7 @@ testing "mkfs.minix" \
- "Firstdatazone=15 (15)\n"\
- "Zonesize=1024\n"\
- "Maxsize=268966912\n"\
--"4f35f7afeba07d56055bed1f29ae20b7  -\n" \
-+"$hash  -\n" \
- 	"" \
- 	""
- 
meta/recipes-core/busybox/busybox-1.20.2/fix-for-spurious-testsuite-failure.patch deleted +0 -27
deleted file mode 100644
index b75eaac..0000000
@@ -1,27 +0,0 @@
-Backport the patch from:
-http://git.busybox.net/busybox/commit/?id=a5ee090e8651692545514a81a16c6cde3a2dc577
-
-From a5ee090e8651692545514a81a16c6cde3a2dc577 Mon Sep 17 00:00:00 2001
-From: Denys Vlasenko <[email protected]>
-Date: Thu, 10 May 2012 19:26:37 +0200
-Subject: [PATCH] fix for spurious testsuite failure
-
-Upstream-Status: Backport
-Signed-off-by: Denys Vlasenko <[email protected]>
----
- testsuite/du/du-k-works |    1 +
- 1 files changed, 1 insertions(+), 0 deletions(-)
-
-diff --git a/testsuite/du/du-k-works b/testsuite/du/du-k-works
-index 229a948..36dcaa8 100644
---- a/testsuite/du/du-k-works
-+++ b/testsuite/du/du-k-works
-@@ -3,4 +3,5 @@ cd du.testdir
- dd if=/dev/zero of=file1 bs=1k count=64 2>/dev/null
- dd if=/dev/zero of=file2 bs=1k count=16 2>/dev/null
- test x"`busybox du -k .`" = x"80	." \
-+  -o x"`busybox du -k .`" = x"84	." \
-   -o x"`busybox du -k .`" = x"88	."
--- 
-1.7.4.1
-
meta/recipes-core/busybox/busybox-1.20.2/sys_resource.patch deleted +0 -99

99 lines not on this page · raw message

meta/recipes-core/busybox/busybox-1.20.2/wget_dl_dir_fix.patch deleted +0 -30
deleted file mode 100644
index 3003965..0000000
@@ -1,30 +0,0 @@
-In cases where busybox wget is invoked with -P <...> and the url ends
-in "/", the download directory is ignored (ie the file index.html is
-implied), this change enables the -P option for those urls.
-
-Signed-off-by: Amy Fong <[email protected]>
-Upstream-Status: Submitted
----
- networking/wget.c |   10 +++++++---
- 1 file changed, 7 insertions(+), 3 deletions(-)
-
---- a/networking/wget.c
-+++ b/networking/wget.c
-@@ -589,10 +589,14 @@
- 	if (!(option_mask32 & WGET_OPT_OUTNAME)) {
- 		G.fname_out = bb_get_last_path_component_nostrip(target.path);
- 		/* handle "wget http://kernel.org//" */
--		if (G.fname_out[0] == '/' || !G.fname_out[0])
--			G.fname_out = (char*)"index.html";
-+		if (G.fname_out[0] == '/' || !G.fname_out[0]) {
-+			/* bug: if we provide a default name, we should still look at -P option */
-+			if (G.dir_prefix)
-+				G.fname_out = fname_out_alloc = concat_path_file(G.dir_prefix, "index.html");
-+			else
-+				G.fname_out = (char*)"index.html";
- 		/* -P DIR is considered only if there was no -O FILE */
--		else {
-+		} else {
- 			if (G.dir_prefix)
- 				G.fname_out = fname_out_alloc = concat_path_file(G.dir_prefix, G.fname_out);
- 			else {
meta/recipes-core/busybox/busybox-1.21.0/busybox-1.21.0-mdev.patch new file +647 -0

647 lines not on this page · raw message

meta/recipes-core/busybox/busybox-1.21.0/busybox-1.21.0-platform.patch new file +28 -0
new file mode 100644
index 0000000..f0a4230
@@ -0,0 +1,28 @@
+http://busybox.net/downloads/fixes-1.21.0/
+
+Upstream-Status: Pending
+Signed-off-by: Radu Moisan <[email protected]>
+--- busybox-1.21.0/archival/libarchive/decompress_unxz.c
++++ busybox-1.21.0-platform/archival/libarchive/decompress_unxz.c
+@@ -30,8 +30,8 @@ static uint32_t xz_crc32(const uint8_t *
+ /* We use arch-optimized unaligned accessors */
+ #define get_unaligned_le32(buf) ({ uint32_t v; move_from_unaligned32(v, buf); SWAP_LE32(v); })
+ #define get_unaligned_be32(buf) ({ uint32_t v; move_from_unaligned32(v, buf); SWAP_BE32(v); })
+-#define put_unaligned_le32(val, buf) move_to_unaligned16(buf, SWAP_LE32(val))
+-#define put_unaligned_be32(val, buf) move_to_unaligned16(buf, SWAP_BE32(val))
++#define put_unaligned_le32(val, buf) move_to_unaligned32(buf, SWAP_LE32(val))
++#define put_unaligned_be32(val, buf) move_to_unaligned32(buf, SWAP_BE32(val))
+ 
+ #include "unxz/xz_dec_bcj.c"
+ #include "unxz/xz_dec_lzma2.c"
+--- busybox-1.21.0/include/platform.h
++++ busybox-1.21.0-platform/include/platform.h
+@@ -228,7 +228,7 @@ typedef uint32_t bb__aliased_uint32_t FI
+ # define move_from_unaligned32(v, u32p) (memcpy(&(v), (u32p), 4))
+ # define move_to_unaligned16(u16p, v) do { \
+ 	uint16_t __t = (v); \
+-	memcpy((u16p), &__t, 4); \
++	memcpy((u16p), &__t, 2); \
+ } while (0)
+ # define move_to_unaligned32(u32p, v) do { \
+ 	uint32_t __t = (v); \
meta/recipes-core/busybox/busybox-1.21.0/busybox-1.21.0-xz.patch new file +88 -0

88 lines not on this page · raw message

meta/recipes-core/busybox/busybox-1.21.0/busybox-appletlib-dependency.patch renamed from meta/recipes-core/busybox/busybox-1.20.2/busybox-appletlib-dependency.patch +0 -0
similarity index 100%
rename from meta/recipes-core/busybox/busybox-1.20.2/busybox-appletlib-dependency.patch
rename to meta/recipes-core/busybox/busybox-1.21.0/busybox-appletlib-dependency.patch
meta/recipes-core/busybox/busybox-1.21.0/busybox-list-suid-and-non-suid-app-configs.patch renamed from meta/recipes-core/busybox/busybox-1.20.2/busybox-list-suid-and-non-suid-app-configs.patch +0 -0
similarity index 100%
rename from meta/recipes-core/busybox/busybox-1.20.2/busybox-list-suid-and-non-suid-app-configs.patch
rename to meta/recipes-core/busybox/busybox-1.21.0/busybox-list-suid-and-non-suid-app-configs.patch
meta/recipes-core/busybox/busybox-1.21.0/busybox-sulogin-empty-root-password.patch renamed from meta/recipes-core/busybox/busybox-1.20.2/busybox-sulogin-empty-root-password.patch +0 -0
similarity index 100%
rename from meta/recipes-core/busybox/busybox-1.20.2/busybox-sulogin-empty-root-password.patch
rename to meta/recipes-core/busybox/busybox-1.21.0/busybox-sulogin-empty-root-password.patch
meta/recipes-core/busybox/busybox-1.21.0/busybox-udhcpc-no_deconfig.patch renamed from meta/recipes-core/busybox/busybox-1.20.2/busybox-udhcpc-no_deconfig.patch +0 -0
similarity index 100%
rename from meta/recipes-core/busybox/busybox-1.20.2/busybox-udhcpc-no_deconfig.patch
rename to meta/recipes-core/busybox/busybox-1.21.0/busybox-udhcpc-no_deconfig.patch
meta/recipes-core/busybox/busybox-1.21.0/defconfig renamed from meta/recipes-core/busybox/busybox-1.20.2/defconfig +0 -0
similarity index 100%
rename from meta/recipes-core/busybox/busybox-1.20.2/defconfig
rename to meta/recipes-core/busybox/busybox-1.21.0/defconfig
meta/recipes-core/busybox/busybox-1.21.0/fail_on_no_media.patch renamed from meta/recipes-core/busybox/busybox-1.20.2/fail_on_no_media.patch +0 -0
similarity index 100%
rename from meta/recipes-core/busybox/busybox-1.20.2/fail_on_no_media.patch
rename to meta/recipes-core/busybox/busybox-1.21.0/fail_on_no_media.patch
meta/recipes-core/busybox/busybox-1.21.0/get_header_tar.patch renamed from meta/recipes-core/busybox/busybox-1.20.2/get_header_tar.patch +0 -0
similarity index 100%
rename from meta/recipes-core/busybox/busybox-1.20.2/get_header_tar.patch
rename to meta/recipes-core/busybox/busybox-1.21.0/get_header_tar.patch
meta/recipes-core/busybox/busybox-1.21.0/login-utilities.cfg renamed from meta/recipes-core/busybox/busybox-1.20.2/login-utilities.cfg +0 -0
similarity index 100%
rename from meta/recipes-core/busybox/busybox-1.20.2/login-utilities.cfg
rename to meta/recipes-core/busybox/busybox-1.21.0/login-utilities.cfg
meta/recipes-core/busybox/busybox-1.21.0/run-parts.in.usr-bin.patch renamed from meta/recipes-core/busybox/busybox-1.20.2/run-parts.in.usr-bin.patch +3 -3
similarity index 90%
rename from meta/recipes-core/busybox/busybox-1.20.2/run-parts.in.usr-bin.patch
rename to meta/recipes-core/busybox/busybox-1.21.0/run-parts.in.usr-bin.patch
index 1fe20d4..65f6c96 100644
@@ -18,12 +18,12 @@ Upstream-Status: Inappropriate [configuration]
 diff -uNr busybox-1.15.3.orig//include/applets.src.h busybox-1.15.3/include/applets.src.h
 --- busybox-1.15.3.orig//include/applets.src.h	2009-12-12 22:13:28.000000000 +0100
 +++ busybox-1.15.3/include/applets.src.h	2010-04-30 15:35:40.000000000 +0200
-@@ -323,7 +323,7 @@
+@@ -304,7 +304,7 @@
  IF_RPM(APPLET(rpm, BB_DIR_BIN, BB_SUID_DROP))
  IF_RPM2CPIO(APPLET(rpm2cpio, BB_DIR_USR_BIN, BB_SUID_DROP))
- IF_RTCWAKE(APPLET(rtcwake, BB_DIR_USR_BIN, BB_SUID_DROP))
+ IF_RTCWAKE(APPLET(rtcwake, BB_DIR_USR_SBIN, BB_SUID_DROP))
 -IF_RUN_PARTS(APPLET_ODDNAME(run-parts, run_parts, BB_DIR_BIN, BB_SUID_DROP, run_parts))
 +IF_RUN_PARTS(APPLET_ODDNAME(run-parts, run_parts, BB_DIR_USR_BIN, BB_SUID_DROP, run_parts))
  IF_RUNCON(APPLET(runcon, BB_DIR_USR_BIN, BB_SUID_DROP))
  IF_RUNLEVEL(APPLET(runlevel, BB_DIR_SBIN, BB_SUID_DROP))
- IF_RUNSV(APPLET(runsv, BB_DIR_USR_BIN, _BB_SUID_DROP))
+ IF_RUNSV(APPLET(runsv, BB_DIR_USR_BIN, BB_SUID_DROP))
meta/recipes-core/busybox/busybox-1.21.0/stat-usr-bin.patch renamed from meta/recipes-core/busybox/busybox-1.20.2/stat-usr-bin.patch +0 -0
similarity index 100%
rename from meta/recipes-core/busybox/busybox-1.20.2/stat-usr-bin.patch
rename to meta/recipes-core/busybox/busybox-1.21.0/stat-usr-bin.patch
meta/recipes-core/busybox/busybox-1.21.0/strict-atime.patch renamed from meta/recipes-core/busybox/busybox-1.20.2/strict-atime.patch +0 -0
similarity index 100%
rename from meta/recipes-core/busybox/busybox-1.20.2/strict-atime.patch
rename to meta/recipes-core/busybox/busybox-1.21.0/strict-atime.patch
meta/recipes-core/busybox/busybox-1.21.0/testsuite-du-du-k-works-fix-false-positive.patch renamed from meta/recipes-core/busybox/busybox-1.20.2/testsuite-du-du-k-works-fix-false-positive.patch +0 -0
similarity index 100%
rename from meta/recipes-core/busybox/busybox-1.20.2/testsuite-du-du-k-works-fix-false-positive.patch
rename to meta/recipes-core/busybox/busybox-1.21.0/testsuite-du-du-k-works-fix-false-positive.patch
meta/recipes-core/busybox/busybox-1.21.0/watch.in.usr-bin.patch renamed from meta/recipes-core/busybox/busybox-1.20.2/watch.in.usr-bin.patch +0 -0
similarity index 100%
rename from meta/recipes-core/busybox/busybox-1.20.2/watch.in.usr-bin.patch
rename to meta/recipes-core/busybox/busybox-1.21.0/watch.in.usr-bin.patch
meta/recipes-core/busybox/busybox_1.21.0.bb renamed from meta/recipes-core/busybox/busybox_1.20.2.bb +8 -12
similarity index 73%
rename from meta/recipes-core/busybox/busybox_1.20.2.bb
rename to meta/recipes-core/busybox/busybox_1.21.0.bb
index c854f0b..688b456 100644
@@ -1,15 +1,12 @@
 require busybox.inc
-PR = "r7"
+PR = "r0"
 
 SRC_URI = "http://www.busybox.net/downloads/busybox-${PV}.tar.bz2;name=tarball \
-           file://B921600.patch \
            file://get_header_tar.patch \
            file://busybox-appletlib-dependency.patch \
            file://run-parts.in.usr-bin.patch \
            file://watch.in.usr-bin.patch \
            file://busybox-udhcpc-no_deconfig.patch \
-           file://sys_resource.patch \
-           file://wget_dl_dir_fix.patch \
            file://find-touchscreen.sh \
            file://busybox-cron \
            file://busybox-httpd \
@@ -24,13 +21,11 @@ SRC_URI = "http://www.busybox.net/downloads/busybox-${PV}.tar.bz2;name=tarball \
            file://mdev.conf \
            file://umount.busybox \
            file://defconfig \
-           file://busybox-mkfs-minix-tests_bigendian.patch \
-           file://fix-for-spurious-testsuite-failure.patch \
-           file://busybox-1.20.2-kernel_ver.patch \
            file://stat-usr-bin.patch \
-           file://busybox-syslog.service.in \
-           file://busybox-klogd.service.in \
            file://testsuite-du-du-k-works-fix-false-positive.patch \
+           file://busybox-1.21.0-mdev.patch \
+           file://busybox-1.21.0-platform.patch \
+           file://busybox-1.21.0-xz.patch \
            file://strict-atime.patch \
            file://fail_on_no_media.patch \
            file://busybox-sulogin-empty-root-password.patch \
@@ -38,10 +33,11 @@ SRC_URI = "http://www.busybox.net/downloads/busybox-${PV}.tar.bz2;name=tarball \
            file://inetd.conf \
            file://inetd \
            file://login-utilities.cfg \
-           file://busybox-list-suid-and-non-suid-app-configs.patch"
+           file://busybox-list-suid-and-non-suid-app-configs.patch \
+"
 
-SRC_URI[tarball.md5sum] = "e025414bc6cd79579cc7a32a45d3ae1c"
-SRC_URI[tarball.sha256sum] = "eb13ff01dae5618ead2ef6f92ba879e9e0390f9583bd545d8789d27cf39b6882"
+SRC_URI[tarball.md5sum] = "d613f2e4b580305c1de8691f7b84285e"
+SRC_URI[tarball.sha256sum] = "eb9d268627783297f5f459cb9bd61a94e395dc7cb3647e10ec186e0159aa36ed"
 
 EXTRA_OEMAKE += "V=1 ARCH=${TARGET_ARCH} CROSS_COMPILE=${TARGET_PREFIX} SKIP_STRIP=y"
 
Signature · 1 line
1.7.9.5
#6 lore raw

PATCH v2 3/10 elfutils: Upgrade to v0.155

In reply to Radu Moisan

*license changed to GPLv3
*several patches were absolete so I removed them *redhat-portability & redhat-robustify backported from
latest elfutils-portability & elfutils-robustify from upstream

---
 .../elfutils/elfutils-0.155/arm_backend.diff       |  450 +++++
 .../elfutils/elfutils-0.155/do-autoreconf.diff     |  215 +++
 .../elfutils/elfutils-0.155/dso-link-change.patch  |   32 +
 .../elfutils/elfutils-0.155/elf_additions.diff     |   61 +
 .../elfutils-ar-c-fix-num-passed-to-memset.patch   |   23 +
 .../elfutils-0.155/elfutils-robustify.patch        | 1756 +++++++++++++++++++
 .../elfutils/elfutils-0.155/hppa_backend.diff      |  796 +++++++++
 .../elfutils/elfutils-0.155/i386_dis.h             | 1657 ++++++++++++++++++
 .../elfutils/elfutils-0.155/m68k_backend.diff      |  303 ++++
 .../elfutils/elfutils-0.155/mempcpy.patch          |   24 +
 .../elfutils/elfutils-0.155/mips_backend.diff      |  708 ++++++++
 ...ssed-to-snprintf-for-invalid-sh_name-case.patch |   27 +
 .../elfutils-0.155/redhat-portability.diff         | 1775 +++++++++++++++++++
 .../elfutils/elfutils-0.155/redhat-robustify.diff  | 1824 ++++++++++++++++++++
 .../elfutils/elfutils-0.155/uclibc-support.patch   |   91 +
 .../elfutils/elfutils-0.155/x86_64_dis.h           | 1632 ++++++++++++++++++
 meta/recipes-devtools/elfutils/elfutils_0.155.bb   |   84 +
 17 files changed, 11458 insertions(+)
 create mode 100644 meta/recipes-devtools/elfutils/elfutils-0.155/arm_backend.diff
 create mode 100644 meta/recipes-devtools/elfutils/elfutils-0.155/do-autoreconf.diff
 create mode 100644 meta/recipes-devtools/elfutils/elfutils-0.155/dso-link-change.patch
 create mode 100644 meta/recipes-devtools/elfutils/elfutils-0.155/elf_additions.diff
 create mode 100644 meta/recipes-devtools/elfutils/elfutils-0.155/elfutils-ar-c-fix-num-passed-to-memset.patch
 create mode 100644 meta/recipes-devtools/elfutils/elfutils-0.155/elfutils-robustify.patch
 create mode 100644 meta/recipes-devtools/elfutils/elfutils-0.155/hppa_backend.diff
 create mode 100644 meta/recipes-devtools/elfutils/elfutils-0.155/i386_dis.h
 create mode 100644 meta/recipes-devtools/elfutils/elfutils-0.155/m68k_backend.diff
 create mode 100644 meta/recipes-devtools/elfutils/elfutils-0.155/mempcpy.patch
 create mode 100644 meta/recipes-devtools/elfutils/elfutils-0.155/mips_backend.diff
 create mode 100644 meta/recipes-devtools/elfutils/elfutils-0.155/nm-Fix-size-passed-to-snprintf-for-invalid-sh_name-case.patch
 create mode 100644 meta/recipes-devtools/elfutils/elfutils-0.155/redhat-portability.diff
 create mode 100644 meta/recipes-devtools/elfutils/elfutils-0.155/redhat-robustify.diff
 create mode 100644 meta/recipes-devtools/elfutils/elfutils-0.155/uclibc-support.patch
 create mode 100644 meta/recipes-devtools/elfutils/elfutils-0.155/x86_64_dis.h
 create mode 100644 meta/recipes-devtools/elfutils/elfutils_0.155.bb
meta/recipes-devtools/elfutils/elfutils-0.155/arm_backend.diff new file +450 -0
new file mode 100644
index 0000000..46d42fa
@@ -0,0 +1,450 @@
+Upstream-Status: Backport
+
+Index: elfutils-0.155/backends/arm_init.c
+===================================================================
+--- elfutils-0.155.orig/backends/arm_init.c
++++ elfutils-0.155/backends/arm_init.c
+@@ -35,21 +35,32 @@
+ #define RELOC_PREFIX	R_ARM_
+ #include "libebl_CPU.h"
+ 
++#include "libebl_arm.h"
++
+ /* This defines the common reloc hooks based on arm_reloc.def.  */
+ #include "common-reloc.c"
+ 
+ 
+ const char *
+ arm_init (elf, machine, eh, ehlen)
+-     Elf *elf __attribute__ ((unused));
++     Elf *elf;
+      GElf_Half machine __attribute__ ((unused));
+      Ebl *eh;
+      size_t ehlen;
+ {
++  int soft_float = 0;
++
+   /* Check whether the Elf_BH object has a sufficent size.  */
+   if (ehlen < sizeof (Ebl))
+     return NULL;
+ 
++  if (elf) {
++    GElf_Ehdr ehdr_mem;
++    GElf_Ehdr *ehdr = gelf_getehdr (elf, &ehdr_mem);
++    if (ehdr && (ehdr->e_flags & EF_ARM_SOFT_FLOAT))
++      soft_float = 1;
++  }
++
+   /* We handle it.  */
+   eh->name = "ARM";
+   arm_init_reloc (eh);
+@@ -61,7 +72,10 @@ arm_init (elf, machine, eh, ehlen)
+   HOOK (eh, core_note);
+   HOOK (eh, auxv_info);
+   HOOK (eh, check_object_attribute);
+-  HOOK (eh, return_value_location);
++  if (soft_float)
++    eh->return_value_location = arm_return_value_location_soft;
++  else
++    eh->return_value_location = arm_return_value_location_hard;
+ 
+   return MODVERSION;
+ }
+Index: elfutils-0.155/backends/arm_regs.c
+===================================================================
+--- elfutils-0.155.orig/backends/arm_regs.c
++++ elfutils-0.155/backends/arm_regs.c
+@@ -31,6 +31,7 @@
+ #endif
+ 
+ #include <string.h>
++#include <stdio.h>
+ #include <dwarf.h>
+ 
+ #define BACKEND arm_
+@@ -61,7 +62,15 @@ arm_register_info (Ebl *ebl __attribute_
+       namelen = 2;
+       break;
+ 
+-    case 10 ... 12:
++    case 10 ... 11:
++      name[0] = 'r';
++      name[1] = '1';
++      name[2] = regno % 10 + '0';
++      namelen = 3;
++      break;
++
++    case 12:
++      *type = DW_ATE_unsigned;
+       name[0] = 'r';
+       name[1] = '1';
+       name[2] = regno % 10 + '0';
+@@ -76,6 +85,9 @@ arm_register_info (Ebl *ebl __attribute_
+       break;
+ 
+     case 16 + 0 ... 16 + 7:
++      /* AADWARF says that there are no registers in that range,
++       * but gcc maps FPA registers here
++       */
+       regno += 96 - 16;
+       /* Fall through.  */
+     case 96 + 0 ... 96 + 7:
+@@ -87,11 +99,139 @@ arm_register_info (Ebl *ebl __attribute_
+       namelen = 2;
+       break;
+ 
++    case 64 + 0 ... 64 + 9:
++      *setname = "VFP";
++      *bits = 32;
++      *type = DW_ATE_float;
++      name[0] = 's';
++      name[1] = regno - 64 + '0';
++      namelen = 2;
++      break;
++
++    case 64 + 10 ... 64 + 31:
++      *setname = "VFP";
++      *bits = 32;
++      *type = DW_ATE_float;
++      name[0] = 's';
++      name[1] = (regno - 64) / 10 + '0';
++      name[2] = (regno - 64) % 10 + '0';
++      namelen = 3;
++      break;
++
++    case 104 + 0 ... 104 + 7:
++      /* XXX TODO:
++       * This can be either intel wireless MMX general purpose/control
++       * registers or xscale accumulator, which have different usage.
++       * We only have the intel wireless MMX here now.
++       * The name needs to be changed for the xscale accumulator too. */
++      *setname = "MMX";
++      *type = DW_ATE_unsigned;
++      *bits = 32;
++      memcpy(name, "wcgr", 4);
++      name[4] = regno - 104 + '0';
++      namelen = 5;
++      break;
++
++    case 112 + 0 ... 112 + 9:
++      *setname = "MMX";
++      *type = DW_ATE_unsigned;
++      *bits = 64;
++      name[0] = 'w';
++      name[1] = 'r';
++      name[2] = regno - 112 + '0';
++      namelen = 3;
++      break;
++
++    case 112 + 10 ... 112 + 15:
++      *setname = "MMX";
++      *type = DW_ATE_unsigned;
++      *bits = 64;
++      name[0] = 'w';
++      name[1] = 'r';
++      name[2] = '1';
++      name[3] = regno - 112 - 10 + '0';
++      namelen = 4;
++      break;
++
+     case 128:
++      *setname = "special";
+       *type = DW_ATE_unsigned;
+       return stpcpy (name, "spsr") + 1 - name;
+ 
++    case 129:
++      *setname = "special";
++      *type = DW_ATE_unsigned;
++      return stpcpy(name, "spsr_fiq") + 1 - name;
++
++    case 130:
++      *setname = "special";
++      *type = DW_ATE_unsigned;
++      return stpcpy(name, "spsr_irq") + 1 - name;
++
++    case 131:
++      *setname = "special";
++      *type = DW_ATE_unsigned;
++      return stpcpy(name, "spsr_abt") + 1 - name;
++
++    case 132:
++      *setname = "special";
++      *type = DW_ATE_unsigned;
++      return stpcpy(name, "spsr_und") + 1 - name;
++
++    case 133:
++      *setname = "special";
++      *type = DW_ATE_unsigned;
++      return stpcpy(name, "spsr_svc") + 1 - name;
++
++    case 144 ... 150:
++      *setname = "integer";
++      *type = DW_ATE_signed;
++      *bits = 32;
++      return sprintf(name, "r%d_usr", regno - 144 + 8) + 1;
++
++    case 151 ... 157:
++      *setname = "integer";
++      *type = DW_ATE_signed;
++      *bits = 32;
++      return sprintf(name, "r%d_fiq", regno - 151 + 8) + 1;
++
++    case 158 ... 159:
++      *setname = "integer";
++      *type = DW_ATE_signed;
++      *bits = 32;
++      return sprintf(name, "r%d_irq", regno - 158 + 13) + 1;
++
++    case 160 ... 161:
++      *setname = "integer";
++      *type = DW_ATE_signed;
++      *bits = 32;
++      return sprintf(name, "r%d_abt", regno - 160 + 13) + 1;
++
++    case 162 ... 163:
++      *setname = "integer";
++      *type = DW_ATE_signed;
++      *bits = 32;
++      return sprintf(name, "r%d_und", regno - 162 + 13) + 1;
++
++    case 164 ... 165:
++      *setname = "integer";
++      *type = DW_ATE_signed;
++      *bits = 32;
++      return sprintf(name, "r%d_svc", regno - 164 + 13) + 1;
++
++    case 192 ... 199:
++     *setname = "MMX";
++      *bits = 32;
++      *type = DW_ATE_unsigned;
++      name[0] = 'w';
++      name[1] = 'c';
++      name[2] = regno - 192 + '0';
++      namelen = 3;
++      break;
++
+     case 256 + 0 ... 256 + 9:
++      /* XXX TODO: Neon also uses those registers and can contain
++       * both float and integers */
+       *setname = "VFP";
+       *type = DW_ATE_float;
+       *bits = 64;
+Index: elfutils-0.155/backends/arm_retval.c
+===================================================================
+--- elfutils-0.155.orig/backends/arm_retval.c
++++ elfutils-0.155/backends/arm_retval.c
+@@ -48,6 +48,13 @@ static const Dwarf_Op loc_intreg[] =
+ #define nloc_intreg	1
+ #define nloc_intregs(n)	(2 * (n))
+ 
++/* f1  */ /* XXX TODO: f0 can also have number 96 if program was compiled with -mabi=aapcs */
++static const Dwarf_Op loc_fpreg[] =
++  {
++    { .atom = DW_OP_reg16 },
++  };
++#define nloc_fpreg  1
++
+ /* The return value is a structure and is actually stored in stack space
+    passed in a hidden argument by the caller.  But, the compiler
+    helpfully returns the address of that space in r0.  */
+@@ -58,8 +65,9 @@ static const Dwarf_Op loc_aggregate[] =
+ #define nloc_aggregate 1
+ 
+ 
+-int
+-arm_return_value_location (Dwarf_Die *functypedie, const Dwarf_Op **locp)
++static int
++arm_return_value_location_ (Dwarf_Die *functypedie, const Dwarf_Op **locp,
++		            int soft_float)
+ {
+   /* Start with the function's type, and get the DW_AT_type attribute,
+      which is the type of the return value.  */
+@@ -112,14 +120,31 @@ arm_return_value_location (Dwarf_Die *fu
+ 	  else
+ 	    return -1;
+ 	}
++      if (tag == DW_TAG_base_type)
++	{
++	  Dwarf_Word encoding;
++	  if (dwarf_formudata (dwarf_attr_integrate (typedie, DW_AT_encoding,
++	                       &attr_mem), &encoding) != 0)
++	    return -1;
++
++	  if ((encoding == DW_ATE_float) && !soft_float)
++	    {
++	      *locp = loc_fpreg;
++	      if (size <= 8)
++		return nloc_fpreg;
++	      goto aggregate;
++	    }
++	}
+       if (size <= 16)
+ 	{
+ 	intreg:
+ 	  *locp = loc_intreg;
+ 	  return size <= 4 ? nloc_intreg : nloc_intregs ((size + 3) / 4);
+ 	}
++      /* fall through. */
+ 
+     aggregate:
++      /* XXX TODO sometimes aggregates are returned in r0 (-mabi=aapcs) */
+       *locp = loc_aggregate;
+       return nloc_aggregate;
+ 
+@@ -138,3 +163,18 @@ arm_return_value_location (Dwarf_Die *fu
+      DWARF and might be valid.  */
+   return -2;
+ }
++
++/* return location for -mabi=apcs-gnu -msoft-float */
++int
++arm_return_value_location_soft (Dwarf_Die *functypedie, const Dwarf_Op **locp)
++{
++   return arm_return_value_location_ (functypedie, locp, 1);
++}
++
++/* return location for -mabi=apcs-gnu -mhard-float (current default) */
++int
++arm_return_value_location_hard (Dwarf_Die *functypedie, const Dwarf_Op **locp)
++{
++   return arm_return_value_location_ (functypedie, locp, 0);
++}
++
+Index: elfutils-0.155/libelf/elf.h
+===================================================================
+--- elfutils-0.155.orig/libelf/elf.h
++++ elfutils-0.155/libelf/elf.h
+@@ -2281,6 +2281,9 @@ typedef Elf32_Addr Elf32_Conflict;
+ #define EF_ARM_EABI_VER4	0x04000000
+ #define EF_ARM_EABI_VER5	0x05000000
+ 
++/* EI_OSABI values */
++#define ELFOSABI_ARM_AEABI    64      /* Contains symbol versioning. */
++
+ /* Additional symbol types for Thumb.  */
+ #define STT_ARM_TFUNC		STT_LOPROC /* A Thumb function.  */
+ #define STT_ARM_16BIT		STT_HIPROC /* A Thumb label.  */
+@@ -2298,12 +2301,19 @@ typedef Elf32_Addr Elf32_Conflict;
+ 
+ /* Processor specific values for the Phdr p_type field.  */
+ #define PT_ARM_EXIDX		(PT_LOPROC + 1)	/* ARM unwind segment.  */
++#define PT_ARM_UNWIND		PT_ARM_EXIDX
+ 
+ /* Processor specific values for the Shdr sh_type field.  */
+ #define SHT_ARM_EXIDX		(SHT_LOPROC + 1) /* ARM unwind section.  */
+ #define SHT_ARM_PREEMPTMAP	(SHT_LOPROC + 2) /* Preemption details.  */
+ #define SHT_ARM_ATTRIBUTES	(SHT_LOPROC + 3) /* ARM attributes section.  */
+ 
++/* Processor specific values for the Dyn d_tag field.  */
++#define DT_ARM_RESERVED1	(DT_LOPROC + 0)
++#define DT_ARM_SYMTABSZ		(DT_LOPROC + 1)
++#define DT_ARM_PREEMTMAB	(DT_LOPROC + 2)
++#define DT_ARM_RESERVED2	(DT_LOPROC + 3)
++#define DT_ARM_NUM		4
+ 
+ /* ARM relocs.  */
+ 
+@@ -2336,12 +2346,75 @@ typedef Elf32_Addr Elf32_Conflict;
+ #define R_ARM_GOTPC		25	/* 32 bit PC relative offset to GOT */
+ #define R_ARM_GOT32		26	/* 32 bit GOT entry */
+ #define R_ARM_PLT32		27	/* 32 bit PLT address */
++#define R_ARM_CALL		28
++#define R_ARM_JUMP24	29
++#define R_ARM_THM_JUMP24	30
++#define R_ARM_BASE_ABS		31
+ #define R_ARM_ALU_PCREL_7_0	32
+ #define R_ARM_ALU_PCREL_15_8	33
+ #define R_ARM_ALU_PCREL_23_15	34
+ #define R_ARM_LDR_SBREL_11_0	35
+ #define R_ARM_ALU_SBREL_19_12	36
+ #define R_ARM_ALU_SBREL_27_20	37
++#define R_ARM_TARGET1	38
++#define R_ARM_SBREL31	39
++#define R_ARM_V4BX	40
++#define R_ARM_TARGET2	41
++#define R_ARM_PREL31	42
++#define R_ARM_MOVW_ABS_NC	43
++#define R_ARM_MOVT_ABS	44
++#define R_ARM_MOVW_PREL_NC	45
++#define R_ARM_MOVT_PREL	46
++#define R_ARM_THM_MOVW_ABS_NC	47
++#define R_ARM_THM_MOVT_ABS	48
++#define R_ARM_THM_MOVW_PREL_NC	49
++#define R_ARM_THM_MOVT_PREL	50
++#define R_ARM_THM_JUMP19	51
++#define R_ARM_THM_JUMP6	52
++#define R_ARM_THM_ALU_PREL_11_0	53
++#define R_ARM_THM_PC12	54
++#define R_ARM_ABS32_NO	55
++#define R_ARM_REL32_NO	56
++#define R_ARM_ALU_PC_G0_NC	57
++#define R_ARM_ALU_PC_G0	58
++#define R_ARM_ALU_PC_G1_NC	59
++#define R_ARM_ALU_PC_G1	60
++#define R_ARM_ALU_PC_G2	61
++#define R_ARM_LDR_PC_G1	62
++#define R_ARM_LDR_PC_G2	63
++#define R_ARM_LDRS_PC_G0	64
++#define R_ARM_LDRS_PC_G1	65
++#define R_ARM_LDRS_PC_G2	66
++#define R_ARM_LDC_PC_G0	67
++#define R_ARM_LDC_PC_G1	68
++#define R_ARM_LDC_PC_G2	69
++#define R_ARM_ALU_SB_G0_NC	70
++#define R_ARM_ALU_SB_G0	71
++#define R_ARM_ALU_SB_G1_NC	72
++#define R_ARM_ALU_SB_G1	73
++#define R_ARM_ALU_SB_G2	74
++#define R_ARM_LDR_SB_G0	75
++#define R_ARM_LDR_SB_G1	76
++#define R_ARM_LDR_SB_G2	77
++#define R_ARM_LDRS_SB_G0	78
++#define R_ARM_LDRS_SB_G1	79
++#define R_ARM_LDRS_SB_G2	80
++#define R_ARM_LDC_G0	81
++#define R_ARM_LDC_G1	82
++#define R_ARM_LDC_G2	83
++#define R_ARM_MOVW_BREL_NC	84
++#define R_ARM_MOVT_BREL	85
++#define R_ARM_MOVW_BREL	86
++#define R_ARM_THM_MOVW_BREL_NC	87
++#define R_ARM_THM_MOVT_BREL	88
++#define R_ARM_THM_MOVW_BREL	89
++/* 90-93 unallocated */
++#define R_ARM_PLT32_ABS	94
++#define R_ARM_GOT_ABS	95
++#define R_ARM_GOT_PREL	96
++#define R_ARM_GOT_BREL12	97
++#define R_ARM_GOTOFF12	98
++#define R_ARM_GOTRELAX	99
+ #define R_ARM_TLS_GOTDESC	90
+ #define R_ARM_TLS_CALL		91
+ #define R_ARM_TLS_DESCSEQ	92
+@@ -2360,6 +2433,13 @@ typedef Elf32_Addr Elf32_Conflict;
+ 					   static TLS block offset */
+ #define R_ARM_TLS_LE32		108	/* 32 bit offset relative to static
+ 					   TLS block */
++#define R_ARM_TLS_LDO12	109
++#define R_ARM_TLS_LE12		110
++#define R_ARM_TLS_IE12GP	111
++/* 112 - 127 private range */
++#define R_ARM_ME_TOO		128|/* obsolete */
++
++
+ #define	R_ARM_THM_TLS_DESCSEQ	129
+ #define R_ARM_IRELATIVE		160
+ #define R_ARM_RXPC25		249
+Index: elfutils-0.155/backends/libebl_arm.h
+===================================================================
+--- /dev/null
++++ elfutils-0.155/backends/libebl_arm.h
+@@ -0,0 +1,9 @@
++#ifndef _LIBEBL_ARM_H
++#define _LIBEBL_ARM_H 1
++
++#include <libdw.h>
++
++extern int arm_return_value_location_soft(Dwarf_Die *, const Dwarf_Op **locp);
++extern int arm_return_value_location_hard(Dwarf_Die *, const Dwarf_Op **locp);
++
++#endif
meta/recipes-devtools/elfutils/elfutils-0.155/do-autoreconf.diff new file +215 -0

215 lines not on this page · raw message

meta/recipes-devtools/elfutils/elfutils-0.155/dso-link-change.patch new file +32 -0
new file mode 100644
index 0000000..f375a8a
@@ -0,0 +1,32 @@
+Upstream-Status: Pending
+
+# This patch makes the link to the dependencies of libdw explicit, as recent
+# ld no longer implicitly links them. See
+# http://lists.fedoraproject.org/pipermail/devel/2010-March/133601.html as
+# a similar example of the error message you can encounter without this patch,
+# and https://fedoraproject.org/wiki/UnderstandingDSOLinkChange and
+# https://fedoraproject.org/wiki/Features/ChangeInImplicitDSOLinking for more
+# details.
+
+--- elfutils-0.155.orig/src/Makefile.am
++++ elfutils-0.155/src/Makefile.am
+@@ -86,7 +86,7 @@ libdw = ../libdw/libdw.a $(zip_LIBS) $(l
+ libelf = ../libelf/libelf.a
+ else
+ libasm = ../libasm/libasm.so
+-libdw = ../libdw/libdw.so
++libdw = ../libdw/libdw.so $(zip_LIBS) $(libelf) $(libebl) -ldl
+ libelf = ../libelf/libelf.so
+ endif
+ libebl = ../libebl/libebl.a
+--- elfutils-0.155.orig/tests/Makefile.am
++++ elfutils-0.155/tests/Makefile.am
+@@ -172,7 +172,7 @@ libdw = ../libdw/libdw.a $(zip_LIBS) $(l
+ libelf = ../libelf/libelf.a
+ libasm = ../libasm/libasm.a
+ else
+-libdw = ../libdw/libdw.so
++libdw = ../libdw/libdw.so $(zip_LIBS) $(libelf) $(libebl) -ldl
+ libelf = ../libelf/libelf.so
+ libasm = ../libasm/libasm.so
+ endif
meta/recipes-devtools/elfutils/elfutils-0.155/elf_additions.diff new file +61 -0

61 lines not on this page · raw message

meta/recipes-devtools/elfutils/elfutils-0.155/elfutils-ar-c-fix-num-passed-to-memset.patch new file +23 -0
new file mode 100644
index 0000000..dd4f06b
@@ -0,0 +1,23 @@
+Upstream-Status: Backport
+
+ar.c (do_oper_delete): Fix num passed to memset
+native build failed as following on Fedora18+: 
+ar.c: In function 'do_oper_delete':
+ar.c:918:31: error: argument to 'sizeof' in 'memset' call is the same expression as the destination; did you mean to dereference it? [-Werror=sizeof-pointer-memaccess]
+   memset (found, '\0', sizeof (found));
+                                ^
+The original commit is http://git.fedorahosted.org/cgit/elfutils.git/commit/src/ar.c?id=1a4d0668d18bf1090c5c08cdb5cb3ba2b8eb5410
+
+Signed-off-by: Zhenhua Luo <[email protected]>
+
+--- elfutils-0.155/src/ar.c.org	2013-03-12 21:12:17.928281375 -0500
++++ elfutils-0.155/src/ar.c	2013-03-12 21:15:30.053285271 -0500
+@@ -915,7 +915,7 @@
+ 		long int instance)
+ {
+   bool *found = alloca (sizeof (bool) * argc);
+-  memset (found, '\0', sizeof (found));
++  memset (found, '\0', sizeof (bool) * argc);
+ 
+   /* List of the files we keep.  */
+   struct armem *to_copy = NULL;
meta/recipes-devtools/elfutils/elfutils-0.155/elfutils-robustify.patch new file +1756 -0

1,756 lines not on this page · raw message

meta/recipes-devtools/elfutils/elfutils-0.155/hppa_backend.diff new file +796 -0

463 lines not on this page · raw message

meta/recipes-devtools/elfutils/elfutils-0.155/i386_dis.h new file +1657 -0

1,657 lines not on this page · raw message

meta/recipes-devtools/elfutils/elfutils-0.155/m68k_backend.diff new file +303 -0

303 lines not on this page · raw message

meta/recipes-devtools/elfutils/elfutils-0.155/mempcpy.patch new file +24 -0
new file mode 100644
index 0000000..1d5a37e

Lines of this file are not shown. View the raw message.

meta/recipes-devtools/elfutils/elfutils-0.155/mips_backend.diff new file +708 -0

708 lines not on this page · raw message

meta/recipes-devtools/elfutils/elfutils-0.155/nm-Fix-size-passed-to-snprintf-for-invalid-sh_name-case.patch new file +27 -0
new file mode 100644
index 0000000..9a400da

Lines of this file are not shown. View the raw message.

meta/recipes-devtools/elfutils/elfutils-0.155/redhat-portability.diff new file +1775 -0

1,775 lines not on this page · raw message

meta/recipes-devtools/elfutils/elfutils-0.155/redhat-robustify.diff new file +1824 -0

1,824 lines not on this page · raw message

meta/recipes-devtools/elfutils/elfutils-0.155/uclibc-support.patch new file +91 -0

91 lines not on this page · raw message

meta/recipes-devtools/elfutils/elfutils-0.155/x86_64_dis.h new file +1632 -0

1,632 lines not on this page · raw message

meta/recipes-devtools/elfutils/elfutils_0.155.bb new file +84 -0

84 lines not on this page · raw message

The rest of this diff is not shown. View the raw message.

Signature · 1 line
1.7.9.5

Part of the diff is not shown here. View the raw message.

#7 lore raw

PATCH v2 4/10 rxvt-unicode: Upgrade to v9.18

In reply to Radu Moisan

do_configure was initially failing because could not stat aclocal.m4, prepended ${S} so that it could find the file, however I don't know the reasoning for do_configure_prepend in this recipe, it also builds fine without it

---
 .../rxvt.desktop                                   |    0
 .../rxvt.png                                       |  Bin 2847 -> 2847 bytes
 .../xwc.patch                                      |    0
 .../{rxvt-unicode_9.17.bb => rxvt-unicode_9.18.bb} |    6 +++---
 4 files changed, 3 insertions(+), 3 deletions(-)
 rename meta/recipes-sato/rxvt-unicode/{rxvt-unicode-9.17 => rxvt-unicode-9.18}/rxvt.desktop (100%)
 rename meta/recipes-sato/rxvt-unicode/{rxvt-unicode-9.17 => rxvt-unicode-9.18}/rxvt.png (100%)
 rename meta/recipes-sato/rxvt-unicode/{rxvt-unicode-9.17 => rxvt-unicode-9.18}/xwc.patch (100%)
 rename meta/recipes-sato/rxvt-unicode/{rxvt-unicode_9.17.bb => rxvt-unicode_9.18.bb} (92%)
meta/recipes-sato/rxvt-unicode/rxvt-unicode-9.18/rxvt.desktop renamed from meta/recipes-sato/rxvt-unicode/rxvt-unicode-9.17/rxvt.desktop +0 -0
similarity index 100%
rename from meta/recipes-sato/rxvt-unicode/rxvt-unicode-9.17/rxvt.desktop
rename to meta/recipes-sato/rxvt-unicode/rxvt-unicode-9.18/rxvt.desktop
meta/recipes-sato/rxvt-unicode/rxvt-unicode-9.18/rxvt.png renamed from meta/recipes-sato/rxvt-unicode/rxvt-unicode-9.17/rxvt.png +0 -0
similarity index 100%
rename from meta/recipes-sato/rxvt-unicode/rxvt-unicode-9.17/rxvt.png
rename to meta/recipes-sato/rxvt-unicode/rxvt-unicode-9.18/rxvt.png
meta/recipes-sato/rxvt-unicode/rxvt-unicode-9.18/xwc.patch renamed from meta/recipes-sato/rxvt-unicode/rxvt-unicode-9.17/xwc.patch +0 -0
similarity index 100%
rename from meta/recipes-sato/rxvt-unicode/rxvt-unicode-9.17/xwc.patch
rename to meta/recipes-sato/rxvt-unicode/rxvt-unicode-9.18/xwc.patch
meta/recipes-sato/rxvt-unicode/rxvt-unicode_9.18.bb renamed from meta/recipes-sato/rxvt-unicode/rxvt-unicode_9.17.bb +3 -3
similarity index 92%
rename from meta/recipes-sato/rxvt-unicode/rxvt-unicode_9.17.bb
rename to meta/recipes-sato/rxvt-unicode/rxvt-unicode_9.18.bb
index 806e354..9a47617 100644
@@ -17,8 +17,8 @@ SRC_URI = "http://dist.schmorp.de/rxvt-unicode/Attic/rxvt-unicode-${PV}.tar.bz2
 	   file://rxvt.desktop \
 	   file://rxvt.png"
 
-SRC_URI[md5sum] = "1270432bdc7ce17dbb07d41a607081e0"
-SRC_URI[sha256sum] = "de017b2b2a1a7182aeada99f605da33cbee18d450e07a7fdabef48da446521e4"
+SRC_URI[md5sum] = "963ccc748fe5bca925e7b92c0404d68b"
+SRC_URI[sha256sum] = "87b72a43cac7c9362a984094c661a632ce1a829ad90f149142ab1953854b433f"
 
 inherit autotools update-alternatives
 
@@ -42,7 +42,7 @@ EXTRA_OECONF = "--enable-menubar --enable-xim \
 		--with-x=${STAGING_DIR_HOST}${prefix}"
 
 do_configure_prepend () {
-	cp aclocal.m4 acinclude.m4
+	cp ${S}/aclocal.m4 ${S}/acinclude.m4
 }
 
 do_compile_prepend () {
Signature · 1 line
1.7.9.5
#9 lore raw

PATCH v2 5/10 ed: Upgrade to v1.8

In reply to Radu Moisan

License files chenged but not the license type

---
 meta/recipes-extended/ed/ed-1.7/ed-1.2-build.patch |   43 --------------------
 meta/recipes-extended/ed/{ed_1.7.bb => ed_1.8.bb}  |   11 +++--
 2 files changed, 5 insertions(+), 49 deletions(-)
 delete mode 100644 meta/recipes-extended/ed/ed-1.7/ed-1.2-build.patch
 rename meta/recipes-extended/ed/{ed_1.7.bb => ed_1.8.bb} (49%)
meta/recipes-extended/ed/ed-1.7/ed-1.2-build.patch deleted +0 -43
deleted file mode 100644
index d30b393..0000000
@@ -1,43 +0,0 @@
-http://lists.gnu.org/archive/html/bug-ed/2008-12/msg00001.html
-
-2007-04-16  Mike Frysinger  <[email protected]>
-
-	* Do not set CC/CXX/CPPFLAGS/LDFLAGS to "" so that user can
-	  override if they so choose.
-	* Only set CFLAGS/CXXFLAGS if user did not specify any.
-
-ed had already taken GPLv3 when this patch out, so it should be GPLv3.
-Signed-off-by: Zhai Edwin <[email protected]>
-
-Upstream-Status: Pending
-
-Index: ed-1.5/configure
-===================================================================
---- ed-1.5.orig/configure	2010-08-30 07:34:49.000000000 -0700
-+++ ed-1.5/configure	2010-11-20 16:42:20.490645823 -0800
-@@ -26,10 +26,6 @@
- mandir='$(datadir)/man'
- sysconfdir='$(prefix)/etc'
- program_prefix=
--CC=
--CPPFLAGS=
--CFLAGS='-Wall -W -O2'
--LDFLAGS=
- 
- # Loop over all args
- while [ -n "$1" ] ; do
-@@ -105,6 +101,14 @@
- 	esac
- done
- 
-+# Defaults if the user did not select any
-+if [ x"${CFLAGS+set}" != xset ] ; then
-+	CFLAGS='-Wall -W -O2'
-+fi
-+if [ x"${CXXFLAGS+set}" != xset ] ; then
-+	CXXFLAGS='-Wall -W -O2'
-+fi
-+
- # Find the source files, if location was not specified.
- srcdirtext=
- if [ -z "${srcdir}" ] ; then
meta/recipes-extended/ed/ed_1.8.bb renamed from meta/recipes-extended/ed/ed_1.7.bb +5 -6
similarity index 49%
rename from meta/recipes-extended/ed/ed_1.7.bb
rename to meta/recipes-extended/ed/ed_1.8.bb
index 0057438..c6b5075 100644
@@ -4,8 +4,8 @@ BUGTRACKER = ""
 
 LICENSE = "GPLv3+"
 LIC_FILES_CHKSUM = "file://COPYING;md5=f27defe1e96c2e1ecd4e0c9be8967949 \
-                    file://ed.h;endline=20;md5=c708cda1b2e8d723d458690b7db03878 \
-                    file://main.c;endline=24;md5=1bd039d59e04ee5f82adcc970144a2c3"
+                    file://ed.h;endline=20;md5=375a20cc2545ac1115eeb7b323c60ae3 \
+                    file://main.c;endline=24;md5=1b31246da5e3864d7b30094ff76bf7ed"
 
 SECTION = "base"
 PR = "r0"
@@ -13,11 +13,10 @@ PR = "r0"
 # LSB states that ed should be in /bin/
 bindir = "${base_bindir}"
 
-SRC_URI = "${GNU_MIRROR}/ed/ed-${PV}.tar.gz \
-           file://ed-1.2-build.patch"
+SRC_URI = "${GNU_MIRROR}/ed/ed-${PV}.tar.gz"
 
-SRC_URI[md5sum] = "0aa4e2428e325203d0d7c3e86c961b1c"
-SRC_URI[sha256sum] = "894241019a5ff2b7816d20c5bd5a7048fb8f336ca52e97b3cc88d45b16472031"
+SRC_URI[md5sum] = "2268d2344b3c52d23730acb2e3c942fe"
+SRC_URI[sha256sum] = "64c138d33b1ea4b9daa88e045da0619e2a43cb99a9d378417d20163f410a7273"
 
 do_configure() {
 	${S}/configure
Signature · 1 line
1.7.9.5
#10 lore raw

PATCH v2 6/10 libdmx: Upgrade to v1.1.3

In reply to Radu Moisan
---
 .../xorg-lib/{libdmx_1.1.2.bb => libdmx_1.1.3.bb}  |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
 rename meta/recipes-graphics/xorg-lib/{libdmx_1.1.2.bb => libdmx_1.1.3.bb} (79%)
meta/recipes-graphics/xorg-lib/libdmx_1.1.3.bb renamed from meta/recipes-graphics/xorg-lib/libdmx_1.1.2.bb +2 -2
similarity index 79%
rename from meta/recipes-graphics/xorg-lib/libdmx_1.1.2.bb
rename to meta/recipes-graphics/xorg-lib/libdmx_1.1.3.bb
index 9d876bb..5aef188 100644
@@ -16,6 +16,6 @@ DEPENDS += "libxext dmxproto"
 PR = "r0"
 PE = "1"
 
-SRC_URI[md5sum] = "782ced3a9e754dfeb53a8a006a75eb1a"
-SRC_URI[sha256sum] = "a7870b648a8768d65432af76dd11581ff69f3955118540d5967eb1eef43838ba"
+SRC_URI[md5sum] = "ba983eba5a9f05d152a0725b8e863151"
+SRC_URI[sha256sum] = "c97da36d2e56a2d7b6e4f896241785acc95e97eb9557465fd66ba2a155a7b201"
 
Signature · 1 line
1.7.9.5
#11 lore raw

PATCH v2 7/10 apr: Upgrade to v1.4.8

In reply to Radu Moisan
---
 .../apr/{apr_1.4.6.bb => apr_1.4.8.bb}             |    6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)
 rename meta/recipes-support/apr/{apr_1.4.6.bb => apr_1.4.8.bb} (92%)
meta/recipes-support/apr/apr_1.4.8.bb renamed from meta/recipes-support/apr/apr_1.4.6.bb +2 -4
similarity index 92%
rename from meta/recipes-support/apr/apr_1.4.6.bb
rename to meta/recipes-support/apr/apr_1.4.8.bb
index 77dffee..38a0673 100644
@@ -9,15 +9,13 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=0c35ff3c4c83b89d2f076e315caac28b \
 
 BBCLASSEXTEND = "native"
 
-PR = "r2"
-
 SRC_URI = "${APACHE_MIRROR}/apr/${BPN}-${PV}.tar.bz2 \
            file://configure_fixes.patch \
            file://cleanup.patch \
            file://configfix.patch"
 
-SRC_URI[md5sum] = "ffee70a111fd07372982b0550bbb14b7"
-SRC_URI[sha256sum] = "9b635e60feb163e6fc6c375721f71f44d7e26d6b9cd52f6b86b04e65d2481cbc"
+SRC_URI[md5sum] = "ce2ab01a0c3cdb71cf0a6326b8654f41"
+SRC_URI[sha256sum] = "61b8d2f8d321c6365ee3d71d0bb41f3a89c44da6124cc5b407a3b8319d660421"
 
 inherit autotools lib_package binconfig multilib_header
 
Signature · 1 line
1.7.9.5
#12 lore raw

PATCH v2 8/10 apr-util: Upgrade to v1.5.2

In reply to Radu Moisan
---
 .../apr/{apr-util_1.5.1.bb => apr-util_1.5.2.bb}   |    6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)
 rename meta/recipes-support/apr/{apr-util_1.5.1.bb => apr-util_1.5.2.bb} (91%)
meta/recipes-support/apr/apr-util_1.5.2.bb renamed from meta/recipes-support/apr/apr-util_1.5.1.bb +2 -4
similarity index 91%
rename from meta/recipes-support/apr/apr-util_1.5.1.bb
rename to meta/recipes-support/apr/apr-util_1.5.2.bb
index e547fe0..ea0f7fb 100644
@@ -9,14 +9,12 @@ LICENSE = "Apache-2.0"
 LIC_FILES_CHKSUM = "file://LICENSE;md5=519e0a18e03f7c023070568c14b077bb \
                     file://include/apu_version.h;endline=17;md5=806685a84e71f10c80144c48eb35df42"
 
-PR = "r0"
-
 SRC_URI = "${APACHE_MIRROR}/apr/${BPN}-${PV}.tar.gz \
            file://configfix.patch \
            file://configure_fixes.patch"
 
-SRC_URI[md5sum] = "490c2e26e2dc95fd0983ad71112ddac6"
-SRC_URI[sha256sum] = "0cf4e48d93ceb9a5e314f48fe127211b71d30234665587e2eaffbb4fc13d931d"
+SRC_URI[md5sum] = "eb682cfb8642babba427a4fb391b15e8"
+SRC_URI[sha256sum] = "a1ec5025373815795d2fa5bfac40c0984675feffc88e049be9a162c408c2f613"
 
 EXTRA_OECONF = "--with-apr=${STAGING_BINDIR_CROSS}/apr-1-config \ 
 		--without-odbc \
Signature · 1 line
1.7.9.5
#13 lore raw

PATCH v2 9/10 diffutils: Upgrade to v3.3

In reply to Radu Moisan
---
 .../diffutils-3.2/obsolete_automake_macros.patch   |   14 -------------
 .../diffutils/diffutils-3.2/remove-gets.patch      |   22 --------------------
 meta/recipes-extended/diffutils/diffutils.inc      |    2 +-
 .../{diffutils_3.2.bb => diffutils_3.3.bb}         |   10 ++-------
 4 files changed, 3 insertions(+), 45 deletions(-)
 delete mode 100644 meta/recipes-extended/diffutils/diffutils-3.2/obsolete_automake_macros.patch
 delete mode 100644 meta/recipes-extended/diffutils/diffutils-3.2/remove-gets.patch
 rename meta/recipes-extended/diffutils/{diffutils_3.2.bb => diffutils_3.3.bb} (59%)
meta/recipes-extended/diffutils/diffutils-3.2/obsolete_automake_macros.patch deleted +0 -14
deleted file mode 100644
index f47cc79..0000000
@@ -1,14 +0,0 @@
-Upstream-Status: Backport
-
-Signed-off-by: Marko Lindqvist <[email protected]>
-diff -Nurd diffutils-3.2/configure.ac diffutils-3.2/configure.ac
---- diffutils-3.2/configure.ac	2011-08-11 18:17:54.000000000 +0300
-+++ diffutils-3.2/configure.ac	2013-02-08 08:13:28.271427213 +0200
-@@ -33,7 +33,6 @@
-
- AC_PROG_AWK
- AC_PROG_CC
--AM_PROG_CC_STDC
- AM_MISSING_PROG([HELP2MAN], [help2man])
- AC_PROG_RANLIB
- gl_EARLY
meta/recipes-extended/diffutils/diffutils-3.2/remove-gets.patch deleted +0 -22
deleted file mode 100644
index 58ed62d..0000000
@@ -1,22 +0,0 @@
-check for gets before using it
-
-Signed-off-by: Khem Raj <[email protected]>
-Upstream-Status: Pending
-Index: diffutils-3.2/lib/stdio.in.h
-===================================================================
---- diffutils-3.2.orig/lib/stdio.in.h	2011-08-28 04:57:28.000000000 -0700
-+++ diffutils-3.2/lib/stdio.in.h	2012-07-03 10:45:07.518322117 -0700
-@@ -693,11 +693,13 @@
- _GL_CXXALIAS_SYS (gets, char *, (char *s));
- #  undef gets
- # endif
-+# if defined gets
- _GL_CXXALIASWARN (gets);
- /* It is very rare that the developer ever has full control of stdin,
-    so any use of gets warrants an unconditional warning.  Assume it is
-    always declared, since it is required by C89.  */
- _GL_WARN_ON_USE (gets, "gets is a security hole - use fgets instead");
-+# endif
- #endif
- 
- 
meta/recipes-extended/diffutils/diffutils.inc +1 -1
index c90a3c9..8286569 100644
@@ -6,7 +6,7 @@ SECTION = "base"
 
 INC_PR = "r7"
 
-SRC_URI = "${GNU_MIRROR}/diffutils/diffutils-${PV}.tar.gz"
+SRC_URI = "${GNU_MIRROR}/diffutils/diffutils-${PV}.tar.xz"
 
 inherit autotools update-alternatives gettext
 
meta/recipes-extended/diffutils/diffutils_3.3.bb renamed from meta/recipes-extended/diffutils/diffutils_3.2.bb +2 -8
similarity index 59%
rename from meta/recipes-extended/diffutils/diffutils_3.2.bb
rename to meta/recipes-extended/diffutils/diffutils_3.3.bb
index ef400ef..1b72a4b 100644
@@ -10,11 +10,5 @@ do_configure_prepend () {
 	done
 }
 
-PR = "${INC_PR}.1"
-
-SRC_URI += "file://remove-gets.patch \
-            file://obsolete_automake_macros.patch \
-"
-
-SRC_URI[md5sum] = "22e4deef5d8949a727b159d6bc65c1cc"
-SRC_URI[sha256sum] = "2aaaebef615be7dc365306a14caa5d273a4fc174f9f10abca8b60e082c054ed3"
+SRC_URI[md5sum] = "99180208ec2a82ce71f55b0d7389f1b3"
+SRC_URI[sha256sum] = "a25e89a8ab65fded1731e4186be1bb25cda967834b6df973599cdcd5abdfc19c"
Signature · 1 line
1.7.9.5
#14 lore raw

PATCH v2 10/10 usbutils: Upgrade to v007

In reply to Radu Moisan
---
 .../usbutils/{usbutils_006.bb => usbutils_007.bb}  |    5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)
 rename meta/recipes-bsp/usbutils/{usbutils_006.bb => usbutils_007.bb} (83%)
meta/recipes-bsp/usbutils/usbutils_007.bb renamed from meta/recipes-bsp/usbutils/usbutils_006.bb +2 -3
similarity index 83%
rename from meta/recipes-bsp/usbutils/usbutils_006.bb
rename to meta/recipes-bsp/usbutils/usbutils_007.bb
index c1c9fc0..45f829f 100644
@@ -7,14 +7,13 @@ LICENSE = "GPLv2+"
 LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f"
 
 DEPENDS = "libusb zlib"
-PR = "r0"
 
 SRC_URI = "${KERNELORG_MIRROR}/linux/utils/usb/usbutils/usbutils-${PV}.tar.gz \
            file://usb-devices-avoid-dependency-on-bash.patch \
            file://Fix-NULL-pointer-crash.patch"
 
-SRC_URI[md5sum] = "850790442f5eb487cdc7e35f8ee03e11"
-SRC_URI[sha256sum] = "553270b4030f0844cb70aed57e61c7f10a7ed6641c3bed20249201cec9bcf122"
+SRC_URI[md5sum] = "be6c42294be5c940f208190d3479d50c"
+SRC_URI[sha256sum] = "e65c234cadf7c81b6b1567c440e3b9b31b44f51c27df3e45741b88848d8b37d3"
 
 inherit autotools
 
Signature · 1 line
1.7.9.5
#15 lore raw
In reply to Radu Moisan
Quoted 1 line · Radu Moisan

* elfutils: license changed to GPLv3

Humpf. As elfutils disappearing in a no-GPLv3 build will have effects, I expect we'll either want to a) hold back on this or b) have both versions.

Ross

#2 lore raw

Re: [PATCH 01/10] iputils: Upgrade to v20121221

In reply to Radu Moisan

meta/recipes-extended/iputils/iputils_s20121221.bb LICENSE = "BSD & GPLv2+" · line 14

Quoted 2 lines · Radu Moisan
meta/recipes-extended/iputils/iputils_s20121221.bb renamed from meta/recipes-extended/iputils/iputils_s20101006.bb +1 -1
-DEPENDS = "openssl docbook-utils-native sgmlspl-native"
+DEPENDS = "gnutls docbook-utils-native sgmlspl-native"

Please say why this change is happening. Also is there a configure option to force the use of gnutls over openssl, or what happens if openssl was already installed when iptuils builds? Vague dependencies cause sstate problems.

Ross

#8 lore raw

Re: [PATCH 04/10] rxvt-unicode: Upgrade to v9.18

In reply to Radu Moisan

meta/recipes-sato/rxvt-unicode/rxvt-unicode_9.18.bb EXTRA_OECONF = "--enable-menubar --enable-xim \ · line 46

Quoted 4 lines · Radu Moisan

do_configure_prepend () {

meta/recipes-sato/rxvt-unicode/rxvt-unicode_9.18.bb renamed from meta/recipes-sato/rxvt-unicode/rxvt-unicode_9.17.bb +1 -1
-       cp aclocal.m4 acinclude.m4
+       cp ${S}/aclocal.m4 ${S}/acinclude.m4
 }

That's the right fix. The rationale for this pattern is that aclocal.m4 is a generated file, created by the aclocal binary, which contains all of the macros used by rxvt from /usr/share/aclocal (i.e. the X macros). Thus, it will be destroyed at configure time. acinclude.m4 is for local macros and is a source file.

Typically you see this pattern in packages which ship a non-pristine aclocal.m4, so when we re-generate it macros are lost. That normally means that the package won't build though.

Ross

#16 lore raw
In reply to Burton, Ross
Quoted 7 lines · Ross
Quoted 1 line · Radu Moisan

* elfutils: license changed to GPLv3

Humpf. As elfutils disappearing in a no-GPLv3 build will have effects, I expect we'll either want to a) hold back on this or b) have both versions.

Typically we keep the older version for the non-GPLv3 builds.

Sau!

Quoted 7 lines

Ross
_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-core

#5 lore raw

Re: [PATCH 02/10] busybox: Upgrade to v1.21.0

In reply to Radu Moisan
Quoted 7 lines · Radu Moisan

Removed obsolete patches
Added a few fixes from upstream
(http://busybox.net/downloads/fixes-1.21.0/)
*busybox-1.21.0-mdev.patch
*busybox-1.21.0-platform.patch
*busybox-1.21.0-xz.patch

Did you see Qi Chen's patch to update to 1.21.1?

Sau!

Quoted 1,237 lines
---
  .../busybox/busybox-1.20.2/B921600.patch           |   24 -
  .../busybox-1.20.2/busybox-1.20.2-kernel_ver.patch |   28 -
  .../busybox-mkfs-minix-tests_bigendian.patch       |   34 -
  .../fix-for-spurious-testsuite-failure.patch       |   27 -
  .../busybox/busybox-1.20.2/sys_resource.patch      |   99 ---
  .../busybox/busybox-1.20.2/wget_dl_dir_fix.patch   |   30 -
  .../busybox-1.21.0/busybox-1.21.0-mdev.patch       |  647 ++++++++++++++++++++
  .../busybox-1.21.0/busybox-1.21.0-platform.patch   |   28 +
  .../busybox/busybox-1.21.0/busybox-1.21.0-xz.patch |   88 +++
  .../busybox-appletlib-dependency.patch             |    0
  ...usybox-list-suid-and-non-suid-app-configs.patch |    0
  .../busybox-sulogin-empty-root-password.patch      |    0
  .../busybox-udhcpc-no_deconfig.patch               |    0
  .../{busybox-1.20.2 => busybox-1.21.0}/defconfig   |    0
  .../fail_on_no_media.patch                         |    0
  .../get_header_tar.patch                           |    0
  .../login-utilities.cfg                            |    0
  .../run-parts.in.usr-bin.patch                     |    6 +-
  .../stat-usr-bin.patch                             |    0
  .../strict-atime.patch                             |    0
  ...estsuite-du-du-k-works-fix-false-positive.patch |    0
  .../watch.in.usr-bin.patch                         |    0
  .../{busybox_1.20.2.bb => busybox_1.21.0.bb}       |   20 +-
  23 files changed, 774 insertions(+), 257 deletions(-)

delete mode 100644 meta/recipes-core/busybox/busybox-1.20.2/B921600.patch
delete mode 100644 meta/recipes-core/busybox/busybox-1.20.2/busybox-1.20.2-kernel_ver.patch
delete mode 100644 meta/recipes-core/busybox/busybox-1.20.2/busybox-mkfs-minix-tests_bigendian.patch delete mode 100644 meta/recipes-core/busybox/busybox-1.20.2/fix-for-spurious-testsuite-failure.patch delete mode 100644 meta/recipes-core/busybox/busybox-1.20.2/sys_resource.patch
delete mode 100644 meta/recipes-core/busybox/busybox-1.20.2/wget_dl_dir_fix.patch
create mode 100644 meta/recipes-core/busybox/busybox-1.21.0/busybox-1.21.0-mdev.patch
create mode 100644 meta/recipes-core/busybox/busybox-1.21.0/busybox-1.21.0-platform.patch
create mode 100644 meta/recipes-core/busybox/busybox-1.21.0/busybox-1.21.0-xz.patch
rename meta/recipes-core/busybox/{busybox-1.20.2 => busybox-1.21.0}/busybox-appletlib-dependency.patch (100%) rename meta/recipes-core/busybox/{busybox-1.20.2 => busybox-1.21.0}/busybox-list-suid-and-non-suid-app-configs.patch (100%) rename meta/recipes-core/busybox/{busybox-1.20.2 => busybox-1.21.0}/busybox-sulogin-empty-root-password.patch (100%) rename meta/recipes-core/busybox/{busybox-1.20.2 => busybox-1.21.0}/busybox-udhcpc-no_deconfig.patch (100%) rename meta/recipes-core/busybox/{busybox-1.20.2 => busybox-1.21.0}/defconfig (100%)
rename meta/recipes-core/busybox/{busybox-1.20.2 => busybox-1.21.0}/fail_on_no_media.patch (100%) rename meta/recipes-core/busybox/{busybox-1.20.2 => busybox-1.21.0}/get_header_tar.patch (100%)
rename meta/recipes-core/busybox/{busybox-1.20.2 => busybox-1.21.0}/login-utilities.cfg (100%)
rename meta/recipes-core/busybox/{busybox-1.20.2 => busybox-1.21.0}/run-parts.in.usr-bin.patch (90%) rename meta/recipes-core/busybox/{busybox-1.20.2 => busybox-1.21.0}/stat-usr-bin.patch (100%)
rename meta/recipes-core/busybox/{busybox-1.20.2 => busybox-1.21.0}/strict-atime.patch (100%)
rename meta/recipes-core/busybox/{busybox-1.20.2 => busybox-1.21.0}/testsuite-du-du-k-works-fix-false-positive.patch (100%) rename meta/recipes-core/busybox/{busybox-1.20.2 => busybox-1.21.0}/watch.in.usr-bin.patch (100%) rename meta/recipes-core/busybox/{busybox_1.20.2.bb => busybox_1.21.0.bb} (73%)

meta/recipes-core/busybox/busybox-1.20.2/B921600.patch deleted +0 -24
deleted file mode 100644
index c4d98e3..0000000
@@ -1,24 +0,0 @@
-Upstream-Status: Inappropriate [configuration]
-
-# copy commit message from OE as the patch comment:
-#    commit 5b1ed09b1ab1a60a28a76e4658bc9957cd361b5d
-#    Author: Valentin Longchamp <[email protected]>
-#    Date:   Mon Dec 8 14:43:23 2008 +0100
-
-#    busybox: added support for 921600 speed of serial line
-#
-# above comment added by Kevin Tian <[email protected]>, 2010-07-06
-
-diff -upNr busybox-1.7.2/libbb/speed_table.c busybox-1.7.2-921600/libbb/speed_table.c
---- busybox-1.7.2/libbb/speed_table.c	2007-09-03 13:48:41.000000000 +0200
-+++ busybox-1.7.2-921600/libbb/speed_table.c	2008-10-09 16:23:26.269592899 +0200
-@@ -52,6 +52,9 @@ static const struct speed_map speeds[] =
- #ifdef B460800
- 	{B460800, 460800/256 + 0x8000U},
- #endif
-+#ifdef B921600
-+	{B921600, 921600/256 + 0x8000U},
-+#endif
- };
-
- enum { NUM_SPEEDS = ARRAY_SIZE(speeds) };
meta/recipes-core/busybox/busybox-1.20.2/busybox-1.20.2-kernel_ver.patch deleted +0 -28
deleted file mode 100644
index 69bbe73..0000000
@@ -1,28 +0,0 @@
-Signed-off-by: Radu Moisan <[email protected]>
-Upstream-Status: Pending
-
---- busybox-1.20.2/libbb/kernel_version.c
-+++ busybox-1.20.2-kernel_ver/libbb/kernel_version.c
-@@ -20,18 +20,15 @@
- int FAST_FUNC get_linux_version_code(void)
- {
- 	struct utsname name;
--	char *s;
-+	char *s, *t;
- 	int i, r;
-
--	if (uname(&name) == -1) {
--		bb_perror_msg("can't get system information");
--		return 0;
--	}
--
-+	uname(&name); /* never fails */
- 	s = name.release;
- 	r = 0;
- 	for (i = 0; i < 3; i++) {
--		r = r * 256 + atoi(strtok(s, "."));
-+		t = strtok(s, ".");
-+		r = r * 256 + (t ? atoi(t) : 0);
- 		s = NULL;
- 	}
- 	return r;
meta/recipes-core/busybox/busybox-1.20.2/busybox-mkfs-minix-tests_bigendian.patch deleted +0 -34
deleted file mode 100644
index 089c5e0..0000000
@@ -1,34 +0,0 @@
-patch mkfs.minix.tests to have correct md5sum on big endian platform
-
-Upstream-Status: Accepted, expected in next release
-
-Signed-off-by: Yao Zhao <[email protected]>
-
-diff --git a/testsuite/mkfs.minix.tests b/testsuite/mkfs.minix.tests
-index 8a33c16..7eecaf2 100755
---- a/testsuite/mkfs.minix.tests
-+++ b/testsuite/mkfs.minix.tests
-@@ -8,6 +8,14 @@
-
- # testing "test name" "options" "expected result" "file input" "stdin"
-
-+# '\n' produces 10 on little endian, but not on big endian
-+cr=`echo | od -i | sed 's/.* //g;2d'`
-+if [ x"$cr" = x"10" ]; then
-+	hash=4f35f7afeba07d56055bed1f29ae20b7
-+else
-+	hash=5adbc1b3ccd20ca5d0ab5bc1e13ac3fc
-+fi
-+
- testing "mkfs.minix" \
- 	"dd if=/dev/zero of=input bs=1k count=1024 2>/dev/null; mkfs.minix input; md5sum <input" \
- "352 inodes\n"\
-@@ -15,7 +23,7 @@ testing "mkfs.minix" \
- "Firstdatazone=15 (15)\n"\
- "Zonesize=1024\n"\
- "Maxsize=268966912\n"\
--"4f35f7afeba07d56055bed1f29ae20b7  -\n" \
-+"$hash  -\n" \
- 	"" \
- 	""
-
meta/recipes-core/busybox/busybox-1.20.2/fix-for-spurious-testsuite-failure.patch deleted +0 -27
deleted file mode 100644
index b75eaac..0000000
@@ -1,27 +0,0 @@
-Backport the patch from:
-http://git.busybox.net/busybox/commit/?id=a5ee090e8651692545514a81a16c6cde3a2dc577
-
-From a5ee090e8651692545514a81a16c6cde3a2dc577 Mon Sep 17 00:00:00 2001
-From: Denys Vlasenko <[email protected]>
-Date: Thu, 10 May 2012 19:26:37 +0200
-Subject: [PATCH] fix for spurious testsuite failure
-
-Upstream-Status: Backport
-Signed-off-by: Denys Vlasenko <[email protected]>
----
- testsuite/du/du-k-works |    1 +
- 1 files changed, 1 insertions(+), 0 deletions(-)
-
-diff --git a/testsuite/du/du-k-works b/testsuite/du/du-k-works
-index 229a948..36dcaa8 100644
---- a/testsuite/du/du-k-works
-+++ b/testsuite/du/du-k-works
-@@ -3,4 +3,5 @@ cd du.testdir
- dd if=/dev/zero of=file1 bs=1k count=64 2>/dev/null
- dd if=/dev/zero of=file2 bs=1k count=16 2>/dev/null
- test x"`busybox du -k .`" = x"80	." \
-+  -o x"`busybox du -k .`" = x"84	." \
-   -o x"`busybox du -k .`" = x"88	."
---
-1.7.4.1
-
meta/recipes-core/busybox/busybox-1.20.2/sys_resource.patch deleted +0 -99
deleted file mode 100644
index bd55961..0000000
@@ -1,99 +0,0 @@
-Signed-off-by: Khem Raj <[email protected]>
-
-Upstream-Status: Pending
-
-From c5fe9f7b723f949457263ef8e22ab807d5b549ce Mon Sep 17 00:00:00 2001
-From: Mike Frysinger <[email protected]>
-Date: Fri, 06 Jul 2012 03:19:09 +0000
-Subject: include sys/resource.h where needed
-
-We use functions from sys/resource.h in misc applets, but don't include
-the header.  This breaks building with newer glibc versions, so add the
-include where needed.
-
-Signed-off-by: Mike Frysinger <[email protected]>
----
-Index: busybox-1.19.4/loginutils/passwd.c
-===================================================================
---- busybox-1.19.4.orig/loginutils/passwd.c	2012-02-04 11:34:24.000000000 -0800
-+++ busybox-1.19.4/loginutils/passwd.c	2012-07-06 17:48:27.388096092 -0700
-@@ -15,6 +15,7 @@
-
- #include "libbb.h"
- #include <syslog.h>
-+#include <sys/resource.h> /* setrlimit */
-
- static void nuke_str(char *str)
- {
-Index: busybox-1.19.4/miscutils/time.c
-===================================================================
---- busybox-1.19.4.orig/miscutils/time.c	2012-02-04 11:24:55.000000000 -0800
-+++ busybox-1.19.4/miscutils/time.c	2012-07-06 17:48:27.388096092 -0700
-@@ -16,6 +16,7 @@
- //usage:     "\n	-v	Verbose"
-
- #include "libbb.h"
-+#include <sys/resource.h> /* getrusage */
-
- /* Information on the resources used by a child process.  */
- typedef struct {
-Index: busybox-1.19.4/networking/inetd.c
-===================================================================
---- busybox-1.19.4.orig/networking/inetd.c	2012-02-04 11:34:24.000000000 -0800
-+++ busybox-1.19.4/networking/inetd.c	2012-07-06 17:48:54.852097259 -0700
-@@ -165,6 +165,7 @@
- //usage:     "\n		(default: 0 - disabled)"
-
- #include <syslog.h>
-+#include <sys/resource.h> /* setrlimit */
- #include <sys/un.h>
-
- #include "libbb.h"
-Index: busybox-1.19.4/networking/ntpd.c
-===================================================================
---- busybox-1.19.4.orig/networking/ntpd.c	2012-02-04 11:24:55.000000000 -0800
-+++ busybox-1.19.4/networking/ntpd.c	2012-07-06 17:48:27.392096048 -0700
-@@ -46,6 +46,7 @@
- #include "libbb.h"
- #include <math.h>
- #include <netinet/ip.h> /* For IPTOS_LOWDELAY definition */
-+#include <sys/resource.h> /* setpriority */
- #include <sys/timex.h>
- #ifndef IPTOS_LOWDELAY
- # define IPTOS_LOWDELAY 0x10
-Index: busybox-1.19.4/networking/ntpd_simple.c
-===================================================================
---- busybox-1.19.4.orig/networking/ntpd_simple.c	2012-02-04 11:24:55.000000000 -0800
-+++ busybox-1.19.4/networking/ntpd_simple.c	2012-07-06 17:48:27.400095949 -0700
-@@ -7,6 +7,7 @@
-  */
- #include "libbb.h"
- #include <netinet/ip.h> /* For IPTOS_LOWDELAY definition */
-+#include <sys/resource.h> /* setpriority */
- #ifndef IPTOS_LOWDELAY
- # define IPTOS_LOWDELAY 0x10
- #endif
-Index: busybox-1.19.4/runit/chpst.c
-===================================================================
---- busybox-1.19.4.orig/runit/chpst.c	2012-02-04 11:34:24.000000000 -0800
-+++ busybox-1.19.4/runit/chpst.c	2012-07-06 17:48:27.400095949 -0700
-@@ -91,6 +91,7 @@
- //usage:     "\n			a SIGXCPU after N seconds"
-
- #include "libbb.h"
-+#include <sys/resource.h> /* getrlimit */
-
- /*
- Five applets here: chpst, envdir, envuidgid, setuidgid, softlimit.
-Index: busybox-1.19.4/shell/shell_common.c
-===================================================================
---- busybox-1.19.4.orig/shell/shell_common.c	2012-02-04 11:34:24.000000000 -0800
-+++ busybox-1.19.4/shell/shell_common.c	2012-07-06 17:48:27.400095949 -0700
-@@ -18,6 +18,7 @@
-  */
- #include "libbb.h"
- #include "shell_common.h"
-+#include <sys/resource.h> /* getrlimit */
-
- const char defifsvar[] ALIGN1 = "IFS= \t\n";
-
meta/recipes-core/busybox/busybox-1.20.2/wget_dl_dir_fix.patch deleted +0 -30
deleted file mode 100644
index 3003965..0000000
@@ -1,30 +0,0 @@
-In cases where busybox wget is invoked with -P <...> and the url ends
-in "/", the download directory is ignored (ie the file index.html is
-implied), this change enables the -P option for those urls.
-
-Signed-off-by: Amy Fong <[email protected]>
-Upstream-Status: Submitted
----
- networking/wget.c |   10 +++++++---
- 1 file changed, 7 insertions(+), 3 deletions(-)
-
---- a/networking/wget.c
-+++ b/networking/wget.c
-@@ -589,10 +589,14 @@
- 	if (!(option_mask32 & WGET_OPT_OUTNAME)) {
- 		G.fname_out = bb_get_last_path_component_nostrip(target.path);
- 		/* handle "wget http://kernel.org//" */
--		if (G.fname_out[0] == '/' || !G.fname_out[0])
--			G.fname_out = (char*)"index.html";
-+		if (G.fname_out[0] == '/' || !G.fname_out[0]) {
-+			/* bug: if we provide a default name, we should still look at -P option */
-+			if (G.dir_prefix)
-+				G.fname_out = fname_out_alloc = concat_path_file(G.dir_prefix, "index.html");
-+			else
-+				G.fname_out = (char*)"index.html";
- 		/* -P DIR is considered only if there was no -O FILE */
--		else {
-+		} else {
- 			if (G.dir_prefix)
- 				G.fname_out = fname_out_alloc = concat_path_file(G.dir_prefix, G.fname_out);
- 			else {
meta/recipes-core/busybox/busybox-1.21.0/busybox-1.21.0-mdev.patch new file +647 -0
new file mode 100644
index 0000000..a01ec08
@@ -0,0 +1,647 @@
+http://busybox.net/downloads/fixes-1.21.0/
+
+Upstream-Status: Pending
+Signed-off-by: Radu Moisan <[email protected]>
+--- busybox-1.21.0/util-linux/mdev.c
++++ busybox-1.21.0-mdev/util-linux/mdev.c
+@@ -80,7 +80,7 @@
+ //usage:	IF_FEATURE_MDEV_CONF(
+ //usage:       "\n"
+ //usage:       "It uses /etc/mdev.conf with lines\n"
+-//usage:       "	[-]DEVNAME UID:GID PERM"
++//usage:       "	[-][ENV=regex;]...DEVNAME UID:GID PERM"
+ //usage:			IF_FEATURE_MDEV_RENAME(" [>|=PATH]|[!]")
+ //usage:			IF_FEATURE_MDEV_EXEC(" [@|$|*PROG]")
+ //usage:       "\n"
+@@ -230,9 +230,34 @@
+  * SUBSYSTEM=block
+  */
+
+-static const char keywords[] ALIGN1 = "add\0remove\0change\0";
++#define DEBUG_LVL 2
++
++#if DEBUG_LVL >= 1
++# define dbg1(...) do { if (G.verbose) bb_error_msg(__VA_ARGS__); } while(0)
++#else
++# define dbg1(...) ((void)0)
++#endif
++#if DEBUG_LVL >= 2
++# define dbg2(...) do { if (G.verbose >= 2) bb_error_msg(__VA_ARGS__); } while(0)
++#else
++# define dbg2(...) ((void)0)
++#endif
++#if DEBUG_LVL >= 3
++# define dbg3(...) do { if (G.verbose >= 3) bb_error_msg(__VA_ARGS__); } while(0)
++#else
++# define dbg3(...) ((void)0)
++#endif
++
++
++static const char keywords[] ALIGN1 = "add\0remove\0"; // "change\0"
+ enum { OP_add, OP_remove };
+
++struct envmatch {
++	struct envmatch *next;
++	char *envname;
++	regex_t match;
++};
++
+ struct rule {
+ 	bool keep_matching;
+ 	bool regex_compiled;
+@@ -243,12 +268,14 @@ struct rule {
+ 	char *ren_mov;
+ 	IF_FEATURE_MDEV_EXEC(char *r_cmd;)
+ 	regex_t match;
++	struct envmatch *envmatch;
+ };
+
+ struct globals {
+ 	int root_major, root_minor;
+ 	smallint verbose;
+ 	char *subsystem;
++	char *subsys_env; /* for putenv("SUBSYSTEM=subsystem") */
+ #if ENABLE_FEATURE_MDEV_CONF
+ 	const char *filename;
+ 	parser_t *parser;
+@@ -256,6 +283,7 @@ struct globals {
+ 	unsigned rule_idx;
+ #endif
+ 	struct rule cur_rule;
++	char timestr[sizeof("60.123456")];
+ } FIX_ALIASING;
+ #define G (*(struct globals*)&bb_common_bufsiz1)
+ #define INIT_G() do { \
+@@ -270,13 +298,6 @@ struct globals {
+ /* We use additional 64+ bytes in make_device() */
+ #define SCRATCH_SIZE 80
+
+-#if 0
+-# define dbg(...) bb_error_msg(__VA_ARGS__)
+-#else
+-# define dbg(...) ((void)0)
+-#endif
+-
+-
+ #if ENABLE_FEATURE_MDEV_CONF
+
+ static void make_default_cur_rule(void)
+@@ -288,14 +309,65 @@ static void make_default_cur_rule(void)
+
+ static void clean_up_cur_rule(void)
+ {
++	struct envmatch *e;
++
+ 	free(G.cur_rule.envvar);
++	free(G.cur_rule.ren_mov);
+ 	if (G.cur_rule.regex_compiled)
+ 		regfree(&G.cur_rule.match);
+-	free(G.cur_rule.ren_mov);
+ 	IF_FEATURE_MDEV_EXEC(free(G.cur_rule.r_cmd);)
++	e = G.cur_rule.envmatch;
++	while (e) {
++		free(e->envname);
++		regfree(&e->match);
++		e = e->next;
++	}
+ 	make_default_cur_rule();
+ }
+
++/* In later versions, endofname is in libbb */
++#define endofname mdev_endofname
++static
++const char* FAST_FUNC
++endofname(const char *name)
++{
++#define is_name(c)      ((c) == '_' || isalpha((unsigned char)(c)))
++#define is_in_name(c)   ((c) == '_' || isalnum((unsigned char)(c)))
++	if (!is_name(*name))
++		return name;
++	while (*++name) {
++		if (!is_in_name(*name))
++			break;
++	}
++	return name;
++}
++
++static char *parse_envmatch_pfx(char *val)
++{
++	struct envmatch **nextp = &G.cur_rule.envmatch;
++
++	for (;;) {
++		struct envmatch *e;
++		char *semicolon;
++		char *eq = strchr(val, '=');
++		if (!eq /* || eq == val? */)
++			return val;
++		if (endofname(val) != eq)
++			return val;
++		semicolon = strchr(eq, ';');
++		if (!semicolon)
++			return val;
++		/* ENVVAR=regex;... */
++		*nextp = e = xzalloc(sizeof(*e));
++		nextp = &e->next;
++		e->envname = xstrndup(val, eq - val);
++		*semicolon = '\0';
++		xregcomp(&e->match, eq + 1, REG_EXTENDED);
++		*semicolon = ';';
++		val = semicolon + 1;
++	}
++}
++
+ static void parse_next_rule(void)
+ {
+ 	/* Note: on entry, G.cur_rule is set to default */
+@@ -308,12 +380,13 @@ static void parse_next_rule(void)
+ 			break;
+
+ 		/* Fields: [-]regex uid:gid mode [alias] [cmd] */
+-		dbg("token1:'%s'", tokens[1]);
++		dbg3("token1:'%s'", tokens[1]);
+
+ 		/* 1st field */
+ 		val = tokens[0];
+ 		G.cur_rule.keep_matching = ('-' == val[0]);
+ 		val += G.cur_rule.keep_matching; /* swallow leading dash */
++		val = parse_envmatch_pfx(val);
+ 		if (val[0] == '@') {
+ 			/* @major,minor[-minor2] */
+ 			/* (useful when name is ambiguous:
+@@ -328,8 +401,10 @@ static void parse_next_rule(void)
+ 			if (sc == 2)
+ 				G.cur_rule.min1 = G.cur_rule.min0;
+ 		} else {
++			char *eq = strchr(val, '=');
+ 			if (val[0] == '$') {
+-				char *eq = strchr(++val, '=');
++				/* $ENVVAR=regex ... */
++				val++;
+ 				if (!eq) {
+ 					bb_error_msg("bad $envvar=regex on line %d", G.parser->lineno);
+ 					goto next_rule;
+@@ -373,7 +448,7 @@ static void parse_next_rule(void)
+ 		clean_up_cur_rule();
+ 	} /* while (config_read) */
+
+-	dbg("config_close(G.parser)");
++	dbg3("config_close(G.parser)");
+ 	config_close(G.parser);
+ 	G.parser = NULL;
+
+@@ -390,7 +465,7 @@ static const struct rule *next_rule(void
+
+ 	/* Open conf file if we didn't do it yet */
+ 	if (!G.parser && G.filename) {
+-		dbg("config_open('%s')", G.filename);
++		dbg3("config_open('%s')", G.filename);
+ 		G.parser = config_open2(G.filename, fopen_for_read);
+ 		G.filename = NULL;
+ 	}
+@@ -399,7 +474,7 @@ static const struct rule *next_rule(void
+ 		/* mdev -s */
+ 		/* Do we have rule parsed already? */
+ 		if (G.rule_vec[G.rule_idx]) {
+-			dbg("< G.rule_vec[G.rule_idx:%d]=%p", G.rule_idx, G.rule_vec[G.rule_idx]);
++			dbg3("< G.rule_vec[G.rule_idx:%d]=%p", G.rule_idx, G.rule_vec[G.rule_idx]);
+ 			return G.rule_vec[G.rule_idx++];
+ 		}
+ 		make_default_cur_rule();
+@@ -416,13 +491,28 @@ static const struct rule *next_rule(void
+ 			rule = memcpy(xmalloc(sizeof(G.cur_rule)), &G.cur_rule, sizeof(G.cur_rule));
+ 			G.rule_vec = xrealloc_vector(G.rule_vec, 4, G.rule_idx);
+ 			G.rule_vec[G.rule_idx++] = rule;
+-			dbg("> G.rule_vec[G.rule_idx:%d]=%p", G.rule_idx, G.rule_vec[G.rule_idx]);
++			dbg3("> G.rule_vec[G.rule_idx:%d]=%p", G.rule_idx, G.rule_vec[G.rule_idx]);
+ 		}
+ 	}
+
+ 	return rule;
+ }
+
++static int env_matches(struct envmatch *e)
++{
++	while (e) {
++		int r;
++		char *val = getenv(e->envname);
++		if (!val)
++			return 0;
++		r = regexec(&e->match, val, /*size*/ 0, /*range[]*/ NULL, /*eflags*/ 0);
++		if (r != 0) /* no match */
++			return 0;
++		e = e->next;
++	}
++	return 1;
++}
++
+ #else
+
+ # define next_rule() (&G.cur_rule)
+@@ -479,9 +569,6 @@ static void make_device(char *device_nam
+ {
+ 	int major, minor, type, len;
+
+-	if (G.verbose)
+-		bb_error_msg("device: %s, %s", device_name, path);
+-
+ 	/* Try to read major/minor string.  Note that the kernel puts \n after
+ 	 * the data, so we don't need to worry about null terminating the string
+ 	 * because sscanf() will stop at the first nondigit, which \n is.
+@@ -500,8 +587,7 @@ static void make_device(char *device_nam
+ 			/* no "dev" file, but we can still run scripts
+ 			 * based on device name */
+ 		} else if (sscanf(++dev_maj_min, "%u:%u", &major, &minor) == 2) {
+-			if (G.verbose)
+-				bb_error_msg("maj,min: %u,%u", major, minor);
++			dbg1("dev %u,%u", major, minor);
+ 		} else {
+ 			major = -1;
+ 		}
+@@ -511,7 +597,8 @@ static void make_device(char *device_nam
+ 	/* Determine device name, type, major and minor */
+ 	if (!device_name)
+ 		device_name = (char*) bb_basename(path);
+-	/* http://kernel.org/doc/pending/hotplug.txt says that only
++	/*
++	 * http://kernel.org/doc/pending/hotplug.txt says that only
+ 	 * "/sys/block/..." is for block devices. "/sys/bus" etc is not.
+ 	 * But since 2.6.25 block devices are also in /sys/class/block.
+ 	 * We use strstr("/block/") to forestall future surprises.
+@@ -537,6 +624,8 @@ static void make_device(char *device_nam
+ 		rule = next_rule();
+
+ #if ENABLE_FEATURE_MDEV_CONF
++		if (!env_matches(rule->envmatch))
++			continue;
+ 		if (rule->maj >= 0) {  /* @maj,min rule */
+ 			if (major != rule->maj)
+ 				continue;
+@@ -547,7 +636,7 @@ static void make_device(char *device_nam
+ 		}
+ 		if (rule->envvar) { /* $envvar=regex rule */
+ 			str_to_match = getenv(rule->envvar);
+-			dbg("getenv('%s'):'%s'", rule->envvar, str_to_match);
++			dbg3("getenv('%s'):'%s'", rule->envvar, str_to_match);
+ 			if (!str_to_match)
+ 				continue;
+ 		}
+@@ -555,7 +644,7 @@ static void make_device(char *device_nam
+
+ 		if (rule->regex_compiled) {
+ 			int regex_match = regexec(&rule->match, str_to_match, ARRAY_SIZE(off), off, 0);
+-			dbg("regex_match for '%s':%d", str_to_match, regex_match);
++			dbg3("regex_match for '%s':%d", str_to_match, regex_match);
+ 			//bb_error_msg("matches:");
+ 			//for (int i = 0; i < ARRAY_SIZE(off); i++) {
+ 			//	if (off[i].rm_so < 0) continue;
+@@ -574,9 +663,8 @@ static void make_device(char *device_nam
+ 		}
+ 		/* else: it's final implicit "match-all" rule */
+  rule_matches:
++		dbg2("rule matched, line %d", G.parser ? G.parser->lineno : -1);
+ #endif
+-		dbg("rule matched");
+-
+ 		/* Build alias name */
+ 		alias = NULL;
+ 		if (ENABLE_FEATURE_MDEV_RENAME && rule->ren_mov) {
+@@ -619,34 +707,30 @@ static void make_device(char *device_nam
+ 				}
+ 			}
+ 		}
+-		dbg("alias:'%s'", alias);
++		dbg3("alias:'%s'", alias);
+
+ 		command = NULL;
+ 		IF_FEATURE_MDEV_EXEC(command = rule->r_cmd;)
+ 		if (command) {
+-			const char *s = "$@*";
+-			const char *s2 = strchr(s, command[0]);
+-
+ 			/* Are we running this command now?
+-			 * Run $cmd on delete, @cmd on create, *cmd on both
++			 * Run @cmd on create, $cmd on delete, *cmd on any
+ 			 */
+-			if (s2 - s != (operation == OP_remove) || *s2 == '*') {
+-				/* We are here if: '*',
+-				 * or: '@' and delete = 0,
+-				 * or: '$' and delete = 1
+-				 */
++			if ((command[0] == '@' && operation == OP_add)
++			 || (command[0] == '$' && operation == OP_remove)
++			 || (command[0] == '*')
++			) {
+ 				command++;
+ 			} else {
+ 				command = NULL;
+ 			}
+ 		}
+-		dbg("command:'%s'", command);
++		dbg3("command:'%s'", command);
+
+ 		/* "Execute" the line we found */
+ 		node_name = device_name;
+ 		if (ENABLE_FEATURE_MDEV_RENAME && alias) {
+ 			node_name = alias = build_alias(alias, device_name);
+-			dbg("alias2:'%s'", alias);
++			dbg3("alias2:'%s'", alias);
+ 		}
+
+ 		if (operation == OP_add && major >= 0) {
+@@ -656,8 +740,17 @@ static void make_device(char *device_nam
+ 				mkdir_recursive(node_name);
+ 				*slash = '/';
+ 			}
+-			if (G.verbose)
+-				bb_error_msg("mknod: %s (%d,%d) %o", node_name, major, minor, rule->mode | type);
++			if (ENABLE_FEATURE_MDEV_CONF) {
++				dbg1("mknod %s (%d,%d) %o"
++					" %u:%u",
++					node_name, major, minor, rule->mode | type,
++					rule->ugid.uid, rule->ugid.gid
++				);
++			} else {
++				dbg1("mknod %s (%d,%d) %o",
++					node_name, major, minor, rule->mode | type
++				);
++			}
+ 			if (mknod(node_name, rule->mode | type, makedev(major, minor)) && errno != EEXIST)
+ 				bb_perror_msg("can't create '%s'", node_name);
+ 			if (ENABLE_FEATURE_MDEV_CONF) {
+@@ -671,8 +764,7 @@ static void make_device(char *device_nam
+ //TODO: on devtmpfs, device_name already exists and symlink() fails.
+ //End result is that instead of symlink, we have two nodes.
+ //What should be done?
+-					if (G.verbose)
+-						bb_error_msg("symlink: %s", device_name);
++					dbg1("symlink: %s", device_name);
+ 					symlink(node_name, device_name);
+ 				}
+ 			}
+@@ -681,27 +773,21 @@ static void make_device(char *device_nam
+ 		if (ENABLE_FEATURE_MDEV_EXEC && command) {
+ 			/* setenv will leak memory, use putenv/unsetenv/free */
+ 			char *s = xasprintf("%s=%s", "MDEV", node_name);
+-			char *s1 = xasprintf("%s=%s", "SUBSYSTEM", G.subsystem);
+ 			putenv(s);
+-			putenv(s1);
+-			if (G.verbose)
+-				bb_error_msg("running: %s", command);
++			dbg1("running: %s", command);
+ 			if (system(command) == -1)
+ 				bb_perror_msg("can't run '%s'", command);
+-			bb_unsetenv_and_free(s1);
+ 			bb_unsetenv_and_free(s);
+ 		}
+
+ 		if (operation == OP_remove && major >= -1) {
+ 			if (ENABLE_FEATURE_MDEV_RENAME && alias) {
+ 				if (aliaslink == '>') {
+-					if (G.verbose)
+-						bb_error_msg("unlink: %s", device_name);
++					dbg1("unlink: %s", device_name);
+ 					unlink(device_name);
+ 				}
+ 			}
+-			if (G.verbose)
+-				bb_error_msg("unlink: %s", node_name);
++			dbg1("unlink: %s", node_name);
+ 			unlink(node_name);
+ 		}
+
+@@ -746,9 +832,16 @@ static int FAST_FUNC dirAction(const cha
+ 	 * under /sys/class/ */
+ 	if (1 == depth) {
+ 		free(G.subsystem);
++		if (G.subsys_env) {
++			bb_unsetenv_and_free(G.subsys_env);
++			G.subsys_env = NULL;
++		}
+ 		G.subsystem = strrchr(fileName, '/');
+-		if (G.subsystem)
++		if (G.subsystem) {
+ 			G.subsystem = xstrdup(G.subsystem + 1);
++			G.subsys_env = xasprintf("%s=%s", "SUBSYSTEM", G.subsystem);
++			putenv(G.subsys_env);
++		}
+ 	}
+
+ 	return (depth >= MAX_SYSFS_DEPTH ? SKIP : TRUE);
+@@ -813,12 +906,107 @@ static void load_firmware(const char *fi
+ 		full_write(loading_fd, "-1", 2);
+
+  out:
++	xchdir("/dev");
+ 	if (ENABLE_FEATURE_CLEAN_UP) {
+ 		close(firmware_fd);
+ 		close(loading_fd);
+ 	}
+ }
+
++static char *curtime(void)
++{
++	struct timeval tv;
++	gettimeofday(&tv, NULL);
++	sprintf(G.timestr, "%u.%06u", (unsigned)tv.tv_sec % 60, (unsigned)tv.tv_usec);
++	return G.timestr;
++}
++
++static void open_mdev_log(const char *seq, unsigned my_pid)
++{
++	int logfd = open("mdev.log", O_WRONLY | O_APPEND);
++	if (logfd >= 0) {
++		xmove_fd(logfd, STDERR_FILENO);
++		G.verbose = 2;
++		applet_name = xasprintf("%s[%s]", applet_name, seq ? seq : utoa(my_pid));
++	}
++}
++
++/* If it exists, does /dev/mdev.seq match $SEQNUM?
++ * If it does not match, earlier mdev is running
++ * in parallel, and we need to wait.
++ * Active mdev pokes us with SIGCHLD to check the new file.
++ */
++static int
++wait_for_seqfile(const char *seq)
++{
++	/* We time out after 2 sec */
++	static const struct timespec ts = { 0, 32*1000*1000 };
++	int timeout = 2000 / 32;
++	int seq_fd = -1;
++	int do_once = 1;
++	sigset_t set_CHLD;
++
++	sigemptyset(&set_CHLD);
++	sigaddset(&set_CHLD, SIGCHLD);
++	sigprocmask(SIG_BLOCK, &set_CHLD, NULL);
++
++	for (;;) {
++		int seqlen;
++		char seqbuf[sizeof(int)*3 + 2];
++
++		if (seq_fd < 0) {
++			seq_fd = open("mdev.seq", O_RDWR);
++			if (seq_fd < 0)
++				break;
++		}
++		seqlen = pread(seq_fd, seqbuf, sizeof(seqbuf) - 1, 0);
++		if (seqlen < 0) {
++			close(seq_fd);
++			seq_fd = -1;
++			break;
++		}
++		seqbuf[seqlen] = '\0';
++		if (seqbuf[0] == '\n') {
++			/* seed file: write out seq ASAP */
++			xwrite_str(seq_fd, seq);
++			xlseek(seq_fd, 0, SEEK_SET);
++			dbg2("first seq written");
++			break;
++		}
++		if (strcmp(seq, seqbuf) == 0) {
++			/* correct idx */
++			break;
++		}
++		if (do_once) {
++			dbg2("%s waiting for '%s'", curtime(), seqbuf);
++			do_once = 0;
++		}
++		if (sigtimedwait(&set_CHLD, NULL, &ts) >= 0) {
++			dbg3("woken up");
++			continue; /* don't decrement timeout! */
++		}
++		if (--timeout == 0) {
++			dbg1("%s waiting for '%s'", "timed out", seqbuf);
++			break;
++		}
++	}
++	sigprocmask(SIG_UNBLOCK, &set_CHLD, NULL);
++	return seq_fd;
++}
++
++static void signal_mdevs(unsigned my_pid)
++{
++	procps_status_t* p = NULL;
++	while ((p = procps_scan(p, PSSCAN_ARGV0)) != NULL) {
++		if (p->pid != my_pid
++		 && p->argv0
++		 && strcmp(bb_basename(p->argv0), "mdev") == 0
++		) {
++			kill(p->pid, SIGCHLD);
++		}
++	}
++}
++
+ int mdev_main(int argc, char **argv) MAIN_EXTERNALLY_VISIBLE;
+ int mdev_main(int argc UNUSED_PARAM, char **argv)
+ {
+@@ -840,8 +1028,8 @@ int mdev_main(int argc UNUSED_PARAM, cha
+ 	xchdir("/dev");
+
+ 	if (argv[1] && strcmp(argv[1], "-s") == 0) {
+-		/* Scan:
+-		 * mdev -s
++		/*
++		 * Scan: mdev -s
+ 		 */
+ 		struct stat st;
+
+@@ -853,6 +1041,8 @@ int mdev_main(int argc UNUSED_PARAM, cha
+ 		G.root_major = major(st.st_dev);
+ 		G.root_minor = minor(st.st_dev);
+
++		putenv((char*)"ACTION=add");
++
+ 		/* ACTION_FOLLOWLINKS is needed since in newer kernels
+ 		 * /sys/block/loop* (for example) are symlinks to dirs,
+ 		 * not real directories.
+@@ -878,11 +1068,13 @@ int mdev_main(int argc UNUSED_PARAM, cha
+ 		char *action;
+ 		char *env_devname;
+ 		char *env_devpath;
++		unsigned my_pid;
++		int seq_fd;
+ 		smalluint op;
+
+ 		/* Hotplug:
+ 		 * env ACTION=... DEVPATH=... SUBSYSTEM=... [SEQNUM=...] mdev
+-		 * ACTION can be "add" or "remove"
++		 * ACTION can be "add", "remove", "change"
+ 		 * DEVPATH is like "/block/sda" or "/class/input/mice"
+ 		 */
+ 		action = getenv("ACTION");
+@@ -893,39 +1085,20 @@ int mdev_main(int argc UNUSED_PARAM, cha
+ 		if (!action || !env_devpath /*|| !G.subsystem*/)
+ 			bb_show_usage();
+ 		fw = getenv("FIRMWARE");
+-		/* If it exists, does /dev/mdev.seq match $SEQNUM?
+-		 * If it does not match, earlier mdev is running
+-		 * in parallel, and we need to wait */
+ 		seq = getenv("SEQNUM");
+-		if (seq) {
+-			int timeout = 2000 / 32; /* 2000 msec */
+-			do {
+-				int seqlen;
+-				char seqbuf[sizeof(int)*3 + 2];
+-
+-				seqlen = open_read_close("mdev.seq", seqbuf, sizeof(seqbuf) - 1);
+-				if (seqlen < 0) {
+-					seq = NULL;
+-					break;
+-				}
+-				seqbuf[seqlen] = '\0';
+-				if (seqbuf[0] == '\n' /* seed file? */
+-				 || strcmp(seq, seqbuf) == 0 /* correct idx? */
+-				) {
+-					break;
+-				}
+-				usleep(32*1000);
+-			} while (--timeout);
+-		}
+
+-		{
+-			int logfd = open("/dev/mdev.log", O_WRONLY | O_APPEND);
+-			if (logfd >= 0) {
+-				xmove_fd(logfd, STDERR_FILENO);
+-				G.verbose = 1;
+-				bb_error_msg("seq: %s action: %s", seq, action);
+-			}
+-		}
++		my_pid = getpid();
++		open_mdev_log(seq, my_pid);
++
++		seq_fd = seq ? wait_for_seqfile(seq) : -1;
++
++		dbg1("%s "
++			"ACTION:%s SUBSYSTEM:%s DEVNAME:%s DEVPATH:%s"
++			"%s%s",
++			curtime(),
++			action, G.subsystem, env_devname, env_devpath,
++			fw ? " FW:" : "", fw ? fw : ""
++		);
+
+ 		snprintf(temp, PATH_MAX, "/sys%s", env_devpath);
+ 		if (op == OP_remove) {
+@@ -935,16 +1108,18 @@ int mdev_main(int argc UNUSED_PARAM, cha
+ 			if (!fw)
+ 				make_device(env_devname, temp, op);
+ 		}
+-		else if (op == OP_add) {
++		else {
+ 			make_device(env_devname, temp, op);
+ 			if (ENABLE_FEATURE_MDEV_LOAD_FIRMWARE) {
+-				if (fw)
++				if (op == OP_add && fw)
+ 					load_firmware(fw, temp);
+ 			}
+ 		}
+
+-		if (seq) {
+-			xopen_xwrite_close("mdev.seq", utoa(xatou(seq) + 1));
++		dbg1("%s exiting", curtime());
++		if (seq_fd >= 0) {
++			xwrite_str(seq_fd, utoa(xatou(seq) + 1));
++			signal_mdevs(my_pid);
+ 		}
+ 	}
+
meta/recipes-core/busybox/busybox-1.21.0/busybox-1.21.0-platform.patch new file +28 -0
new file mode 100644
index 0000000..f0a4230
@@ -0,0 +1,28 @@
+http://busybox.net/downloads/fixes-1.21.0/
+
+Upstream-Status: Pending
+Signed-off-by: Radu Moisan <[email protected]>
+--- busybox-1.21.0/archival/libarchive/decompress_unxz.c
++++ busybox-1.21.0-platform/archival/libarchive/decompress_unxz.c
+@@ -30,8 +30,8 @@ static uint32_t xz_crc32(const uint8_t *
+ /* We use arch-optimized unaligned accessors */
+ #define get_unaligned_le32(buf) ({ uint32_t v; move_from_unaligned32(v, buf); SWAP_LE32(v); })
+ #define get_unaligned_be32(buf) ({ uint32_t v; move_from_unaligned32(v, buf); SWAP_BE32(v); })
+-#define put_unaligned_le32(val, buf) move_to_unaligned16(buf, SWAP_LE32(val))
+-#define put_unaligned_be32(val, buf) move_to_unaligned16(buf, SWAP_BE32(val))
++#define put_unaligned_le32(val, buf) move_to_unaligned32(buf, SWAP_LE32(val))
++#define put_unaligned_be32(val, buf) move_to_unaligned32(buf, SWAP_BE32(val))
+
+ #include "unxz/xz_dec_bcj.c"
+ #include "unxz/xz_dec_lzma2.c"
+--- busybox-1.21.0/include/platform.h
++++ busybox-1.21.0-platform/include/platform.h
+@@ -228,7 +228,7 @@ typedef uint32_t bb__aliased_uint32_t FI
+ # define move_from_unaligned32(v, u32p) (memcpy(&(v), (u32p), 4))
+ # define move_to_unaligned16(u16p, v) do { \
+ 	uint16_t __t = (v); \
+-	memcpy((u16p), &__t, 4); \
++	memcpy((u16p), &__t, 2); \
+ } while (0)
+ # define move_to_unaligned32(u32p, v) do { \
+ 	uint32_t __t = (v); \
meta/recipes-core/busybox/busybox-1.21.0/busybox-1.21.0-xz.patch new file +88 -0
new file mode 100644
index 0000000..b8cda06
@@ -0,0 +1,88 @@
+http://busybox.net/downloads/fixes-1.21.0/
+
+Upstream-Status: Pending
+Signed-off-by: Radu Moisan <[email protected]>
+--- busybox-1.21.0/archival/libarchive/decompress_unxz.c
++++ busybox-1.21.0-xz/archival/libarchive/decompress_unxz.c
+@@ -40,6 +40,7 @@ static uint32_t xz_crc32(const uint8_t *
+ IF_DESKTOP(long long) int FAST_FUNC
+ unpack_xz_stream(transformer_aux_data_t *aux, int src_fd, int dst_fd)
+ {
++	enum xz_ret xz_result;
+ 	struct xz_buf iobuf;
+ 	struct xz_dec *state;
+ 	unsigned char *membuf;
+@@ -63,9 +64,8 @@ unpack_xz_stream(transformer_aux_data_t
+ 	/* Limit memory usage to about 64 MiB. */
+ 	state = xz_dec_init(XZ_DYNALLOC, 64*1024*1024);
+
++	xz_result = X_OK;
+ 	while (1) {
+-		enum xz_ret r;
+-
+ 		if (iobuf.in_pos == iobuf.in_size) {
+ 			int rd = safe_read(src_fd, membuf, BUFSIZ);
+ 			if (rd < 0) {
+@@ -73,28 +73,57 @@ unpack_xz_stream(transformer_aux_data_t
+ 				total = -1;
+ 				break;
+ 			}
++			if (rd == 0 && xz_result == XZ_STREAM_END)
++				break;
+ 			iobuf.in_size = rd;
+ 			iobuf.in_pos = 0;
+ 		}
++		if (xz_result == XZ_STREAM_END) {
++			/*
++			 * Try to start decoding next concatenated stream.
++			 * Stream padding must always be a multiple of four
++			 * bytes to preserve four-byte alignment. To keep the
++			 * code slightly smaller, we aren't as strict here as
++			 * the .xz spec requires. We just skip all zero-bytes
++			 * without checking the alignment and thus can accept
++			 * files that aren't valid, e.g. the XZ utils test
++			 * files bad-0pad-empty.xz and bad-0catpad-empty.xz.
++			 */
++			do {
++				if (membuf[iobuf.in_pos] != 0) {
++					xz_dec_reset(state);
++					goto do_run;
++				}
++				iobuf.in_pos++;
++			} while (iobuf.in_pos < iobuf.in_size);
++		}
++ do_run:
+ //		bb_error_msg(">in pos:%d size:%d out pos:%d size:%d",
+ //				iobuf.in_pos, iobuf.in_size, iobuf.out_pos, iobuf.out_size);
+-		r = xz_dec_run(state, &iobuf);
++		xz_result = xz_dec_run(state, &iobuf);
+ //		bb_error_msg("<in pos:%d size:%d out pos:%d size:%d r:%d",
+-//				iobuf.in_pos, iobuf.in_size, iobuf.out_pos, iobuf.out_size, r);
++//				iobuf.in_pos, iobuf.in_size, iobuf.out_pos, iobuf.out_size, xz_result);
+ 		if (iobuf.out_pos) {
+ 			xwrite(dst_fd, iobuf.out, iobuf.out_pos);
+ 			IF_DESKTOP(total += iobuf.out_pos;)
+ 			iobuf.out_pos = 0;
+ 		}
+-		if (r == XZ_STREAM_END) {
+-			break;
++		if (xz_result == XZ_STREAM_END) {
++			/*
++			 * Can just "break;" here, if not for concatenated
++			 * .xz streams.
++			 * Checking for padding may require buffer
++			 * replenishment. Can't do it here.
++			 */
++			continue;
+ 		}
+-		if (r != XZ_OK && r != XZ_UNSUPPORTED_CHECK) {
++		if (xz_result != XZ_OK && xz_result != XZ_UNSUPPORTED_CHECK) {
+ 			bb_error_msg("corrupted data");
+ 			total = -1;
+ 			break;
+ 		}
+ 	}
++
+ 	xz_dec_end(state);
+ 	free(membuf);
+
meta/recipes-core/busybox/busybox-1.21.0/busybox-appletlib-dependency.patch renamed from meta/recipes-core/busybox/busybox-1.20.2/busybox-appletlib-dependency.patch +0 -0
similarity index 100%
rename from meta/recipes-core/busybox/busybox-1.20.2/busybox-appletlib-dependency.patch
rename to meta/recipes-core/busybox/busybox-1.21.0/busybox-appletlib-dependency.patch
meta/recipes-core/busybox/busybox-1.21.0/busybox-list-suid-and-non-suid-app-configs.patch renamed from meta/recipes-core/busybox/busybox-1.20.2/busybox-list-suid-and-non-suid-app-configs.patch +0 -0
similarity index 100%
rename from meta/recipes-core/busybox/busybox-1.20.2/busybox-list-suid-and-non-suid-app-configs.patch
rename to meta/recipes-core/busybox/busybox-1.21.0/busybox-list-suid-and-non-suid-app-configs.patch
meta/recipes-core/busybox/busybox-1.21.0/busybox-sulogin-empty-root-password.patch renamed from meta/recipes-core/busybox/busybox-1.20.2/busybox-sulogin-empty-root-password.patch +0 -0
similarity index 100%
rename from meta/recipes-core/busybox/busybox-1.20.2/busybox-sulogin-empty-root-password.patch
rename to meta/recipes-core/busybox/busybox-1.21.0/busybox-sulogin-empty-root-password.patch
meta/recipes-core/busybox/busybox-1.21.0/busybox-udhcpc-no_deconfig.patch renamed from meta/recipes-core/busybox/busybox-1.20.2/busybox-udhcpc-no_deconfig.patch +0 -0
similarity index 100%
rename from meta/recipes-core/busybox/busybox-1.20.2/busybox-udhcpc-no_deconfig.patch
rename to meta/recipes-core/busybox/busybox-1.21.0/busybox-udhcpc-no_deconfig.patch
meta/recipes-core/busybox/busybox-1.21.0/defconfig renamed from meta/recipes-core/busybox/busybox-1.20.2/defconfig +0 -0
similarity index 100%
rename from meta/recipes-core/busybox/busybox-1.20.2/defconfig
rename to meta/recipes-core/busybox/busybox-1.21.0/defconfig
meta/recipes-core/busybox/busybox-1.21.0/fail_on_no_media.patch renamed from meta/recipes-core/busybox/busybox-1.20.2/fail_on_no_media.patch +0 -0
similarity index 100%
rename from meta/recipes-core/busybox/busybox-1.20.2/fail_on_no_media.patch
rename to meta/recipes-core/busybox/busybox-1.21.0/fail_on_no_media.patch
meta/recipes-core/busybox/busybox-1.21.0/get_header_tar.patch renamed from meta/recipes-core/busybox/busybox-1.20.2/get_header_tar.patch +0 -0
similarity index 100%
rename from meta/recipes-core/busybox/busybox-1.20.2/get_header_tar.patch
rename to meta/recipes-core/busybox/busybox-1.21.0/get_header_tar.patch
meta/recipes-core/busybox/busybox-1.21.0/login-utilities.cfg renamed from meta/recipes-core/busybox/busybox-1.20.2/login-utilities.cfg +0 -0
similarity index 100%
rename from meta/recipes-core/busybox/busybox-1.20.2/login-utilities.cfg
rename to meta/recipes-core/busybox/busybox-1.21.0/login-utilities.cfg
meta/recipes-core/busybox/busybox-1.21.0/run-parts.in.usr-bin.patch renamed from meta/recipes-core/busybox/busybox-1.20.2/run-parts.in.usr-bin.patch +3 -3
similarity index 90%
rename from meta/recipes-core/busybox/busybox-1.20.2/run-parts.in.usr-bin.patch
rename to meta/recipes-core/busybox/busybox-1.21.0/run-parts.in.usr-bin.patch
index 1fe20d4..65f6c96 100644
@@ -18,12 +18,12 @@ Upstream-Status: Inappropriate [configuration]
  diff -uNr busybox-1.15.3.orig//include/applets.src.h busybox-1.15.3/include/applets.src.h
  --- busybox-1.15.3.orig//include/applets.src.h	2009-12-12 22:13:28.000000000 +0100
  +++ busybox-1.15.3/include/applets.src.h	2010-04-30 15:35:40.000000000 +0200
-@@ -323,7 +323,7 @@
+@@ -304,7 +304,7 @@
   IF_RPM(APPLET(rpm, BB_DIR_BIN, BB_SUID_DROP))
   IF_RPM2CPIO(APPLET(rpm2cpio, BB_DIR_USR_BIN, BB_SUID_DROP))
- IF_RTCWAKE(APPLET(rtcwake, BB_DIR_USR_BIN, BB_SUID_DROP))
+ IF_RTCWAKE(APPLET(rtcwake, BB_DIR_USR_SBIN, BB_SUID_DROP))
  -IF_RUN_PARTS(APPLET_ODDNAME(run-parts, run_parts, BB_DIR_BIN, BB_SUID_DROP, run_parts))
  +IF_RUN_PARTS(APPLET_ODDNAME(run-parts, run_parts, BB_DIR_USR_BIN, BB_SUID_DROP, run_parts))
   IF_RUNCON(APPLET(runcon, BB_DIR_USR_BIN, BB_SUID_DROP))
   IF_RUNLEVEL(APPLET(runlevel, BB_DIR_SBIN, BB_SUID_DROP))
- IF_RUNSV(APPLET(runsv, BB_DIR_USR_BIN, _BB_SUID_DROP))
+ IF_RUNSV(APPLET(runsv, BB_DIR_USR_BIN, BB_SUID_DROP))
meta/recipes-core/busybox/busybox-1.21.0/stat-usr-bin.patch renamed from meta/recipes-core/busybox/busybox-1.20.2/stat-usr-bin.patch +0 -0
similarity index 100%
rename from meta/recipes-core/busybox/busybox-1.20.2/stat-usr-bin.patch
rename to meta/recipes-core/busybox/busybox-1.21.0/stat-usr-bin.patch
meta/recipes-core/busybox/busybox-1.21.0/strict-atime.patch renamed from meta/recipes-core/busybox/busybox-1.20.2/strict-atime.patch +0 -0
similarity index 100%
rename from meta/recipes-core/busybox/busybox-1.20.2/strict-atime.patch
rename to meta/recipes-core/busybox/busybox-1.21.0/strict-atime.patch
meta/recipes-core/busybox/busybox-1.21.0/testsuite-du-du-k-works-fix-false-positive.patch renamed from meta/recipes-core/busybox/busybox-1.20.2/testsuite-du-du-k-works-fix-false-positive.patch +0 -0
similarity index 100%
rename from meta/recipes-core/busybox/busybox-1.20.2/testsuite-du-du-k-works-fix-false-positive.patch
rename to meta/recipes-core/busybox/busybox-1.21.0/testsuite-du-du-k-works-fix-false-positive.patch
meta/recipes-core/busybox/busybox-1.21.0/watch.in.usr-bin.patch renamed from meta/recipes-core/busybox/busybox-1.20.2/watch.in.usr-bin.patch +0 -0
similarity index 100%
rename from meta/recipes-core/busybox/busybox-1.20.2/watch.in.usr-bin.patch
rename to meta/recipes-core/busybox/busybox-1.21.0/watch.in.usr-bin.patch
meta/recipes-core/busybox/busybox_1.21.0.bb renamed from meta/recipes-core/busybox/busybox_1.20.2.bb +8 -12
similarity index 73%
rename from meta/recipes-core/busybox/busybox_1.20.2.bb
rename to meta/recipes-core/busybox/busybox_1.21.0.bb
index c854f0b..688b456 100644
@@ -1,15 +1,12 @@
  require busybox.inc
-PR = "r7"
+PR = "r0"
 
  SRC_URI = "http://www.busybox.net/downloads/busybox-${PV}.tar.bz2;name=tarball \
-           file://B921600.patch \
             file://get_header_tar.patch \
             file://busybox-appletlib-dependency.patch \
             file://run-parts.in.usr-bin.patch \
             file://watch.in.usr-bin.patch \
             file://busybox-udhcpc-no_deconfig.patch \
-           file://sys_resource.patch \
-           file://wget_dl_dir_fix.patch \
             file://find-touchscreen.sh \
             file://busybox-cron \
             file://busybox-httpd \
@@ -24,13 +21,11 @@ SRC_URI = "http://www.busybox.net/downloads/busybox-${PV}.tar.bz2;name=tarball \
             file://mdev.conf \
             file://umount.busybox \
             file://defconfig \
-           file://busybox-mkfs-minix-tests_bigendian.patch \
-           file://fix-for-spurious-testsuite-failure.patch \
-           file://busybox-1.20.2-kernel_ver.patch \
             file://stat-usr-bin.patch \
-           file://busybox-syslog.service.in \
-           file://busybox-klogd.service.in \
             file://testsuite-du-du-k-works-fix-false-positive.patch \
+           file://busybox-1.21.0-mdev.patch \
+           file://busybox-1.21.0-platform.patch \
+           file://busybox-1.21.0-xz.patch \
             file://strict-atime.patch \
             file://fail_on_no_media.patch \
             file://busybox-sulogin-empty-root-password.patch \
@@ -38,10 +33,11 @@ SRC_URI = "http://www.busybox.net/downloads/busybox-${PV}.tar.bz2;name=tarball \
             file://inetd.conf \
             file://inetd \
             file://login-utilities.cfg \
-           file://busybox-list-suid-and-non-suid-app-configs.patch"
+           file://busybox-list-suid-and-non-suid-app-configs.patch \
+"
 
-SRC_URI[tarball.md5sum] = "e025414bc6cd79579cc7a32a45d3ae1c"
-SRC_URI[tarball.sha256sum] = "eb13ff01dae5618ead2ef6f92ba879e9e0390f9583bd545d8789d27cf39b6882"
+SRC_URI[tarball.md5sum] = "d613f2e4b580305c1de8691f7b84285e"
+SRC_URI[tarball.sha256sum] = "eb9d268627783297f5f459cb9bd61a94e395dc7cb3647e10ec186e0159aa36ed"
 
  EXTRA_OEMAKE += "V=1 ARCH=${TARGET_ARCH} CROSS_COMPILE=${TARGET_PREFIX} SKIP_STRIP=y"
 
#17 lore raw
In reply to Saul Wold
Quoted 10 lines · Saul Wold
Quoted 7 lines · Ross
Quoted 1 line · Radu Moisan

* elfutils: license changed to GPLv3

Humpf. As elfutils disappearing in a no-GPLv3 build will have effects, I expect we'll either want to a) hold back on this or b) have both versions.

Typically we keep the older version for the non-GPLv3 builds.

So no issues with this patch, right?

Radu

#18 lore raw
Quoted 4 lines · Radu Moisan
Quoted 2 lines

Typically we keep the older version for the non-GPLv3 builds.

So no issues with this patch, right?

The V2 which doesn't delete the previous one looks good.

Ross

#3 lore raw

Re: [PATCH 01/10] iputils: Upgrade to v20121221

In reply to Burton, Ross
Quoted 7 lines · Ross

meta/recipes-extended/iputils/iputils_s20121221.bb LICENSE = "BSD & GPLv2+" · line 14

Quoted 2 lines · Radu Moisan
meta/recipes-extended/iputils/iputils_s20121221.bb renamed from meta/recipes-extended/iputils/iputils_s20101006.bb +1 -1
-DEPENDS = "openssl docbook-utils-native sgmlspl-native"
+DEPENDS = "gnutls docbook-utils-native sgmlspl-native"

Please say why this change is happening. Also is there a configure option to force the use of gnutls over openssl, or what happens if openssl was already installed when iptuils builds? Vague dependencies cause sstate problems.

Sadly I don't remember the reason. I'll drop this and fallback to openssl. v3 patchest folowing.

Radu