diff --git a/_service b/_service
deleted file mode 100644
index 5584261..0000000
--- a/_service
+++ /dev/null
@@ -1,16 +0,0 @@
-
-
- git
- https://github.com/fujita/tgt.git
-
- tgt
- v1.0.82
- v1.0.82
- enable
-
-
- *tgt*.tar
- gz
-
-
-
diff --git a/_servicedata b/_servicedata
deleted file mode 100644
index 188cbbf..0000000
--- a/_servicedata
+++ /dev/null
@@ -1,4 +0,0 @@
-
-
- https://github.com/fujita/tgt.git
- fd4ca0546aa20fa9627c41ca2028db26e11f8d56
\ No newline at end of file
diff --git a/tgt-v1.0.82.tar.gz b/tgt-v1.0.82.tar.gz
deleted file mode 100644
index 1bbf77a..0000000
--- a/tgt-v1.0.82.tar.gz
+++ /dev/null
@@ -1,3 +0,0 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:063faa1db0585bd61d3610ca5e51c710a44c06329cf8fe316698aef9e5cba232
-size 313941
diff --git a/tgt.changes b/tgt.changes
index 0d12e64..efa8319 100644
--- a/tgt.changes
+++ b/tgt.changes
@@ -1,3 +1,11 @@
+-------------------------------------------------------------------
+Sat Dec 3 17:25:58 UTC 2022 - Dirk Müller
+
+- 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
diff --git a/tgt.spec b/tgt.spec
index 7c4f6f6..96ca0a4 100644
--- a/tgt.spec
+++ b/tgt.spec
@@ -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/*
diff --git a/v1.0.84.tar.gz b/v1.0.84.tar.gz
new file mode 100644
index 0000000..9f88094
--- /dev/null
+++ b/v1.0.84.tar.gz
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:c5f5913fd5c4a1333590ad3ddcf80dd12592a5f773f3609619513dd583772486
+size 304641