diff --git a/harden_tgtd.service.patch b/harden_tgtd.service.patch index 5d933f2..abfc7d0 100644 --- a/harden_tgtd.service.patch +++ b/harden_tgtd.service.patch @@ -1,7 +1,7 @@ -Index: tgt-1.0.74/scripts/tgtd.service +Index: tgt-1.0.92/scripts/tgtd.service =================================================================== ---- tgt-1.0.74.orig/scripts/tgtd.service -+++ tgt-1.0.74/scripts/tgtd.service +--- tgt-1.0.92.orig/scripts/tgtd.service ++++ tgt-1.0.92/scripts/tgtd.service @@ -9,6 +9,15 @@ After=network.target ConditionPathExists=/etc/tgt/targets.conf diff --git a/tgt-fix-build b/tgt-fix-build index 675d5a2..2b611dd 100644 --- a/tgt-fix-build +++ b/tgt-fix-build @@ -12,12 +12,12 @@ Signed-off-by: Hannes Reinecke usr/Makefile | 3 +++ 1 file changed, 3 insertions(+) -diff --git a/usr/Makefile b/usr/Makefile -index e29826c..31067e8 100644 ---- a/usr/Makefile -+++ b/usr/Makefile -@@ -40,6 +40,9 @@ INCLUDES += -I. - +Index: tgt-1.0.92/usr/Makefile +=================================================================== +--- tgt-1.0.92.orig/usr/Makefile ++++ tgt-1.0.92/usr/Makefile +@@ -41,6 +41,9 @@ INCLUDES += -I. + CFLAGS += -D_FILE_OFFSET_BITS=64 CFLAGS += -D_GNU_SOURCE CFLAGS += $(INCLUDES) +ifneq ($(OPTFAGS),) diff --git a/tgt-install-examples-in-documentation-dir.patch b/tgt-install-examples-in-documentation-dir.patch index 94fd045..b5160a1 100644 --- a/tgt-install-examples-in-documentation-dir.patch +++ b/tgt-install-examples-in-documentation-dir.patch @@ -12,8 +12,10 @@ Acked-by: Hannes Reinecke conf/Makefile | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) ---- a/conf/Makefile -+++ b/conf/Makefile +Index: tgt-1.0.92/conf/Makefile +=================================================================== +--- tgt-1.0.92.orig/conf/Makefile ++++ tgt-1.0.92/conf/Makefile @@ -1,4 +1,5 @@ sysconfdir ?= /etc +docdatadir ?= /usr/share/doc/packages/ diff --git a/tgt-systemd-service-update.patch b/tgt-systemd-service-update.patch index 281c8ba..481c28a 100644 --- a/tgt-systemd-service-update.patch +++ b/tgt-systemd-service-update.patch @@ -5,10 +5,10 @@ Subject: [PATCH] tgt: systemd service update Update our systemd service file to match what we do at SUSE. --- -Index: tgt-1.0.85/scripts/tgtd.service +Index: tgt-1.0.92/scripts/tgtd.service =================================================================== ---- tgt-1.0.85.orig/scripts/tgtd.service -+++ tgt-1.0.85/scripts/tgtd.service +--- tgt-1.0.92.orig/scripts/tgtd.service ++++ tgt-1.0.92/scripts/tgtd.service @@ -20,8 +20,9 @@ RestrictRealtime=true # end of automatic additions Type=forking diff --git a/tgt.changes b/tgt.changes index a4b806e..9af306a 100644 --- a/tgt.changes +++ b/tgt.changes @@ -1,3 +1,12 @@ +------------------------------------------------------------------- +Wed Aug 28 14:30:59 UTC 2024 - Andrea Manzini + +- Update to version v1.0.92 (from 1.0.89): + * fix arm64 compilation + * do not rely on non-portable __WORDSIZE nor LFS64 interfaces + * Enabled thin-provision option for discarding ranges from block + devices, that supporting discard + ------------------------------------------------------------------- Mon Feb 26 14:37:40 UTC 2024 - pgajdos@suse.com diff --git a/tgt.spec b/tgt.spec index 9b44215..356d46e 100644 --- a/tgt.spec +++ b/tgt.spec @@ -25,7 +25,7 @@ %define make_build %{__make} %{?_smp_mflags} %endif Name: tgt -Version: 1.0.89 +Version: 1.0.92 Release: 0 Summary: Generic Linux target framework (tgt) License: GPL-2.0-only diff --git a/v1.0.89.tar.gz b/v1.0.89.tar.gz deleted file mode 100644 index 7e478d7..0000000 --- a/v1.0.89.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:cd09daffacc00a6641a7b95d31c43441656ce0b01af8d512359bc91bac3c6d99 -size 305773 diff --git a/v1.0.92.tar.gz b/v1.0.92.tar.gz new file mode 100644 index 0000000..cd249ed --- /dev/null +++ b/v1.0.92.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:06721dcdb88bcc13721bf5de92b57e84a208e04084f8ed937c3ecade6459662f +size 305797