public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Mattias Ellert <mattias.ellert@physics.uu.se>
To: git-commits@fedoraproject.org
Subject: [rpms/globus-callout] epel9: New GCT release v6.2.20261111
Date: Mon, 16 Nov 2026 21:09:59 GMT	[thread overview]
Message-ID: <179486339900.1.5779636816059354346.rpms-globus-callout-a222fc1ebda3@fedoraproject.org> (raw)

            A new commit has been pushed.

            Repo   : rpms/globus-callout
            Branch : epel9
            Commit : a222fc1ebda37c60eacb9d4af94de961d36366a2
            Author : Mattias Ellert <mattias.ellert@physics.uu.se>
            Date   : 2026-11-16T18:33:53+01:00
            Stats  : +7/-643 in 4 file(s)
            URL    : https://src.fedoraproject.org/rpms/globus-callout/c/a222fc1ebda37c60eacb9d4af94de961d36366a2?branch=epel9

            Log:
            New GCT release v6.2.20261111

Drop patches included in the release

---
diff --git a/0001-Untabify-and-remove-trailing-white-space.patch b/0001-Untabify-and-remove-trailing-white-space.patch
deleted file mode 100644
index 58788e4..0000000
--- a/0001-Untabify-and-remove-trailing-white-space.patch
+++ /dev/null
@@ -1,577 +0,0 @@
-From 3ccdaa0236230bbcbcbf339e7dfdfaf23c10bd6f Mon Sep 17 00:00:00 2001
-From: Mattias Ellert <mattias.ellert@physics.uu.se>
-Date: Wed, 20 May 2026 00:15:37 +0200
-Subject: [PATCH 1/2] Untabify and remove trailing white-space
-
----
- callout/source/library/globus_callout.c | 154 ++++++++++++------------
- 1 file changed, 77 insertions(+), 77 deletions(-)
-
-diff --git a/callout/source/library/globus_callout.c b/callout/source/library/globus_callout.c
-index b84007b95..0a9ab5586 100644
---- a/callout/source/library/globus_callout.c
-+++ b/callout/source/library/globus_callout.c
-@@ -85,7 +85,7 @@ globus_l_callout_activate(void)
-     if(tmp_string != GLOBUS_NULL)
-     {
-         globus_i_callout_debug_level = atoi(tmp_string);
--        
-+
-         if(globus_i_callout_debug_level < 0)
-         {
-             globus_i_callout_debug_level = 0;
-@@ -186,7 +186,7 @@ globus_callout_handle_init(
-         GLOBUS_CALLOUT_MALLOC_ERROR(result);
-         goto exit;
-     }
--    
-+
-     if((rc = globus_hashtable_init(&((*handle)->symbol_htable),
-                                    GLOBUS_I_CALLOUT_HASH_SIZE,
-                                    globus_hashtable_string_hash,
-@@ -198,7 +198,7 @@ globus_callout_handle_init(
-             GLOBUS_CALLOUT_ERROR_WITH_HASHTABLE,
-             ("globus_hashtable_init retuned %d", rc));
-         goto exit;
--    }    
-+    }
- 
-     if((rc = globus_hashtable_init(&((*handle)->library_htable),
-                                    GLOBUS_I_CALLOUT_HASH_SIZE,
-@@ -212,12 +212,12 @@ globus_callout_handle_init(
-             GLOBUS_CALLOUT_ERROR_WITH_HASHTABLE,
-             ("globus_hashtable_init retuned %d", rc));
-         goto exit;
--    }    
-+    }
- 
-     GLOBUS_I_CALLOUT_DEBUG_EXIT;
- 
-  exit:
--    
-+
-     return result;
- }/*globus_callout_handle_init*/
- 
-@@ -238,7 +238,7 @@ globus_callout_handle_destroy(
-     static char *                       _function_name_ =
-         "globus_callout_handle_destroy";
-     GLOBUS_I_CALLOUT_DEBUG_ENTER;
--    
-+
-     /* free hashes */
- 
-     globus_hashtable_destroy_all(
-@@ -250,7 +250,7 @@ globus_callout_handle_destroy(
-         globus_l_callout_data_free);
- 
-     free(handle);
--    
-+
-     GLOBUS_I_CALLOUT_DEBUG_EXIT;
- 
-     return result;
-@@ -273,7 +273,7 @@ globus_callout_handle_destroy(
-  *      of the callout. The library argument can be specified in two forms,
-  *      libfoo or libfoo_<i>flavor</i>. When using the former version the
-  *      current flavor will automatically be added to the library name if
-- *      needed. 
-+ *      needed.
-  *
-  * @param handle
-  *        The handle that is to be configured
-@@ -306,13 +306,13 @@ globus_callout_read_config(
-     globus_result_t                     result;
-     globus_i_callout_data_t *           datum = NULL;
-     globus_i_callout_data_t *           existing_datum;
--    
-+
- 
-     static char *                       _function_name_ =
-         "globus_callout_read_config";
- 
-     GLOBUS_I_CALLOUT_DEBUG_ENTER;
--    
-+
-     conf_file = fopen(filename, "r");
- 
-     if(conf_file == NULL)
-@@ -323,7 +323,7 @@ globus_callout_read_config(
-             ("filename %s", filename));
-         goto error_exit;
-     }
--    
-+
-     while(fgets(buffer,GLOBUS_I_CALLOUT_LINEBUF,conf_file))
-     {
-         if(!strchr(buffer, '\n'))
-@@ -339,12 +339,12 @@ globus_callout_read_config(
-         pound = strchr(buffer, '#');
- 
-         if(pound != NULL)
--        { 
-+        {
-             *pound = '\0';
-         }
- 
-         /* strip white space from start */
--        
-+
-         index = 0;
- 
-         while(buffer[index] == '\t' || buffer[index] == ' ')
-@@ -353,12 +353,12 @@ globus_callout_read_config(
-         }
- 
-         /* if blank line continue */
--        
-+
-         if(buffer[index] == '\0' || buffer[index] == '\n')
--        { 
-+        {
-             continue;
-         }
--        
-+
-         if(sscanf(&buffer[index],"%127s%255s%127s",type,library,symbol) < 3)
-         {
-             GLOBUS_CALLOUT_ERROR_RESULT(
-@@ -367,7 +367,7 @@ globus_callout_read_config(
-                 ("malformed line: %s", &buffer[index]));
-             goto error_exit;
-         }
--        
-+
-         /* check for ENV vars to set */
-         env_argstr = strstr(buffer, "ENV:");
-         if(env_argstr && strchr(env_argstr, '='))
-@@ -375,7 +375,7 @@ globus_callout_read_config(
-             int                         i;
-             char *                      ptr;
-             char *                      start;
--            
-+
-             numpairs = 0;
-             ptr = strchr(env_argstr, '=');
-             while(ptr)
-@@ -396,26 +396,26 @@ globus_callout_read_config(
-                 }
-                 ptr = strchr(ptr + 1, '=');
-             }
--            
-+
-             if(numpairs > 0)
-             {
-                 env_args = globus_calloc(numpairs*2+1, sizeof(char *));
--                
-+
-                 start = env_argstr + 4;
--                
-+
-                 i = 0;
-                 while(start)
--                {                    
-+                {
-                     /* skip initial space */
-                     while(isspace(*start))
-                     {
-                         start++;
-                     }
--                    
-+
-                     /* find var name */
-                     ptr = strchr(start, '=');
-                     *ptr = '\0';
--                    
-+
-                     if(strcspn(start, " \"=") != strlen(start))
-                     {
-                         GLOBUS_CALLOUT_ERROR_RESULT(
-@@ -426,10 +426,10 @@ globus_callout_read_config(
-                     }
- 
-                     env_args[i] = globus_libc_strdup(start);
--                    
-+
-                     /* find value in quotes or before a space or end of line */
-                     start = ++ptr;
--                    
-+
-                     if(*start == '"')
-                     {
-                         start++;
-@@ -443,7 +443,7 @@ globus_callout_read_config(
-                         {
-                             ptr = strchr(start, '\n');
-                         }
--                        *ptr = '\0';                        
-+                        *ptr = '\0';
-                     }
-                     env_args[i+1] = globus_libc_strdup(start);
- 
-@@ -460,8 +460,8 @@ globus_callout_read_config(
-                     {
-                         start = NULL;
-                     }
--                    
--                    i += 2; 
-+
-+                    i += 2;
-                 }
-                 env_args[i] = NULL;
-             }
-@@ -470,7 +470,7 @@ globus_callout_read_config(
-         {
-             env_args = NULL;
-         }
--        
-+
-         /* push values into hash */
-         datum = malloc(sizeof(globus_i_callout_data_t));
- 
-@@ -488,7 +488,7 @@ globus_callout_read_config(
-            (strstr(flavor_start, "32") || strstr(flavor_start, "64")))
-         {
-             datum->file = strdup(library);
--            
-+
-             if(datum->file == NULL)
-             {
-                 GLOBUS_CALLOUT_MALLOC_ERROR(result);
-@@ -496,7 +496,7 @@ globus_callout_read_config(
-             }
-         }
-         else
--        { 
-+        {
-             datum->file = malloc(strlen(library) + 2 + strlen(flavor));
-             if(datum->file == NULL)
-             {
-@@ -508,7 +508,7 @@ globus_callout_read_config(
-             strcat(datum->file, "_");
-             strcat(datum->file, flavor);
-         }
--        
-+
-         datum->symbol = strdup(symbol);
- 
-         if(datum->symbol == NULL)
-@@ -516,7 +516,7 @@ globus_callout_read_config(
-             GLOBUS_CALLOUT_MALLOC_ERROR(result);
-             goto error_exit;
-         }
--        
-+
-         if(*type == '|')
-         {
-             datum->mandatory = GLOBUS_FALSE;
-@@ -552,7 +552,7 @@ globus_callout_read_config(
-     }
- 
-     fclose(conf_file);
--    
-+
-     GLOBUS_I_CALLOUT_DEBUG_EXIT;
- 
-     return GLOBUS_SUCCESS;
-@@ -603,23 +603,23 @@ globus_callout_register(
-     globus_i_callout_data_t *           datum = NULL;
-     globus_i_callout_data_t *           existing_datum;
-     char *                              flavor_start;
--    
-+
-     static char *                       _function_name_ =
-         "globus_callout_register";
- 
-     GLOBUS_I_CALLOUT_DEBUG_ENTER;
--    
--    
-+
-+
-     /* push values into hash */
- 
-     datum = malloc(sizeof(globus_i_callout_data_t));
--    
-+
-     if(datum == NULL)
-     {
-         GLOBUS_CALLOUT_MALLOC_ERROR(result);
-         goto error_exit;
-     }
--    
-+
-     memset(datum,'\0',sizeof(globus_i_callout_data_t));
-     datum->mandatory = GLOBUS_TRUE;
- 
-@@ -627,7 +627,7 @@ globus_callout_register(
-        (strstr(flavor_start, "32") || strstr(flavor_start, "64")))
-     {
-         datum->file = strdup(library);
--        
-+
-         if(datum->file == NULL)
-         {
-             GLOBUS_CALLOUT_MALLOC_ERROR(result);
-@@ -635,7 +635,7 @@ globus_callout_register(
-         }
-     }
-     else
--    { 
-+    {
-         datum->file = malloc(strlen(library) + 2 + strlen(flavor));
-         if(datum->file == NULL)
-         {
-@@ -644,26 +644,26 @@ globus_callout_register(
-         }
-         datum->file[0] = '\0';
-         strcat(datum->file, library);
--        strcat(datum->file, "_");            
-+        strcat(datum->file, "_");
-         strcat(datum->file, flavor);
-     }
--    
-+
-     datum->symbol = strdup(symbol);
--    
-+
-     if(datum->symbol == NULL)
-     {
-         GLOBUS_CALLOUT_MALLOC_ERROR(result);
-         goto error_exit;
-     }
--    
-+
-     datum->type = strdup(type);
--    
-+
-     if(datum->type == NULL)
-     {
-         GLOBUS_CALLOUT_MALLOC_ERROR(result);
-         goto error_exit;
-     }
--    
-+
-     if((rc = globus_hashtable_insert(&handle->symbol_htable,
-                                      datum->type,
-                                      datum)) == -1)
-@@ -676,7 +676,7 @@ globus_callout_register(
-         }
-         existing_datum->next = datum;
-     }
--    
-+
-     GLOBUS_I_CALLOUT_DEBUG_EXIT;
- 
-     return GLOBUS_SUCCESS;
-@@ -684,12 +684,12 @@ globus_callout_register(
-  error_exit:
- 
-     GLOBUS_I_CALLOUT_DEBUG_EXIT;
--    
-+
-     if(datum != NULL)
-     {
-         globus_l_callout_data_free(datum);
-     }
-- 
-+
-     return result;
- }/*globus_callout_register*/
- 
-@@ -749,7 +749,7 @@ globus_callout_call_type(
-             ("unknown type: %s\n", type));
-         goto exit;
-     }
--    
-+
-     tmp_datum = current_datum;
-     while(tmp_datum)
-     {
-@@ -759,7 +759,7 @@ globus_callout_call_type(
-         }
-         tmp_datum = tmp_datum->next;
-     }
--    
-+
-     do
-     {
-         dlhandle = globus_hashtable_lookup(&handle->library_htable,
-@@ -768,12 +768,12 @@ globus_callout_call_type(
-         if(dlhandle == NULL)
-         {
-             dlhandle = malloc(sizeof(lt_dlhandle));
--            
-+
-             if(dlhandle == NULL)
-             {
-                 GLOBUS_CALLOUT_MALLOC_ERROR(result);
-             }
--            
-+
-             *dlhandle = NULL;
-             rc = globus_hashtable_insert(&handle->library_htable,
-                                          current_datum->file,
-@@ -786,15 +786,15 @@ globus_callout_call_type(
-                     GLOBUS_CALLOUT_ERROR_WITH_HASHTABLE,
-                     ("globus_hashtable_insert retuned %d", rc));
-                 goto exit;
--            }            
-+            }
-         }
--    
-+
-         if(*dlhandle == NULL)
-         {
-             /* first time a symbol is referenced in this library ->
-              * need to open it
-              */
--            
-+
-             *dlhandle = lt_dlopenext(current_datum->file);
-             if(*dlhandle == NULL)
-             {
-@@ -803,7 +803,7 @@ globus_callout_call_type(
-                 library[1023] = 0;
-                 *dlhandle = lt_dlopenext(library);
-             }
--            
-+
-             if(*dlhandle == NULL)
-             {
-                 /* try again with flavor string removed */
-@@ -834,7 +834,7 @@ globus_callout_call_type(
-                     GLOBUS_CALLOUT_ERROR_WITH_DL,
-                     ("couldn't dlopen %s: %s\n",
-                      library,
--                     (dlerror = lt_dlerror()) ? dlerror : 
-+                     (dlerror = lt_dlerror()) ? dlerror :
-                         "unknown error, possibly file not found."));
-                 goto exit;
-             }
-@@ -855,16 +855,16 @@ globus_callout_call_type(
-         }
- 
-         if(current_datum->env_args)
--        {            
-+        {
-             save_env = globus_calloc(
-                 current_datum->num_env_args*2+1, sizeof(char *));
- 
-             i = 0;
--            while(current_datum->env_args[i] != NULL && 
-+            while(current_datum->env_args[i] != NULL &&
-                 current_datum->env_args[i+1] != NULL)
-             {
-                 save_env[i] = current_datum->env_args[i];
--                save_env[i+1] = 
-+                save_env[i+1] =
-                     globus_libc_strdup(getenv(current_datum->env_args[i]));
-                 globus_libc_setenv(current_datum->env_args[i], current_datum->env_args[i+1], 1);
-                 i += 2;
-@@ -873,14 +873,14 @@ globus_callout_call_type(
-         }
- 
-         va_start(ap,type);
--    
-+
-         result = ((globus_callout_function_t) function)(ap);
--        
-+
-         va_end(ap);
- 
-         if(current_datum->env_args)
-         {
--            i = 0;            
-+            i = 0;
-             while(save_env[i] != NULL)
-             {
-                 if(save_env[i+1] == NULL)
-@@ -892,7 +892,7 @@ globus_callout_call_type(
-                     globus_libc_setenv(save_env[i], save_env[i+1], 1);
-                     globus_free(save_env[i+1]);
-                 }
--                                
-+
-                 i += 2;
-             }
-             globus_free(save_env);
-@@ -904,13 +904,13 @@ globus_callout_call_type(
-             {
-                 mandatory_callouts_remaining--;
-             }
--            
-+
-             if(!mandatory_callouts_remaining)
-             {
-                 goto exit;
-             }
-         }
--        
-+
-         if(result != GLOBUS_SUCCESS)
-         {
-             if(current_datum->mandatory)
-@@ -938,7 +938,7 @@ globus_callout_call_type(
-         current_datum = current_datum->next;
-     }
-     while(current_datum);
--    
-+
-  exit:
-     GLOBUS_I_CALLOUT_DEBUG_EXIT;
-     return result;
-@@ -961,17 +961,17 @@ globus_l_callout_data_free(
-         {
-             free(data->type);
-         }
--        
-+
-         if(data->file != NULL)
-         {
-             free(data->file);
-         }
--        
-+
-         if(data->symbol != NULL)
-         {
-             free(data->symbol);
-         }
--        
-+
-         if(data->env_args != NULL)
-         {
-             int i = 0;
-@@ -982,10 +982,10 @@ globus_l_callout_data_free(
-             }
-             free(data->env_args);
-         }
--        
-+
-         free(data);
-     }
--    
-+
-     GLOBUS_I_CALLOUT_DEBUG_EXIT;
- }
- 
-@@ -1004,7 +1004,7 @@ globus_l_callout_library_table_element_free(
-     dlhandle = (lt_dlhandle *) element;
- 
-     if(dlhandle != NULL)
--    { 
-+    {
-         if(*dlhandle != NULL)
-         {
-             if(lt_dlclose(*dlhandle) < 0)
-@@ -1018,7 +1018,7 @@ globus_l_callout_library_table_element_free(
- 
-         free(dlhandle);
-     }
--    
-+
-     GLOBUS_I_CALLOUT_DEBUG_EXIT;
-     return;
- }
--- 
-2.54.0
-

diff --git a/0002-Fix-compiler-and-doxygen-warnings.patch b/0002-Fix-compiler-and-doxygen-warnings.patch
deleted file mode 100644
index cddf78f..0000000
--- a/0002-Fix-compiler-and-doxygen-warnings.patch
+++ /dev/null
@@ -1,57 +0,0 @@
-From 4ee08d13e2963309e2063dc45dedd067337d3b76 Mon Sep 17 00:00:00 2001
-From: Mattias Ellert <mattias.ellert@physics.uu.se>
-Date: Wed, 20 May 2026 00:15:37 +0200
-Subject: [PATCH 2/2] Fix compiler and doxygen warnings
-
----
- callout/source/library/globus_callout.c | 13 +++----------
- 1 file changed, 3 insertions(+), 10 deletions(-)
-
-diff --git a/callout/source/library/globus_callout.c b/callout/source/library/globus_callout.c
-index 0a9ab5586..454bb4b81 100644
---- a/callout/source/library/globus_callout.c
-+++ b/callout/source/library/globus_callout.c
-@@ -731,7 +731,7 @@ globus_callout_call_type(
-     char *                              flavor_start;
-     char *                              file;
-     char                                library[1024];
--    char **                             save_env;
-+    char **                             save_env = NULL;
-     int                                 i;
-     globus_i_callout_data_t *           tmp_datum;
-     int                                 mandatory_callouts_remaining = 0;
-@@ -878,7 +878,7 @@ globus_callout_call_type(
- 
-         va_end(ap);
- 
--        if(current_datum->env_args)
-+        if(current_datum->env_args && save_env)
-         {
-             i = 0;
-             while(save_env[i] != NULL)
-@@ -996,7 +996,6 @@ globus_l_callout_library_table_element_free(
-     void *                              element)
- {
-     lt_dlhandle *                       dlhandle;
--    globus_result_t                     result;
-     static char *                       _function_name_ =
-         "globus_l_callout_library_table_element_free";
-     GLOBUS_I_CALLOUT_DEBUG_ENTER;
-@@ -1007,13 +1006,7 @@ globus_l_callout_library_table_element_free(
-     {
-         if(*dlhandle != NULL)
-         {
--            if(lt_dlclose(*dlhandle) < 0)
--            {
--                GLOBUS_CALLOUT_ERROR_RESULT(
--                    result,
--                    GLOBUS_CALLOUT_ERROR_WITH_DL,
--                    ("failed to close library"));
--            }
-+            lt_dlclose(*dlhandle);
-         }
- 
-         free(dlhandle);
--- 
-2.54.0
-

diff --git a/globus-callout.spec b/globus-callout.spec
index acffd37..77602ac 100644
--- a/globus-callout.spec
+++ b/globus-callout.spec
@@ -1,15 +1,13 @@
 Name:		globus-callout
 %global _name %(tr - _ <<< %{name})
-Version:	4.3
-Release:	15%{?dist}
+Version:	4.4
+Release:	1%{?dist}
 Summary:	Grid Community Toolkit - Globus Callout Library
 
 License:	Apache-2.0
 URL:		https://github.com/gridcf/gct/
 Source:		https://repo.gridcf.org/gct6/sources/%{_name}-%{version}.tar.gz
 Source8:	README
-Patch0:		0001-Untabify-and-remove-trailing-white-space.patch
-Patch1:		0002-Fix-compiler-and-doxygen-warnings.patch
 
 BuildRequires:	make
 BuildRequires:	gcc
@@ -58,8 +56,6 @@ Globus Callout Library Documentation Files
 
 %prep
 %setup -q -n %{_name}-%{version}
-%patch -P0 -p3
-%patch -P1 -p3
 
 %build
 # Reduce overlinking
@@ -90,8 +86,6 @@ rm %{buildroot}%{_pkgdocdir}/GLOBUS_LICENSE
 %check
 %make_build check
 
-%ldconfig_scriptlets
-
 %files
 %{_libdir}/libglobus_callout.so.*
 %dir %{_pkgdocdir}
@@ -111,6 +105,10 @@ rm %{buildroot}%{_pkgdocdir}/GLOBUS_LICENSE
 %license GLOBUS_LICENSE
 
 %changelog
+* Mon Nov 16 2026 Mattias Ellert <mattias.ellert@physics.uu.se> - 4.4-1
+- New GCT release v6.2.20261111
+- Drop patches included in the release
+
 * Thu Jul 16 2026 Fedora Release Engineering <releng@fedoraproject.org> - 4.3-15
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_45_Mass_Rebuild
 

diff --git a/sources b/sources
index 7f13543..440b908 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (globus_callout-4.3.tar.gz) = ddf76cf4483f5e466da42cc148475cbba6d16c8d4434f468ddd494710e7f3af9812f84ca119f967a4bdfc1104198801d5a42144d5c4a36e8243c8884440cb3c7
+SHA512 (globus_callout-4.4.tar.gz) = 59ae63d33b767107612b09ab56d3e473c663566a59f2eb1cb0351cf4de9a2ff1c0cb2bcb6f181f4e5cdf28f1f236887415d9371d2516f1c48a13060f6d6cfd18

                 reply	other threads:[~2026-11-16 21:09 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=179486339900.1.5779636816059354346.rpms-globus-callout-a222fc1ebda3@fedoraproject.org \
    --to=mattias.ellert@physics.uu.se \
    --cc=git-commits@fedoraproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox