Dominique Leuenberger 2020-02-09 20:01:20 +00:00 committed by Git OBS Bridge
commit 6d83f66c27
8 changed files with 69 additions and 8 deletions

View File

@ -4,8 +4,8 @@
<param name="url">https://github.com/open-iscsi/open-isns.git</param> <param name="url">https://github.com/open-iscsi/open-isns.git</param>
<param name="subdir"></param> <param name="subdir"></param>
<param name="filename">open-isns</param> <param name="filename">open-isns</param>
<param name="versionformat">0.99</param> <param name="versionformat">0.100</param>
<param name="revision">v0.99</param> <param name="revision">v0.100</param>
<param name="changesgenerate">enable</param> <param name="changesgenerate">enable</param>
</service> </service>
<service name="recompress" mode="disabled"> <service name="recompress" mode="disabled">

View File

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

3
open-isns-0.100.tar.xz Normal file
View File

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

View File

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

View File

@ -0,0 +1,25 @@
diff -aurp a/configure.ac b/configure.ac
--- a/configure.ac 2020-01-23 13:02:36.000000000 -0800
+++ b/configure.ac 2020-02-01 10:14:08.853538750 -0800
@@ -17,7 +17,7 @@ AC_PATH_PROG(SH, sh)
dnl C Compiler features
AC_C_INLINE
if test "$GCC" = "yes"; then
- CFLAGS="-Wall -Werror -Wextra $CFLAGS"
+ CFLAGS="-Wall -Wextra $CFLAGS"
CPPFLAGS="$CPPFLAGS -D_GNU_SOURCE"
fi
Only in ./open-isns-0.100: .configure.ac.swp
diff -aurp a/isnsdd.c b/isnsdd.c
--- a/isnsdd.c 2020-01-23 13:02:36.000000000 -0800
+++ b/isnsdd.c 2020-02-01 10:14:04.277547782 -0800
@@ -401,7 +401,7 @@ check_portal_registration(__attribute__(
continue;
last_modified = isns_object_last_modified(obj);
- if (last_modified + 2 * interval > now) {
+ if ((time_t)(last_modified + 2 * interval) > now) {
good_portals++;
continue;
}

View File

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

View File

@ -1,3 +1,32 @@
-------------------------------------------------------------------
Fri Jan 31 22:05:13 UTC 2020 - lduncan@suse.com
- Update to version 0.100:
* Updated ChangeLog with latest fixes
* Create and use pythong unittest framework
* Ignore SO lib
* Handle restarting test harness server correctly
* Fix mdebug.c so it compiles when enabled.
* Running make twice should not rebuild everything
* Change isns_portal_string() to use static mem
* Adding python compiled files
* fixed issues with old openssl usage
* Added debugging, moved .cvsignore to .gitignore
* Preparing for version v0.100
* Fix problem with parsing IPv6 Addresses with brakcets.
* General cleanup for the compiler.
* Travis-CI and Coverity Scan setup
* openssl: handle newer version with ifdefs
* Remove old compiler option, and add "-Werror".
* Change isns_portal_string() to return allocated string.
* add tags to ignored list of files
* Fix compiler complaint about possible alignment issue
Replacing open-isns-0.99.tar.xz with open-isns-0.100.tar.xz.
Also, added latest (not yet tagged) fixes from upstream,
adding patch, and add in a 586-fix, adding:
* open-isns-updates.diff.bz2, and
* open-isns-fix-586-time.patch
------------------------------------------------------------------- -------------------------------------------------------------------
Mon Oct 28 17:28:34 UTC 2019 - Lee Duncan <lduncan@suse.com> Mon Oct 28 17:28:34 UTC 2019 - Lee Duncan <lduncan@suse.com>

View File

@ -1,7 +1,7 @@
# #
# spec file for package open-isns # spec file for package open-isns
# #
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. # Copyright (c) 2020 SUSE LINUX GmbH, Nuernberg, Germany.
# #
# All modifications and additions to the file contributed by third parties # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@ -20,9 +20,11 @@ Name: open-isns
Summary: Partial Implementation of iSNS iSCSI registration Summary: Partial Implementation of iSNS iSCSI registration
License: LGPL-2.1-or-later License: LGPL-2.1-or-later
Group: System/Kernel Group: System/Kernel
Version: 0.99 Version: 0.100
Release: 0 Release: 0
Source: %{name}-%{version}.tar.xz Source: %{name}-%{version}.tar.xz
Patch1: %{name}-updates.diff.bz2
Patch2: %{name}-fix-586-time.patch
Url: https://github.com/open-iscsi/%{name} Url: https://github.com/open-iscsi/%{name}
BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: autoconf BuildRequires: autoconf
@ -55,6 +57,8 @@ Files to develop an application using the open-isns library.
%prep %prep
%setup -n %{name}-%{version} %setup -n %{name}-%{version}
%patch1 -p1
%patch2 -p1
%build %build
%global _lto_cflags %{?_lto_cflags} -ffat-lto-objects %global _lto_cflags %{?_lto_cflags} -ffat-lto-objects