Accepting request 1222896 from Base:System

OBS-URL: https://build.opensuse.org/request/show/1222896
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/open-isns?expand=0&rev=19
This commit is contained in:
Dominique Leuenberger 2024-11-09 19:54:07 +00:00 committed by Git OBS Bridge
commit fd06496470
7 changed files with 45 additions and 46 deletions

View File

@ -1,34 +0,0 @@
From 62e2c4d8dd270eea0bfaa933e87182c8a1c18aac Mon Sep 17 00:00:00 2001
From: Lee Duncan <lduncan@suse.com>
Date: Thu, 8 Sep 2022 12:00:31 -0700
Subject: [PATCH] Quiet a commpiler warning.
Build error looked like:
[ 33s] gcc -Wall -Wextra -O2 -Wall -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -fstack-protector-strong -funwind-tables -fasynchronous-unwind-tables -fstack-clash-protection -Werror=return-type -flto=auto -ffat-lto-objects -g -I. -Iinclude -I. -I./include -flto=auto -ffat-lto-objects -o tests/pauw4 tests/pauw4.o -L. -lisns -Wl,--as-needed -lcrypto
[ 33s] attrs.c: In function 'isns_attr_decode':
[ 33s] attrs.c:807:9: warning: 'len' may be used uninitialized [-Wmaybe-uninitialized]
[ 33s] 807 | isns_error("Error decoding attribute, tag=0x%04x, len=%u\n",
[ 33s] | ^
[ 33s] attrs.c:780:30: note: 'len' declared here
[ 33s] 780 | uint32_t tag, len;
---
attrs.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/attrs.c b/attrs.c
index 44d9675358b9..a12c22235481 100644
--- a/attrs.c
+++ b/attrs.c
@@ -777,7 +777,7 @@ isns_attr_decode(buf_t *bp, isns_attr_t **result)
{
isns_attr_t *attr = NULL;
isns_value_t *value;
- uint32_t tag, len;
+ uint32_t tag, len = 0;
if (!buf_get32(bp, &tag)
|| !buf_get32(bp, &len))
--
2.35.3

View File

@ -1,12 +1,13 @@
<services>
<service name="tar_scm" mode="disabled">
<param name="scm">git</param>
<param name="url">https://github.com/open-iscsi/open-isns.git</param>
<param name="subdir"></param>
<param name="scm">git</param>
<param name="filename">open-isns</param>
<param name="versionformat">0.102</param>
<param name="revision">v0.102</param>
<param name="version">HEAD</param>
<param name="versionformat">0.103+@TAG_OFFSET@.%h</param>
<param name="revision">HEAD</param>
<param name="changesgenerate">enable</param>
<param name="exclude">.git</param>
</service>
<service name="recompress" mode="disabled">
<param name="file">open-isns*.tar</param>

View File

@ -1,4 +1,4 @@
<servicedata>
<service name="tar_scm">
<param name="url">https://github.com/open-iscsi/open-isns.git</param>
<param name="changesrevision">c0e6d9fedc5a7041260de477fe1a8455fa074113</param></service></servicedata>
<param name="changesrevision">296d533bd52ad6b901cd7b8464ebab526aa7a975</param></service></servicedata>

BIN
open-isns-0.102.tar.xz (Stored with Git LFS)

Binary file not shown.

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:b8b8a3c968edb6f36b3c184e86f910593a9f53defc4e8513cf7f88c76723ef08
size 176504

View File

@ -1,3 +1,36 @@
-------------------------------------------------------------------
Wed Nov 06 18:03:25 UTC 2024 - lduncan@suse.com
- Update to version 0.103+2.296d533bd52a:
* Cleanup build system: remove aclocal directory
* Preparing for version 0.103
* Testing: update testing system
* Update the git ignore list for meson
* Remove old stale TODO item
* Update HACKING file with memory debuging update
* Disable broken memory debugging
* Remove last remnants of the old Make/configure bulid system
* Testing: remove deprecated perl testing code
* isnsadm: more memleaks in error handling paths
* isnsadm: free simp in list_objects
* isnsadm: free qry in error paths
* rebuild_proxy_list: free proxy on error
* isns_get_address: free addrinfo on error
* isns_msg_complete: msg_buf resource leak
* register_exported_objects: move call definition insize loop
* rebuild_proxy_list: move def inside loop to make lifetime clear to static checkers
* refresh_registration: resource leak
* isns_create_getnnext_response: resource leak
* db mkdir: leak of strdup memory
* libisns: fix print_size overrun
* isns_proxy_free: fix free call on strdup string
* logging: fix segfault on an underflow with an input string of all newlines
* Fix the bug in compare value
* Quiet a commpiler warning.
- Removed pach (no longer needed in new version):
* Quiet-a-commpiler-warning.patch
-------------------------------------------------------------------
Tue Sep 5 11:59:19 UTC 2023 - Thorsten Kukuk <kukuk@suse.com>

View File

@ -1,7 +1,7 @@
#
# spec file for package open-isns
#
# Copyright (c) 2023 SUSE LLC
# Copyright (c) 2024 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -26,10 +26,9 @@ Name: open-isns
Summary: Partial Implementation of iSNS iSCSI registration
License: LGPL-2.1-or-later
Group: System/Kernel
Version: 0.102
Version: 0.103+2.296d533bd52a
Release: 0
Source: %{name}-%{version}.tar.xz
Patch1: Quiet-a-commpiler-warning.patch
URL: https://github.com/open-iscsi/%{name}
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: autoconf
@ -110,7 +109,7 @@ ln -sf /usr/sbin/service %{buildroot}/usr/sbin/rcisnsd
%attr(0600,root,root) %config(noreplace) %{_sysconfdir}/isns/isnsdd.conf
%{_sbindir}/rcisnsd
%license COPYING
%doc HACKING README TODO
%doc HACKING README.md TODO
%doc %{_mandir}/man8/isnsd.8%{?ext_man}
%doc %{_mandir}/man8/isnsadm.8%{?ext_man}
%doc %{_mandir}/man8/isnsdd.8%{?ext_man}