package/bsdiff: drop package
PATCH 1/1 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/[email protected]/
Fixes:
- http://autobuild.buildroot.org/results/21bb827d3dbf553c79f49d7c184099c75df3d45d
--- .checkpackageignore | 1 - Config.in.legacy | 7 +++++ package/Config.in | 1 - .../0001-Add-missing-header-for-u_char.patch | 17 ------------ package/bsdiff/Config.in | 8 ------ package/bsdiff/bsdiff.hash | 4 --- package/bsdiff/bsdiff.mk | 26 ------------------- 7 files changed, 7 insertions(+), 57 deletions(-) delete mode 100644 package/bsdiff/0001-Add-missing-header-for-u_char.patch delete mode 100644 package/bsdiff/Config.in delete mode 100644 package/bsdiff/bsdiff.hash delete mode 100644 package/bsdiff/bsdiff.mk
.checkpackageignore +0 -1
@@ -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/brltty/0001-Fix-linking-error-on-mips64el.patch lib_patch.Upstream 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/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
Config.in.legacy +7 -0
@@ -146,6 +146,13 @@ endif 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 bool "BR2_PACKAGE_PROCPS_NS_ORIGINAL_TOP has been renamed" select BR2_LEGACY
package/Config.in +0 -1
@@ -172,7 +172,6 @@ menu "Development tools" source "package/bats-core/Config.in" source "package/binutils/Config.in" source "package/bitwise/Config.in" - source "package/bsdiff/Config.in" source "package/bustle/Config.in" source "package/check/Config.in" source "package/cmake/Config.in"
package/bsdiff/0001-Add-missing-header-for-u_char.patch deleted +0 -17
@@ -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 <[email protected]> - -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) - {
package/bsdiff/Config.in deleted +0 -8
@@ -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/
package/bsdiff/bsdiff.hash deleted +0 -4
@@ -1,4 +0,0 @@ -# From http://www.daemonology.net/bsdiff/: -md5 e6d812394f0e0ecc8d5df255aa1db22a bsdiff-4.3.tar.gz -# locally computed -sha256 fc0a6e634ef77dcf14bf36c7b6d1e57ba1ac5c4809073dfaacb3b5f7ab277eb7 bsdiff.c
package/bsdiff/bsdiff.mk deleted +0 -26
@@ -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))
Signature · 6 lines
2.43.0 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
Thomas Petazzoni via buildroot
AppliedQuoted 15 lines · On Thu, 31 Oct 2024 09:48:40 +0100 Dario Binacchi…
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/[email protected]/
Fixes:
- http://autobuild.buildroot.org/results/21bb827d3dbf553c79f49d7c184099c75df3d45dSuggested-by Thomas Petazzoni <[email protected]>Signed-off-by Dario Binacchi <[email protected]>
Quoted 13 lines
--- .checkpackageignore | 1 - Config.in.legacy | 7 +++++ package/Config.in | 1 - .../0001-Add-missing-header-for-u_char.patch | 17 ------------ package/bsdiff/Config.in | 8 ------ package/bsdiff/bsdiff.hash | 4 --- package/bsdiff/bsdiff.mk | 26 ------------------- 7 files changed, 7 insertions(+), 57 deletions(-) delete mode 100644 package/bsdiff/0001-Add-missing-header-for-u_char.patch delete mode 100644 package/bsdiff/Config.in delete mode 100644 package/bsdiff/bsdiff.hash delete mode 100644 package/bsdiff/bsdiff.mk
Applied to master, thanks.
Thomas
Signature · 7 lines
Thomas Petazzoni, CTO, Bootlin Embedded Linux and Kernel engineering https://bootlin.com _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot