Accepting request 853178 from home:lee_duncan:branches:Base:System

- 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.

OBS-URL: https://build.opensuse.org/request/show/853178
OBS-URL: https://build.opensuse.org/package/show/Base:System/open-isns?expand=0&rev=31
This commit is contained in:
Lee Duncan 2020-12-04 20:06:26 +00:00 committed by Git OBS Bridge
parent 745abfc465
commit 40bb97a073
3 changed files with 28 additions and 8 deletions

View File

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

View File

@ -1,3 +1,21 @@
-------------------------------------------------------------------
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

View File

@ -1,7 +1,7 @@
#
# 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
# remain the property of their copyright owners, unless otherwise agreed
@ -24,8 +24,7 @@ Version: 0.100
Release: 0
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
BuildRequires: autoconf
BuildRequires: automake
@ -58,13 +57,12 @@ Files to develop an application using the open-isns library.
%prep
%setup -n %{name}-%{version}
%patch1 -p1
%patch2 -p1
%build
%global _lto_cflags %{?_lto_cflags} -ffat-lto-objects
autoconf
autoheader
%configure
%configure --prefix=/usr --with-security
make OPTFLAGS="%{optflags}"
%install
@ -74,6 +72,7 @@ if [ ! -d "%{buildroot}/usr/sbin" ] ; then
fi
ln -sf /usr/sbin/service %{buildroot}/usr/sbin/rcisnsd
make DESTDIR="%{buildroot}" install_hdrs install_lib
install -m 755 isnssetup %{buildroot}%{_sbindir}
%post
%{service_add_post isnsd.socket isnsd.service}
@ -92,15 +91,18 @@ make DESTDIR="%{buildroot}" install_hdrs install_lib
%{_sbindir}/isnsd
%{_sbindir}/isnsadm
%{_sbindir}/isnsdd
%{_sbindir}/isnssetup
%dir %{_sysconfdir}/isns
%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/isnsdd.conf
%{_sbindir}/rcisnsd
%doc COPYING HACKING README TODO
%license COPYING
%doc HACKING README TODO
%doc %{_mandir}/man8/isnsd.8%{?ext_man}
%doc %{_mandir}/man8/isnsadm.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}
%{_unitdir}/isnsd.service
%{_unitdir}/isnsd.socket