postfix: Remove unused patches
PATCH 1/5 postfix: Remove unused patches
These were dropped from SRC_URI in ad0f53d2bb (postfix: upgrade 3.10.9 -> 3.11.2) but the files were left behind:
0001-makedefs-Account-for-linux-7.x-version.patch
AI-Generated: Uses Claude Code
--- ...kedefs-Account-for-linux-7.x-version.patch | 47 ------------------- 1 file changed, 47 deletions(-) delete mode 100644 meta-networking/recipes-daemons/postfix/files/0001-makedefs-Account-for-linux-7.x-version.patch
meta-networking/recipes-daemons/postfix/files/0001-makedefs-Account-for-linux-7.x-version.patch deleted +0 -47
@@ -1,47 +0,0 @@ -From 5466d510dfbc2b7a81dcf766f83d2c89066c0446 Mon Sep 17 00:00:00 2001 -From: Changqing Li <[email protected]> -Date: Mon, 11 May 2026 18:16:07 +0000 -Subject: [PATCH] makedefs: Account for linux 7.x version - -Major version has bumped to 7, update the scripts - -Upstream-Status: Backport [The latest stable version 3.11 already fixed] - -Refer: -https://www.ftp.saix.net/MTA/postfix/index.html - -Signed-off-by: Changqing Li <[email protected]> ---- - makedefs | 2 +- - src/util/sys_defs.h | 2 +- - 2 files changed, 2 insertions(+), 2 deletions(-) - -diff --git a/makedefs b/makedefs -index 74b103d..fe8c618 100644 ---- a/makedefs -+++ b/makedefs -@@ -625,7 +625,7 @@ EOF - : ${SHLIB_ENV="LD_LIBRARY_PATH=`pwd`/lib"} - : ${PLUGIN_LD="${CC-gcc} -shared"} - ;; -- Linux.[3456].*) -+ Linux.[34567].*) - SYSTYPE=LINUX$RELEASE_MAJOR - case "$CCARGS" in - *-DNO_DB*) ;; -diff --git a/src/util/sys_defs.h b/src/util/sys_defs.h -index 70aab23..c5472eb 100644 ---- a/src/util/sys_defs.h -+++ b/src/util/sys_defs.h -@@ -763,7 +763,7 @@ extern int initgroups(const char *, int); - * LINUX. - */ - #if defined(LINUX2) || defined(LINUX3) || defined(LINUX4) || defined(LINUX5) \ -- || defined(LINUX6) -+ || defined(LINUX6) || defined(LINUX7) - #define SUPPORTED - #define UINT32_TYPE unsigned int - #define UINT16_TYPE unsigned short --- -2.53.0 -
PATCH 2/5 glade: Remove unused patches
These were dropped from SRC_URI in caf1d45b40 (glade: upgrade 3.36.0 -> 3.40.0) but the files were left behind:
CVE-2020-36774.patch
remove-yelp-help-rules-var.patch
AI-Generated: Uses Claude Code
--- .../glade/glade/CVE-2020-36774.patch | 54 ------------------- .../glade/remove-yelp-help-rules-var.patch | 39 -------------- 2 files changed, 93 deletions(-) delete mode 100644 meta-oe/recipes-devtools/glade/glade/CVE-2020-36774.patch delete mode 100644 meta-oe/recipes-devtools/glade/glade/remove-yelp-help-rules-var.patch
meta-oe/recipes-devtools/glade/glade/CVE-2020-36774.patch deleted +0 -54
@@ -1,54 +0,0 @@ -From 8f1ed202ad21c787ec406f531905b4cda64fb13c Mon Sep 17 00:00:00 2001 -From: Juan Pablo Ugarte <[email protected]> -Date: Fri, 2 Oct 2020 16:08:23 -0300 -Subject: [PATCH] GladeGtkBox: fix glade_gtk_box_post_create - -Some widgets with contruct properties like GtkMessageDialog get -rebuilt right after they are created on project loading so we need -to check glade_project_is_loading() intead of GLADE_CREATE_LOAD -and use the object ad the connect data to make sure it gets disconected -if it was the object being rebuilt - -Fix issue #479 "Glade 3.36.0 segfaults when opening a file" - -CVE: CVE-2020-36774 -Upstream-Status: Backport [https://gitlab.gnome.org/GNOME/glade/-/commit/7acdd3c6f6934f47b8974ebc2190a59ea5d2ed17] - -Signed-off-by: Peng Zhang <[email protected]> ---- - plugins/gtk+/glade-gtk-box.c | 8 ++++---- - 1 file changed, 4 insertions(+), 4 deletions(-) - -diff --git a/plugins/gtk+/glade-gtk-box.c b/plugins/gtk+/glade-gtk-box.c -index 1153c957..c995524e 100644 ---- a/plugins/gtk+/glade-gtk-box.c -+++ b/plugins/gtk+/glade-gtk-box.c -@@ -57,9 +57,9 @@ glade_gtk_box_create_editable (GladeWidgetAdaptor *adaptor, - } - - static void --glade_gtk_box_parse_finished (GladeProject *project, GladeWidget *gbox) -+glade_gtk_box_parse_finished (GladeProject *project, GObject *box) - { -- GObject *box = glade_widget_get_object (gbox); -+ GladeWidget *gbox = glade_widget_get_from_gobject (box); - - glade_widget_property_set (gbox, "use-center-child", - gtk_box_get_center_widget (GTK_BOX (box)) != NULL); -@@ -86,11 +86,11 @@ glade_gtk_box_post_create (GladeWidgetAdaptor *adaptor, - g_signal_connect (G_OBJECT (gwidget), "configure-end", - G_CALLBACK (glade_gtk_box_configure_end), container); - -- if (reason == GLADE_CREATE_LOAD) -+ if (glade_project_is_loading (project)) - { - g_signal_connect_object (project, "parse-finished", - G_CALLBACK (glade_gtk_box_parse_finished), -- gwidget, 0); -+ container, 0); - } - } - --- -2.34.1 -
meta-oe/recipes-devtools/glade/glade/remove-yelp-help-rules-var.patch deleted +0 -39
@@ -1,39 +0,0 @@ -From 42efc94c11d510b41d8cf3407e1c3900eb52b600 Mon Sep 17 00:00:00 2001 -From: Hongxu Jia <[email protected]> -Date: Thu, 4 Jun 2015 16:28:02 +0800 -Subject: [PATCH] Remove unused variable (YELP_HELP_RULES) - -Upstream-Status: Pending - -Signed-off-by: Hongxu Jia <[email protected]> ---- - help/Makefile.am | 2 -- - help/Makefile.in | 2 -- - 2 files changed, 4 deletions(-) - -diff --git a/help/Makefile.am b/help/Makefile.am -index 50c0e84..5c5d2e9 100644 ---- a/help/Makefile.am -+++ b/help/Makefile.am -@@ -1,5 +1,3 @@ --@YELP_HELP_RULES@ -- - HELP_ID = glade - - HELP_FILES = \ -diff --git a/help/Makefile.in b/help/Makefile.in -index 6978ea5..e1c7d3b 100644 ---- a/help/Makefile.in -+++ b/help/Makefile.in -@@ -521,8 +521,6 @@ uninstall-am: - - .PRECIOUS: Makefile - --@YELP_HELP_RULES@ -- - # Tell versions [3.59,3.63) of GNU make to not export all variables. - # Otherwise a system limit (for SysV at least) may be exceeded. - .NOEXPORT: --- -1.9.1 -
PATCH 3/5 sysdig: Remove unused patches
In reply to Khem RajThese were dropped from SRC_URI in 0fa0257275 (sysdig: upgrade 0.28.0 -> 0.39.0) but the files were left behind:
0001-update-cmake-Only-add-dependencies-when-we-bundle.patch
AI-Generated: Uses Claude Code
--- ...Only-add-dependencies-when-we-bundle.patch | 35 ------------------- 1 file changed, 35 deletions(-) delete mode 100644 meta-oe/recipes-extended/sysdig/sysdig/0001-update-cmake-Only-add-dependencies-when-we-bundle.patch
meta-oe/recipes-extended/sysdig/sysdig/0001-update-cmake-Only-add-dependencies-when-we-bundle.patch deleted +0 -35
@@ -1,35 +0,0 @@ -From ed35037e3ba575d9b0d1ef4cd5b6ab9111136922 Mon Sep 17 00:00:00 2001 -From: Moritz Haase <[email protected]> -Date: Mon, 14 Jul 2025 13:57:30 +0200 -Subject: [PATCH] update(cmake): Only add dependencies when we bundle - -Only add dependencies for valijson when we're using the bundled version. - -Fixes - -| CMake Error at falcosecurity-libs/userspace/libsinsp/CMakeLists.txt:184 (add_dependencies): -| The dependency target "valijson" of target "sinsp" does not exist. - -when building with CMake 4. - -Upstream-Status: Backport [7d850bad002b56ca5e85fffb1f69b4b1cfeddd91] -Signed-off-by: Moritz Haase <[email protected]> ---- - userspace/libsinsp/CMakeLists.txt | 4 +++- - 1 file changed, 3 insertions(+), 1 deletion(-) - -diff --git a/userspace/libsinsp/CMakeLists.txt b/userspace/libsinsp/CMakeLists.txt -index 9794a697c..a82f8c0c1 100644 ---- a/userspace/libsinsp/CMakeLists.txt -+++ b/userspace/libsinsp/CMakeLists.txt -@@ -181,7 +181,9 @@ set(SINSP_LIBRARIES - "${JSONCPP_LIB}" - "${CARES_LIB}") - --add_dependencies(sinsp valijson) -+if(USE_BUNDLED_VALIJSON) -+ add_dependencies(sinsp valijson) -+endif() - - if(WITH_CHISEL AND USE_BUNDLED_LUAJIT) - add_dependencies(sinsp luajit)
PATCH 4/5 nmap: Remove unused patches
In reply to Khem RajThese were dropped from SRC_URI in 13bafd2753 (nmap: upgrade 7.92 -> 7.99) but the files were left behind:
0003-Fix-off-by-one-overflow-in-the-IP-protocol-table.patch nmap-redefine-the-python-library-dir.patch
AI-Generated: Uses Claude Code
--- ...ne-overflow-in-the-IP-protocol-table.patch | 165 ------------------ ...nmap-redefine-the-python-library-dir.patch | 23 --- 2 files changed, 188 deletions(-) delete mode 100644 meta-oe/recipes-security/nmap/files/0003-Fix-off-by-one-overflow-in-the-IP-protocol-table.patch delete mode 100644 meta-oe/recipes-security/nmap/files/nmap-redefine-the-python-library-dir.patch
meta-oe/recipes-security/nmap/files/0003-Fix-off-by-one-overflow-in-the-IP-protocol-table.patch deleted +0 -165
@@ -1,165 +0,0 @@ -From 364d089250d1acf459e9e8580161e7bb06268106 Mon Sep 17 00:00:00 2001 -From: Wang Mingyu <[email protected]> -Date: Tue, 15 Oct 2024 02:47:38 +0000 -Subject: [PATCH] Fix off-by-one overflow in the IP protocol table. - -Fixes #2896, closes #2897, closes #2900 - -Upstream-Status: Backport [https://github.com/nmap/nmap/commit/efa0dc36f2ecade6ba8d2ed25dd4d5fbffdea308] - -Signed-off-by: Wang Mingyu <[email protected]> ---- - CHANGELOG | 3 +++ - portlist.cc | 8 ++++---- - protocols.cc | 6 +++--- - protocols.h | 2 ++ - scan_lists.cc | 10 +++++----- - 5 files changed, 17 insertions(+), 12 deletions(-) - -diff --git a/CHANGELOG b/CHANGELOG -index f01262c..5b204bd 100644 ---- a/CHANGELOG -+++ b/CHANGELOG -@@ -1,5 +1,8 @@ - #Nmap Changelog ($Id: CHANGELOG 38849 2024-04-18 17:16:42Z dmiller $); -*-text-*- - -+o [GH#2900, GH#2896, GH#2897] Nmap is now able to scan IP protocol 255. -+ [nnposter] -+ - Nmap 7.95 [2024-04-19] - - o [Windows] Upgraded Npcap (our Windows raw packet capturing and -diff --git a/portlist.cc b/portlist.cc -index 8258853..cd08437 100644 ---- a/portlist.cc -+++ b/portlist.cc -@@ -480,7 +480,7 @@ void PortList::setPortState(u16 portno, u8 protocol, int state, int *oldstate) { - state != PORT_CLOSEDFILTERED) - fatal("%s: attempt to add port number %d with illegal state %d\n", __func__, portno, state); - -- assert(protocol!=IPPROTO_IP || portno<256); -+ assert(protocol!=IPPROTO_IP || portno<=MAX_IPPROTONUM); - - bool created = false; - current = createPort(portno, protocol, &created); -@@ -566,7 +566,7 @@ Port *PortList::nextPort(const Port *cur, Port *next, - if (cur) { - proto = INPROTO2PORTLISTPROTO(cur->proto); - assert(port_map[proto]!=NULL); // Hmm, it's not possible to handle port that doesn't have anything in map -- assert(cur->proto!=IPPROTO_IP || cur->portno<256); -+ assert(cur->proto!=IPPROTO_IP || cur->portno<=MAX_IPPROTONUM); - mapped_pno = port_map[proto][cur->portno]; - mapped_pno++; // we're interested in next port after current - } else { // running for the first time -@@ -615,7 +615,7 @@ void PortList::mapPort(u16 *portno, u8 *protocol) const { - mapped_protocol = INPROTO2PORTLISTPROTO(*protocol); - - if (*protocol == IPPROTO_IP) -- assert(*portno < 256); -+ assert(*portno <= MAX_IPPROTONUM); - if(port_map[mapped_protocol]==NULL || port_list[mapped_protocol]==NULL) { - fatal("%s(%i,%i): you're trying to access uninitialized protocol", __func__, *portno, *protocol); - } -@@ -713,7 +713,7 @@ int PortList::port_list_count[PORTLIST_PROTO_MAX]; - * should be sorted. */ - void PortList::initializePortMap(int protocol, u16 *ports, int portcount) { - int i; -- int ports_max = (protocol == IPPROTO_IP) ? 256 : 65536; -+ int ports_max = (protocol == IPPROTO_IP) ? MAX_IPPROTONUM + 1 : 65536; - int proto = INPROTO2PORTLISTPROTO(protocol); - - if (port_map[proto] != NULL || port_map_rev[proto] != NULL) -diff --git a/protocols.cc b/protocols.cc -index 76e42c7..85e55e4 100644 ---- a/protocols.cc -+++ b/protocols.cc -@@ -79,7 +79,7 @@ struct strcmp_comparator { - - // IP Protocol number is 8 bits wide - // protocol_table[IPPROTO_TCP] == {"tcp", 6} --static struct nprotoent *protocol_table[UCHAR_MAX]; -+static struct nprotoent *protocol_table[MAX_IPPROTONUM + 1]; - // proto_map["tcp"] = {"tcp", 6} - typedef std::map<const char *, struct nprotoent, strcmp_comparator> ProtoMap; - static ProtoMap proto_map; -@@ -119,7 +119,7 @@ static int nmap_protocols_init() { - if (*p == '#' || *p == '\0') - continue; - res = sscanf(line, "%127s %hu", protocolname, &protno); -- if (res !=2 || protno > UCHAR_MAX) { -+ if (res !=2 || protno > MAX_IPPROTONUM) { - error("Parse error in protocols file %s line %d", filename, lineno); - continue; - } -@@ -191,7 +191,7 @@ const struct nprotoent *nmap_getprotbynum(int num) { - if (nmap_protocols_init() == -1) - return NULL; - -- assert(num >= 0 && num < UCHAR_MAX); -+ assert(num >= 0 && num <= MAX_IPPROTONUM); - return protocol_table[num]; - } - -diff --git a/protocols.h b/protocols.h -index 8934284..2de0aa4 100644 ---- a/protocols.h -+++ b/protocols.h -@@ -79,6 +79,8 @@ int addprotocolsfromservmask(char *mask, u8 *porttbl); - const struct nprotoent *nmap_getprotbynum(int num); - const struct nprotoent *nmap_getprotbyname(const char *name); - -+#define MAX_IPPROTONUM 255 -+ - #define MAX_IPPROTOSTRLEN 4 - #define IPPROTO2STR(p) \ - ((p)==IPPROTO_TCP ? "tcp" : \ -diff --git a/scan_lists.cc b/scan_lists.cc -index f02e279..ebe1357 100644 ---- a/scan_lists.cc -+++ b/scan_lists.cc -@@ -165,7 +165,7 @@ void getpts(const char *origexpr, struct scan_lists *ports) { - ports->udp_count++; - if (porttbl[i] & SCAN_SCTP_PORT) - ports->sctp_count++; -- if (porttbl[i] & SCAN_PROTOCOLS && i < 256) -+ if (porttbl[i] & SCAN_PROTOCOLS && i <= MAX_IPPROTONUM) - ports->prot_count++; - } - -@@ -192,7 +192,7 @@ void getpts(const char *origexpr, struct scan_lists *ports) { - ports->udp_ports[udpi++] = i; - if (porttbl[i] & SCAN_SCTP_PORT) - ports->sctp_ports[sctpi++] = i; -- if (porttbl[i] & SCAN_PROTOCOLS && i < 256) -+ if (porttbl[i] & SCAN_PROTOCOLS && i <= MAX_IPPROTONUM) - ports->prots[proti++] = i; - } - -@@ -388,7 +388,7 @@ static void getpts_aux(const char *origexpr, int nested, u8 *porttbl, int range_ - } else if (isdigit((int) (unsigned char) *current_range)) { - rangestart = strtol(current_range, &endptr, 10); - if (range_type & SCAN_PROTOCOLS) { -- if (rangestart < 0 || rangestart > 255) -+ if (rangestart < 0 || rangestart > MAX_IPPROTONUM) - fatal("Protocols specified must be between 0 and 255 inclusive"); - } else { - if (rangestart < 0 || rangestart > 65535) -@@ -429,13 +429,13 @@ static void getpts_aux(const char *origexpr, int nested, u8 *porttbl, int range_ - if (!*current_range || *current_range == ',' || *current_range == ']') { - /* Ended with a -, meaning up until the last possible port */ - if (range_type & SCAN_PROTOCOLS) -- rangeend = 255; -+ rangeend = MAX_IPPROTONUM; - else - rangeend = 65535; - } else if (isdigit((int) (unsigned char) *current_range)) { - rangeend = strtol(current_range, &endptr, 10); - if (range_type & SCAN_PROTOCOLS) { -- if (rangeend < 0 || rangeend > 255) -+ if (rangeend < 0 || rangeend > MAX_IPPROTONUM) - fatal("Protocols specified must be between 0 and 255 inclusive"); - } else { - if (rangeend < 0 || rangeend > 65535) --- -2.34.1 -
meta-oe/recipes-security/nmap/files/nmap-redefine-the-python-library-dir.patch deleted +0 -23
@@ -1,23 +0,0 @@ -[PATCH] redefine the python library install dir - -Upstream-Status: Pending - -If install-lib is not defined, it is always /usr/lib/, but it -maybe /usr/lib64 for multilib - -Signed-off-by: Roy Li <[email protected]> ---- - Makefile.in | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - ---- a/Makefile.in -+++ b/Makefile.in -@@ -383,7 +383,7 @@ build-nping: $(NPINGDIR)/Makefile build- - @cd $(NPINGDIR) && $(MAKE) - - install-ndiff: -- cd $(NDIFFDIR) && $(PYTHON) setup.py install --prefix "$(prefix)" $(if $(DESTDIR),--root "$(DESTDIR)") -+ cd $(NDIFFDIR) && $(PYTHON) setup.py install --prefix "$(prefix)" --install-lib="${PYTHON_SITEPACKAGES_DIR}" $(if $(DESTDIR),--root "$(DESTDIR)") - - NSE_FILES = scripts/script.db scripts/*.nse - NSE_LIB_LUA_FILES = nselib/*.lua nselib/*.luadoc
PATCH 5/5 webmin: Remove unused patches
In reply to Khem RajThese were dropped from SRC_URI in eb4d6ede5d (webmin: upgrade 2.641 -> 2.653) but the files were left behind:
init-exclude.patch
AI-Generated: Uses Claude Code
--- .../webmin/files/init-exclude.patch | 75 ------------------- 1 file changed, 75 deletions(-) delete mode 100644 meta-webserver/recipes-webadmin/webmin/files/init-exclude.patch
meta-webserver/recipes-webadmin/webmin/files/init-exclude.patch deleted +0 -75
@@ -1,75 +0,0 @@ -Hack in support for an "exclude" config option for the init module, so -we can hide certain system services that shouldn't really be configurable -via the web interface - -Upstream-Status: Pending - -Signed-off-by: Paul Eggleton <[email protected]> -Signed-off-by: Jackie Huang <[email protected]> ---- - init/index.cgi | 27 ++++++++++++++------------- - init/init-lib.pl | 5 +++-- - 2 files changed, 17 insertions(+), 15 deletions(-) - -Index: webmin-1.850/init/index.cgi -=================================================================== ---- webmin-1.850.orig/init/index.cgi -+++ webmin-1.850/init/index.cgi -@@ -45,19 +45,20 @@ elsif ($init_mode eq "init" && $access{' - : "$config{'init_dir'}/$ac[0]"); - } - @runlevels = &list_runlevels(); -- foreach $r (@runlevels) { -- foreach $w ("S", "K") { -- foreach $a (&runlevel_actions($r, $w)) { -- @ac = split(/\s+/, $a); -- if (!$nodemap{$ac[2]}) { -- push(@acts, $ac[1]); -- push(@actsl, -- "1+$r+$ac[0]+$ac[1]+$ac[2]+$w"); -- push(@actsf, "$config{'init_base'}/rc$r.d/$w$ac[0]$ac[1]"); -- } -- } -- } -- } -+ # Assume there won't be any of these broken actions -+ #foreach $r (@runlevels) { -+ # foreach $w ("S", "K") { -+ # foreach $a (&runlevel_actions($r, $w)) { -+ # @ac = split(/\s+/, $a); -+ # if (!$nodemap{$ac[2]}) { -+ # push(@acts, $ac[1]); -+ # push(@actsl, -+ # "1+$r+$ac[0]+$ac[1]+$ac[2]+$w"); -+ # push(@actsf, "$config{'init_base'}/rc$r.d/$w$ac[0]$ac[1]"); -+ # } -+ # } -+ # } -+ # } - - # For each action, look at /etc/rc*.d/* files to see if it is - # started at boot -Index: webmin-1.850/init/init-lib.pl -=================================================================== ---- webmin-1.850.orig/init/init-lib.pl -+++ webmin-1.850/init/init-lib.pl -@@ -124,8 +124,9 @@ List boot time action names from init.d, - =cut - sub list_actions - { --local($dir, $f, @stbuf, @rv); -+local($dir, $f, @stbuf, @rv, @exclude); - $dir = $config{init_dir}; -+@exclude = split(/,/, $config{exclude}); - opendir(DIR, $dir); - foreach $f (sort { lc($a) cmp lc($b) } readdir(DIR)) { - if ($f eq "." || $f eq ".." || $f =~ /\.bak$/ || $f eq "functions" || -@@ -133,7 +134,7 @@ foreach $f (sort { lc($a) cmp lc($b) } r - -d "$dir/$f" || $f =~ /\.swp$/ || $f eq "skeleton" || - $f =~ /\.lock$/ || $f =~ /\.dpkg-(old|dist)$/ || - $f =~ /^\.depend\./ || $f eq '.legacy-bootordering' || -- $f =~ /^mandrake/) { next; } -+ $f =~ /^mandrake/ || grep {$_ eq $f} @exclude ) { next; } - if (@stbuf = stat("$dir/$f")) { - push(@rv, "$f $stbuf[1]"); - }