package/bsdiff: drop package

As advocated by Thomas Petazzoni [1], drop bsdiff as it is not maintained
anymore.

Meanwhile, autobuild also detected that the package was no longer
downloadable from the URL, and indeed, Colin Percival, the maintainer,
confirmed that he intentionally disabled the package download due to the
presence of some security bugs that he doesn't have time to fix.

[1] https://patchwork.ozlabs.org/project/buildroot/patch/20241004215451.1198861-2-dario.binacchi@amarulasolutions.com/

Fixes:
- http://autobuild.buildroot.org/results/21bb827d3dbf553c79f49d7c184099c75df3d45d

Suggested-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Signed-off-by: Dario Binacchi <dario.binacchi@amarulasolutions.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
This commit is contained in:
Dario Binacchi 2024-10-31 09:48:40 +01:00 committed by Thomas Petazzoni
parent 967ba5386d
commit c5636c494d
7 changed files with 7 additions and 57 deletions

View File

@ -335,7 +335,6 @@ package/brickd/S70brickd Shellcheck lib_sysv.Indent lib_sysv.Variables
package/bridge-utils/0001-fix-build-on-musl.patch lib_patch.Upstream package/bridge-utils/0001-fix-build-on-musl.patch lib_patch.Upstream
package/brltty/0001-Fix-linking-error-on-mips64el.patch lib_patch.Upstream package/brltty/0001-Fix-linking-error-on-mips64el.patch lib_patch.Upstream
package/brltty/S10brltty Shellcheck lib_sysv.Indent lib_sysv.Variables package/brltty/S10brltty Shellcheck lib_sysv.Indent lib_sysv.Variables
package/bsdiff/0001-Add-missing-header-for-u_char.patch lib_patch.Upstream
package/bustle/0001-Makefile-fix-pcap-config-call.patch lib_patch.Upstream package/bustle/0001-Makefile-fix-pcap-config-call.patch lib_patch.Upstream
package/busybox/0001-networking-libiproute-use-linux-if_packet.h-instead-.patch lib_patch.Upstream package/busybox/0001-networking-libiproute-use-linux-if_packet.h-instead-.patch lib_patch.Upstream
package/busybox/0002-Makefile.flags-strip-non-l-arguments-returned-by-pkg.patch lib_patch.Upstream package/busybox/0002-Makefile.flags-strip-non-l-arguments-returned-by-pkg.patch lib_patch.Upstream

View File

@ -146,6 +146,13 @@ endif
comment "Legacy options removed in 2024.11" comment "Legacy options removed in 2024.11"
config BR2_PACKAGE_BSDIFF
bool "bsdiff has been removed"
select BR2_LEGACY
help
The bsdiff package was removed as it is not maintained
anymore (no commit since 2014).
config BR2_PACKAGE_PROCPS_NS_ORIGINAL_TOP config BR2_PACKAGE_PROCPS_NS_ORIGINAL_TOP
bool "BR2_PACKAGE_PROCPS_NS_ORIGINAL_TOP has been renamed" bool "BR2_PACKAGE_PROCPS_NS_ORIGINAL_TOP has been renamed"
select BR2_LEGACY select BR2_LEGACY

View File

@ -172,7 +172,6 @@ menu "Development tools"
source "package/bats-core/Config.in" source "package/bats-core/Config.in"
source "package/binutils/Config.in" source "package/binutils/Config.in"
source "package/bitwise/Config.in" source "package/bitwise/Config.in"
source "package/bsdiff/Config.in"
source "package/bustle/Config.in" source "package/bustle/Config.in"
source "package/check/Config.in" source "package/check/Config.in"
source "package/cmake/Config.in" source "package/cmake/Config.in"

View File

@ -1,17 +0,0 @@
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

@ -1,8 +0,0 @@
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

@ -1,4 +0,0 @@
# From http://www.daemonology.net/bsdiff/:
md5 e6d812394f0e0ecc8d5df255aa1db22a bsdiff-4.3.tar.gz
# locally computed
sha256 fc0a6e634ef77dcf14bf36c7b6d1e57ba1ac5c4809073dfaacb3b5f7ab277eb7 bsdiff.c

View File

@ -1,26 +0,0 @@
################################################################################
#
# bsdiff
#
################################################################################
BSDIFF_VERSION = 4.3
BSDIFF_SITE = http://www.daemonology.net/bsdiff
BSDIFF_DEPENDENCIES = bzip2
BSDIFF_LICENSE = BSD-2-Clause
BSDIFF_LICENSE_FILES = bsdiff.c
BSDIFF_CPE_ID_VENDOR = daemonology
define BSDIFF_BUILD_CMDS
$(TARGET_MAKE_ENV) $(TARGET_CC) $(TARGET_CFLAGS) $(TARGET_LDFLAGS) \
$(@D)/bsdiff.c -lbz2 -o $(@D)/bsdiff
$(TARGET_MAKE_ENV) $(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))