From b2d04f38b9a031880bee36f36ce5b5d1af07371a Mon Sep 17 00:00:00 2001 From: Donat Zenichev Date: Tue, 13 Jan 2026 11:46:35 +0100 Subject: [PATCH] MT#64231 Remove already applied upstream patches and refresh old Change-Id: I6efcbabf037c69ec5702b3d45223ab296b4b5ba7 --- debian/patches/debian/fix_export.patch | 2 +- debian/patches/debian/no_INSTALL_file.patch | 4 ++-- debian/patches/debian/no_lib64_on_64_bits.patch | 2 +- debian/patches/sipwise/add_lcr_rate_module.patch | 4 ++-- debian/patches/sipwise/dialog-dlg_get_ttag.patch | 10 +++++----- ...support-profile_get_size-for-all-profiles.patch | 12 ++++++------ .../sipwise/do-not-install-default-config.patch | 4 ++-- ...dd-method-parameter-to-http_connect-calls.patch | 14 +++++++------- 8 files changed, 26 insertions(+), 26 deletions(-) diff --git a/debian/patches/debian/fix_export.patch b/debian/patches/debian/fix_export.patch index 0f6a22522..e46e31051 100644 --- a/debian/patches/debian/fix_export.patch +++ b/debian/patches/debian/fix_export.patch @@ -7,7 +7,7 @@ Subject: fix_export 1 file changed, 2 insertions(+) diff --git a/src/Makefile b/src/Makefile -index edad3d2..8de3eb2 100644 +index a4be4cc..2362e7c 100644 --- a/src/Makefile +++ b/src/Makefile @@ -139,6 +139,8 @@ endif diff --git a/debian/patches/debian/no_INSTALL_file.patch b/debian/patches/debian/no_INSTALL_file.patch index 90e1ecbc9..765a36ba7 100644 --- a/debian/patches/debian/no_INSTALL_file.patch +++ b/debian/patches/debian/no_INSTALL_file.patch @@ -7,10 +7,10 @@ Subject: no_INSTALL_file 1 file changed, 2 deletions(-) diff --git a/src/Makefile b/src/Makefile -index 4ba6625..edad3d2 100644 +index 744b1e1..a4be4cc 100644 --- a/src/Makefile +++ b/src/Makefile -@@ -859,8 +859,6 @@ install-modules-all: install-every-module install-every-module-doc +@@ -860,8 +860,6 @@ install-modules-all: install-every-module install-every-module-doc install-doc: $(doc_prefix)/$(doc_dir) install-every-module-doc diff --git a/debian/patches/debian/no_lib64_on_64_bits.patch b/debian/patches/debian/no_lib64_on_64_bits.patch index 7881804b1..27944d972 100644 --- a/debian/patches/debian/no_lib64_on_64_bits.patch +++ b/debian/patches/debian/no_lib64_on_64_bits.patch @@ -7,7 +7,7 @@ Subject: no_lib64_on_64_bits 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/src/Makefile.defs b/src/Makefile.defs -index 855f83c..56309f7 100644 +index d7520fe..a6df36e 100644 --- a/src/Makefile.defs +++ b/src/Makefile.defs @@ -454,15 +454,7 @@ endif diff --git a/debian/patches/sipwise/add_lcr_rate_module.patch b/debian/patches/sipwise/add_lcr_rate_module.patch index 2f5e71ea2..ebbb0e15f 100644 --- a/debian/patches/sipwise/add_lcr_rate_module.patch +++ b/debian/patches/sipwise/add_lcr_rate_module.patch @@ -47,7 +47,7 @@ index fae0dbd..f54d81d 100644 ### --- Groups defined for pacKaging ### diff --git a/src/core/mod_fix.c b/src/core/mod_fix.c -index 767c6a4..d0f1841 100644 +index 900c982..0757a5f 100644 --- a/src/core/mod_fix.c +++ b/src/core/mod_fix.c @@ -598,6 +598,7 @@ int fixup_free_igp_spve(void **param, int param_no) @@ -68,7 +68,7 @@ index 767c6a4..d0f1841 100644 } diff --git a/src/core/mod_fix.h b/src/core/mod_fix.h -index 6ec0280..26968a7 100644 +index f0e6f0e..cb7182d 100644 --- a/src/core/mod_fix.h +++ b/src/core/mod_fix.h @@ -138,6 +138,8 @@ int fixup_spve_uint(void **param, int param_no); diff --git a/debian/patches/sipwise/dialog-dlg_get_ttag.patch b/debian/patches/sipwise/dialog-dlg_get_ttag.patch index 916222468..045761c6d 100644 --- a/debian/patches/sipwise/dialog-dlg_get_ttag.patch +++ b/debian/patches/sipwise/dialog-dlg_get_ttag.patch @@ -9,7 +9,7 @@ Subject: dialog: dlg_get_ttag() 3 files changed, 211 insertions(+) diff --git a/src/modules/dialog/dialog.c b/src/modules/dialog/dialog.c -index d74a36e..980ef3c 100644 +index 3394ece..4b681b2 100644 --- a/src/modules/dialog/dialog.c +++ b/src/modules/dialog/dialog.c @@ -56,6 +56,7 @@ @@ -39,7 +39,7 @@ index d74a36e..980ef3c 100644 {"dlg_set_timeout", (cmd_function)w_dlg_set_timeout, 1,fixup_igp_null, 0, ANY_ROUTE }, {"dlg_set_timeout", (cmd_function)w_dlg_set_timeout, 3,fixup_igp_all, -@@ -2066,6 +2072,121 @@ static int fixup_dlg_set_var_free(void **param, int param_no) +@@ -2090,6 +2096,121 @@ static int fixup_dlg_set_var_free(void **param, int param_no) return -1; } @@ -161,7 +161,7 @@ index d74a36e..980ef3c 100644 static int ki_dlg_get(sip_msg_t *msg, str *sc, str *sf, str *st) { dlg_cell_t *dlg = NULL; -@@ -2657,6 +2778,11 @@ static sr_kemi_t sr_kemi_dialog_exports[] = { +@@ -2681,6 +2802,11 @@ static sr_kemi_t sr_kemi_dialog_exports[] = { { SR_KEMIP_STR, SR_KEMIP_STR, SR_KEMIP_STR, SR_KEMIP_NONE, SR_KEMIP_NONE, SR_KEMIP_NONE } }, @@ -264,10 +264,10 @@ index a37adee..a382ad5 100644 /*! * \brief Search dialog that corresponds to CallId, From Tag and To Tag diff --git a/src/modules/dialog/dlg_hash.h b/src/modules/dialog/dlg_hash.h -index 5d19841..a0a919f 100644 +index 20b0371..b847753 100644 --- a/src/modules/dialog/dlg_hash.h +++ b/src/modules/dialog/dlg_hash.h -@@ -396,6 +396,19 @@ dlg_cell_t *dlg_get_by_iuid(dlg_iuid_t *diuid); +@@ -399,6 +399,19 @@ dlg_cell_t *dlg_get_by_iuid(dlg_iuid_t *diuid); */ dlg_cell_t *get_dlg(str *callid, str *ftag, str *ttag, unsigned int *dir); diff --git a/debian/patches/sipwise/dialog-support-profile_get_size-for-all-profiles.patch b/debian/patches/sipwise/dialog-support-profile_get_size-for-all-profiles.patch index 43a3429b4..e34a8354e 100644 --- a/debian/patches/sipwise/dialog-support-profile_get_size-for-all-profiles.patch +++ b/debian/patches/sipwise/dialog-support-profile_get_size-for-all-profiles.patch @@ -10,10 +10,10 @@ Subject: dialog: support profile_get_size for all profiles 4 files changed, 69 insertions(+) diff --git a/src/modules/dialog/dialog.c b/src/modules/dialog/dialog.c -index 4cdfe7a..d74a36e 100644 +index 9ccb073..3394ece 100644 --- a/src/modules/dialog/dialog.c +++ b/src/modules/dialog/dialog.c -@@ -3127,6 +3127,31 @@ static void internal_rpc_profile_get_size( +@@ -3151,6 +3151,31 @@ static void internal_rpc_profile_get_size( return; } @@ -45,7 +45,7 @@ index 4cdfe7a..d74a36e 100644 /*! * \brief Helper function that outputs the dialogs belonging to a given profile via the RPC interface * \see rpc_profile_print_dlgs -@@ -3211,6 +3236,8 @@ static const char *rpc_dlg_set_state_doc[3] = { +@@ -3235,6 +3260,8 @@ static const char *rpc_dlg_set_state_doc[3] = { 0}; static const char *rpc_profile_get_size_doc[2] = { "Returns the number of dialogs belonging to a profile", 0}; @@ -54,7 +54,7 @@ index 4cdfe7a..d74a36e 100644 static const char *rpc_profile_print_dlgs_doc[2] = { "Lists all the dialogs belonging to a profile", 0}; static const char *rpc_dlg_bridge_doc[2] = { -@@ -3427,6 +3454,11 @@ static void rpc_profile_get_size(rpc_t *rpc, void *c) +@@ -3451,6 +3478,11 @@ static void rpc_profile_get_size(rpc_t *rpc, void *c) } return; } @@ -66,7 +66,7 @@ index 4cdfe7a..d74a36e 100644 static void rpc_profile_print_dlgs(rpc_t *rpc, void *c) { str profile_name = {NULL, 0}; -@@ -3844,6 +3876,8 @@ static rpc_export_t rpc_methods[] = { +@@ -3868,6 +3900,8 @@ static rpc_export_t rpc_methods[] = { {"dlg.end_dlg", rpc_end_dlg_entry_id, rpc_end_dlg_entry_id_doc, 0}, {"dlg.profile_get_size", rpc_profile_get_size, rpc_profile_get_size_doc, 0}, @@ -111,7 +111,7 @@ index 209c4ea..fd71c30 100644 /*! * \brief Search a dialog profile in the global list diff --git a/src/modules/dialog/doc/dialog_admin.xml b/src/modules/dialog/doc/dialog_admin.xml -index 2653f15..4486405 100644 +index 4ae623a..a417212 100644 --- a/src/modules/dialog/doc/dialog_admin.xml +++ b/src/modules/dialog/doc/dialog_admin.xml @@ -3070,6 +3070,28 @@ dlg_set_state("early"); diff --git a/debian/patches/sipwise/do-not-install-default-config.patch b/debian/patches/sipwise/do-not-install-default-config.patch index 911fa0ce1..443acf9d5 100644 --- a/debian/patches/sipwise/do-not-install-default-config.patch +++ b/debian/patches/sipwise/do-not-install-default-config.patch @@ -8,10 +8,10 @@ Subject: do-not-install-default-config 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Makefile b/src/Makefile -index 8de3eb2..63644c8 100644 +index 2362e7c..3b916e9 100644 --- a/src/Makefile +++ b/src/Makefile -@@ -650,7 +650,7 @@ sunpkg: +@@ -651,7 +651,7 @@ sunpkg: .PHONY: install install: mk_params="compile_for_install=yes" diff --git a/debian/patches/sipwise/lost-add-method-parameter-to-http_connect-calls.patch b/debian/patches/sipwise/lost-add-method-parameter-to-http_connect-calls.patch index 5a70fc039..faaf2084e 100644 --- a/debian/patches/sipwise/lost-add-method-parameter-to-http_connect-calls.patch +++ b/debian/patches/sipwise/lost-add-method-parameter-to-http_connect-calls.patch @@ -3,14 +3,14 @@ Date: Fri, 30 Aug 2024 11:23:13 +0200 Subject: lost: add method parameter to http_connect() calls --- - src/modules/lost/functions.c | 7 ++++--- - 1 file changed, 4 insertions(+), 3 deletions(-) + src/modules/lost/functions.c | 6 ++++-- + 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/modules/lost/functions.c b/src/modules/lost/functions.c -index 278f5ea69..e84904798 100644 +index 278f5ea..e849047 100644 --- a/src/modules/lost/functions.c +++ b/src/modules/lost/functions.c -@@ -192,6 +192,7 @@ int lost_held_function(struct sip_msg *_ +@@ -192,6 +192,7 @@ int lost_held_function(struct sip_msg *_m, char *_con, char *_pidf, char *_url, str res = STR_NULL; /* return value pidf */ str err = STR_NULL; /* return value error */ @@ -18,7 +18,7 @@ index 278f5ea69..e84904798 100644 str url = STR_NULL; str did = STR_NULL; str que = STR_NULL; -@@ -295,7 +296,7 @@ int lost_held_function(struct sip_msg *_ +@@ -295,7 +296,7 @@ int lost_held_function(struct sip_msg *_m, char *_con, char *_pidf, char *_url, LM_DBG("using connection [%.*s]\n", con.len, con.s); /* send via connection */ @@ -27,7 +27,7 @@ index 278f5ea69..e84904798 100644 } else { /* we have no connection ... do a NAPTR lookup */ if(lost_parse_host(did.s, &host, &flag) > 0) { -@@ -814,6 +815,7 @@ int lost_function(struct sip_msg *_m, ch +@@ -814,6 +815,7 @@ int lost_function(struct sip_msg *_m, char *_con, char *_uri, char *_name, str err = STR_NULL; /* return value error */ str tmp = STR_NULL; @@ -35,7 +35,7 @@ index 278f5ea69..e84904798 100644 str url = STR_NULL; str urn = STR_NULL; str req = STR_NULL; -@@ -1088,7 +1090,7 @@ int lost_function(struct sip_msg *_m, ch +@@ -1088,7 +1090,7 @@ int lost_function(struct sip_msg *_m, char *_con, char *_uri, char *_name, pkg_free(urlrep); /* clean up */ urlrep = NULL; } else {