[oe-commits] Eric Bénard : busybox 1.18.1 : fix patches
git version control
git at git.openembedded.org
Thu Jan 13 15:42:52 UTC 2011
Module: openembedded.git
Branch: org.openembedded.dev
Commit: be6797a1ffd68e219f3f8d4e3ac95e25ee2b5c6b
URL: http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=be6797a1ffd68e219f3f8d4e3ac95e25ee2b5c6b
Author: Eric Bénard <eric at eukrea.com>
Date: Thu Jan 13 16:37:22 2011 +0100
busybox 1.18.1 : fix patches
fetching patches from cgit is not a right idea as checksum are changing.
Signed-off-by: Eric Bénard <eric at eukrea.com>
---
.../busybox-1.18.1/busybox-1.18.1-httpd.patch | 11 +++++++++++
recipes/busybox/busybox_1.18.1.bb | 7 +++----
2 files changed, 14 insertions(+), 4 deletions(-)
diff --git a/recipes/busybox/busybox-1.18.1/busybox-1.18.1-httpd.patch b/recipes/busybox/busybox-1.18.1/busybox-1.18.1-httpd.patch
new file mode 100644
index 0000000..0b934e7
--- /dev/null
+++ b/recipes/busybox/busybox-1.18.1/busybox-1.18.1-httpd.patch
@@ -0,0 +1,11 @@
+diff -urpN busybox-1.18.1/networking/httpd.c busybox-1.18.1-httpd/networking/httpd.c
+--- busybox-1.18.1/networking/httpd.c 2010-12-20 01:41:27.000000000 +0100
++++ busybox-1.18.1-httpd/networking/httpd.c 2011-01-11 17:59:06.638225175 +0100
+@@ -1522,6 +1522,7 @@ static NOINLINE void send_file_and_exit(
+ struct stat sb;
+ fstat(fd, &sb);
+ file_size = sb.st_size;
++ last_mod = sb.st_mtime;
+ } else {
+ IF_FEATURE_HTTPD_GZIP(content_gzip = 0;)
+ fd = open(url, O_RDONLY);
diff --git a/recipes/busybox/busybox_1.18.1.bb b/recipes/busybox/busybox_1.18.1.bb
index f337eef..92ae604 100644
--- a/recipes/busybox/busybox_1.18.1.bb
+++ b/recipes/busybox/busybox_1.18.1.bb
@@ -1,5 +1,5 @@
require busybox_1.1x.inc
-PR = "${INC_PR}.5"
+PR = "${INC_PR}.6"
SRC_URI += " \
file://busybox-1.18.1-hush.patch \
@@ -8,10 +8,9 @@ SRC_URI += " \
file://busybox-1.18.1-mkswap.patch \
file://busybox-1.18.1-warning.patch \
file://busybox-1.18.1-modprobe-small.patch \
- http://git.busybox.net/busybox/patch/id=8030a1484917d5b71d5ccd1a1d28a29da7a3d7f0;apply=yes;name=bb181-01 \
+ file://busybox-1.18.1-tftp.patch \
+ file://busybox-1.18.1-httpd.patch \
"
SRC_URI[md5sum] = "f15fe752d8b7012aa5e59f83b88ccb1c"
SRC_URI[sha256sum] = "33eb25ea7b20c727c3af769256b21408a1ac1f927ff9f89a1f1e3767c18c9967"
-SRC_URI[bb181-01.md5sum] = "fe58a0e758c2581fdd2554186089b03b"
-SRC_URI[bb181-01.sha256sum] = "f776d0b4ba525c62abe5e91f1432773eca92904cdecbdf48546a9271166cd896"
More information about the Openembedded-commits
mailing list