From f858c27862abf0410b481bdd99ce8f73d887241d Mon Sep 17 00:00:00 2001 From: Dennis Gilmore Date: Thu, 14 Feb 2013 19:18:46 -0600 Subject: [PATCH 01/63] - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild --- targetd.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/targetd.spec b/targetd.spec index bc57600..484fb1f 100644 --- a/targetd.spec +++ b/targetd.spec @@ -3,7 +3,7 @@ License: GPLv3 Group: System Environment/Libraries Summary: Service to make storage remotely configurable Version: 0.3.1 -Release: 1%{?dist} +Release: 2%{?dist} URL: https://github.com/agrover/targetd Source: https://github.com/downloads/agrover/%{name}/%{name}-%{version}.tar.gz Source1: targetd.service @@ -66,6 +66,9 @@ fi %config(noreplace) %{_sysconfdir}/target/targetd.yaml %changelog +* Fri Feb 15 2013 Fedora Release Engineering - 0.3.1-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild + * Wed Oct 17 2012 Andy Grover - 0.3.1-1 - New upstream version From a3ddad6a21491d3eb41ed504b97d3e61742745ac Mon Sep 17 00:00:00 2001 From: Andy Grover Date: Tue, 16 Apr 2013 12:32:55 -0700 Subject: [PATCH 02/63] update to 0.3.1-3 Signed-off-by: Andy Grover --- targetd-require-password.patch | 32 ++++++++++++++++++++ targetd-use-std-ssl.patch | 54 ++++++++++++++++++++++++++++++++++ targetd.spec | 11 ++++++- 3 files changed, 96 insertions(+), 1 deletion(-) create mode 100644 targetd-require-password.patch create mode 100644 targetd-use-std-ssl.patch diff --git a/targetd-require-password.patch b/targetd-require-password.patch new file mode 100644 index 0000000..1c28ff8 --- /dev/null +++ b/targetd-require-password.patch @@ -0,0 +1,32 @@ +commit dcd48f3252d1accec2f11571968b4ce0a01be23f +Author: Andy Grover +Date: Tue Apr 16 12:08:47 2013 -0700 + + Fail if password not set in config file + + Signed-off-by: Andy Grover + +diff --git a/targetd b/targetd +index 9e85e16..632714a 100755 +--- a/targetd ++++ b/targetd +@@ -43,7 +43,7 @@ config_path = "/etc/target/targetd.yaml" + default_config = dict( + pool_name = "vg-targetd", + user = "admin", +- password = "targetd", ++ # security: no default password + target_name = "iqn.2003-01.org.linux-iscsi.%s:targetd" % socket.gethostname(), + ssl = False, + ssl_cert = "/etc/target/targetd_cert.pem", +@@ -64,6 +64,10 @@ if os.getuid() != 0: + print "targetd must run as root." + sys.exit(-1) + ++if 'password' not in config: ++ print "password not set in %s, aborting" % config_path ++ sys.exit(-1) ++ + # fail early if can't access vg + test_vg = lvm.vgOpen(config['pool_name'], "w") + test_vg.close() diff --git a/targetd-use-std-ssl.patch b/targetd-use-std-ssl.patch new file mode 100644 index 0000000..b3e0596 --- /dev/null +++ b/targetd-use-std-ssl.patch @@ -0,0 +1,54 @@ +diff --git a/targetd b/targetd +index 6e51941..9e85e16 100755 +--- a/targetd ++++ b/targetd +@@ -34,7 +34,7 @@ import yaml + import time + from targetcli import UIRoot + from configshell import ConfigShell +-import tlslite ++import ssl + + setproctitle.setproctitle("targetd") + +@@ -400,31 +400,17 @@ class TargetHandler(BaseHTTPRequestHandler): + class ThreadedHTTPServer(ThreadingMixIn, HTTPServer, object): + """Handle requests in a separate thread.""" + +-class TLSThreadedHTTPServer(tlslite.TLSSocketServerMixIn, ThreadedHTTPServer): ++class TLSThreadedHTTPServer(ThreadedHTTPServer): + """Also use TLS to encrypt the connection""" + +- def __init__(self, *args, **kwargs): +- super(TLSThreadedHTTPServer, self).__init__(*args, **kwargs) +- s = open(config['ssl_cert']).read() +- x509 = tlslite.X509() +- x509.parse(s) +- self.certChain = tlslite.X509CertChain([x509]) +- +- s = open(config['ssl_key']).read() +- self.privateKey = tlslite.parsePEMKey(s, private=True) +- +- self.sessionCache = tlslite.SessionCache() +- +- def handshake(self, tlsConnection): +- try: +- tlsConnection.handshakeServer(certChain=self.certChain, +- privateKey=self.privateKey, +- sessionCache=self.sessionCache) +- tlsConnection.ignoreAbruptClose = True +- return True +- except tlslite.TLSError, error: +- print "Handshake failure:", str(error) +- return False ++ def finish_request(self, sock, addr): ++ sockssl = ssl.wrap_socket( ++ sock, server_side=True, ++ keyfile=config["ssl_key"], ++ certfile=config["ssl_cert"], ++ ciphers="HIGH:-aNULL:-eNULL:-PSK", ++ suppress_ragged_eofs=True) ++ return self.RequestHandlerClass(sockssl, addr, self) + + + if config['ssl']: diff --git a/targetd.spec b/targetd.spec index 484fb1f..6db469a 100644 --- a/targetd.spec +++ b/targetd.spec @@ -3,11 +3,13 @@ License: GPLv3 Group: System Environment/Libraries Summary: Service to make storage remotely configurable Version: 0.3.1 -Release: 2%{?dist} +Release: 3%{?dist} URL: https://github.com/agrover/targetd Source: https://github.com/downloads/agrover/%{name}/%{name}-%{version}.tar.gz Source1: targetd.service Source2: targetd.yaml +Patch0: targetd-use-std-ssl.patch +Patch1: targetd-require-password.patch BuildArch: noarch Requires: targetcli PyYAML python-setproctitle python-tlslite Requires: python-lvm >= 1.9 @@ -24,6 +26,8 @@ those volumes over iSCSI. %prep %setup -q +%patch0 -p1 +%patch1 -p1 %build gzip --stdout targetd.8 > targetd.8.gz @@ -66,6 +70,11 @@ fi %config(noreplace) %{_sysconfdir}/target/targetd.yaml %changelog +* Mon Apr 15 2013 Andy Grover - 0.3.1-3 +- Add patch + * use-std-ssl.patch + * require-password.patch + * Fri Feb 15 2013 Fedora Release Engineering - 0.3.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild From 3ba6acc8d3f22ddc7afec3910a25f214588c6775 Mon Sep 17 00:00:00 2001 From: Andy Grover Date: Tue, 16 Apr 2013 12:36:46 -0700 Subject: [PATCH 03/63] update to 0.3.1-4 Signed-off-by: Andy Grover --- targetd.spec | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/targetd.spec b/targetd.spec index 6db469a..4c36424 100644 --- a/targetd.spec +++ b/targetd.spec @@ -3,7 +3,7 @@ License: GPLv3 Group: System Environment/Libraries Summary: Service to make storage remotely configurable Version: 0.3.1 -Release: 3%{?dist} +Release: 4%{?dist} URL: https://github.com/agrover/targetd Source: https://github.com/downloads/agrover/%{name}/%{name}-%{version}.tar.gz Source1: targetd.service @@ -11,7 +11,7 @@ Source2: targetd.yaml Patch0: targetd-use-std-ssl.patch Patch1: targetd-require-password.patch BuildArch: noarch -Requires: targetcli PyYAML python-setproctitle python-tlslite +Requires: targetcli PyYAML python-setproctitle Requires: python-lvm >= 1.9 Requires(post): systemd-units Requires(preun): systemd-units @@ -70,6 +70,9 @@ fi %config(noreplace) %{_sysconfdir}/target/targetd.yaml %changelog +* Tue Apr 16 2013 Andy Grover - 0.3.1-4 +- Remove dependency on python-tlslite + * Mon Apr 15 2013 Andy Grover - 0.3.1-3 - Add patch * use-std-ssl.patch From 0627c213d9d105600af298147d9e7132a312c734 Mon Sep 17 00:00:00 2001 From: Andy Grover Date: Tue, 16 Apr 2013 13:05:15 -0700 Subject: [PATCH 04/63] update to 0.3.1-5 Signed-off-by: Andy Grover --- targetd-require-password.patch | 8 ++++---- targetd.spec | 6 +++++- targetd.yaml | 5 ++++- 3 files changed, 13 insertions(+), 6 deletions(-) diff --git a/targetd-require-password.patch b/targetd-require-password.patch index 1c28ff8..c2db299 100644 --- a/targetd-require-password.patch +++ b/targetd-require-password.patch @@ -1,13 +1,13 @@ -commit dcd48f3252d1accec2f11571968b4ce0a01be23f +commit bf6e05e1ebb3e36de4e1e5641046a6adc648dd5b Author: Andy Grover -Date: Tue Apr 16 12:08:47 2013 -0700 +Date: Tue Apr 16 12:59:31 2013 -0700 Fail if password not set in config file Signed-off-by: Andy Grover diff --git a/targetd b/targetd -index 9e85e16..632714a 100755 +index 9e85e16..cd5cb2b 100755 --- a/targetd +++ b/targetd @@ -43,7 +43,7 @@ config_path = "/etc/target/targetd.yaml" @@ -23,7 +23,7 @@ index 9e85e16..632714a 100755 print "targetd must run as root." sys.exit(-1) -+if 'password' not in config: ++if not config.get('password', None): + print "password not set in %s, aborting" % config_path + sys.exit(-1) + diff --git a/targetd.spec b/targetd.spec index 4c36424..01c0e9f 100644 --- a/targetd.spec +++ b/targetd.spec @@ -3,7 +3,7 @@ License: GPLv3 Group: System Environment/Libraries Summary: Service to make storage remotely configurable Version: 0.3.1 -Release: 4%{?dist} +Release: 5%{?dist} URL: https://github.com/agrover/targetd Source: https://github.com/downloads/agrover/%{name}/%{name}-%{version}.tar.gz Source1: targetd.service @@ -70,6 +70,10 @@ fi %config(noreplace) %{_sysconfdir}/target/targetd.yaml %changelog +* Tue Apr 16 2013 Andy Grover - 0.3.1-5 +- Update require-password.patch +- Change target.yaml to not include a commented-out default password + * Tue Apr 16 2013 Andy Grover - 0.3.1-4 - Remove dependency on python-tlslite diff --git a/targetd.yaml b/targetd.yaml index dd7bf67..24836aa 100644 --- a/targetd.yaml +++ b/targetd.yaml @@ -1,8 +1,11 @@ # See http://www.yaml.org/spec/1.2/spec.html for more on YAML. +# No default password, please pick a good one. + +password: + # defaults below; uncomment and edit #pool_name: vg-targetd #user: admin -#password: targetd #ssl: false #target_name: iqn.2003-01.org.example.mach1:1234 From 673937b9cd82e2dab34ee449a5d5058a15ca168f Mon Sep 17 00:00:00 2001 From: Dennis Gilmore Date: Sat, 3 Aug 2013 22:21:10 -0500 Subject: [PATCH 05/63] - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild --- targetd.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/targetd.spec b/targetd.spec index 01c0e9f..4760412 100644 --- a/targetd.spec +++ b/targetd.spec @@ -3,7 +3,7 @@ License: GPLv3 Group: System Environment/Libraries Summary: Service to make storage remotely configurable Version: 0.3.1 -Release: 5%{?dist} +Release: 6%{?dist} URL: https://github.com/agrover/targetd Source: https://github.com/downloads/agrover/%{name}/%{name}-%{version}.tar.gz Source1: targetd.service @@ -70,6 +70,9 @@ fi %config(noreplace) %{_sysconfdir}/target/targetd.yaml %changelog +* Sun Aug 04 2013 Fedora Release Engineering - 0.3.1-6 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild + * Tue Apr 16 2013 Andy Grover - 0.3.1-5 - Update require-password.patch - Change target.yaml to not include a commented-out default password From b9677e134f4889bed2ae35abd984884660422b99 Mon Sep 17 00:00:00 2001 From: Peter Robinson Date: Mon, 5 Aug 2013 12:17:41 +0100 Subject: [PATCH 06/63] Add systemd to BuildReq to fix FTBFS --- targetd.spec | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/targetd.spec b/targetd.spec index 4760412..2a67d11 100644 --- a/targetd.spec +++ b/targetd.spec @@ -3,7 +3,7 @@ License: GPLv3 Group: System Environment/Libraries Summary: Service to make storage remotely configurable Version: 0.3.1 -Release: 6%{?dist} +Release: 7%{?dist} URL: https://github.com/agrover/targetd Source: https://github.com/downloads/agrover/%{name}/%{name}-%{version}.tar.gz Source1: targetd.service @@ -11,11 +11,12 @@ Source2: targetd.yaml Patch0: targetd-use-std-ssl.patch Patch1: targetd-require-password.patch BuildArch: noarch +BuildRequires: systemd Requires: targetcli PyYAML python-setproctitle Requires: python-lvm >= 1.9 -Requires(post): systemd-units -Requires(preun): systemd-units -Requires(postun): systemd-units +Requires(post): systemd +Requires(preun): systemd +Requires(postun): systemd %description @@ -70,6 +71,9 @@ fi %config(noreplace) %{_sysconfdir}/target/targetd.yaml %changelog +* Mon Aug 5 2013 Peter Robinson 0.3.1-7 +- Add systemd to BuildReq to fix FTBFS + * Sun Aug 04 2013 Fedora Release Engineering - 0.3.1-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild From e493cf3d8761914d90924251d40c37ccee876abd Mon Sep 17 00:00:00 2001 From: Andy Grover Date: Tue, 10 Sep 2013 15:23:16 -0700 Subject: [PATCH 07/63] update to 0.6-1 Signed-off-by: Andy Grover --- .gitignore | 2 ++ sources | 2 +- targetd-require-password.patch | 32 -------------------- targetd-use-std-ssl.patch | 54 ---------------------------------- targetd.spec | 24 ++++++++------- 5 files changed, 17 insertions(+), 97 deletions(-) delete mode 100644 targetd-require-password.patch delete mode 100644 targetd-use-std-ssl.patch diff --git a/.gitignore b/.gitignore index ddc7f63..627d6b7 100644 --- a/.gitignore +++ b/.gitignore @@ -3,3 +3,5 @@ /targetd-0.2.4.tar.gz /targetd-0.3.tar.gz /targetd-0.3.1.tar.gz +/targetd-0.6.tar.gz +/targetd-0.6.1.tar.gz diff --git a/sources b/sources index d7dd140..74e492a 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -cf27a2142f7c432171f73d930ffd40ab targetd-0.3.1.tar.gz +c40ba0dd7c5f65e1bd2cb80872aeeb17 targetd-0.6.1.tar.gz diff --git a/targetd-require-password.patch b/targetd-require-password.patch deleted file mode 100644 index c2db299..0000000 --- a/targetd-require-password.patch +++ /dev/null @@ -1,32 +0,0 @@ -commit bf6e05e1ebb3e36de4e1e5641046a6adc648dd5b -Author: Andy Grover -Date: Tue Apr 16 12:59:31 2013 -0700 - - Fail if password not set in config file - - Signed-off-by: Andy Grover - -diff --git a/targetd b/targetd -index 9e85e16..cd5cb2b 100755 ---- a/targetd -+++ b/targetd -@@ -43,7 +43,7 @@ config_path = "/etc/target/targetd.yaml" - default_config = dict( - pool_name = "vg-targetd", - user = "admin", -- password = "targetd", -+ # security: no default password - target_name = "iqn.2003-01.org.linux-iscsi.%s:targetd" % socket.gethostname(), - ssl = False, - ssl_cert = "/etc/target/targetd_cert.pem", -@@ -64,6 +64,10 @@ if os.getuid() != 0: - print "targetd must run as root." - sys.exit(-1) - -+if not config.get('password', None): -+ print "password not set in %s, aborting" % config_path -+ sys.exit(-1) -+ - # fail early if can't access vg - test_vg = lvm.vgOpen(config['pool_name'], "w") - test_vg.close() diff --git a/targetd-use-std-ssl.patch b/targetd-use-std-ssl.patch deleted file mode 100644 index b3e0596..0000000 --- a/targetd-use-std-ssl.patch +++ /dev/null @@ -1,54 +0,0 @@ -diff --git a/targetd b/targetd -index 6e51941..9e85e16 100755 ---- a/targetd -+++ b/targetd -@@ -34,7 +34,7 @@ import yaml - import time - from targetcli import UIRoot - from configshell import ConfigShell --import tlslite -+import ssl - - setproctitle.setproctitle("targetd") - -@@ -400,31 +400,17 @@ class TargetHandler(BaseHTTPRequestHandler): - class ThreadedHTTPServer(ThreadingMixIn, HTTPServer, object): - """Handle requests in a separate thread.""" - --class TLSThreadedHTTPServer(tlslite.TLSSocketServerMixIn, ThreadedHTTPServer): -+class TLSThreadedHTTPServer(ThreadedHTTPServer): - """Also use TLS to encrypt the connection""" - -- def __init__(self, *args, **kwargs): -- super(TLSThreadedHTTPServer, self).__init__(*args, **kwargs) -- s = open(config['ssl_cert']).read() -- x509 = tlslite.X509() -- x509.parse(s) -- self.certChain = tlslite.X509CertChain([x509]) -- -- s = open(config['ssl_key']).read() -- self.privateKey = tlslite.parsePEMKey(s, private=True) -- -- self.sessionCache = tlslite.SessionCache() -- -- def handshake(self, tlsConnection): -- try: -- tlsConnection.handshakeServer(certChain=self.certChain, -- privateKey=self.privateKey, -- sessionCache=self.sessionCache) -- tlsConnection.ignoreAbruptClose = True -- return True -- except tlslite.TLSError, error: -- print "Handshake failure:", str(error) -- return False -+ def finish_request(self, sock, addr): -+ sockssl = ssl.wrap_socket( -+ sock, server_side=True, -+ keyfile=config["ssl_key"], -+ certfile=config["ssl_cert"], -+ ciphers="HIGH:-aNULL:-eNULL:-PSK", -+ suppress_ragged_eofs=True) -+ return self.RequestHandlerClass(sockssl, addr, self) - - - if config['ssl']: diff --git a/targetd.spec b/targetd.spec index 2a67d11..97a52d1 100644 --- a/targetd.spec +++ b/targetd.spec @@ -2,18 +2,16 @@ Name: targetd License: GPLv3 Group: System Environment/Libraries Summary: Service to make storage remotely configurable -Version: 0.3.1 -Release: 7%{?dist} +Version: 0.6.1 +Release: 1%{?dist} URL: https://github.com/agrover/targetd Source: https://github.com/downloads/agrover/%{name}/%{name}-%{version}.tar.gz Source1: targetd.service Source2: targetd.yaml -Patch0: targetd-use-std-ssl.patch -Patch1: targetd-require-password.patch BuildArch: noarch -BuildRequires: systemd +BuildRequires: systemd, python-devel Requires: targetcli PyYAML python-setproctitle -Requires: python-lvm >= 1.9 +Requires: lvm2-python-libs >= 2.02.99, nfs-utils, btrfs-progs Requires(post): systemd Requires(preun): systemd Requires(postun): systemd @@ -27,21 +25,19 @@ those volumes over iSCSI. %prep %setup -q -%patch0 -p1 -%patch1 -p1 %build +%{__python} setup.py build gzip --stdout targetd.8 > targetd.8.gz %install -mkdir -p %{buildroot}%{_bindir} mkdir -p %{buildroot}%{_mandir}/man8/ mkdir -p %{buildroot}%{_unitdir} mkdir -p %{buildroot}%{_sysconfdir}/target/ -install -m 755 targetd %{buildroot}%{_bindir} install -m 644 %{SOURCE1} %{buildroot}%{_unitdir}/targetd.service install -m 644 %{SOURCE2} %{buildroot}%{_sysconfdir}/target/targetd.yaml install -m 644 targetd.8.gz %{buildroot}%{_mandir}/man8/ +%{__python} setup.py install --skip-build --root %{buildroot} %post if [ $1 -eq 1 ] ; then @@ -66,11 +62,19 @@ fi %files %{_bindir}/targetd %{_unitdir}/targetd.service +%{python_sitelib}/* %doc LICENSE README.md API.md client %{_mandir}/man8/targetd.8.gz %config(noreplace) %{_sysconfdir}/target/targetd.yaml %changelog +* Thu Aug 8 2013 Andy Grover 0.6.1-1 +- Update to latest version, make needed changes +- Drop patches: + * require-password.patch + * use-std-ssl.patch +- Change requires from python-lvm to lvm2-python-libs + * Mon Aug 5 2013 Peter Robinson 0.3.1-7 - Add systemd to BuildReq to fix FTBFS From a8b1305ac9b19ba541e723f6de467cca6a6534f9 Mon Sep 17 00:00:00 2001 From: Andy Grover Date: Fri, 8 Nov 2013 15:01:46 -0800 Subject: [PATCH 08/63] update to 0.7-1 Signed-off-by: Andy Grover --- .gitignore | 1 + sources | 2 +- targetd.spec | 25 +++++++++---------------- 3 files changed, 11 insertions(+), 17 deletions(-) diff --git a/.gitignore b/.gitignore index 627d6b7..005e938 100644 --- a/.gitignore +++ b/.gitignore @@ -5,3 +5,4 @@ /targetd-0.3.1.tar.gz /targetd-0.6.tar.gz /targetd-0.6.1.tar.gz +/targetd-0.7.tar.gz diff --git a/sources b/sources index 74e492a..b108cc3 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -c40ba0dd7c5f65e1bd2cb80872aeeb17 targetd-0.6.1.tar.gz +a0eef1ebf5adeedb454a13f2259d3f24 targetd-0.7.tar.gz diff --git a/targetd.spec b/targetd.spec index 97a52d1..f73236e 100644 --- a/targetd.spec +++ b/targetd.spec @@ -2,7 +2,7 @@ Name: targetd License: GPLv3 Group: System Environment/Libraries Summary: Service to make storage remotely configurable -Version: 0.6.1 +Version: 0.7 Release: 1%{?dist} URL: https://github.com/agrover/targetd Source: https://github.com/downloads/agrover/%{name}/%{name}-%{version}.tar.gz @@ -10,7 +10,7 @@ Source1: targetd.service Source2: targetd.yaml BuildArch: noarch BuildRequires: systemd, python-devel -Requires: targetcli PyYAML python-setproctitle +Requires: PyYAML python-setproctitle Requires: lvm2-python-libs >= 2.02.99, nfs-utils, btrfs-progs Requires(post): systemd Requires(preun): systemd @@ -40,24 +40,13 @@ install -m 644 targetd.8.gz %{buildroot}%{_mandir}/man8/ %{__python} setup.py install --skip-build --root %{buildroot} %post -if [ $1 -eq 1 ] ; then - # Initial installation - /bin/systemctl daemon-reload >/dev/null 2>&1 || : -fi +%systemd_post targetd.service %preun -if [ $1 -eq 0 ] ; then - # Package removal, not upgrade - /bin/systemctl --no-reload disable targetd.service > /dev/null 2>&1 || : - /bin/systemctl stop targetd.service > /dev/null 2>&1 || : -fi +%systemd_preun targetd.service %postun -/bin/systemctl daemon-reload >/dev/null 2>&1 || : -if [ $1 -ge 1 ] ; then - # Package upgrade, not uninstall - /bin/systemctl try-restart targetd.service >/dev/null 2>&1 || : -fi +%systemd_postun_with_restart targetd.service %files %{_bindir}/targetd @@ -68,6 +57,10 @@ fi %config(noreplace) %{_sysconfdir}/target/targetd.yaml %changelog +* Fri Nov 8 2013 Andy Grover 0.7-1 +- New upstream version +- Use systemd spec macros + * Thu Aug 8 2013 Andy Grover 0.6.1-1 - Update to latest version, make needed changes - Drop patches: From b9338cb9ef8749a8699babbc794fe08e9c87cb05 Mon Sep 17 00:00:00 2001 From: Andy Grover Date: Mon, 25 Nov 2013 10:45:20 -0800 Subject: [PATCH 09/63] version 0.7-2 Signed-off-by: Andy Grover --- targetd.service | 4 ++-- targetd.spec | 8 ++++++-- 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/targetd.service b/targetd.service index 27ac073..a4cf4e9 100644 --- a/targetd.service +++ b/targetd.service @@ -1,7 +1,7 @@ [Unit] Description=targetd storage array API daemon -Requires=targetcli.service -After=targetcli.service +Requires=target.service +After=target.service [Service] ExecStart=/usr/bin/targetd diff --git a/targetd.spec b/targetd.spec index f73236e..d1b8fbc 100644 --- a/targetd.spec +++ b/targetd.spec @@ -3,14 +3,14 @@ License: GPLv3 Group: System Environment/Libraries Summary: Service to make storage remotely configurable Version: 0.7 -Release: 1%{?dist} +Release: 2%{?dist} URL: https://github.com/agrover/targetd Source: https://github.com/downloads/agrover/%{name}/%{name}-%{version}.tar.gz Source1: targetd.service Source2: targetd.yaml BuildArch: noarch BuildRequires: systemd, python-devel -Requires: PyYAML python-setproctitle +Requires: PyYAML python-setproctitle python-rtslib Requires: lvm2-python-libs >= 2.02.99, nfs-utils, btrfs-progs Requires(post): systemd Requires(preun): systemd @@ -57,6 +57,10 @@ install -m 644 targetd.8.gz %{buildroot}%{_mandir}/man8/ %config(noreplace) %{_sysconfdir}/target/targetd.yaml %changelog +* Mon Nov 25 2013 Andy Grover 0.7-2 +- Fix service file for new ktarget service name +- Add python-rtslib to requires + * Fri Nov 8 2013 Andy Grover 0.7-1 - New upstream version - Use systemd spec macros From 4d020653110e6e728db7e7fa295ce85f64dd152d Mon Sep 17 00:00:00 2001 From: Andy Grover Date: Mon, 10 Feb 2014 16:25:50 -0800 Subject: [PATCH 10/63] update to 0.7.1-1 Signed-off-by: Andy Grover --- .gitignore | 1 + sources | 2 +- targetd.spec | 7 +++++-- 3 files changed, 7 insertions(+), 3 deletions(-) diff --git a/.gitignore b/.gitignore index 005e938..24cd98f 100644 --- a/.gitignore +++ b/.gitignore @@ -6,3 +6,4 @@ /targetd-0.6.tar.gz /targetd-0.6.1.tar.gz /targetd-0.7.tar.gz +/targetd-0.7.1.tar.gz diff --git a/sources b/sources index b108cc3..a396b44 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -a0eef1ebf5adeedb454a13f2259d3f24 targetd-0.7.tar.gz +e176f155ceda1f1ff59ca11b973eb473 targetd-0.7.1.tar.gz diff --git a/targetd.spec b/targetd.spec index d1b8fbc..39d2d4f 100644 --- a/targetd.spec +++ b/targetd.spec @@ -2,8 +2,8 @@ Name: targetd License: GPLv3 Group: System Environment/Libraries Summary: Service to make storage remotely configurable -Version: 0.7 -Release: 2%{?dist} +Version: 0.7.1 +Release: 1%{?dist} URL: https://github.com/agrover/targetd Source: https://github.com/downloads/agrover/%{name}/%{name}-%{version}.tar.gz Source1: targetd.service @@ -57,6 +57,9 @@ install -m 644 targetd.8.gz %{buildroot}%{_mandir}/man8/ %config(noreplace) %{_sysconfdir}/target/targetd.yaml %changelog +* Mon Feb 10 2014 Andy Grover 0.7.1-1 +- New upstream version + * Mon Nov 25 2013 Andy Grover 0.7-2 - Fix service file for new ktarget service name - Add python-rtslib to requires From ed665a91c36fca26d8ba7d32628833e227ac378b Mon Sep 17 00:00:00 2001 From: Andy Grover Date: Fri, 14 Mar 2014 10:55:59 -0700 Subject: [PATCH 11/63] update to 0.7.2-1 Signed-off-by: Andy Grover --- .gitignore | 1 + sources | 2 +- targetd.spec | 5 ++++- 3 files changed, 6 insertions(+), 2 deletions(-) diff --git a/.gitignore b/.gitignore index 24cd98f..04c3fc2 100644 --- a/.gitignore +++ b/.gitignore @@ -7,3 +7,4 @@ /targetd-0.6.1.tar.gz /targetd-0.7.tar.gz /targetd-0.7.1.tar.gz +/targetd-0.7.2.tar.gz diff --git a/sources b/sources index a396b44..b2b46f3 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -e176f155ceda1f1ff59ca11b973eb473 targetd-0.7.1.tar.gz +a372f55c4f41d16698d42f42d3af0a93 targetd-0.7.2.tar.gz diff --git a/targetd.spec b/targetd.spec index 39d2d4f..972e21a 100644 --- a/targetd.spec +++ b/targetd.spec @@ -2,7 +2,7 @@ Name: targetd License: GPLv3 Group: System Environment/Libraries Summary: Service to make storage remotely configurable -Version: 0.7.1 +Version: 0.7.2 Release: 1%{?dist} URL: https://github.com/agrover/targetd Source: https://github.com/downloads/agrover/%{name}/%{name}-%{version}.tar.gz @@ -57,6 +57,9 @@ install -m 644 targetd.8.gz %{buildroot}%{_mandir}/man8/ %config(noreplace) %{_sysconfdir}/target/targetd.yaml %changelog +* Fri Mar 14 2014 Andy Grover 0.7.2-1 +- New upstream version + * Mon Feb 10 2014 Andy Grover 0.7.1-1 - New upstream version From bbbc29593a532bb9eaafba696b9be4463a437704 Mon Sep 17 00:00:00 2001 From: Dennis Gilmore Date: Sun, 8 Jun 2014 03:09:04 -0500 Subject: [PATCH 12/63] - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild --- targetd.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/targetd.spec b/targetd.spec index 972e21a..35e52f6 100644 --- a/targetd.spec +++ b/targetd.spec @@ -3,7 +3,7 @@ License: GPLv3 Group: System Environment/Libraries Summary: Service to make storage remotely configurable Version: 0.7.2 -Release: 1%{?dist} +Release: 2%{?dist} URL: https://github.com/agrover/targetd Source: https://github.com/downloads/agrover/%{name}/%{name}-%{version}.tar.gz Source1: targetd.service @@ -57,6 +57,9 @@ install -m 644 targetd.8.gz %{buildroot}%{_mandir}/man8/ %config(noreplace) %{_sysconfdir}/target/targetd.yaml %changelog +* Sun Jun 08 2014 Fedora Release Engineering - 0.7.2-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild + * Fri Mar 14 2014 Andy Grover 0.7.2-1 - New upstream version From 625b8364a0006aeef2b7d610f42ba64da194b0bc Mon Sep 17 00:00:00 2001 From: Andy Grover Date: Tue, 10 Feb 2015 11:27:22 -0800 Subject: [PATCH 13/63] Update to 0.8-1 Signed-off-by: Andy Grover --- .gitignore | 1 + sources | 2 +- targetd.spec | 7 +++++-- 3 files changed, 7 insertions(+), 3 deletions(-) diff --git a/.gitignore b/.gitignore index 04c3fc2..12b4b4f 100644 --- a/.gitignore +++ b/.gitignore @@ -8,3 +8,4 @@ /targetd-0.7.tar.gz /targetd-0.7.1.tar.gz /targetd-0.7.2.tar.gz +/targetd-0.8.tar.gz diff --git a/sources b/sources index b2b46f3..3bb3b5e 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -a372f55c4f41d16698d42f42d3af0a93 targetd-0.7.2.tar.gz +051c883d2297d977052e02a1c17d7b9d targetd-0.8.tar.gz diff --git a/targetd.spec b/targetd.spec index 35e52f6..ba4725f 100644 --- a/targetd.spec +++ b/targetd.spec @@ -2,8 +2,8 @@ Name: targetd License: GPLv3 Group: System Environment/Libraries Summary: Service to make storage remotely configurable -Version: 0.7.2 -Release: 2%{?dist} +Version: 0.8 +Release: 1%{?dist} URL: https://github.com/agrover/targetd Source: https://github.com/downloads/agrover/%{name}/%{name}-%{version}.tar.gz Source1: targetd.service @@ -57,6 +57,9 @@ install -m 644 targetd.8.gz %{buildroot}%{_mandir}/man8/ %config(noreplace) %{_sysconfdir}/target/targetd.yaml %changelog +* Tue Feb 10 2015 Andy Grover 0.8-1 +- New upstream version + * Sun Jun 08 2014 Fedora Release Engineering - 0.7.2-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild From ee8f56c49d78190ffad3ffc27e0362ec6ab7c168 Mon Sep 17 00:00:00 2001 From: Andy Grover Date: Wed, 11 Feb 2015 15:51:12 -0800 Subject: [PATCH 14/63] update to version 0.8.1-1 Signed-off-by: Andy Grover --- .gitignore | 1 + sources | 2 +- targetd.spec | 5 ++++- 3 files changed, 6 insertions(+), 2 deletions(-) diff --git a/.gitignore b/.gitignore index 12b4b4f..afd1e19 100644 --- a/.gitignore +++ b/.gitignore @@ -9,3 +9,4 @@ /targetd-0.7.1.tar.gz /targetd-0.7.2.tar.gz /targetd-0.8.tar.gz +/targetd-0.8.1.tar.gz diff --git a/sources b/sources index 3bb3b5e..2bfa9e3 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -051c883d2297d977052e02a1c17d7b9d targetd-0.8.tar.gz +9ca607b53228fc5baa5e548f12591ab1 targetd-0.8.1.tar.gz diff --git a/targetd.spec b/targetd.spec index ba4725f..0392239 100644 --- a/targetd.spec +++ b/targetd.spec @@ -2,7 +2,7 @@ Name: targetd License: GPLv3 Group: System Environment/Libraries Summary: Service to make storage remotely configurable -Version: 0.8 +Version: 0.8.1 Release: 1%{?dist} URL: https://github.com/agrover/targetd Source: https://github.com/downloads/agrover/%{name}/%{name}-%{version}.tar.gz @@ -57,6 +57,9 @@ install -m 644 targetd.8.gz %{buildroot}%{_mandir}/man8/ %config(noreplace) %{_sysconfdir}/target/targetd.yaml %changelog +* Wed Feb 11 2015 Andy Grover 0.8.1-1 +- New upstream version + * Tue Feb 10 2015 Andy Grover 0.8-1 - New upstream version From 94fed3b2b0bf367a460b15e248f31d877534825c Mon Sep 17 00:00:00 2001 From: Dennis Gilmore Date: Fri, 19 Jun 2015 02:31:29 +0000 Subject: [PATCH 15/63] - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild --- targetd.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/targetd.spec b/targetd.spec index 0392239..6c20938 100644 --- a/targetd.spec +++ b/targetd.spec @@ -3,7 +3,7 @@ License: GPLv3 Group: System Environment/Libraries Summary: Service to make storage remotely configurable Version: 0.8.1 -Release: 1%{?dist} +Release: 2%{?dist} URL: https://github.com/agrover/targetd Source: https://github.com/downloads/agrover/%{name}/%{name}-%{version}.tar.gz Source1: targetd.service @@ -57,6 +57,9 @@ install -m 644 targetd.8.gz %{buildroot}%{_mandir}/man8/ %config(noreplace) %{_sysconfdir}/target/targetd.yaml %changelog +* Fri Jun 19 2015 Fedora Release Engineering - 0.8.1-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild + * Wed Feb 11 2015 Andy Grover 0.8.1-1 - New upstream version From 04e02a88e509fd7d7113c2f59d183c8913b0b443 Mon Sep 17 00:00:00 2001 From: Andy Grover Date: Tue, 23 Jun 2015 17:35:26 -0700 Subject: [PATCH 16/63] update to 0.8.2-1 Signed-off-by: Andy Grover --- .gitignore | 1 + sources | 2 +- targetd.spec | 7 +++++-- 3 files changed, 7 insertions(+), 3 deletions(-) diff --git a/.gitignore b/.gitignore index afd1e19..563cf62 100644 --- a/.gitignore +++ b/.gitignore @@ -10,3 +10,4 @@ /targetd-0.7.2.tar.gz /targetd-0.8.tar.gz /targetd-0.8.1.tar.gz +/targetd-0.8.2.tar.gz diff --git a/sources b/sources index 2bfa9e3..e467fb2 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -9ca607b53228fc5baa5e548f12591ab1 targetd-0.8.1.tar.gz +55615f9061ada73b9e72019643408144 targetd-0.8.2.tar.gz diff --git a/targetd.spec b/targetd.spec index 6c20938..718d219 100644 --- a/targetd.spec +++ b/targetd.spec @@ -2,8 +2,8 @@ Name: targetd License: GPLv3 Group: System Environment/Libraries Summary: Service to make storage remotely configurable -Version: 0.8.1 -Release: 2%{?dist} +Version: 0.8.2 +Release: 1%{?dist} URL: https://github.com/agrover/targetd Source: https://github.com/downloads/agrover/%{name}/%{name}-%{version}.tar.gz Source1: targetd.service @@ -57,6 +57,9 @@ install -m 644 targetd.8.gz %{buildroot}%{_mandir}/man8/ %config(noreplace) %{_sysconfdir}/target/targetd.yaml %changelog +* Tue Jun 23 2015 Andy Grover 0.8.2-1 +- New upstream version + * Fri Jun 19 2015 Fedora Release Engineering - 0.8.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild From b198b48e271910e26a2f52aae9cd3e34d48b6063 Mon Sep 17 00:00:00 2001 From: Andy Grover Date: Wed, 12 Aug 2015 09:11:49 -0700 Subject: [PATCH 17/63] update to 0.8.3-1 Signed-off-by: Andy Grover --- .gitignore | 1 + sources | 2 +- targetd.spec | 5 ++++- 3 files changed, 6 insertions(+), 2 deletions(-) diff --git a/.gitignore b/.gitignore index 563cf62..2a036f0 100644 --- a/.gitignore +++ b/.gitignore @@ -11,3 +11,4 @@ /targetd-0.8.tar.gz /targetd-0.8.1.tar.gz /targetd-0.8.2.tar.gz +/targetd-0.8.3.tar.gz diff --git a/sources b/sources index e467fb2..8a26f2b 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -55615f9061ada73b9e72019643408144 targetd-0.8.2.tar.gz +2e0139d66df8847102e8a24eac37d05c targetd-0.8.3.tar.gz diff --git a/targetd.spec b/targetd.spec index 718d219..602c448 100644 --- a/targetd.spec +++ b/targetd.spec @@ -2,7 +2,7 @@ Name: targetd License: GPLv3 Group: System Environment/Libraries Summary: Service to make storage remotely configurable -Version: 0.8.2 +Version: 0.8.3 Release: 1%{?dist} URL: https://github.com/agrover/targetd Source: https://github.com/downloads/agrover/%{name}/%{name}-%{version}.tar.gz @@ -57,6 +57,9 @@ install -m 644 targetd.8.gz %{buildroot}%{_mandir}/man8/ %config(noreplace) %{_sysconfdir}/target/targetd.yaml %changelog +* Wed Aug 12 2015 Andy Grover 0.8.3-1 +- New upstream version + * Tue Jun 23 2015 Andy Grover 0.8.2-1 - New upstream version From 9e685c705060369313014c999692cc2c6bffcb49 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Fri, 5 Feb 2016 01:18:00 +0000 Subject: [PATCH 18/63] - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild --- targetd.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/targetd.spec b/targetd.spec index 602c448..3685ee7 100644 --- a/targetd.spec +++ b/targetd.spec @@ -3,7 +3,7 @@ License: GPLv3 Group: System Environment/Libraries Summary: Service to make storage remotely configurable Version: 0.8.3 -Release: 1%{?dist} +Release: 2%{?dist} URL: https://github.com/agrover/targetd Source: https://github.com/downloads/agrover/%{name}/%{name}-%{version}.tar.gz Source1: targetd.service @@ -57,6 +57,9 @@ install -m 644 targetd.8.gz %{buildroot}%{_mandir}/man8/ %config(noreplace) %{_sysconfdir}/target/targetd.yaml %changelog +* Fri Feb 05 2016 Fedora Release Engineering - 0.8.3-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild + * Wed Aug 12 2015 Andy Grover 0.8.3-1 - New upstream version From a1585eafc8fe44fb73bb23800ef4dfbad2a09f5e Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Tue, 19 Jul 2016 12:49:47 +0000 Subject: [PATCH 19/63] - https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages --- targetd.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/targetd.spec b/targetd.spec index 3685ee7..2936e5c 100644 --- a/targetd.spec +++ b/targetd.spec @@ -3,7 +3,7 @@ License: GPLv3 Group: System Environment/Libraries Summary: Service to make storage remotely configurable Version: 0.8.3 -Release: 2%{?dist} +Release: 3%{?dist} URL: https://github.com/agrover/targetd Source: https://github.com/downloads/agrover/%{name}/%{name}-%{version}.tar.gz Source1: targetd.service @@ -57,6 +57,9 @@ install -m 644 targetd.8.gz %{buildroot}%{_mandir}/man8/ %config(noreplace) %{_sysconfdir}/target/targetd.yaml %changelog +* Tue Jul 19 2016 Fedora Release Engineering - 0.8.3-3 +- https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages + * Fri Feb 05 2016 Fedora Release Engineering - 0.8.3-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild From 9c3c8985842a63393894a5374987045e0f2b38f3 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Sat, 11 Feb 2017 15:35:22 +0000 Subject: [PATCH 20/63] - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild --- targetd.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/targetd.spec b/targetd.spec index 2936e5c..f92ef8d 100644 --- a/targetd.spec +++ b/targetd.spec @@ -3,7 +3,7 @@ License: GPLv3 Group: System Environment/Libraries Summary: Service to make storage remotely configurable Version: 0.8.3 -Release: 3%{?dist} +Release: 4%{?dist} URL: https://github.com/agrover/targetd Source: https://github.com/downloads/agrover/%{name}/%{name}-%{version}.tar.gz Source1: targetd.service @@ -57,6 +57,9 @@ install -m 644 targetd.8.gz %{buildroot}%{_mandir}/man8/ %config(noreplace) %{_sysconfdir}/target/targetd.yaml %changelog +* Sat Feb 11 2017 Fedora Release Engineering - 0.8.3-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild + * Tue Jul 19 2016 Fedora Release Engineering - 0.8.3-3 - https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages From 39509dbaa648ace60fb570406ab5ff35aaacc3d6 Mon Sep 17 00:00:00 2001 From: Tony Asleson Date: Thu, 16 Feb 2017 14:44:59 -0600 Subject: [PATCH 21/63] Update to version 0.8.5 Signed-off-by: Tony Asleson --- .gitignore | 1 + sources | 2 +- targetd.spec | 21 ++++++++++++--------- targetd.yaml | 15 +++++++++++++-- 4 files changed, 27 insertions(+), 12 deletions(-) diff --git a/.gitignore b/.gitignore index 2a036f0..0ef476d 100644 --- a/.gitignore +++ b/.gitignore @@ -12,3 +12,4 @@ /targetd-0.8.1.tar.gz /targetd-0.8.2.tar.gz /targetd-0.8.3.tar.gz +/targetd-0.8.5.tar.gz diff --git a/sources b/sources index 8a26f2b..efe0b21 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -2e0139d66df8847102e8a24eac37d05c targetd-0.8.3.tar.gz +SHA512 (targetd-0.8.5.tar.gz) = e9a1e796ae60946fb38f87d9addb67f15ec762e8aceb0a8d177276bcfeb3cd7e3a0d5d0111c4c92ad54b05fdbd835931b414134b421560ec7f0cc384d250f282 diff --git a/targetd.spec b/targetd.spec index f92ef8d..c0b9b35 100644 --- a/targetd.spec +++ b/targetd.spec @@ -2,15 +2,15 @@ Name: targetd License: GPLv3 Group: System Environment/Libraries Summary: Service to make storage remotely configurable -Version: 0.8.3 -Release: 4%{?dist} -URL: https://github.com/agrover/targetd -Source: https://github.com/downloads/agrover/%{name}/%{name}-%{version}.tar.gz +Version: 0.8.5 +Release: 1%{?dist} +URL: https://github.com/open-iscsi/targetd +Source: https://github.com/open-iscsi/targetd/releases/download/v%{version}/targetd-%{version}.tar.gz Source1: targetd.service Source2: targetd.yaml BuildArch: noarch -BuildRequires: systemd, python-devel -Requires: PyYAML python-setproctitle python-rtslib +BuildRequires: systemd, python3-devel +Requires: python3-PyYAML python3-setproctitle python3-rtslib Requires: lvm2-python-libs >= 2.02.99, nfs-utils, btrfs-progs Requires(post): systemd Requires(preun): systemd @@ -27,7 +27,7 @@ those volumes over iSCSI. %setup -q %build -%{__python} setup.py build +%{__python3} setup.py build gzip --stdout targetd.8 > targetd.8.gz %install @@ -37,7 +37,7 @@ mkdir -p %{buildroot}%{_sysconfdir}/target/ install -m 644 %{SOURCE1} %{buildroot}%{_unitdir}/targetd.service install -m 644 %{SOURCE2} %{buildroot}%{_sysconfdir}/target/targetd.yaml install -m 644 targetd.8.gz %{buildroot}%{_mandir}/man8/ -%{__python} setup.py install --skip-build --root %{buildroot} +%{__python3} setup.py install --skip-build --root %{buildroot} %post %systemd_post targetd.service @@ -51,12 +51,15 @@ install -m 644 targetd.8.gz %{buildroot}%{_mandir}/man8/ %files %{_bindir}/targetd %{_unitdir}/targetd.service -%{python_sitelib}/* +%{python3_sitelib}/* %doc LICENSE README.md API.md client %{_mandir}/man8/targetd.8.gz %config(noreplace) %{_sysconfdir}/target/targetd.yaml %changelog +* Thu Feb 16 2017 Tony Asleson 0.8.5-1 +- New upstream version which has python3 support + * Sat Feb 11 2017 Fedora Release Engineering - 0.8.3-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild diff --git a/targetd.yaml b/targetd.yaml index 24836aa..61c534a 100644 --- a/targetd.yaml +++ b/targetd.yaml @@ -1,11 +1,22 @@ # See http://www.yaml.org/spec/1.2/spec.html for more on YAML. +# +# A sample /etc/target/targetd.yaml file. +# # No default password, please pick a good one. password: # defaults below; uncomment and edit -#pool_name: vg-targetd +#block_pools: [vg-targetd/thin_pool] # just 1 by default, but can be more +#fs_pools: [] # Path to btrfs FS, eg. /my_btrfs_mount #user: admin -#ssl: false #target_name: iqn.2003-01.org.example.mach1:1234 + +# log level (debug, info, warning, error, critical) +#log_level: info + +#ssl: false +# if ssl is activated: +#ssl_cert: /etc/target/targetd_cert.pem +#ssl_key: /etc/target/targetd_key.pem From 02b303070318296abadd019098b1b63d5bab4e98 Mon Sep 17 00:00:00 2001 From: Tony Asleson Date: Thu, 27 Apr 2017 10:10:03 -0500 Subject: [PATCH 22/63] Update to version 0.8.6 Signed-off-by: Tony Asleson --- .gitignore | 1 + sources | 2 +- targetd.spec | 5 ++++- 3 files changed, 6 insertions(+), 2 deletions(-) diff --git a/.gitignore b/.gitignore index 0ef476d..06e65af 100644 --- a/.gitignore +++ b/.gitignore @@ -13,3 +13,4 @@ /targetd-0.8.2.tar.gz /targetd-0.8.3.tar.gz /targetd-0.8.5.tar.gz +/targetd-0.8.6.tar.gz diff --git a/sources b/sources index efe0b21..8ca51d8 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (targetd-0.8.5.tar.gz) = e9a1e796ae60946fb38f87d9addb67f15ec762e8aceb0a8d177276bcfeb3cd7e3a0d5d0111c4c92ad54b05fdbd835931b414134b421560ec7f0cc384d250f282 +SHA512 (targetd-0.8.6.tar.gz) = 91c2c05545b89f330f63454620a9b812e54f67d760c135141cdd4be7ef364a537896ad6c3af1f3651f120ae88bc5626a7dd835217cc30ac568d9248166fcf096 diff --git a/targetd.spec b/targetd.spec index c0b9b35..a4a813c 100644 --- a/targetd.spec +++ b/targetd.spec @@ -2,7 +2,7 @@ Name: targetd License: GPLv3 Group: System Environment/Libraries Summary: Service to make storage remotely configurable -Version: 0.8.5 +Version: 0.8.6 Release: 1%{?dist} URL: https://github.com/open-iscsi/targetd Source: https://github.com/open-iscsi/targetd/releases/download/v%{version}/targetd-%{version}.tar.gz @@ -57,6 +57,9 @@ install -m 644 targetd.8.gz %{buildroot}%{_mandir}/man8/ %config(noreplace) %{_sysconfdir}/target/targetd.yaml %changelog +* Thu Apr 27 2017 Tony Asleson 0.8.6-1 +- New upstream version, bug fixes + * Thu Feb 16 2017 Tony Asleson 0.8.5-1 - New upstream version which has python3 support From cdd2d29bdf00030bd0ff2a490a3655a99c574d29 Mon Sep 17 00:00:00 2001 From: Tony Asleson Date: Wed, 3 May 2017 14:52:38 -0500 Subject: [PATCH 23/63] Correct dependencies Signed-off-by: Tony Asleson --- targetd.spec | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/targetd.spec b/targetd.spec index a4a813c..6df82a3 100644 --- a/targetd.spec +++ b/targetd.spec @@ -3,15 +3,15 @@ License: GPLv3 Group: System Environment/Libraries Summary: Service to make storage remotely configurable Version: 0.8.6 -Release: 1%{?dist} +Release: 2%{?dist} URL: https://github.com/open-iscsi/targetd Source: https://github.com/open-iscsi/targetd/releases/download/v%{version}/targetd-%{version}.tar.gz Source1: targetd.service Source2: targetd.yaml BuildArch: noarch BuildRequires: systemd, python3-devel -Requires: python3-PyYAML python3-setproctitle python3-rtslib -Requires: lvm2-python-libs >= 2.02.99, nfs-utils, btrfs-progs +Requires: python3-PyYAML python3-setproctitle python3-rtslib target-restore +Requires: lvm2-python3-libs >= 2.02.99, nfs-utils, btrfs-progs Requires(post): systemd Requires(preun): systemd Requires(postun): systemd @@ -57,6 +57,9 @@ install -m 644 targetd.8.gz %{buildroot}%{_mandir}/man8/ %config(noreplace) %{_sysconfdir}/target/targetd.yaml %changelog +* Wed May 3 2017 Tony Asleson 0.8.6-2 +- Add and correct dependencies + * Thu Apr 27 2017 Tony Asleson 0.8.6-1 - New upstream version, bug fixes From 820e4db0d7c3ba6c0ca0fee0ae3b5600f6787ab7 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Thu, 27 Jul 2017 19:58:16 +0000 Subject: [PATCH 24/63] - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild --- targetd.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/targetd.spec b/targetd.spec index 6df82a3..9506593 100644 --- a/targetd.spec +++ b/targetd.spec @@ -3,7 +3,7 @@ License: GPLv3 Group: System Environment/Libraries Summary: Service to make storage remotely configurable Version: 0.8.6 -Release: 2%{?dist} +Release: 3%{?dist} URL: https://github.com/open-iscsi/targetd Source: https://github.com/open-iscsi/targetd/releases/download/v%{version}/targetd-%{version}.tar.gz Source1: targetd.service @@ -57,6 +57,9 @@ install -m 644 targetd.8.gz %{buildroot}%{_mandir}/man8/ %config(noreplace) %{_sysconfdir}/target/targetd.yaml %changelog +* Thu Jul 27 2017 Fedora Release Engineering - 0.8.6-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild + * Wed May 3 2017 Tony Asleson 0.8.6-2 - Add and correct dependencies From 4e2992b92d4e472d9b56c5b346bf351736b626c3 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Fri, 9 Feb 2018 18:30:17 +0000 Subject: [PATCH 25/63] - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- targetd.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/targetd.spec b/targetd.spec index 9506593..908e5b1 100644 --- a/targetd.spec +++ b/targetd.spec @@ -3,7 +3,7 @@ License: GPLv3 Group: System Environment/Libraries Summary: Service to make storage remotely configurable Version: 0.8.6 -Release: 3%{?dist} +Release: 4%{?dist} URL: https://github.com/open-iscsi/targetd Source: https://github.com/open-iscsi/targetd/releases/download/v%{version}/targetd-%{version}.tar.gz Source1: targetd.service @@ -57,6 +57,9 @@ install -m 644 targetd.8.gz %{buildroot}%{_mandir}/man8/ %config(noreplace) %{_sysconfdir}/target/targetd.yaml %changelog +* Fri Feb 09 2018 Fedora Release Engineering - 0.8.6-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild + * Thu Jul 27 2017 Fedora Release Engineering - 0.8.6-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild From db2371f05383e35e9407d00e6f2995766ee26dfd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miro=20Hron=C4=8Dok?= Date: Tue, 19 Jun 2018 11:28:18 +0200 Subject: [PATCH 26/63] Rebuilt for Python 3.7 --- targetd.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/targetd.spec b/targetd.spec index 908e5b1..e7ec394 100644 --- a/targetd.spec +++ b/targetd.spec @@ -3,7 +3,7 @@ License: GPLv3 Group: System Environment/Libraries Summary: Service to make storage remotely configurable Version: 0.8.6 -Release: 4%{?dist} +Release: 5%{?dist} URL: https://github.com/open-iscsi/targetd Source: https://github.com/open-iscsi/targetd/releases/download/v%{version}/targetd-%{version}.tar.gz Source1: targetd.service @@ -57,6 +57,9 @@ install -m 644 targetd.8.gz %{buildroot}%{_mandir}/man8/ %config(noreplace) %{_sysconfdir}/target/targetd.yaml %changelog +* Tue Jun 19 2018 Miro Hrončok - 0.8.6-5 +- Rebuilt for Python 3.7 + * Fri Feb 09 2018 Fedora Release Engineering - 0.8.6-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild From 518ff1f9df99a4634cc00838e2403b6f0341da96 Mon Sep 17 00:00:00 2001 From: Tony Asleson Date: Wed, 20 Jun 2018 17:19:25 -0500 Subject: [PATCH 27/63] Dependency has been deprecated, no updates planned --- .gitignore | 16 ----- dead.package | 1 + sources | 1 - targetd.service | 11 ---- targetd.spec | 167 ------------------------------------------------ targetd.yaml | 22 ------- 6 files changed, 1 insertion(+), 217 deletions(-) delete mode 100644 .gitignore create mode 100644 dead.package delete mode 100644 sources delete mode 100644 targetd.service delete mode 100644 targetd.spec delete mode 100644 targetd.yaml diff --git a/.gitignore b/.gitignore deleted file mode 100644 index 06e65af..0000000 --- a/.gitignore +++ /dev/null @@ -1,16 +0,0 @@ -/targetd-0.2.2.tar.gz -/targetd-0.2.3.tar.gz -/targetd-0.2.4.tar.gz -/targetd-0.3.tar.gz -/targetd-0.3.1.tar.gz -/targetd-0.6.tar.gz -/targetd-0.6.1.tar.gz -/targetd-0.7.tar.gz -/targetd-0.7.1.tar.gz -/targetd-0.7.2.tar.gz -/targetd-0.8.tar.gz -/targetd-0.8.1.tar.gz -/targetd-0.8.2.tar.gz -/targetd-0.8.3.tar.gz -/targetd-0.8.5.tar.gz -/targetd-0.8.6.tar.gz diff --git a/dead.package b/dead.package new file mode 100644 index 0000000..0095bfd --- /dev/null +++ b/dead.package @@ -0,0 +1 @@ +Dependency has been deprecated, no updates planned diff --git a/sources b/sources deleted file mode 100644 index 8ca51d8..0000000 --- a/sources +++ /dev/null @@ -1 +0,0 @@ -SHA512 (targetd-0.8.6.tar.gz) = 91c2c05545b89f330f63454620a9b812e54f67d760c135141cdd4be7ef364a537896ad6c3af1f3651f120ae88bc5626a7dd835217cc30ac568d9248166fcf096 diff --git a/targetd.service b/targetd.service deleted file mode 100644 index a4cf4e9..0000000 --- a/targetd.service +++ /dev/null @@ -1,11 +0,0 @@ -[Unit] -Description=targetd storage array API daemon -Requires=target.service -After=target.service - -[Service] -ExecStart=/usr/bin/targetd - -[Install] -WantedBy=multi-user.target - diff --git a/targetd.spec b/targetd.spec deleted file mode 100644 index e7ec394..0000000 --- a/targetd.spec +++ /dev/null @@ -1,167 +0,0 @@ -Name: targetd -License: GPLv3 -Group: System Environment/Libraries -Summary: Service to make storage remotely configurable -Version: 0.8.6 -Release: 5%{?dist} -URL: https://github.com/open-iscsi/targetd -Source: https://github.com/open-iscsi/targetd/releases/download/v%{version}/targetd-%{version}.tar.gz -Source1: targetd.service -Source2: targetd.yaml -BuildArch: noarch -BuildRequires: systemd, python3-devel -Requires: python3-PyYAML python3-setproctitle python3-rtslib target-restore -Requires: lvm2-python3-libs >= 2.02.99, nfs-utils, btrfs-progs -Requires(post): systemd -Requires(preun): systemd -Requires(postun): systemd - - -%description -targetd turns the machine into a remotely-configurable storage appliance. -It supports an HTTP/jsonrpc-2.0 interface to let a remote -administrator allocate volumes from an LVM volume group, and export -those volumes over iSCSI. - -%prep -%setup -q - -%build -%{__python3} setup.py build -gzip --stdout targetd.8 > targetd.8.gz - -%install -mkdir -p %{buildroot}%{_mandir}/man8/ -mkdir -p %{buildroot}%{_unitdir} -mkdir -p %{buildroot}%{_sysconfdir}/target/ -install -m 644 %{SOURCE1} %{buildroot}%{_unitdir}/targetd.service -install -m 644 %{SOURCE2} %{buildroot}%{_sysconfdir}/target/targetd.yaml -install -m 644 targetd.8.gz %{buildroot}%{_mandir}/man8/ -%{__python3} setup.py install --skip-build --root %{buildroot} - -%post -%systemd_post targetd.service - -%preun -%systemd_preun targetd.service - -%postun -%systemd_postun_with_restart targetd.service - -%files -%{_bindir}/targetd -%{_unitdir}/targetd.service -%{python3_sitelib}/* -%doc LICENSE README.md API.md client -%{_mandir}/man8/targetd.8.gz -%config(noreplace) %{_sysconfdir}/target/targetd.yaml - -%changelog -* Tue Jun 19 2018 Miro Hrončok - 0.8.6-5 -- Rebuilt for Python 3.7 - -* Fri Feb 09 2018 Fedora Release Engineering - 0.8.6-4 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild - -* Thu Jul 27 2017 Fedora Release Engineering - 0.8.6-3 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild - -* Wed May 3 2017 Tony Asleson 0.8.6-2 -- Add and correct dependencies - -* Thu Apr 27 2017 Tony Asleson 0.8.6-1 -- New upstream version, bug fixes - -* Thu Feb 16 2017 Tony Asleson 0.8.5-1 -- New upstream version which has python3 support - -* Sat Feb 11 2017 Fedora Release Engineering - 0.8.3-4 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild - -* Tue Jul 19 2016 Fedora Release Engineering - 0.8.3-3 -- https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages - -* Fri Feb 05 2016 Fedora Release Engineering - 0.8.3-2 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild - -* Wed Aug 12 2015 Andy Grover 0.8.3-1 -- New upstream version - -* Tue Jun 23 2015 Andy Grover 0.8.2-1 -- New upstream version - -* Fri Jun 19 2015 Fedora Release Engineering - 0.8.1-2 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild - -* Wed Feb 11 2015 Andy Grover 0.8.1-1 -- New upstream version - -* Tue Feb 10 2015 Andy Grover 0.8-1 -- New upstream version - -* Sun Jun 08 2014 Fedora Release Engineering - 0.7.2-2 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild - -* Fri Mar 14 2014 Andy Grover 0.7.2-1 -- New upstream version - -* Mon Feb 10 2014 Andy Grover 0.7.1-1 -- New upstream version - -* Mon Nov 25 2013 Andy Grover 0.7-2 -- Fix service file for new ktarget service name -- Add python-rtslib to requires - -* Fri Nov 8 2013 Andy Grover 0.7-1 -- New upstream version -- Use systemd spec macros - -* Thu Aug 8 2013 Andy Grover 0.6.1-1 -- Update to latest version, make needed changes -- Drop patches: - * require-password.patch - * use-std-ssl.patch -- Change requires from python-lvm to lvm2-python-libs - -* Mon Aug 5 2013 Peter Robinson 0.3.1-7 -- Add systemd to BuildReq to fix FTBFS - -* Sun Aug 04 2013 Fedora Release Engineering - 0.3.1-6 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild - -* Tue Apr 16 2013 Andy Grover - 0.3.1-5 -- Update require-password.patch -- Change target.yaml to not include a commented-out default password - -* Tue Apr 16 2013 Andy Grover - 0.3.1-4 -- Remove dependency on python-tlslite - -* Mon Apr 15 2013 Andy Grover - 0.3.1-3 -- Add patch - * use-std-ssl.patch - * require-password.patch - -* Fri Feb 15 2013 Fedora Release Engineering - 0.3.1-2 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild - -* Wed Oct 17 2012 Andy Grover - 0.3.1-1 -- New upstream version - -* Mon Sep 24 2012 Andy Grover - 0.3-1 -- New upstream version - -* Fri Sep 7 2012 Andy Grover - 0.2.4-1 -- New upstream version - -* Tue Aug 28 2012 Andy Grover - 0.2.3-1 -- New upstream version -- Add new dependency python-tlslite - -* Sat Jul 21 2012 Fedora Release Engineering - 0.2.2-3 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild - -* Mon Jun 25 2012 Andy Grover - 0.2.2-2 -- Add proper pkg requires - -* Mon Jun 25 2012 Andy Grover - 0.2.2-1 -- Initial packaging diff --git a/targetd.yaml b/targetd.yaml deleted file mode 100644 index 61c534a..0000000 --- a/targetd.yaml +++ /dev/null @@ -1,22 +0,0 @@ -# See http://www.yaml.org/spec/1.2/spec.html for more on YAML. -# -# A sample /etc/target/targetd.yaml file. -# - -# No default password, please pick a good one. - -password: - -# defaults below; uncomment and edit -#block_pools: [vg-targetd/thin_pool] # just 1 by default, but can be more -#fs_pools: [] # Path to btrfs FS, eg. /my_btrfs_mount -#user: admin -#target_name: iqn.2003-01.org.example.mach1:1234 - -# log level (debug, info, warning, error, critical) -#log_level: info - -#ssl: false -# if ssl is activated: -#ssl_cert: /etc/target/targetd_cert.pem -#ssl_key: /etc/target/targetd_key.pem From af89d4f3a027b4a962b1a21d76d4dfd7e28aaf7d Mon Sep 17 00:00:00 2001 From: Mohan Boddu Date: Mon, 25 Nov 2019 15:21:31 -0500 Subject: [PATCH 28/63] Unretirement for https://pagure.io/releng/issue/9049 Revert "Dependency has been deprecated, no updates planned" This reverts commit 518ff1f9df99a4634cc00838e2403b6f0341da96. --- .gitignore | 16 +++++ dead.package | 1 - sources | 1 + targetd.service | 11 ++++ targetd.spec | 167 ++++++++++++++++++++++++++++++++++++++++++++++++ targetd.yaml | 22 +++++++ 6 files changed, 217 insertions(+), 1 deletion(-) create mode 100644 .gitignore delete mode 100644 dead.package create mode 100644 sources create mode 100644 targetd.service create mode 100644 targetd.spec create mode 100644 targetd.yaml diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..06e65af --- /dev/null +++ b/.gitignore @@ -0,0 +1,16 @@ +/targetd-0.2.2.tar.gz +/targetd-0.2.3.tar.gz +/targetd-0.2.4.tar.gz +/targetd-0.3.tar.gz +/targetd-0.3.1.tar.gz +/targetd-0.6.tar.gz +/targetd-0.6.1.tar.gz +/targetd-0.7.tar.gz +/targetd-0.7.1.tar.gz +/targetd-0.7.2.tar.gz +/targetd-0.8.tar.gz +/targetd-0.8.1.tar.gz +/targetd-0.8.2.tar.gz +/targetd-0.8.3.tar.gz +/targetd-0.8.5.tar.gz +/targetd-0.8.6.tar.gz diff --git a/dead.package b/dead.package deleted file mode 100644 index 0095bfd..0000000 --- a/dead.package +++ /dev/null @@ -1 +0,0 @@ -Dependency has been deprecated, no updates planned diff --git a/sources b/sources new file mode 100644 index 0000000..8ca51d8 --- /dev/null +++ b/sources @@ -0,0 +1 @@ +SHA512 (targetd-0.8.6.tar.gz) = 91c2c05545b89f330f63454620a9b812e54f67d760c135141cdd4be7ef364a537896ad6c3af1f3651f120ae88bc5626a7dd835217cc30ac568d9248166fcf096 diff --git a/targetd.service b/targetd.service new file mode 100644 index 0000000..a4cf4e9 --- /dev/null +++ b/targetd.service @@ -0,0 +1,11 @@ +[Unit] +Description=targetd storage array API daemon +Requires=target.service +After=target.service + +[Service] +ExecStart=/usr/bin/targetd + +[Install] +WantedBy=multi-user.target + diff --git a/targetd.spec b/targetd.spec new file mode 100644 index 0000000..e7ec394 --- /dev/null +++ b/targetd.spec @@ -0,0 +1,167 @@ +Name: targetd +License: GPLv3 +Group: System Environment/Libraries +Summary: Service to make storage remotely configurable +Version: 0.8.6 +Release: 5%{?dist} +URL: https://github.com/open-iscsi/targetd +Source: https://github.com/open-iscsi/targetd/releases/download/v%{version}/targetd-%{version}.tar.gz +Source1: targetd.service +Source2: targetd.yaml +BuildArch: noarch +BuildRequires: systemd, python3-devel +Requires: python3-PyYAML python3-setproctitle python3-rtslib target-restore +Requires: lvm2-python3-libs >= 2.02.99, nfs-utils, btrfs-progs +Requires(post): systemd +Requires(preun): systemd +Requires(postun): systemd + + +%description +targetd turns the machine into a remotely-configurable storage appliance. +It supports an HTTP/jsonrpc-2.0 interface to let a remote +administrator allocate volumes from an LVM volume group, and export +those volumes over iSCSI. + +%prep +%setup -q + +%build +%{__python3} setup.py build +gzip --stdout targetd.8 > targetd.8.gz + +%install +mkdir -p %{buildroot}%{_mandir}/man8/ +mkdir -p %{buildroot}%{_unitdir} +mkdir -p %{buildroot}%{_sysconfdir}/target/ +install -m 644 %{SOURCE1} %{buildroot}%{_unitdir}/targetd.service +install -m 644 %{SOURCE2} %{buildroot}%{_sysconfdir}/target/targetd.yaml +install -m 644 targetd.8.gz %{buildroot}%{_mandir}/man8/ +%{__python3} setup.py install --skip-build --root %{buildroot} + +%post +%systemd_post targetd.service + +%preun +%systemd_preun targetd.service + +%postun +%systemd_postun_with_restart targetd.service + +%files +%{_bindir}/targetd +%{_unitdir}/targetd.service +%{python3_sitelib}/* +%doc LICENSE README.md API.md client +%{_mandir}/man8/targetd.8.gz +%config(noreplace) %{_sysconfdir}/target/targetd.yaml + +%changelog +* Tue Jun 19 2018 Miro Hrončok - 0.8.6-5 +- Rebuilt for Python 3.7 + +* Fri Feb 09 2018 Fedora Release Engineering - 0.8.6-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild + +* Thu Jul 27 2017 Fedora Release Engineering - 0.8.6-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild + +* Wed May 3 2017 Tony Asleson 0.8.6-2 +- Add and correct dependencies + +* Thu Apr 27 2017 Tony Asleson 0.8.6-1 +- New upstream version, bug fixes + +* Thu Feb 16 2017 Tony Asleson 0.8.5-1 +- New upstream version which has python3 support + +* Sat Feb 11 2017 Fedora Release Engineering - 0.8.3-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild + +* Tue Jul 19 2016 Fedora Release Engineering - 0.8.3-3 +- https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages + +* Fri Feb 05 2016 Fedora Release Engineering - 0.8.3-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild + +* Wed Aug 12 2015 Andy Grover 0.8.3-1 +- New upstream version + +* Tue Jun 23 2015 Andy Grover 0.8.2-1 +- New upstream version + +* Fri Jun 19 2015 Fedora Release Engineering - 0.8.1-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild + +* Wed Feb 11 2015 Andy Grover 0.8.1-1 +- New upstream version + +* Tue Feb 10 2015 Andy Grover 0.8-1 +- New upstream version + +* Sun Jun 08 2014 Fedora Release Engineering - 0.7.2-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild + +* Fri Mar 14 2014 Andy Grover 0.7.2-1 +- New upstream version + +* Mon Feb 10 2014 Andy Grover 0.7.1-1 +- New upstream version + +* Mon Nov 25 2013 Andy Grover 0.7-2 +- Fix service file for new ktarget service name +- Add python-rtslib to requires + +* Fri Nov 8 2013 Andy Grover 0.7-1 +- New upstream version +- Use systemd spec macros + +* Thu Aug 8 2013 Andy Grover 0.6.1-1 +- Update to latest version, make needed changes +- Drop patches: + * require-password.patch + * use-std-ssl.patch +- Change requires from python-lvm to lvm2-python-libs + +* Mon Aug 5 2013 Peter Robinson 0.3.1-7 +- Add systemd to BuildReq to fix FTBFS + +* Sun Aug 04 2013 Fedora Release Engineering - 0.3.1-6 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild + +* Tue Apr 16 2013 Andy Grover - 0.3.1-5 +- Update require-password.patch +- Change target.yaml to not include a commented-out default password + +* Tue Apr 16 2013 Andy Grover - 0.3.1-4 +- Remove dependency on python-tlslite + +* Mon Apr 15 2013 Andy Grover - 0.3.1-3 +- Add patch + * use-std-ssl.patch + * require-password.patch + +* Fri Feb 15 2013 Fedora Release Engineering - 0.3.1-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild + +* Wed Oct 17 2012 Andy Grover - 0.3.1-1 +- New upstream version + +* Mon Sep 24 2012 Andy Grover - 0.3-1 +- New upstream version + +* Fri Sep 7 2012 Andy Grover - 0.2.4-1 +- New upstream version + +* Tue Aug 28 2012 Andy Grover - 0.2.3-1 +- New upstream version +- Add new dependency python-tlslite + +* Sat Jul 21 2012 Fedora Release Engineering - 0.2.2-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild + +* Mon Jun 25 2012 Andy Grover - 0.2.2-2 +- Add proper pkg requires + +* Mon Jun 25 2012 Andy Grover - 0.2.2-1 +- Initial packaging diff --git a/targetd.yaml b/targetd.yaml new file mode 100644 index 0000000..61c534a --- /dev/null +++ b/targetd.yaml @@ -0,0 +1,22 @@ +# See http://www.yaml.org/spec/1.2/spec.html for more on YAML. +# +# A sample /etc/target/targetd.yaml file. +# + +# No default password, please pick a good one. + +password: + +# defaults below; uncomment and edit +#block_pools: [vg-targetd/thin_pool] # just 1 by default, but can be more +#fs_pools: [] # Path to btrfs FS, eg. /my_btrfs_mount +#user: admin +#target_name: iqn.2003-01.org.example.mach1:1234 + +# log level (debug, info, warning, error, critical) +#log_level: info + +#ssl: false +# if ssl is activated: +#ssl_cert: /etc/target/targetd_cert.pem +#ssl_key: /etc/target/targetd_key.pem From 5de190b6ef675190923597eceeaa346472acbc33 Mon Sep 17 00:00:00 2001 From: Tony Asleson Date: Mon, 25 Nov 2019 15:45:18 -0600 Subject: [PATCH 29/63] Update to version 0.8.9 Signed-off-by: Tony Asleson --- .gitignore | 1 + sources | 2 +- targetd.spec | 37 ++++++++++++++++++------------------- 3 files changed, 20 insertions(+), 20 deletions(-) diff --git a/.gitignore b/.gitignore index 06e65af..517f376 100644 --- a/.gitignore +++ b/.gitignore @@ -14,3 +14,4 @@ /targetd-0.8.3.tar.gz /targetd-0.8.5.tar.gz /targetd-0.8.6.tar.gz +/targetd-0.8.9.tar.gz diff --git a/sources b/sources index 8ca51d8..257bbc6 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (targetd-0.8.6.tar.gz) = 91c2c05545b89f330f63454620a9b812e54f67d760c135141cdd4be7ef364a537896ad6c3af1f3651f120ae88bc5626a7dd835217cc30ac568d9248166fcf096 +SHA512 (targetd-0.8.9.tar.gz) = fab95aaab899c682fa0db0a8132ec6eca6776ecba8604c1a4cadabbb7cf8895ae0faca36cd5ee0fe62d64d66de207cbf0b239ce98e3a4338331746f14d96962c diff --git a/targetd.spec b/targetd.spec index e7ec394..25cc941 100644 --- a/targetd.spec +++ b/targetd.spec @@ -1,21 +1,16 @@ Name: targetd License: GPLv3 -Group: System Environment/Libraries Summary: Service to make storage remotely configurable -Version: 0.8.6 -Release: 5%{?dist} +Version: 0.8.9 +Release: 1%{?dist} URL: https://github.com/open-iscsi/targetd -Source: https://github.com/open-iscsi/targetd/releases/download/v%{version}/targetd-%{version}.tar.gz +Source: https://github.com/open-iscsi/targetd/archive/v%{version}/targetd-%{version}.tar.gz Source1: targetd.service -Source2: targetd.yaml BuildArch: noarch -BuildRequires: systemd, python3-devel +BuildRequires: systemd-rpm-macros +BuildRequires: python3-devel Requires: python3-PyYAML python3-setproctitle python3-rtslib target-restore -Requires: lvm2-python3-libs >= 2.02.99, nfs-utils, btrfs-progs -Requires(post): systemd -Requires(preun): systemd -Requires(postun): systemd - +Requires: nfs-utils, btrfs-progs, python3-blockdev, libblockdev-lvm %description targetd turns the machine into a remotely-configurable storage appliance. @@ -27,17 +22,16 @@ those volumes over iSCSI. %setup -q %build -%{__python3} setup.py build -gzip --stdout targetd.8 > targetd.8.gz +%py3_build %install mkdir -p %{buildroot}%{_mandir}/man8/ mkdir -p %{buildroot}%{_unitdir} mkdir -p %{buildroot}%{_sysconfdir}/target/ install -m 644 %{SOURCE1} %{buildroot}%{_unitdir}/targetd.service -install -m 644 %{SOURCE2} %{buildroot}%{_sysconfdir}/target/targetd.yaml -install -m 644 targetd.8.gz %{buildroot}%{_mandir}/man8/ -%{__python3} setup.py install --skip-build --root %{buildroot} +install -m 644 targetd.yaml %{buildroot}%{_sysconfdir}/target/targetd.yaml +install -m 644 targetd.8 %{buildroot}%{_mandir}/man8/ +%py3_install %post %systemd_post targetd.service @@ -51,12 +45,17 @@ install -m 644 targetd.8.gz %{buildroot}%{_mandir}/man8/ %files %{_bindir}/targetd %{_unitdir}/targetd.service -%{python3_sitelib}/* -%doc LICENSE README.md API.md client -%{_mandir}/man8/targetd.8.gz +%{python3_sitelib}/targetd/ +%{python3_sitelib}/*.egg-info +%license LICENSE +%doc README.md API.md client +%{_mandir}/man8/targetd.8* %config(noreplace) %{_sysconfdir}/target/targetd.yaml %changelog +* Mon Nov 25 2019 Tony Asleson - 0.8.9-1 +* Revive package and update to latest upstream release. + * Tue Jun 19 2018 Miro Hrončok - 0.8.6-5 - Rebuilt for Python 3.7 From dddae5e1e97b98454b88ad9a80c2ffc7f125f436 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Fri, 31 Jan 2020 01:05:28 +0000 Subject: [PATCH 30/63] - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- targetd.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/targetd.spec b/targetd.spec index 25cc941..bffb755 100644 --- a/targetd.spec +++ b/targetd.spec @@ -2,7 +2,7 @@ Name: targetd License: GPLv3 Summary: Service to make storage remotely configurable Version: 0.8.9 -Release: 1%{?dist} +Release: 2%{?dist} URL: https://github.com/open-iscsi/targetd Source: https://github.com/open-iscsi/targetd/archive/v%{version}/targetd-%{version}.tar.gz Source1: targetd.service @@ -53,6 +53,9 @@ install -m 644 targetd.8 %{buildroot}%{_mandir}/man8/ %config(noreplace) %{_sysconfdir}/target/targetd.yaml %changelog +* Fri Jan 31 2020 Fedora Release Engineering - 0.8.9-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild + * Mon Nov 25 2019 Tony Asleson - 0.8.9-1 * Revive package and update to latest upstream release. From d8cabd2e760ff91a76d0f8972d3fcb0f6e432ffb Mon Sep 17 00:00:00 2001 From: Tony Asleson Date: Tue, 25 Feb 2020 15:48:15 -0600 Subject: [PATCH 31/63] Update to version 0.8.11 Signed-off-by: Tony Asleson --- .gitignore | 2 ++ sources | 2 +- targetd.spec | 11 +++++++++-- 3 files changed, 12 insertions(+), 3 deletions(-) diff --git a/.gitignore b/.gitignore index 517f376..73ff2e3 100644 --- a/.gitignore +++ b/.gitignore @@ -15,3 +15,5 @@ /targetd-0.8.5.tar.gz /targetd-0.8.6.tar.gz /targetd-0.8.9.tar.gz +/targetd-0.8.10.tar.gz +/targetd-0.8.11.tar.gz diff --git a/sources b/sources index 257bbc6..3a0d63c 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (targetd-0.8.9.tar.gz) = fab95aaab899c682fa0db0a8132ec6eca6776ecba8604c1a4cadabbb7cf8895ae0faca36cd5ee0fe62d64d66de207cbf0b239ce98e3a4338331746f14d96962c +SHA512 (targetd-0.8.11.tar.gz) = 829891252d58785560fe58a7b64a2e2007235f431fe2f2d5d9e6a0bb78c8c95ff7ed3f52e878b56331a149b78af4fd864a22c0f6bad14bcb0c78a8565d3e5d7e diff --git a/targetd.spec b/targetd.spec index bffb755..4114351 100644 --- a/targetd.spec +++ b/targetd.spec @@ -1,8 +1,8 @@ Name: targetd License: GPLv3 Summary: Service to make storage remotely configurable -Version: 0.8.9 -Release: 2%{?dist} +Version: 0.8.11 +Release: 1%{?dist} URL: https://github.com/open-iscsi/targetd Source: https://github.com/open-iscsi/targetd/archive/v%{version}/targetd-%{version}.tar.gz Source1: targetd.service @@ -26,11 +26,13 @@ those volumes over iSCSI. %install mkdir -p %{buildroot}%{_mandir}/man8/ +mkdir -p %{buildroot}%{_mandir}/man5/ mkdir -p %{buildroot}%{_unitdir} mkdir -p %{buildroot}%{_sysconfdir}/target/ install -m 644 %{SOURCE1} %{buildroot}%{_unitdir}/targetd.service install -m 644 targetd.yaml %{buildroot}%{_sysconfdir}/target/targetd.yaml install -m 644 targetd.8 %{buildroot}%{_mandir}/man8/ +install -m 644 targetd.yaml.5 %{buildroot}%{_mandir}/man5/ %py3_install %post @@ -50,9 +52,14 @@ install -m 644 targetd.8 %{buildroot}%{_mandir}/man8/ %license LICENSE %doc README.md API.md client %{_mandir}/man8/targetd.8* +%{_mandir}/man5/targetd.yaml.5* %config(noreplace) %{_sysconfdir}/target/targetd.yaml %changelog +* Tue Feb 25 2020 Tony Asleson - 0.8.11-1 +- New upstream release +- Add man page for targetd.yaml.8 + * Fri Jan 31 2020 Fedora Release Engineering - 0.8.9-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild From 9f796a0d815d10c12f9ea3fda52dff6cfacbbc2f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miro=20Hron=C4=8Dok?= Date: Tue, 26 May 2020 03:51:38 +0200 Subject: [PATCH 32/63] Rebuilt for Python 3.9 --- targetd.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/targetd.spec b/targetd.spec index 4114351..fcb1e4c 100644 --- a/targetd.spec +++ b/targetd.spec @@ -2,7 +2,7 @@ Name: targetd License: GPLv3 Summary: Service to make storage remotely configurable Version: 0.8.11 -Release: 1%{?dist} +Release: 2%{?dist} URL: https://github.com/open-iscsi/targetd Source: https://github.com/open-iscsi/targetd/archive/v%{version}/targetd-%{version}.tar.gz Source1: targetd.service @@ -56,6 +56,9 @@ install -m 644 targetd.yaml.5 %{buildroot}%{_mandir}/man5/ %config(noreplace) %{_sysconfdir}/target/targetd.yaml %changelog +* Tue May 26 2020 Miro Hrončok - 0.8.11-2 +- Rebuilt for Python 3.9 + * Tue Feb 25 2020 Tony Asleson - 0.8.11-1 - New upstream release - Add man page for targetd.yaml.8 From 47a3b88d642bc487e788d65ec40ac59807b3b6fe Mon Sep 17 00:00:00 2001 From: Tony Asleson Date: Wed, 15 Jul 2020 08:22:39 -0500 Subject: [PATCH 33/63] Update to version 0.8.12 Signed-off-by: Tony Asleson --- .gitignore | 1 + sources | 2 +- targetd.spec | 7 +++++-- targetd.yaml | 4 ++++ 4 files changed, 11 insertions(+), 3 deletions(-) diff --git a/.gitignore b/.gitignore index 73ff2e3..50112b2 100644 --- a/.gitignore +++ b/.gitignore @@ -17,3 +17,4 @@ /targetd-0.8.9.tar.gz /targetd-0.8.10.tar.gz /targetd-0.8.11.tar.gz +/targetd-0.8.12.tar.gz diff --git a/sources b/sources index 3a0d63c..d95f744 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (targetd-0.8.11.tar.gz) = 829891252d58785560fe58a7b64a2e2007235f431fe2f2d5d9e6a0bb78c8c95ff7ed3f52e878b56331a149b78af4fd864a22c0f6bad14bcb0c78a8565d3e5d7e +SHA512 (targetd-0.8.12.tar.gz) = 06f4e12393c2264cfa4402911d788e011aa15a24d95ef9b8501fe476737a752e3be8c3f7e66edac4a221eb4f9b134cc229c4cbebaa83f4a1fd5140d62fccb252 diff --git a/targetd.spec b/targetd.spec index fcb1e4c..b03a009 100644 --- a/targetd.spec +++ b/targetd.spec @@ -1,8 +1,8 @@ Name: targetd License: GPLv3 Summary: Service to make storage remotely configurable -Version: 0.8.11 -Release: 2%{?dist} +Version: 0.8.12 +Release: 1%{?dist} URL: https://github.com/open-iscsi/targetd Source: https://github.com/open-iscsi/targetd/archive/v%{version}/targetd-%{version}.tar.gz Source1: targetd.service @@ -56,6 +56,9 @@ install -m 644 targetd.yaml.5 %{buildroot}%{_mandir}/man5/ %config(noreplace) %{_sysconfdir}/target/targetd.yaml %changelog +* Wed Jul 15 2020 Tony Asleson - 0.8.12-1 +- New upstream release + * Tue May 26 2020 Miro Hrončok - 0.8.11-2 - Rebuilt for Python 3.9 diff --git a/targetd.yaml b/targetd.yaml index 61c534a..d12a833 100644 --- a/targetd.yaml +++ b/targetd.yaml @@ -9,6 +9,10 @@ password: # defaults below; uncomment and edit #block_pools: [vg-targetd/thin_pool] # just 1 by default, but can be more + +#zfs_block_pools: [] # you can also use zfs as backend +#zfs_enable_copy: true # Enable if you want copy support, default is false + #fs_pools: [] # Path to btrfs FS, eg. /my_btrfs_mount #user: admin #target_name: iqn.2003-01.org.example.mach1:1234 From 443ea8ab7abc166aa3df87f9c0c70d5ce1faaa60 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Wed, 29 Jul 2020 12:06:05 +0000 Subject: [PATCH 34/63] - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- targetd.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/targetd.spec b/targetd.spec index b03a009..ae4bd89 100644 --- a/targetd.spec +++ b/targetd.spec @@ -2,7 +2,7 @@ Name: targetd License: GPLv3 Summary: Service to make storage remotely configurable Version: 0.8.12 -Release: 1%{?dist} +Release: 2%{?dist} URL: https://github.com/open-iscsi/targetd Source: https://github.com/open-iscsi/targetd/archive/v%{version}/targetd-%{version}.tar.gz Source1: targetd.service @@ -56,6 +56,9 @@ install -m 644 targetd.yaml.5 %{buildroot}%{_mandir}/man5/ %config(noreplace) %{_sysconfdir}/target/targetd.yaml %changelog +* Wed Jul 29 2020 Fedora Release Engineering - 0.8.12-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild + * Wed Jul 15 2020 Tony Asleson - 0.8.12-1 - New upstream release From 540e1672e41a3d18714865b275ae4d9016e5db08 Mon Sep 17 00:00:00 2001 From: Tony Asleson Date: Thu, 10 Sep 2020 15:59:54 -0500 Subject: [PATCH 35/63] Update to version 0.9.0 Signed-off-by: Tony Asleson --- .gitignore | 1 + sources | 2 +- targetd.spec | 8 ++++++-- 3 files changed, 8 insertions(+), 3 deletions(-) diff --git a/.gitignore b/.gitignore index 50112b2..06debd5 100644 --- a/.gitignore +++ b/.gitignore @@ -18,3 +18,4 @@ /targetd-0.8.10.tar.gz /targetd-0.8.11.tar.gz /targetd-0.8.12.tar.gz +/targetd-0.9.0.tar.gz diff --git a/sources b/sources index d95f744..f705572 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (targetd-0.8.12.tar.gz) = 06f4e12393c2264cfa4402911d788e011aa15a24d95ef9b8501fe476737a752e3be8c3f7e66edac4a221eb4f9b134cc229c4cbebaa83f4a1fd5140d62fccb252 +SHA512 (targetd-0.9.0.tar.gz) = 4d3fdbba5264d77b8ba202e37038d45255493e8c41092f43abf50250b6b13bb0d3b6b3a811daedaa8826d91b837502c8944065c9fe1fe844fd7e142e6791ce07 diff --git a/targetd.spec b/targetd.spec index ae4bd89..785aa0e 100644 --- a/targetd.spec +++ b/targetd.spec @@ -1,8 +1,8 @@ Name: targetd License: GPLv3 Summary: Service to make storage remotely configurable -Version: 0.8.12 -Release: 2%{?dist} +Version: 0.9.0 +Release: 1%{?dist} URL: https://github.com/open-iscsi/targetd Source: https://github.com/open-iscsi/targetd/archive/v%{version}/targetd-%{version}.tar.gz Source1: targetd.service @@ -48,6 +48,7 @@ install -m 644 targetd.yaml.5 %{buildroot}%{_mandir}/man5/ %{_bindir}/targetd %{_unitdir}/targetd.service %{python3_sitelib}/targetd/ +%{python3_sitelib}/targetd/backends/ %{python3_sitelib}/*.egg-info %license LICENSE %doc README.md API.md client @@ -56,6 +57,9 @@ install -m 644 targetd.yaml.5 %{buildroot}%{_mandir}/man5/ %config(noreplace) %{_sysconfdir}/target/targetd.yaml %changelog +* Thu Sep 10 2020 Tony Asleson - 0.9.0-1 +- New upstream release + * Wed Jul 29 2020 Fedora Release Engineering - 0.8.12-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild From 4461102e42c4e56701962d5a1582a2dc504fef91 Mon Sep 17 00:00:00 2001 From: Tony Asleson Date: Tue, 1 Dec 2020 10:42:52 -0600 Subject: [PATCH 36/63] Update to version 0.9.1 Signed-off-by: Tony Asleson --- .gitignore | 1 + sources | 2 +- targetd.spec | 5 ++++- 3 files changed, 6 insertions(+), 2 deletions(-) diff --git a/.gitignore b/.gitignore index 06debd5..1da4105 100644 --- a/.gitignore +++ b/.gitignore @@ -19,3 +19,4 @@ /targetd-0.8.11.tar.gz /targetd-0.8.12.tar.gz /targetd-0.9.0.tar.gz +/targetd-0.9.1.tar.gz diff --git a/sources b/sources index f705572..a168451 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (targetd-0.9.0.tar.gz) = 4d3fdbba5264d77b8ba202e37038d45255493e8c41092f43abf50250b6b13bb0d3b6b3a811daedaa8826d91b837502c8944065c9fe1fe844fd7e142e6791ce07 +SHA512 (targetd-0.9.1.tar.gz) = b6b758c9af4588f795358a87afed3fd3730afcdff2bb25312fdfe3893126090e8e3361c4720c849d1243fa3b93cb3794e9cf674c6b254ab263a60130f265be96 diff --git a/targetd.spec b/targetd.spec index 785aa0e..1af237c 100644 --- a/targetd.spec +++ b/targetd.spec @@ -1,7 +1,7 @@ Name: targetd License: GPLv3 Summary: Service to make storage remotely configurable -Version: 0.9.0 +Version: 0.9.1 Release: 1%{?dist} URL: https://github.com/open-iscsi/targetd Source: https://github.com/open-iscsi/targetd/archive/v%{version}/targetd-%{version}.tar.gz @@ -57,6 +57,9 @@ install -m 644 targetd.yaml.5 %{buildroot}%{_mandir}/man5/ %config(noreplace) %{_sysconfdir}/target/targetd.yaml %changelog +* Tue Dec 1 2020 Tony Asleson - 0.9.1-1 +- New upstream release + * Thu Sep 10 2020 Tony Asleson - 0.9.0-1 - New upstream release From 706d98cbc604a27d843c6b8ecf3c8f2ec21996d3 Mon Sep 17 00:00:00 2001 From: Tony Asleson Date: Mon, 30 Nov 2020 16:50:32 -0600 Subject: [PATCH 37/63] Enable CI tests using the Standard Test Interface Adding initial set of basic functionality tests for targetd according to the Standard Test Interface. Ref. https://docs.fedoraproject.org/en-US/ci Signed-off-by: Tony Asleson --- tests/ci_test.sh | 49 ++++++++++++++++++++++++++++++++++++++++++++++++ tests/tests.yml | 22 ++++++++++++++++++++++ 2 files changed, 71 insertions(+) create mode 100755 tests/ci_test.sh create mode 100644 tests/tests.yml diff --git a/tests/ci_test.sh b/tests/ci_test.sh new file mode 100755 index 0000000..8d0a9e4 --- /dev/null +++ b/tests/ci_test.sh @@ -0,0 +1,49 @@ +#!/usr/bin/bash + +function _chk +{ + echo "executing: $@" + eval "$@" + local rc=$? + if [ $rc -ne 0 ]; then + echo "Failed: $rc" + # Dump log for targetd + echo "journalctl -u targetd" + journalctl -u targetd + + # On failure dump the audit logs + echo "ausearch ..." + ausearch -i -m avc,user_avc,selinux_err,user_selinux_err -ts recent + exit 1 + fi +} + +SOURCE_DIR="targetd_src" +BASE=$PWD + +# TODO REMOVE THIS WHEN RAWHIDE PICKS UP +# https://github.com/fedora-selinux/selinux-policy-contrib/pull/334 +_chk setenforce 0 + +# Run the upstream setup script +_chk cd $SOURCE_DIR +_chk ./test/test.sh setup + +# Pick up new changes from setup +_chk systemctl restart targetd + +# Try stopping the firewall, but don't fail if this fails +systemctl stop firewalld + +# Give the service a moment to start up. +_chk sleep 10 + +# See if the daemon is up and accepting ... +netstat -anp | grep LISTEN | grep 18700 + +# Go back to start directory and run unit test. +_chk cd $BASE + +SRC="$BASE/$SOURCE_DIR" +_chk TARGETD_UT_CERTFILE=/etc/target/targetd_cert.pem PYTHONPATH=$SRC python3 $SRC/test/targetd_test.py -v +exit 0 \ No newline at end of file diff --git a/tests/tests.yml b/tests/tests.yml new file mode 100644 index 0000000..428377f --- /dev/null +++ b/tests/tests.yml @@ -0,0 +1,22 @@ +- hosts: localhost + roles: + - role: standard-test-basic + tags: + - classic + tests: + - simple: + dir: . + run: ./ci_test.sh + required_packages: + - targetd + - util-linux + - lvm2 + - procps-ng + - coreutils + - openssl + - btrfs-progs + - audit + - python3-requests + repositories: + - repo: "https://github.com/open-iscsi/targetd.git" + dest: "targetd_src" From 9fed749d8e539af4141a0a9c598d81ed2c00327c Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Wed, 27 Jan 2021 21:36:41 +0000 Subject: [PATCH 38/63] - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- targetd.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/targetd.spec b/targetd.spec index 1af237c..4e0fc87 100644 --- a/targetd.spec +++ b/targetd.spec @@ -2,7 +2,7 @@ Name: targetd License: GPLv3 Summary: Service to make storage remotely configurable Version: 0.9.1 -Release: 1%{?dist} +Release: 2%{?dist} URL: https://github.com/open-iscsi/targetd Source: https://github.com/open-iscsi/targetd/archive/v%{version}/targetd-%{version}.tar.gz Source1: targetd.service @@ -57,6 +57,9 @@ install -m 644 targetd.yaml.5 %{buildroot}%{_mandir}/man5/ %config(noreplace) %{_sysconfdir}/target/targetd.yaml %changelog +* Wed Jan 27 2021 Fedora Release Engineering - 0.9.1-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild + * Tue Dec 1 2020 Tony Asleson - 0.9.1-1 - New upstream release From 9a6468fff031a9aa45ecbab603a700748ebfb897 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Zbigniew=20J=C4=99drzejewski-Szmek?= Date: Tue, 2 Mar 2021 16:12:11 +0100 Subject: [PATCH 39/63] Rebuilt for updated systemd-rpm-macros See https://pagure.io/fesco/issue/2583. --- targetd.spec | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/targetd.spec b/targetd.spec index 4e0fc87..5a710f7 100644 --- a/targetd.spec +++ b/targetd.spec @@ -2,7 +2,7 @@ Name: targetd License: GPLv3 Summary: Service to make storage remotely configurable Version: 0.9.1 -Release: 2%{?dist} +Release: 3%{?dist} URL: https://github.com/open-iscsi/targetd Source: https://github.com/open-iscsi/targetd/archive/v%{version}/targetd-%{version}.tar.gz Source1: targetd.service @@ -57,6 +57,10 @@ install -m 644 targetd.yaml.5 %{buildroot}%{_mandir}/man5/ %config(noreplace) %{_sysconfdir}/target/targetd.yaml %changelog +* Tue Mar 02 2021 Zbigniew Jędrzejewski-Szmek - 0.9.1-3 +- Rebuilt for updated systemd-rpm-macros + See https://pagure.io/fesco/issue/2583. + * Wed Jan 27 2021 Fedora Release Engineering - 0.9.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild From 96eb81b6f15f4c637c4a836ba8268e08c03647ea Mon Sep 17 00:00:00 2001 From: Tony Asleson Date: Tue, 6 Apr 2021 15:26:08 -0500 Subject: [PATCH 40/63] Update to version 0.10.0 Signed-off-by: Tony Asleson --- .gitignore | 1 + sources | 2 +- targetd.spec | 8 +++++--- 3 files changed, 7 insertions(+), 4 deletions(-) diff --git a/.gitignore b/.gitignore index 1da4105..220dfa1 100644 --- a/.gitignore +++ b/.gitignore @@ -20,3 +20,4 @@ /targetd-0.8.12.tar.gz /targetd-0.9.0.tar.gz /targetd-0.9.1.tar.gz +/targetd-0.10.0.tar.gz diff --git a/sources b/sources index a168451..1938296 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (targetd-0.9.1.tar.gz) = b6b758c9af4588f795358a87afed3fd3730afcdff2bb25312fdfe3893126090e8e3361c4720c849d1243fa3b93cb3794e9cf674c6b254ab263a60130f265be96 +SHA512 (targetd-0.10.0.tar.gz) = 42f9c04a14efacd50bcb500c804d4e4b9c00584ce8327b68775fb3249c97514cdf0c1be9bab2a7c5f00f6421559dd6fc8bf2eaccea70c1d3f5d67ea81df1c20c diff --git a/targetd.spec b/targetd.spec index 5a710f7..7d68f25 100644 --- a/targetd.spec +++ b/targetd.spec @@ -1,8 +1,8 @@ Name: targetd License: GPLv3 Summary: Service to make storage remotely configurable -Version: 0.9.1 -Release: 3%{?dist} +Version: 0.10.0 +Release: 1%{?dist} URL: https://github.com/open-iscsi/targetd Source: https://github.com/open-iscsi/targetd/archive/v%{version}/targetd-%{version}.tar.gz Source1: targetd.service @@ -48,7 +48,6 @@ install -m 644 targetd.yaml.5 %{buildroot}%{_mandir}/man5/ %{_bindir}/targetd %{_unitdir}/targetd.service %{python3_sitelib}/targetd/ -%{python3_sitelib}/targetd/backends/ %{python3_sitelib}/*.egg-info %license LICENSE %doc README.md API.md client @@ -57,6 +56,9 @@ install -m 644 targetd.yaml.5 %{buildroot}%{_mandir}/man5/ %config(noreplace) %{_sysconfdir}/target/targetd.yaml %changelog +* Tue Apr 06 2021 Tony Asleson - 0.10.0-1 +- New upstream release + * Tue Mar 02 2021 Zbigniew Jędrzejewski-Szmek - 0.9.1-3 - Rebuilt for updated systemd-rpm-macros See https://pagure.io/fesco/issue/2583. From e1f60daadcdfa686821dcaf04b875e7e1b11e981 Mon Sep 17 00:00:00 2001 From: Python Maint Date: Fri, 4 Jun 2021 21:16:18 +0200 Subject: [PATCH 41/63] Rebuilt for Python 3.10 --- targetd.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/targetd.spec b/targetd.spec index 7d68f25..08a2ffd 100644 --- a/targetd.spec +++ b/targetd.spec @@ -2,7 +2,7 @@ Name: targetd License: GPLv3 Summary: Service to make storage remotely configurable Version: 0.10.0 -Release: 1%{?dist} +Release: 2%{?dist} URL: https://github.com/open-iscsi/targetd Source: https://github.com/open-iscsi/targetd/archive/v%{version}/targetd-%{version}.tar.gz Source1: targetd.service @@ -56,6 +56,9 @@ install -m 644 targetd.yaml.5 %{buildroot}%{_mandir}/man5/ %config(noreplace) %{_sysconfdir}/target/targetd.yaml %changelog +* Fri Jun 04 2021 Python Maint - 0.10.0-2 +- Rebuilt for Python 3.10 + * Tue Apr 06 2021 Tony Asleson - 0.10.0-1 - New upstream release From f3d845825f654cbc83faf45530e566440060f877 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Fri, 23 Jul 2021 18:52:59 +0000 Subject: [PATCH 42/63] - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- targetd.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/targetd.spec b/targetd.spec index 08a2ffd..f7d2ebc 100644 --- a/targetd.spec +++ b/targetd.spec @@ -2,7 +2,7 @@ Name: targetd License: GPLv3 Summary: Service to make storage remotely configurable Version: 0.10.0 -Release: 2%{?dist} +Release: 3%{?dist} URL: https://github.com/open-iscsi/targetd Source: https://github.com/open-iscsi/targetd/archive/v%{version}/targetd-%{version}.tar.gz Source1: targetd.service @@ -56,6 +56,9 @@ install -m 644 targetd.yaml.5 %{buildroot}%{_mandir}/man5/ %config(noreplace) %{_sysconfdir}/target/targetd.yaml %changelog +* Fri Jul 23 2021 Fedora Release Engineering - 0.10.0-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild + * Fri Jun 04 2021 Python Maint - 0.10.0-2 - Rebuilt for Python 3.10 From 3ef5914de0c3ce84c8fc342606da812776573ab3 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Sat, 22 Jan 2022 02:18:10 +0000 Subject: [PATCH 43/63] - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- targetd.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/targetd.spec b/targetd.spec index f7d2ebc..ad9cb90 100644 --- a/targetd.spec +++ b/targetd.spec @@ -2,7 +2,7 @@ Name: targetd License: GPLv3 Summary: Service to make storage remotely configurable Version: 0.10.0 -Release: 3%{?dist} +Release: 4%{?dist} URL: https://github.com/open-iscsi/targetd Source: https://github.com/open-iscsi/targetd/archive/v%{version}/targetd-%{version}.tar.gz Source1: targetd.service @@ -56,6 +56,9 @@ install -m 644 targetd.yaml.5 %{buildroot}%{_mandir}/man5/ %config(noreplace) %{_sysconfdir}/target/targetd.yaml %changelog +* Sat Jan 22 2022 Fedora Release Engineering - 0.10.0-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild + * Fri Jul 23 2021 Fedora Release Engineering - 0.10.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild From 3f11aaba730fcb5843d3278b304f6dab3e232ec1 Mon Sep 17 00:00:00 2001 From: Python Maint Date: Mon, 13 Jun 2022 15:39:00 +0200 Subject: [PATCH 44/63] Rebuilt for Python 3.11 --- targetd.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/targetd.spec b/targetd.spec index ad9cb90..05a1894 100644 --- a/targetd.spec +++ b/targetd.spec @@ -2,7 +2,7 @@ Name: targetd License: GPLv3 Summary: Service to make storage remotely configurable Version: 0.10.0 -Release: 4%{?dist} +Release: 5%{?dist} URL: https://github.com/open-iscsi/targetd Source: https://github.com/open-iscsi/targetd/archive/v%{version}/targetd-%{version}.tar.gz Source1: targetd.service @@ -56,6 +56,9 @@ install -m 644 targetd.yaml.5 %{buildroot}%{_mandir}/man5/ %config(noreplace) %{_sysconfdir}/target/targetd.yaml %changelog +* Mon Jun 13 2022 Python Maint - 0.10.0-5 +- Rebuilt for Python 3.11 + * Sat Jan 22 2022 Fedora Release Engineering - 0.10.0-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild From 3ea1df8553b97a05b3f6a4e14d111e86fc41e3da Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Sat, 23 Jul 2022 10:05:22 +0000 Subject: [PATCH 45/63] Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- targetd.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/targetd.spec b/targetd.spec index 05a1894..cec7663 100644 --- a/targetd.spec +++ b/targetd.spec @@ -2,7 +2,7 @@ Name: targetd License: GPLv3 Summary: Service to make storage remotely configurable Version: 0.10.0 -Release: 5%{?dist} +Release: 6%{?dist} URL: https://github.com/open-iscsi/targetd Source: https://github.com/open-iscsi/targetd/archive/v%{version}/targetd-%{version}.tar.gz Source1: targetd.service @@ -56,6 +56,9 @@ install -m 644 targetd.yaml.5 %{buildroot}%{_mandir}/man5/ %config(noreplace) %{_sysconfdir}/target/targetd.yaml %changelog +* Sat Jul 23 2022 Fedora Release Engineering - 0.10.0-6 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild + * Mon Jun 13 2022 Python Maint - 0.10.0-5 - Rebuilt for Python 3.11 From da0315635988da39ccbd3ee46407d9e2765bfbd0 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Sat, 21 Jan 2023 04:39:14 +0000 Subject: [PATCH 46/63] Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- targetd.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/targetd.spec b/targetd.spec index cec7663..5477eb6 100644 --- a/targetd.spec +++ b/targetd.spec @@ -2,7 +2,7 @@ Name: targetd License: GPLv3 Summary: Service to make storage remotely configurable Version: 0.10.0 -Release: 6%{?dist} +Release: 7%{?dist} URL: https://github.com/open-iscsi/targetd Source: https://github.com/open-iscsi/targetd/archive/v%{version}/targetd-%{version}.tar.gz Source1: targetd.service @@ -56,6 +56,9 @@ install -m 644 targetd.yaml.5 %{buildroot}%{_mandir}/man5/ %config(noreplace) %{_sysconfdir}/target/targetd.yaml %changelog +* Sat Jan 21 2023 Fedora Release Engineering - 0.10.0-7 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild + * Sat Jul 23 2022 Fedora Release Engineering - 0.10.0-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild From a27b1af0496c3441e75e26ec339ee1e789d5470f Mon Sep 17 00:00:00 2001 From: Python Maint Date: Tue, 13 Jun 2023 20:59:34 +0200 Subject: [PATCH 47/63] Rebuilt for Python 3.12 --- targetd.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/targetd.spec b/targetd.spec index 5477eb6..511002a 100644 --- a/targetd.spec +++ b/targetd.spec @@ -2,7 +2,7 @@ Name: targetd License: GPLv3 Summary: Service to make storage remotely configurable Version: 0.10.0 -Release: 7%{?dist} +Release: 8%{?dist} URL: https://github.com/open-iscsi/targetd Source: https://github.com/open-iscsi/targetd/archive/v%{version}/targetd-%{version}.tar.gz Source1: targetd.service @@ -56,6 +56,9 @@ install -m 644 targetd.yaml.5 %{buildroot}%{_mandir}/man5/ %config(noreplace) %{_sysconfdir}/target/targetd.yaml %changelog +* Tue Jun 13 2023 Python Maint - 0.10.0-8 +- Rebuilt for Python 3.12 + * Sat Jan 21 2023 Fedora Release Engineering - 0.10.0-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild From 7a77963ca8c2dad0c5126ec2919d67708fcec0a3 Mon Sep 17 00:00:00 2001 From: Tony Asleson Date: Thu, 15 Jun 2023 16:32:31 -0500 Subject: [PATCH 48/63] Update to version 0.10.1 Signed-off-by: Tony Asleson --- .gitignore | 1 + sources | 2 +- targetd.spec | 9 ++++++--- 3 files changed, 8 insertions(+), 4 deletions(-) diff --git a/.gitignore b/.gitignore index 220dfa1..adb023a 100644 --- a/.gitignore +++ b/.gitignore @@ -21,3 +21,4 @@ /targetd-0.9.0.tar.gz /targetd-0.9.1.tar.gz /targetd-0.10.0.tar.gz +/targetd-0.10.1.tar.gz diff --git a/sources b/sources index 1938296..f4c2e4f 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (targetd-0.10.0.tar.gz) = 42f9c04a14efacd50bcb500c804d4e4b9c00584ce8327b68775fb3249c97514cdf0c1be9bab2a7c5f00f6421559dd6fc8bf2eaccea70c1d3f5d67ea81df1c20c +SHA512 (targetd-0.10.1.tar.gz) = 49f58ff3deb77e59a55718bc2294a10b2c1f9ee618a0c9c5ca3b8f401e5c317f949d0e26eac35a343327f8d81947e830f33e0e6791f560973a6c47f59e1814d0 diff --git a/targetd.spec b/targetd.spec index 511002a..49755f2 100644 --- a/targetd.spec +++ b/targetd.spec @@ -1,14 +1,14 @@ Name: targetd License: GPLv3 Summary: Service to make storage remotely configurable -Version: 0.10.0 -Release: 8%{?dist} +Version: 0.10.1 +Release: 1%{?dist} URL: https://github.com/open-iscsi/targetd Source: https://github.com/open-iscsi/targetd/archive/v%{version}/targetd-%{version}.tar.gz Source1: targetd.service BuildArch: noarch BuildRequires: systemd-rpm-macros -BuildRequires: python3-devel +BuildRequires: python3-devel python3-setuptools Requires: python3-PyYAML python3-setproctitle python3-rtslib target-restore Requires: nfs-utils, btrfs-progs, python3-blockdev, libblockdev-lvm @@ -56,6 +56,9 @@ install -m 644 targetd.yaml.5 %{buildroot}%{_mandir}/man5/ %config(noreplace) %{_sysconfdir}/target/targetd.yaml %changelog +* Thu Jun 15 2023 Tony Asleson - 0.10.1-1 +- New upstream release which includes a fix for python 3.12 + * Tue Jun 13 2023 Python Maint - 0.10.0-8 - Rebuilt for Python 3.12 From 58e8aa09ea34fad50d85a7a43d27dcf9faad036b Mon Sep 17 00:00:00 2001 From: Tony Asleson Date: Sat, 24 Jun 2023 12:06:33 -0500 Subject: [PATCH 49/63] Update to version 0.10.2 Signed-off-by: Tony Asleson --- .gitignore | 1 + sources | 2 +- targetd.spec | 5 ++++- 3 files changed, 6 insertions(+), 2 deletions(-) diff --git a/.gitignore b/.gitignore index adb023a..0d43e96 100644 --- a/.gitignore +++ b/.gitignore @@ -22,3 +22,4 @@ /targetd-0.9.1.tar.gz /targetd-0.10.0.tar.gz /targetd-0.10.1.tar.gz +/targetd-0.10.2.tar.gz diff --git a/sources b/sources index f4c2e4f..320f858 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (targetd-0.10.1.tar.gz) = 49f58ff3deb77e59a55718bc2294a10b2c1f9ee618a0c9c5ca3b8f401e5c317f949d0e26eac35a343327f8d81947e830f33e0e6791f560973a6c47f59e1814d0 +SHA512 (targetd-0.10.2.tar.gz) = 0ca6d233c5e601553fe3f4cb50d8c7d3eabfacbd355dac819a642136d9ce6baf84c00cca8ffaed1134d2778af2774d21edc4afe114445decafbb25c645fa3be8 diff --git a/targetd.spec b/targetd.spec index 49755f2..e999088 100644 --- a/targetd.spec +++ b/targetd.spec @@ -1,7 +1,7 @@ Name: targetd License: GPLv3 Summary: Service to make storage remotely configurable -Version: 0.10.1 +Version: 0.10.2 Release: 1%{?dist} URL: https://github.com/open-iscsi/targetd Source: https://github.com/open-iscsi/targetd/archive/v%{version}/targetd-%{version}.tar.gz @@ -56,6 +56,9 @@ install -m 644 targetd.yaml.5 %{buildroot}%{_mandir}/man5/ %config(noreplace) %{_sysconfdir}/target/targetd.yaml %changelog +* Sat Jun 24 2023 Tony Asleson - 0.10.2-1 +- New upstream release which adds libblockdev 3.0 support + * Thu Jun 15 2023 Tony Asleson - 0.10.1-1 - New upstream release which includes a fix for python 3.12 From a6e8111420a857a543216e3ec7cbdf5a192896c1 Mon Sep 17 00:00:00 2001 From: Python Maint Date: Mon, 26 Jun 2023 13:59:23 +0200 Subject: [PATCH 50/63] Rebuilt for Python 3.12 --- targetd.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/targetd.spec b/targetd.spec index e999088..160391d 100644 --- a/targetd.spec +++ b/targetd.spec @@ -2,7 +2,7 @@ Name: targetd License: GPLv3 Summary: Service to make storage remotely configurable Version: 0.10.2 -Release: 1%{?dist} +Release: 2%{?dist} URL: https://github.com/open-iscsi/targetd Source: https://github.com/open-iscsi/targetd/archive/v%{version}/targetd-%{version}.tar.gz Source1: targetd.service @@ -56,6 +56,9 @@ install -m 644 targetd.yaml.5 %{buildroot}%{_mandir}/man5/ %config(noreplace) %{_sysconfdir}/target/targetd.yaml %changelog +* Mon Jun 26 2023 Python Maint - 0.10.2-2 +- Rebuilt for Python 3.12 + * Sat Jun 24 2023 Tony Asleson - 0.10.2-1 - New upstream release which adds libblockdev 3.0 support From 35dda3a4d1fd646f7cf97aa02746407393a73d23 Mon Sep 17 00:00:00 2001 From: Tony Asleson Date: Fri, 21 Jul 2023 09:33:57 -0500 Subject: [PATCH 51/63] Migrated to SPDX license Signed-off-by: Tony Asleson --- targetd.spec | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/targetd.spec b/targetd.spec index 160391d..9b69722 100644 --- a/targetd.spec +++ b/targetd.spec @@ -1,8 +1,8 @@ Name: targetd -License: GPLv3 +License: GPL-3.0-only Summary: Service to make storage remotely configurable Version: 0.10.2 -Release: 2%{?dist} +Release: 3%{?dist} URL: https://github.com/open-iscsi/targetd Source: https://github.com/open-iscsi/targetd/archive/v%{version}/targetd-%{version}.tar.gz Source1: targetd.service @@ -56,6 +56,9 @@ install -m 644 targetd.yaml.5 %{buildroot}%{_mandir}/man5/ %config(noreplace) %{_sysconfdir}/target/targetd.yaml %changelog +* Fri Jul 21 2023 Tony Asleson - 0.10.2-3 +- migrated to SPDX license + * Mon Jun 26 2023 Python Maint - 0.10.2-2 - Rebuilt for Python 3.12 From d57637c3a84d6b386878e8dda6cae192be6d2913 Mon Sep 17 00:00:00 2001 From: Tony Asleson Date: Mon, 11 Dec 2023 17:31:01 -0600 Subject: [PATCH 52/63] Update to version 0.10.3 Signed-off-by: Tony Asleson --- .gitignore | 1 + sources | 2 +- targetd.spec | 7 +++++-- 3 files changed, 7 insertions(+), 3 deletions(-) diff --git a/.gitignore b/.gitignore index 0d43e96..21cad5e 100644 --- a/.gitignore +++ b/.gitignore @@ -23,3 +23,4 @@ /targetd-0.10.0.tar.gz /targetd-0.10.1.tar.gz /targetd-0.10.2.tar.gz +/targetd-0.10.3.tar.gz diff --git a/sources b/sources index 320f858..d13bb73 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (targetd-0.10.2.tar.gz) = 0ca6d233c5e601553fe3f4cb50d8c7d3eabfacbd355dac819a642136d9ce6baf84c00cca8ffaed1134d2778af2774d21edc4afe114445decafbb25c645fa3be8 +SHA512 (targetd-0.10.3.tar.gz) = aac2b1f35662fcdefc02be05997c90aa4a0593bc309d451d2e1a69eb63bc3436a919a8c9d6d71cbcd6a5b81a78a4d16f4a8859f3d13f13c14c9ce9bc5ef95340 diff --git a/targetd.spec b/targetd.spec index 9b69722..200bdce 100644 --- a/targetd.spec +++ b/targetd.spec @@ -1,8 +1,8 @@ Name: targetd License: GPL-3.0-only Summary: Service to make storage remotely configurable -Version: 0.10.2 -Release: 3%{?dist} +Version: 0.10.3 +Release: 1%{?dist} URL: https://github.com/open-iscsi/targetd Source: https://github.com/open-iscsi/targetd/archive/v%{version}/targetd-%{version}.tar.gz Source1: targetd.service @@ -56,6 +56,9 @@ install -m 644 targetd.yaml.5 %{buildroot}%{_mandir}/man5/ %config(noreplace) %{_sysconfdir}/target/targetd.yaml %changelog +* Mon Dec 11 2023 Tony Asleson - 0.10.3-1 +- New upstream release + * Fri Jul 21 2023 Tony Asleson - 0.10.2-3 - migrated to SPDX license From c13d4e9a257de3d99ace140bf23d18a4d6e9af6a Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Sat, 27 Jan 2024 05:22:53 +0000 Subject: [PATCH 53/63] Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild --- targetd.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/targetd.spec b/targetd.spec index 200bdce..6c075cb 100644 --- a/targetd.spec +++ b/targetd.spec @@ -2,7 +2,7 @@ Name: targetd License: GPL-3.0-only Summary: Service to make storage remotely configurable Version: 0.10.3 -Release: 1%{?dist} +Release: 2%{?dist} URL: https://github.com/open-iscsi/targetd Source: https://github.com/open-iscsi/targetd/archive/v%{version}/targetd-%{version}.tar.gz Source1: targetd.service @@ -56,6 +56,9 @@ install -m 644 targetd.yaml.5 %{buildroot}%{_mandir}/man5/ %config(noreplace) %{_sysconfdir}/target/targetd.yaml %changelog +* Sat Jan 27 2024 Fedora Release Engineering - 0.10.3-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild + * Mon Dec 11 2023 Tony Asleson - 0.10.3-1 - New upstream release From 12807aa48a08f273c350ff17bc02d98aa45ccb53 Mon Sep 17 00:00:00 2001 From: Tony Asleson Date: Tue, 12 Mar 2024 15:40:05 -0500 Subject: [PATCH 54/63] Update to version 0.10.4 Signed-off-by: Tony Asleson --- .gitignore | 1 + sources | 2 +- targetd.spec | 7 +++++-- 3 files changed, 7 insertions(+), 3 deletions(-) diff --git a/.gitignore b/.gitignore index 21cad5e..9e74667 100644 --- a/.gitignore +++ b/.gitignore @@ -24,3 +24,4 @@ /targetd-0.10.1.tar.gz /targetd-0.10.2.tar.gz /targetd-0.10.3.tar.gz +/targetd-0.10.4.tar.gz diff --git a/sources b/sources index d13bb73..4dee891 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (targetd-0.10.3.tar.gz) = aac2b1f35662fcdefc02be05997c90aa4a0593bc309d451d2e1a69eb63bc3436a919a8c9d6d71cbcd6a5b81a78a4d16f4a8859f3d13f13c14c9ce9bc5ef95340 +SHA512 (targetd-0.10.4.tar.gz) = 3394b0ee2226a4fb7e5f93f1c4e3f7aeeb5a023351b8be3d33f7d5201da4ca4c906cacb437327ceb2fe81c509f654f2fc142457896f8fc43188de8a62af6dcb8 diff --git a/targetd.spec b/targetd.spec index 6c075cb..3d750c6 100644 --- a/targetd.spec +++ b/targetd.spec @@ -1,8 +1,8 @@ Name: targetd License: GPL-3.0-only Summary: Service to make storage remotely configurable -Version: 0.10.3 -Release: 2%{?dist} +Version: 0.10.4 +Release: 1%{?dist} URL: https://github.com/open-iscsi/targetd Source: https://github.com/open-iscsi/targetd/archive/v%{version}/targetd-%{version}.tar.gz Source1: targetd.service @@ -56,6 +56,9 @@ install -m 644 targetd.yaml.5 %{buildroot}%{_mandir}/man5/ %config(noreplace) %{_sysconfdir}/target/targetd.yaml %changelog +* Tue Mar 12 2024 Tony Asleson - 0.10.4-1 +- New upstream release + * Sat Jan 27 2024 Fedora Release Engineering - 0.10.3-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild From 910eb4709b00e7eed1c5fd1b9ec6cdda9505fb39 Mon Sep 17 00:00:00 2001 From: Python Maint Date: Fri, 7 Jun 2024 09:11:47 +0200 Subject: [PATCH 55/63] Rebuilt for Python 3.13 --- targetd.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/targetd.spec b/targetd.spec index 3d750c6..44c4f8f 100644 --- a/targetd.spec +++ b/targetd.spec @@ -2,7 +2,7 @@ Name: targetd License: GPL-3.0-only Summary: Service to make storage remotely configurable Version: 0.10.4 -Release: 1%{?dist} +Release: 2%{?dist} URL: https://github.com/open-iscsi/targetd Source: https://github.com/open-iscsi/targetd/archive/v%{version}/targetd-%{version}.tar.gz Source1: targetd.service @@ -56,6 +56,9 @@ install -m 644 targetd.yaml.5 %{buildroot}%{_mandir}/man5/ %config(noreplace) %{_sysconfdir}/target/targetd.yaml %changelog +* Fri Jun 07 2024 Python Maint - 0.10.4-2 +- Rebuilt for Python 3.13 + * Tue Mar 12 2024 Tony Asleson - 0.10.4-1 - New upstream release From b849ff31970ad558d2d1ef0c69d1a6c72e591993 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Sat, 20 Jul 2024 07:04:03 +0000 Subject: [PATCH 56/63] Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild --- targetd.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/targetd.spec b/targetd.spec index 44c4f8f..e56534d 100644 --- a/targetd.spec +++ b/targetd.spec @@ -2,7 +2,7 @@ Name: targetd License: GPL-3.0-only Summary: Service to make storage remotely configurable Version: 0.10.4 -Release: 2%{?dist} +Release: 3%{?dist} URL: https://github.com/open-iscsi/targetd Source: https://github.com/open-iscsi/targetd/archive/v%{version}/targetd-%{version}.tar.gz Source1: targetd.service @@ -56,6 +56,9 @@ install -m 644 targetd.yaml.5 %{buildroot}%{_mandir}/man5/ %config(noreplace) %{_sysconfdir}/target/targetd.yaml %changelog +* Sat Jul 20 2024 Fedora Release Engineering - 0.10.4-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild + * Fri Jun 07 2024 Python Maint - 0.10.4-2 - Rebuilt for Python 3.13 From a004f49bea127f5f22c352b77991ace5d04decf4 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Sun, 19 Jan 2025 12:21:43 +0000 Subject: [PATCH 57/63] Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild --- targetd.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/targetd.spec b/targetd.spec index e56534d..7de4ce9 100644 --- a/targetd.spec +++ b/targetd.spec @@ -2,7 +2,7 @@ Name: targetd License: GPL-3.0-only Summary: Service to make storage remotely configurable Version: 0.10.4 -Release: 3%{?dist} +Release: 4%{?dist} URL: https://github.com/open-iscsi/targetd Source: https://github.com/open-iscsi/targetd/archive/v%{version}/targetd-%{version}.tar.gz Source1: targetd.service @@ -56,6 +56,9 @@ install -m 644 targetd.yaml.5 %{buildroot}%{_mandir}/man5/ %config(noreplace) %{_sysconfdir}/target/targetd.yaml %changelog +* Sun Jan 19 2025 Fedora Release Engineering - 0.10.4-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild + * Sat Jul 20 2024 Fedora Release Engineering - 0.10.4-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild From c020a9c3058bc9a210a26ed2ee8f8c4eabfc0340 Mon Sep 17 00:00:00 2001 From: Python Maint Date: Mon, 2 Jun 2025 20:53:06 +0200 Subject: [PATCH 58/63] Rebuilt for Python 3.14 --- targetd.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/targetd.spec b/targetd.spec index 7de4ce9..f6bb1a7 100644 --- a/targetd.spec +++ b/targetd.spec @@ -2,7 +2,7 @@ Name: targetd License: GPL-3.0-only Summary: Service to make storage remotely configurable Version: 0.10.4 -Release: 4%{?dist} +Release: 5%{?dist} URL: https://github.com/open-iscsi/targetd Source: https://github.com/open-iscsi/targetd/archive/v%{version}/targetd-%{version}.tar.gz Source1: targetd.service @@ -56,6 +56,9 @@ install -m 644 targetd.yaml.5 %{buildroot}%{_mandir}/man5/ %config(noreplace) %{_sysconfdir}/target/targetd.yaml %changelog +* Mon Jun 02 2025 Python Maint - 0.10.4-5 +- Rebuilt for Python 3.14 + * Sun Jan 19 2025 Fedora Release Engineering - 0.10.4-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild From b15ea2340e221f02e67333004157af6bfcdb88ed Mon Sep 17 00:00:00 2001 From: Tony Asleson Date: Mon, 9 Jun 2025 12:51:28 -0500 Subject: [PATCH 59/63] Use pyproject macros Needed to add some of the runtime dependencies to build for the import checks. Signed-off-by: Tony Asleson --- targetd.spec | 25 ++++++++++++++++--------- 1 file changed, 16 insertions(+), 9 deletions(-) diff --git a/targetd.spec b/targetd.spec index f6bb1a7..bb69b38 100644 --- a/targetd.spec +++ b/targetd.spec @@ -2,15 +2,15 @@ Name: targetd License: GPL-3.0-only Summary: Service to make storage remotely configurable Version: 0.10.4 -Release: 5%{?dist} +Release: 6%{?dist} URL: https://github.com/open-iscsi/targetd Source: https://github.com/open-iscsi/targetd/archive/v%{version}/targetd-%{version}.tar.gz Source1: targetd.service BuildArch: noarch BuildRequires: systemd-rpm-macros -BuildRequires: python3-devel python3-setuptools +BuildRequires: python3-devel python3-gobject-base python3-blockdev libblockdev-lvm Requires: python3-PyYAML python3-setproctitle python3-rtslib target-restore -Requires: nfs-utils, btrfs-progs, python3-blockdev, libblockdev-lvm +Requires: nfs-utils, btrfs-progs, python3-blockdev, libblockdev-lvm %description targetd turns the machine into a remotely-configurable storage appliance. @@ -21,8 +21,11 @@ those volumes over iSCSI. %prep %setup -q +%generate_buildrequires +%pyproject_buildrequires + %build -%py3_build +%pyproject_wheel %install mkdir -p %{buildroot}%{_mandir}/man8/ @@ -33,7 +36,11 @@ install -m 644 %{SOURCE1} %{buildroot}%{_unitdir}/targetd.service install -m 644 targetd.yaml %{buildroot}%{_sysconfdir}/target/targetd.yaml install -m 644 targetd.8 %{buildroot}%{_mandir}/man8/ install -m 644 targetd.yaml.5 %{buildroot}%{_mandir}/man5/ -%py3_install +%pyproject_install +%pyproject_save_files -l targetd + +%check +%pyproject_check_import %post %systemd_post targetd.service @@ -44,18 +51,18 @@ install -m 644 targetd.yaml.5 %{buildroot}%{_mandir}/man5/ %postun %systemd_postun_with_restart targetd.service -%files +%files -f %{pyproject_files} %{_bindir}/targetd %{_unitdir}/targetd.service -%{python3_sitelib}/targetd/ -%{python3_sitelib}/*.egg-info -%license LICENSE %doc README.md API.md client %{_mandir}/man8/targetd.8* %{_mandir}/man5/targetd.yaml.5* %config(noreplace) %{_sysconfdir}/target/targetd.yaml %changelog +* Mon Jun 09 2025 Tony Asleson - 0.10.4-6 +- Use pyproject macros + * Mon Jun 02 2025 Python Maint - 0.10.4-5 - Rebuilt for Python 3.14 From 63bde938dac096efb9bb9294dd7c03bd12614153 Mon Sep 17 00:00:00 2001 From: Python Maint Date: Mon, 9 Jun 2025 22:37:50 +0200 Subject: [PATCH 60/63] Rebuilt for Python 3.14 --- targetd.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/targetd.spec b/targetd.spec index bb69b38..f6f635f 100644 --- a/targetd.spec +++ b/targetd.spec @@ -2,7 +2,7 @@ Name: targetd License: GPL-3.0-only Summary: Service to make storage remotely configurable Version: 0.10.4 -Release: 6%{?dist} +Release: 7%{?dist} URL: https://github.com/open-iscsi/targetd Source: https://github.com/open-iscsi/targetd/archive/v%{version}/targetd-%{version}.tar.gz Source1: targetd.service @@ -60,6 +60,9 @@ install -m 644 targetd.yaml.5 %{buildroot}%{_mandir}/man5/ %config(noreplace) %{_sysconfdir}/target/targetd.yaml %changelog +* Mon Jun 09 2025 Python Maint - 0.10.4-7 +- Rebuilt for Python 3.14 + * Mon Jun 09 2025 Tony Asleson - 0.10.4-6 - Use pyproject macros From 3dfee18d289af4ffc0e35cbb239c4e2a4f26defa Mon Sep 17 00:00:00 2001 From: Tony Asleson Date: Thu, 24 Jul 2025 16:24:47 -0500 Subject: [PATCH 61/63] Move to tmt test Resolves: https://bugzilla.redhat.com/show_bug.cgi?id=2383084 Signed-off-by: Tony Asleson --- .fmf/version | 1 + 0001_rtslib_fb_api_fix.patch | 23 +++++++++++++++++ {tests => plans}/ci_test.sh | 13 ++++++++-- plans/tests.fmf | 50 ++++++++++++++++++++++++++++++++++++ targetd.spec | 9 +++++-- tests/tests.yml | 22 ---------------- 6 files changed, 92 insertions(+), 26 deletions(-) create mode 100644 .fmf/version create mode 100644 0001_rtslib_fb_api_fix.patch rename {tests => plans}/ci_test.sh (84%) create mode 100644 plans/tests.fmf delete mode 100644 tests/tests.yml diff --git a/.fmf/version b/.fmf/version new file mode 100644 index 0000000..d00491f --- /dev/null +++ b/.fmf/version @@ -0,0 +1 @@ +1 diff --git a/0001_rtslib_fb_api_fix.patch b/0001_rtslib_fb_api_fix.patch new file mode 100644 index 0000000..887fd2d --- /dev/null +++ b/0001_rtslib_fb_api_fix.patch @@ -0,0 +1,23 @@ +diff --git a/targetd/block.py b/targetd/block.py +index b7b03f0..edd47ec 100644 +--- a/targetd/block.py ++++ b/targetd/block.py +@@ -26,10 +26,17 @@ from rtslib_fb import ( + LUN, + MappedLUN, + RTSLibError, +- RTSLibNotInCFS, + NodeACLGroup, + ) + ++# This commit https://github.com/open-iscsi/rtslib-fb/commit/fdd69b1984bac6a6c3f08890bc22267b848a26ac ++# renamed a number of error classes which causes us to do the following ++try: ++ from rtslib_fb import RTSLibNotInCFS ++except ImportError: ++ from rtslib_fb import RTSLibNotInCFSError as RTSLibNotInCFS ++ ++ + from targetd.backends import lvm, zfs + from targetd.main import TargetdError + from targetd.utils import ignored, name_check diff --git a/tests/ci_test.sh b/plans/ci_test.sh similarity index 84% rename from tests/ci_test.sh rename to plans/ci_test.sh index 8d0a9e4..8d8bc63 100755 --- a/tests/ci_test.sh +++ b/plans/ci_test.sh @@ -18,7 +18,12 @@ function _chk fi } -SOURCE_DIR="targetd_src" +if [ "$#" -ne 1 ]; then + echo "Usage: $0 source directory" + exit 1 +fi + +SOURCE_DIR="$1" BASE=$PWD # TODO REMOVE THIS WHEN RAWHIDE PICKS UP @@ -32,6 +37,10 @@ _chk ./test/test.sh setup # Pick up new changes from setup _chk systemctl restart targetd +# Make sure nfs stuff is ok +_chk systemctl start rpcbind +_chk systemctl start nfs-server + # Try stopping the firewall, but don't fail if this fails systemctl stop firewalld @@ -44,6 +53,6 @@ netstat -anp | grep LISTEN | grep 18700 # Go back to start directory and run unit test. _chk cd $BASE -SRC="$BASE/$SOURCE_DIR" +SRC="$SOURCE_DIR" _chk TARGETD_UT_CERTFILE=/etc/target/targetd_cert.pem PYTHONPATH=$SRC python3 $SRC/test/targetd_test.py -v exit 0 \ No newline at end of file diff --git a/plans/tests.fmf b/plans/tests.fmf new file mode 100644 index 0000000..6775fd6 --- /dev/null +++ b/plans/tests.fmf @@ -0,0 +1,50 @@ +summary: targetd gating tests + +provision: + how: virtual + image: fedora + +prepare: + how: install + package: + - targetd + - util-linux + - lvm2 + - procps-ng + - coreutils + - openssl + - btrfs-progs + - audit + - python3-requests + - net-tools-2.0 + - nfs-utils + +discover: + how: shell + dist-git-source: true + dist-git-install-builddeps: true + tests: + - name: upstream test suite + test: | + set -x + if [ -z "$PKG_VER" ]; then + PKG_VER=`rpmspec -q --srpm --qf "%{version}" targetd.spec` + fi + if [ -z "$PKG_VER" ]; then + echo "Error: Unable to extract package version" + exit 1 + fi + + export SRC="$TMT_SOURCE_DIR/targetd-${PKG_VER}" + echo "Source is located: $SRC" + + echo "We are $PWD" + ls -lh + + echo "TMT_SOURCE_DIR is ($TMT_SOURCE_DIR)" + + ./plans/ci_test.sh "$SRC" + +execute: + - how: tmt + diff --git a/targetd.spec b/targetd.spec index f6f635f..3d9fd01 100644 --- a/targetd.spec +++ b/targetd.spec @@ -2,10 +2,11 @@ Name: targetd License: GPL-3.0-only Summary: Service to make storage remotely configurable Version: 0.10.4 -Release: 7%{?dist} +Release: 8%{?dist} URL: https://github.com/open-iscsi/targetd Source: https://github.com/open-iscsi/targetd/archive/v%{version}/targetd-%{version}.tar.gz Source1: targetd.service +Patch1: 0001_rtslib_fb_api_fix.patch BuildArch: noarch BuildRequires: systemd-rpm-macros BuildRequires: python3-devel python3-gobject-base python3-blockdev libblockdev-lvm @@ -19,7 +20,7 @@ administrator allocate volumes from an LVM volume group, and export those volumes over iSCSI. %prep -%setup -q +%autosetup -p1 %generate_buildrequires %pyproject_buildrequires @@ -60,6 +61,10 @@ install -m 644 targetd.yaml.5 %{buildroot}%{_mandir}/man5/ %config(noreplace) %{_sysconfdir}/target/targetd.yaml %changelog +* Thu Jul 24 2025 Tony Asleson - 0.10.4-8 +- Workaround for: https://github.com/open-iscsi/rtslib-fb/issues/220 +- Resolves: https://bugzilla.redhat.com/show_bug.cgi?id=2383084 + * Mon Jun 09 2025 Python Maint - 0.10.4-7 - Rebuilt for Python 3.14 diff --git a/tests/tests.yml b/tests/tests.yml deleted file mode 100644 index 428377f..0000000 --- a/tests/tests.yml +++ /dev/null @@ -1,22 +0,0 @@ -- hosts: localhost - roles: - - role: standard-test-basic - tags: - - classic - tests: - - simple: - dir: . - run: ./ci_test.sh - required_packages: - - targetd - - util-linux - - lvm2 - - procps-ng - - coreutils - - openssl - - btrfs-progs - - audit - - python3-requests - repositories: - - repo: "https://github.com/open-iscsi/targetd.git" - dest: "targetd_src" From 5e910170d6f705adf486040b765d406dfd10a4e4 Mon Sep 17 00:00:00 2001 From: Python Maint Date: Fri, 15 Aug 2025 15:19:49 +0200 Subject: [PATCH 62/63] Rebuilt for Python 3.14.0rc2 bytecode --- targetd.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/targetd.spec b/targetd.spec index 3d9fd01..4c6a4aa 100644 --- a/targetd.spec +++ b/targetd.spec @@ -2,7 +2,7 @@ Name: targetd License: GPL-3.0-only Summary: Service to make storage remotely configurable Version: 0.10.4 -Release: 8%{?dist} +Release: 9%{?dist} URL: https://github.com/open-iscsi/targetd Source: https://github.com/open-iscsi/targetd/archive/v%{version}/targetd-%{version}.tar.gz Source1: targetd.service @@ -61,6 +61,9 @@ install -m 644 targetd.yaml.5 %{buildroot}%{_mandir}/man5/ %config(noreplace) %{_sysconfdir}/target/targetd.yaml %changelog +* Fri Aug 15 2025 Python Maint - 0.10.4-9 +- Rebuilt for Python 3.14.0rc2 bytecode + * Thu Jul 24 2025 Tony Asleson - 0.10.4-8 - Workaround for: https://github.com/open-iscsi/rtslib-fb/issues/220 - Resolves: https://bugzilla.redhat.com/show_bug.cgi?id=2383084 From 5d6134befb033603f88ebc711e8daa4c7d369fa4 Mon Sep 17 00:00:00 2001 From: Python Maint Date: Fri, 19 Sep 2025 14:59:09 +0200 Subject: [PATCH 63/63] Rebuilt for Python 3.14.0rc3 bytecode --- targetd.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/targetd.spec b/targetd.spec index 4c6a4aa..7634f2c 100644 --- a/targetd.spec +++ b/targetd.spec @@ -2,7 +2,7 @@ Name: targetd License: GPL-3.0-only Summary: Service to make storage remotely configurable Version: 0.10.4 -Release: 9%{?dist} +Release: 10%{?dist} URL: https://github.com/open-iscsi/targetd Source: https://github.com/open-iscsi/targetd/archive/v%{version}/targetd-%{version}.tar.gz Source1: targetd.service @@ -61,6 +61,9 @@ install -m 644 targetd.yaml.5 %{buildroot}%{_mandir}/man5/ %config(noreplace) %{_sysconfdir}/target/targetd.yaml %changelog +* Fri Sep 19 2025 Python Maint - 0.10.4-10 +- Rebuilt for Python 3.14.0rc3 bytecode + * Fri Aug 15 2025 Python Maint - 0.10.4-9 - Rebuilt for Python 3.14.0rc2 bytecode