Import buildroot 2016.02.01

This commit is contained in:
2016-02-24 22:35:39 +01:00
parent a6ee09dea4
commit 828befcf3c
7393 changed files with 390887 additions and 0 deletions

View File

@@ -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)
{

View 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/

View File

@@ -0,0 +1,2 @@
# From http://www.daemonology.net/bsdiff/:
md5 e6d812394f0e0ecc8d5df255aa1db22a bsdiff-4.3.tar.gz

View 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))