Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package libsearpc for openSUSE:Factory checked in at 2023-07-03 17:44:05 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/libsearpc (Old) and /work/SRC/openSUSE:Factory/.libsearpc.new.13546 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "libsearpc" Mon Jul 3 17:44:05 2023 rev:9 rq:1096511 version:3.3.0.20230527 Changes: -------- --- /work/SRC/openSUSE:Factory/libsearpc/libsearpc.changes 2023-04-12 12:52:34.061271169 +0200 +++ /work/SRC/openSUSE:Factory/.libsearpc.new.13546/libsearpc.changes 2023-07-03 17:44:20.057265708 +0200 @@ -1,0 +2,7 @@ +Mon Jul 03 08:48:37 UTC 2023 - [email protected] + +- Update to version 3.3.0.20230527: + * Close socket when failed to connect name pipe (#65) + * Support compile universal (#64) + +------------------------------------------------------------------- Old: ---- libsearpc-3.3.0.20230224.tar.gz New: ---- libsearpc-3.3.0.20230527.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ libsearpc.spec ++++++ --- /var/tmp/diff_new_pack.xlbXRW/_old 2023-07-03 17:44:20.837270299 +0200 +++ /var/tmp/diff_new_pack.xlbXRW/_new 2023-07-03 17:44:20.841270323 +0200 @@ -18,7 +18,7 @@ %define sover 1 Name: libsearpc -Version: 3.3.0.20230224 +Version: 3.3.0.20230527 Release: 0 Summary: Simple C language RPC framework based on GObject system License: Apache-2.0 ++++++ _servicedata ++++++ --- /var/tmp/diff_new_pack.xlbXRW/_old 2023-07-03 17:44:20.889270606 +0200 +++ /var/tmp/diff_new_pack.xlbXRW/_new 2023-07-03 17:44:20.893270629 +0200 @@ -1,6 +1,6 @@ <servicedata> <service name="tar_scm"> <param name="url">https://github.com/haiwen/libsearpc.git</param> - <param name="changesrevision">97e15aa5a9a72f58a90d56183bebb0e73e971084</param></service></servicedata> + <param name="changesrevision">783141fb694f3bd1f8bd8a783670dd25a53b9fc1</param></service></servicedata> (No newline at EOF) ++++++ libsearpc-3.3.0.20230224.tar.gz -> libsearpc-3.3.0.20230527.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libsearpc-3.3.0.20230224/configure.ac new/libsearpc-3.3.0.20230527/configure.ac --- old/libsearpc-3.3.0.20230224/configure.ac 2023-02-24 05:03:43.000000000 +0100 +++ new/libsearpc-3.3.0.20230527/configure.ac 2023-05-27 08:57:05.000000000 +0200 @@ -42,6 +42,15 @@ AC_HELP_STRING([--enable-server-pkg], [enable static compile]), [server_pkg=$enableval],[server_pkg="no"]) +# option: compile-universal +# default: no +AC_ARG_ENABLE([compile-universal], +[AS_HELP_STRING([--enable-compile-universal], +[compile seafile universal @<:@default: no@:>@])], +[compile_universal=${enableval}], [compile_demo=no]) + +AM_CONDITIONAL([COMPILE_UNIVERSAL], [test x${compile_universal} = xyes]) + dnl - check if the macro WIN32 is defined on this compiler. AC_MSG_CHECKING(for WIN32) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libsearpc-3.3.0.20230224/lib/Makefile.am new/libsearpc-3.3.0.20230527/lib/Makefile.am --- old/libsearpc-3.3.0.20230224/lib/Makefile.am 2023-02-24 05:03:43.000000000 +0100 +++ new/libsearpc-3.3.0.20230527/lib/Makefile.am 2023-05-27 08:57:05.000000000 +0200 @@ -4,6 +4,12 @@ -I${top_builddir}/lib \ -I${top_srcdir}/lib +if MACOS +if COMPILE_UNIVERSAL +AM_CFLAGS += -arch x86_64 -arch arm64 +endif +endif + lib_LTLIBRARIES = libsearpc.la include_HEADERS = searpc-client.h searpc-server.h searpc-utils.h searpc.h searpc-named-pipe-transport.h diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libsearpc-3.3.0.20230224/lib/searpc-named-pipe-transport.c new/libsearpc-3.3.0.20230527/lib/searpc-named-pipe-transport.c --- old/libsearpc-3.3.0.20230224/lib/searpc-named-pipe-transport.c 2023-02-24 05:03:43.000000000 +0100 +++ new/libsearpc-3.3.0.20230527/lib/searpc-named-pipe-transport.c 2023-05-27 08:57:05.000000000 +0200 @@ -333,6 +333,7 @@ g_strlcpy (servaddr.sun_path, client->path, sizeof(servaddr.sun_path)); if (connect(client->pipe_fd, (struct sockaddr *)&servaddr, (socklen_t)sizeof(servaddr)) < 0) { g_warning ("pipe client failed to connect to server: %s\n", strerror(errno)); + close(client->pipe_fd); return -1; } @@ -364,6 +365,7 @@ DWORD mode = PIPE_READMODE_MESSAGE; if (!SetNamedPipeHandleState(pipe_fd, &mode, NULL, NULL)) { G_WARNING_WITH_LAST_ERROR("Failed to set named pipe mode"); + CloseHandle (pipe_fd); return -1; }
