Accepting request 1039848 from Base:System

- update to 1.0.84:
  * fix bug: target bound initiator-name but client cannot discovery the
    target device
  * fix use-after-free in iser_conn_free()

OBS-URL: https://build.opensuse.org/request/show/1039848
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/tgt?expand=0&rev=40
This commit is contained in:
Dominique Leuenberger 2022-12-04 13:58:21 +00:00 committed by Git OBS Bridge
commit e9b17e9b6f
6 changed files with 29 additions and 37 deletions

View File

@ -1,16 +0,0 @@
<services>
<service name="tar_scm" mode="disabled">
<param name="scm">git</param>
<param name="url">https://github.com/fujita/tgt.git</param>
<param name="subdir"></param>
<param name="filename">tgt</param>
<param name="versionformat">v1.0.82</param>
<param name="revision">v1.0.82</param>
<param name="changesgenerate">enable</param>
</service>
<service name="recompress" mode="disabled">
<param name="file">*tgt*.tar</param>
<param name="compression">gz</param>
</service>
<service name="set_version" mode="disabled"/>
</services>

View File

@ -1,4 +0,0 @@
<servicedata>
<service name="tar_scm">
<param name="url">https://github.com/fujita/tgt.git</param>
<param name="changesrevision">fd4ca0546aa20fa9627c41ca2028db26e11f8d56</param></service></servicedata>

View File

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

View File

@ -1,3 +1,11 @@
-------------------------------------------------------------------
Sat Dec 3 17:25:58 UTC 2022 - Dirk Müller <dmueller@suse.com>
- update to 1.0.84:
* fix bug: target bound initiator-name but client cannot discovery the
target device
* fix use-after-free in iser_conn_free()
-------------------------------------------------------------------
Tue Apr 5 19:01:02 UTC 2022 - Lee Duncan <lduncan@suse.com>

View File

@ -18,17 +18,16 @@
#Compat macro for new _fillupdir macro introduced in Nov 2017
%if ! %{defined _fillupdir}
%define _fillupdir /var/adm/fillup-templates
%define _fillupdir %{_localstatedir}/adm/fillup-templates
%endif
Name: tgt
Version: v1.0.82
Version: 1.0.84
Release: 0
Summary: Generic Linux target framework (tgt)
License: GPL-2.0-only
Group: System/Daemons
URL: http://stgt.sourceforge.net/
Source: %{name}-%{version}.tar.gz
URL: https://github.com/fujita/tgt
Source: https://github.com/fujita/tgt/archive/refs/tags/v%{version}.tar.gz
Source1: %{name}d.service
Source4: sysconfig.%{name}
Patch1: %{name}-fix-build
@ -66,7 +65,7 @@ user-space daemon and tools (i.e. they completely runs in user space).
%else
%define backends ISCSI=1 FCP=1 FCOE=1
%endif
make OPTFLAGS="%{optflags}" %{backends}
%make_build OPTFLAGS="%{optflags}" %{backends}
%install
make DESTDIR=%{buildroot} docdir=%{_docdir}/%{name} install
@ -88,19 +87,24 @@ ln -sf service %{buildroot}/%{_sbindir}/rc%{name}d
%service_del_postun %{name}d.service
%files
%defattr(-,root,root)
%{_sbindir}/*
%license LICENSE
%doc README.md doc/README.iscsi doc/README.iser doc/README.lu_configuration
%doc doc/README.mmc doc/README.passthrough doc/README.sbcjukebox doc/README.ssc
%doc doc/README.rbd doc/README.glfs doc/README.sheepdog doc/README.vtl
%doc doc/tmf.txt
%doc %{_defaultdocdir}/%{name}/examples
%doc %{_defaultdocdir}/%{name}/html
%{_sbindir}/rctgtd
%{_sbindir}/tgt-admin
%{_sbindir}/tgt-setup-lun
%{_sbindir}/tgtadm
%{_sbindir}/tgtd
%{_sbindir}/tgtimg
%dir %{_sysconfdir}/tgt
%dir %{_sysconfdir}/tgt/conf.d
%config %attr(0644,root,root) %{_sysconfdir}/tgt/targets.conf
%{_fillupdir}/sysconfig.tgt
%{_unitdir}/%{name}d.service
%doc README.md doc/README.iscsi doc/README.iser doc/README.lu_configuration
%doc doc/README.mmc doc/README.passthrough doc/README.sbcjukebox doc/README.ssc
%doc doc/README.rbd doc/README.glfs doc/README.sheepdog doc/README.vtl
%doc doc/tmf.txt
%doc %_defaultdocdir/%name/examples
%doc %_defaultdocdir/%name/html
%{_mandir}/man5/*
%{_mandir}/man8/*

3
v1.0.84.tar.gz Normal file
View File

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