Import buildroot 2016.02.01
This commit is contained in:
@@ -0,0 +1,17 @@
|
||||
bspatch: Fix missing header <sys/types.h> for u_char
|
||||
|
||||
Fixes http://autobuild.buildroot.net/results/31a/31a837cf6e34b02dce498f2b12e40d6d16a5a8e6/
|
||||
|
||||
Signed-off-by: Jörg Krause <joerg.krause@embedded.rocks>
|
||||
|
||||
diff -purN bsdiff-4.3.orig/bspatch.c bsdiff-4.3/bspatch.c
|
||||
--- bsdiff-4.3.orig/bspatch.c 2015-04-30 13:47:26.485903359 +0200
|
||||
+++ bsdiff-4.3/bspatch.c 2015-04-30 13:48:14.808908672 +0200
|
||||
@@ -35,6 +35,7 @@ __FBSDID("$FreeBSD: src/usr.bin/bsdiff/b
|
||||
#include <err.h>
|
||||
#include <unistd.h>
|
||||
#include <fcntl.h>
|
||||
+#include <sys/types.h>
|
||||
|
||||
static off_t offtin(u_char *buf)
|
||||
{
|
||||
8
firmware/buildroot/package/bsdiff/Config.in
Normal file
8
firmware/buildroot/package/bsdiff/Config.in
Normal file
@@ -0,0 +1,8 @@
|
||||
config BR2_PACKAGE_BSDIFF
|
||||
bool "bsdiff"
|
||||
select BR2_PACKAGE_BZIP2
|
||||
help
|
||||
Binary patch/diff like xdelta but creates smaller diffs.
|
||||
Needs bzip2 support.
|
||||
|
||||
http://www.daemonology.net/bsdiff/
|
||||
2
firmware/buildroot/package/bsdiff/bsdiff.hash
Normal file
2
firmware/buildroot/package/bsdiff/bsdiff.hash
Normal file
@@ -0,0 +1,2 @@
|
||||
# From http://www.daemonology.net/bsdiff/:
|
||||
md5 e6d812394f0e0ecc8d5df255aa1db22a bsdiff-4.3.tar.gz
|
||||
25
firmware/buildroot/package/bsdiff/bsdiff.mk
Normal file
25
firmware/buildroot/package/bsdiff/bsdiff.mk
Normal file
@@ -0,0 +1,25 @@
|
||||
################################################################################
|
||||
#
|
||||
# bsdiff
|
||||
#
|
||||
################################################################################
|
||||
|
||||
BSDIFF_VERSION = 4.3
|
||||
BSDIFF_SITE = http://www.daemonology.net/bsdiff
|
||||
BSDIFF_DEPENDENCIES = bzip2
|
||||
BSDIFF_LICENSE = BSD-2c
|
||||
BSDIFF_LICENSE_FILES = bsdiff.c
|
||||
|
||||
define BSDIFF_BUILD_CMDS
|
||||
$(TARGET_CC) $(TARGET_CFLAGS) $(TARGET_LDFLAGS) \
|
||||
$(@D)/bsdiff.c -lbz2 -o $(@D)/bsdiff
|
||||
$(TARGET_CC) $(TARGET_CFLAGS) $(TARGET_LDFLAGS) \
|
||||
$(@D)/bspatch.c -lbz2 -o $(@D)/bspatch
|
||||
endef
|
||||
|
||||
define BSDIFF_INSTALL_TARGET_CMDS
|
||||
$(INSTALL) -D -m 755 $(@D)/bsdiff $(TARGET_DIR)/usr/bin/bsdiff
|
||||
$(INSTALL) -D -m 755 $(@D)/bspatch $(TARGET_DIR)/usr/bin/bspatch
|
||||
endef
|
||||
|
||||
$(eval $(generic-package))
|
||||
Reference in New Issue
Block a user