- Update from version 1.5 (2011) to 1.7.1 (2021) - bridge-utils has been marked as deprecated in June 2020 and that only critical bug fixes will be applied in future. Since that time there have been three commits in the git repository, none of which are critical at all but mostly cleaning up. The last commit was in January 2022. - Even though no new changes are planned it makes sense to update this package from the 2011 version to the 2021 version. - The patch that was previously used is no longer needed as it is now built into the source tarball. - Rootfile update not required. - Changelog was last updated in 2006. It looks like the only source for changes is the git commits. There are 28 commits between version 1.5 and 1.7.1 https://git.kernel.org/pub/scm/network/bridge/bridge-utils.git/log/?h=main
Signed-off-by: Adolf Belka adolf.belka@ipfire.org --- lfs/bridge-utils | 11 +++---- .../bridge-utils-1.5-compile-fix-1.patch | 31 ------------------- 2 files changed, 5 insertions(+), 37 deletions(-) delete mode 100644 src/patches/bridge-utils-1.5-compile-fix-1.patch
diff --git a/lfs/bridge-utils b/lfs/bridge-utils index f1170d7aa..b67b84850 100644 --- a/lfs/bridge-utils +++ b/lfs/bridge-utils @@ -1,7 +1,7 @@ ############################################################################### # # # IPFire.org - A linux based firewall # -# Copyright (C) 2007-2018 IPFire Team info@ipfire.org # +# Copyright (C) 2007-2024 IPFire Team info@ipfire.org # # # # This program is free software: you can redistribute it and/or modify # # it under the terms of the GNU General Public License as published by # @@ -24,10 +24,10 @@
include Config
-VER = 1.5 +VER = 1.7.1
THISAPP = bridge-utils-$(VER) -DL_FILE = $(THISAPP).tar.gz +DL_FILE = $(THISAPP).tar.xz DL_FROM = $(URL_IPFIRE) DIR_APP = $(DIR_SRC)/$(THISAPP) TARGET = $(DIR_INFO)/$(THISAPP) @@ -40,7 +40,7 @@ objects = $(DL_FILE)
$(DL_FILE) = $(DL_FROM)/$(DL_FILE)
-$(DL_FILE)_BLAKE2 = 211ecb831f802c119f32c30621daa781056bd9ff2fb5880d328704bd76b5b5b964d0671f77489fb9c71f25a3e073e5e4070cfa759deeba014aa1136ff60b1fdd +$(DL_FILE)_BLAKE2 = 36b8b9c62e88f6f1510acbf23ab8dc5ec41d3bf97eecd274c91771e116650e30b366ded37e65bde061c1e9bc7b19b7eae1e17d4573fcea9fd31892bf6d937515
install : $(TARGET)
@@ -69,8 +69,7 @@ $(subst %,%_BLAKE2,$(objects)) :
$(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects)) @$(PREBUILD) - @rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar zxf $(DIR_DL)/$(DL_FILE) - cd $(DIR_APP) && patch -Np1 < $(DIR_SRC)/src/patches/bridge-utils-1.5-compile-fix-1.patch + @rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar axf $(DIR_DL)/$(DL_FILE) cd $(DIR_APP) && find . -name Makefile.in | xargs sed -i -e "s/^KERNEL_HEADERS/#&/g" cd $(DIR_APP) && autoreconf -vfi cd $(DIR_APP) && ./configure --prefix=/usr diff --git a/src/patches/bridge-utils-1.5-compile-fix-1.patch b/src/patches/bridge-utils-1.5-compile-fix-1.patch deleted file mode 100644 index c2696086e..000000000 --- a/src/patches/bridge-utils-1.5-compile-fix-1.patch +++ /dev/null @@ -1,31 +0,0 @@ -From 5eebb7f9288b7881ffb929b1fd494fe3ac3be27d Mon Sep 17 00:00:00 2001 -From: Russell Senior russell@personaltelco.net -Date: Wed, 06 Mar 2013 20:49:42 +0000 -Subject: bridge-utils: Fix compile against linux-3.8.x - -Linux 3.8 has a header, include/uapi/linux/if_bridge.h that uses a -struct in6_addr but doesn't define it. The trivial seeming fix of -including the header that does define it causes more problems. The -problem was discussed on mailing lists in January 2013. The final -suggestion I found was here: - - http://www.redhat.com/archives/libvir-list/2013-January/msg01253.html - -This is intended to implement that suggestion. - -Signed-off-by: Russell Senior russell@personaltelco.net ---- -diff --git a/libbridge/libbridge.h b/libbridge/libbridge.h -index 39964f2..dd14bae 100644 ---- a/libbridge/libbridge.h -+++ b/libbridge/libbridge.h -@@ -20,6 +20,7 @@ - #define _LIBBRIDGE_H - - #include <sys/socket.h> -+#include <netinet/in.h> - #include <linux/if.h> - #include <linux/if_bridge.h> - --- -cgit v0.9.2
- Update from version 1.9.16 to 1.9.16p1 - Update of rootfile not required - Changelog 1.9.16p1 * Fixed the test for cross-compiling when checking for C99 snprintf(). The changes made to the test in sudo 1.9.16 resulted in a different problem. GitHub issue #386. * Fixed the date used by the exit record in sudo-format log files. This was a regression introduced in sudo 1.9.16 and only affected file-based logs, not syslog. GitHub issue #405. * Fixed the root cause of the "unable to find terminal name for device" message when running sudo on AIX when no terminal is present. In sudo 1.9.16 this was turned from a debug message into a warning. GitHub issue #408 * When a duplicate alias is found in the sudoers file, the warning message now includes the file and line number of the previous definition. * Added support for the --with-secure-path-value=no configure option to allow packagers to ship the default sudoers file with the secure path line commented out. * Sudo no longer sends mail when a user runs "sudo -nv" or "sudo -nl", even if "mail_badpass" or "mail_always" are set. Sudo already avoids logging to a file or syslog in this case. Bug #1072.
Signed-off-by: Adolf Belka adolf.belka@ipfire.org --- lfs/sudo | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/lfs/sudo b/lfs/sudo index cac540be0..3dad92b0a 100644 --- a/lfs/sudo +++ b/lfs/sudo @@ -24,7 +24,7 @@
include Config
-VER = 1.9.16 +VER = 1.9.16p1
THISAPP = sudo-$(VER) DL_FILE = $(THISAPP).tar.gz @@ -40,7 +40,7 @@ objects = $(DL_FILE)
$(DL_FILE) = $(DL_FROM)/$(DL_FILE)
-$(DL_FILE)_BLAKE2 = 19daa789af3ca2c4832950f0dd6f26a97285fdc155f0d7c18ec1f1accafce9b86f2f5730d3bb0b8e7717c0c55f4079928e03acb3974cb2652c58d4bcb2f74a12 +$(DL_FILE)_BLAKE2 = 7f973510658e91af54121d8c4c634b26231ef270abac50f658c9ad8a446a7dbbc44cb878561fb8da51e4ec15ebc8873fdaed05be142907f96964ff42c7e4f896
install : $(TARGET)