From 94dd81accd3826c32a45c9c2d1f04d72fe653c29e70cdb9d1972889c40549fde Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Mon, 2 Jan 2023 13:33:48 +0000 Subject: [PATCH] - update to 1.0.85: * remove duplicate includes * Fix blank documentation line in service file OBS-URL: https://build.opensuse.org/package/show/Base:System/tgt?expand=0&rev=57 --- tgt-systemd-service-update.patch | 40 ++++++-------------------------- tgt.changes | 7 ++++++ tgt.spec | 2 +- v1.0.84.tar.gz | 3 --- v1.0.85.tar.gz | 3 +++ 5 files changed, 18 insertions(+), 37 deletions(-) delete mode 100644 v1.0.84.tar.gz create mode 100644 v1.0.85.tar.gz diff --git a/tgt-systemd-service-update.patch b/tgt-systemd-service-update.patch index 80eac68..281c8ba 100644 --- a/tgt-systemd-service-update.patch +++ b/tgt-systemd-service-update.patch @@ -5,44 +5,18 @@ Subject: [PATCH] tgt: systemd service update Update our systemd service file to match what we do at SUSE. --- ---- a/scripts/tgtd.service -+++ b/scripts/tgtd.service -@@ -1,11 +1,7 @@ - [Unit] - Description=iSCSI target framework daemon --Documentation=man: tgtd(8) -+Documentation=man:tgtd(8) - After=network.target -- --# On systems without virtual consoles, don't start any getty. Note --# that serial gettys are covered by serial-getty@.service, not this --# unit. - ConditionPathExists=/etc/tgt/targets.conf - - [Service] -@@ -18,10 +14,14 @@ ProtectKernelTunables=true - ProtectKernelLogs=true - RestrictRealtime=true +Index: tgt-1.0.85/scripts/tgtd.service +=================================================================== +--- tgt-1.0.85.orig/scripts/tgtd.service ++++ tgt-1.0.85/scripts/tgtd.service +@@ -20,8 +20,9 @@ RestrictRealtime=true # end of automatic additions --Type=forking -+ + Type=forking Environment=TGTD_CONFIG=/etc/tgt/targets.conf +EnvironmentFile=-/etc/sysconfig/tgt -+ -+Type=forking -+ -+ExecStart=/usr/sbin/tgtd $TGTD_OPTS -ExecStart=/usr/sbin/tgtd ++ExecStart=/usr/sbin/tgtd $TGTD_OPTS ExecStartPost=/usr/sbin/tgtadm --op update --mode sys --name State -v offline ExecStartPost=/usr/sbin/tgtadm --op update --mode sys --name State -v ready ExecStartPost=/usr/sbin/tgt-admin -e -c ${TGTD_CONFIG} -@@ -33,8 +33,6 @@ ExecStop=/usr/sbin/tgt-admin --offline A - ExecStop=/usr/sbin/tgt-admin --update ALL -c /dev/null -f - ExecStop=/usr/sbin/tgtadm --op delete --mode system - --# Exit code: 107 tgtd not running -- - - [Install] - WantedBy=multi-user.target diff --git a/tgt.changes b/tgt.changes index 5589ffd..2f91225 100644 --- a/tgt.changes +++ b/tgt.changes @@ -1,3 +1,10 @@ +------------------------------------------------------------------- +Mon Jan 2 13:28:45 UTC 2023 - Dirk Müller + +- update to 1.0.85: + * remove duplicate includes + * Fix blank documentation line in service file + ------------------------------------------------------------------- Fri Dec 23 20:01:34 UTC 2022 - Lee Duncan diff --git a/tgt.spec b/tgt.spec index cba8cff..7f31b2f 100644 --- a/tgt.spec +++ b/tgt.spec @@ -25,7 +25,7 @@ %define make_build %{__make} %{?_smp_mflags} %endif Name: tgt -Version: 1.0.84 +Version: 1.0.85 Release: 0 Summary: Generic Linux target framework (tgt) License: GPL-2.0-only diff --git a/v1.0.84.tar.gz b/v1.0.84.tar.gz deleted file mode 100644 index 9f88094..0000000 --- a/v1.0.84.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:c5f5913fd5c4a1333590ad3ddcf80dd12592a5f773f3609619513dd583772486 -size 304641 diff --git a/v1.0.85.tar.gz b/v1.0.85.tar.gz new file mode 100644 index 0000000..fc877db --- /dev/null +++ b/v1.0.85.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:b8454e06eaf6f024c1fa39de976c167c1ba7f43535bea96c3c364bd138552d8c +size 304648