2020-12-08 12:22:54 +00:00
committed by Git OBS Bridge
4 changed files with 34 additions and 33 deletions

View File

@@ -1,25 +0,0 @@
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

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

View File

@@ -1,3 +1,26 @@
-------------------------------------------------------------------
Fri Dec 4 20:08:53 UTC 2020 - Lee Duncan <lduncan@suse.com>
- Updated SPEC file to Recommend open-iscsi
-------------------------------------------------------------------
Fri Dec 4 19:51:59 UTC 2020 - Lee Duncan <lduncan@suse.com>
- Updated to latest upstream, including:
* Add man page for isnssetup.
* Fix broken server authentication initialization.
* Update version string to "0.100".
* Added a TODO: 'make depend' not worrking
* libisns: remove sighold and sigrelse
* fix compilation without deprecated OpenSSL APIs
* socket.c: include poll.h instead of sys/poll.h for POSIX compatibility
* Fix 586 compile issue and remove -Werror
* Do not ignore write() return value.
* Fix compiler issue when n
Which updates open-isns-updates.diff.bz2, and removes the
no-longer-needed patch open-isns-fix-586-time.patch.
Also, security will be enabled/configured with this update.
------------------------------------------------------------------- -------------------------------------------------------------------
Fri Jan 31 22:05:13 UTC 2020 - lduncan@suse.com Fri Jan 31 22:05:13 UTC 2020 - lduncan@suse.com

View File

@@ -1,7 +1,7 @@
# #
# spec file for package open-isns # spec file for package open-isns
# #
# Copyright (c) 2020 SUSE LINUX GmbH, Nuernberg, Germany. # Copyright (c) 2020 SUSE LLC
# #
# 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
@@ -24,8 +24,7 @@ Version: 0.100
Release: 0 Release: 0
Source: %{name}-%{version}.tar.xz Source: %{name}-%{version}.tar.xz
Patch1: %{name}-updates.diff.bz2 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
BuildRequires: automake BuildRequires: automake
@@ -35,6 +34,7 @@ BuildRequires: openssl-devel
BuildRequires: systemd-rpm-macros BuildRequires: systemd-rpm-macros
%{?systemd_requires} %{?systemd_requires}
Requires: coreutils Requires: coreutils
Recommends: open-iscsi
%description %description
This is a partial implementation of the iSNS protocol (see below), This is a partial implementation of the iSNS protocol (see below),
@@ -58,13 +58,12 @@ Files to develop an application using the open-isns library.
%prep %prep
%setup -n %{name}-%{version} %setup -n %{name}-%{version}
%patch1 -p1 %patch1 -p1
%patch2 -p1
%build %build
%global _lto_cflags %{?_lto_cflags} -ffat-lto-objects %global _lto_cflags %{?_lto_cflags} -ffat-lto-objects
autoconf autoconf
autoheader autoheader
%configure %configure --prefix=/usr --with-security
make OPTFLAGS="%{optflags}" make OPTFLAGS="%{optflags}"
%install %install
@@ -74,6 +73,7 @@ if [ ! -d "%{buildroot}/usr/sbin" ] ; then
fi fi
ln -sf /usr/sbin/service %{buildroot}/usr/sbin/rcisnsd ln -sf /usr/sbin/service %{buildroot}/usr/sbin/rcisnsd
make DESTDIR="%{buildroot}" install_hdrs install_lib make DESTDIR="%{buildroot}" install_hdrs install_lib
install -m 755 isnssetup %{buildroot}%{_sbindir}
%post %post
%{service_add_post isnsd.socket isnsd.service} %{service_add_post isnsd.socket isnsd.service}
@@ -92,15 +92,18 @@ make DESTDIR="%{buildroot}" install_hdrs install_lib
%{_sbindir}/isnsd %{_sbindir}/isnsd
%{_sbindir}/isnsadm %{_sbindir}/isnsadm
%{_sbindir}/isnsdd %{_sbindir}/isnsdd
%{_sbindir}/isnssetup
%dir %{_sysconfdir}/isns %dir %{_sysconfdir}/isns
%attr(0600,root,root) %config(noreplace) %{_sysconfdir}/isns/isnsd.conf %attr(0600,root,root) %config(noreplace) %{_sysconfdir}/isns/isnsd.conf
%attr(0600,root,root) %config(noreplace) %{_sysconfdir}/isns/isnsadm.conf %attr(0600,root,root) %config(noreplace) %{_sysconfdir}/isns/isnsadm.conf
%attr(0600,root,root) %config(noreplace) %{_sysconfdir}/isns/isnsdd.conf %attr(0600,root,root) %config(noreplace) %{_sysconfdir}/isns/isnsdd.conf
%{_sbindir}/rcisnsd %{_sbindir}/rcisnsd
%doc COPYING HACKING README TODO %license COPYING
%doc HACKING README TODO
%doc %{_mandir}/man8/isnsd.8%{?ext_man} %doc %{_mandir}/man8/isnsd.8%{?ext_man}
%doc %{_mandir}/man8/isnsadm.8%{?ext_man} %doc %{_mandir}/man8/isnsadm.8%{?ext_man}
%doc %{_mandir}/man8/isnsdd.8%{?ext_man} %doc %{_mandir}/man8/isnsdd.8%{?ext_man}
%doc %{_mandir}/man8/isnssetup.8%{?ext_man}
%doc %{_mandir}/man5/isns_config.5%{?ext_man} %doc %{_mandir}/man5/isns_config.5%{?ext_man}
%{_unitdir}/isnsd.service %{_unitdir}/isnsd.service
%{_unitdir}/isnsd.socket %{_unitdir}/isnsd.socket