Hello community, here is the log from the commit of package istgt for openSUSE:Factory checked in at 2012-08-14 14:26:39 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/istgt (Old) and /work/SRC/openSUSE:Factory/.istgt.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "istgt", Maintainer is "" Changes: -------- --- /work/SRC/openSUSE:Factory/istgt/istgt.changes 2012-08-04 09:17:07.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.istgt.new/istgt.changes 2012-08-14 14:26:49.000000000 +0200 @@ -1,0 +2,44 @@ +Mon Aug 13 09:24:38 UTC 2012 - [email protected] + +- Update to upstream istgt-20120811.tar.gz release, which adds support for + VirtualBox VirtualDisks. + +- Japanese -> English ChangeLog.jp via Google Translate: + + separated by a vbox for a shutdown function + + Modified to specify the mutex ADAPTIVE_NP to some of the + + Corresponding to the virtual drive using a shared library of VirtualBox + +- Add no_CMPXCHG_on_i386.patch. + +------------------------------------------------------------------- +Wed Aug 8 11:36:48 UTC 2012 - [email protected] + +- Update to upstream istgt-20120807.tar.gz release. + +- Japanese -> English ChangeLog.jp via Google Translate: + + Fix transfer locked position + + Add a task buffer allocation size + + Forgetting to fix error handling when + + Modified to log the number of leave to reload + + Modified so that it can continue with the error when reload + + EV_SET of NetBSD fix a warning + + add a function to get status of using the built-in functions since gcc4.1 + + Organize and unnecessary variable function + + Fixed memory leak at the end of + + Change if there is more than one LUN queue to run twice in a loop + + Add (except during the connection) process of changing the LU + + Modified so as to keep the number of elements in the queue + + Reduce the time lock of the queue, so as not to fix in the PG SendTargets inaccessible + + Change does not come out of the loop as to when a configuration error PG + + Issue a stop request to accept loop when receiving SIGTERM / INT + + Issues a connection request to stop all threads at the end + + Change so as to perform without a lock at the end of the state + + Add a script for NetBSD + + Add syslogd mountlate: LOGIN, REQUIRE: BEFORE the startup script + + Fix configure.in / Makefile.in + + fix the warning is in gcc and clang + + -Wextra-Wformat compiler warnings, such as adding + +- Install Linux rc script into /etc/init.d rather than /etc/rc.d + +------------------------------------------------------------------- Old: ---- istgt-20120726.tar.gz New: ---- istgt-20120811.tar.gz no_CMPXCHG_on_i386.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ istgt.spec ++++++ --- /var/tmp/diff_new_pack.J8c9wr/_old 2012-08-14 14:26:50.000000000 +0200 +++ /var/tmp/diff_new_pack.J8c9wr/_new 2012-08-14 14:26:50.000000000 +0200 @@ -17,9 +17,9 @@ Name: istgt -Version: 0.5 -Release: 20120726 -%define upstreamrel 20120726 +Version: 0.7 +Release: 20120811 +%define upstreamrel 20120811 Summary: Userspace iSCSI Target License: BSD-2-Clause Group: Productivity/Networking/Other @@ -37,6 +37,7 @@ Patch2: add-istgtcontrol-manpage.patch Patch6: add-linux-rc.patch Patch7: linux-rc-reload.patch +Patch8: no_CMPXCHG_on_i386.patch %description This software (istgt) is the implementation of iSCSI target @@ -60,6 +61,7 @@ %patch2 -p1 %patch6 -p1 %patch7 -p1 +%patch8 -p1 autoconf %configure @@ -86,7 +88,7 @@ %{_sbindir}/istgtcontrol %dir %{_sysconfdir}/istgt/ %config %{_sysconfdir}/istgt/*.conf.sample -%{_sysconfdir}/rc.d/istgt +%{_sysconfdir}/init.d/istgt %doc %{_mandir}/man1/istgt.1.gz %doc %{_mandir}/man1/istgtcontrol.1.gz ++++++ add-istgtcontrol-manpage.patch ++++++ --- /var/tmp/diff_new_pack.J8c9wr/_old 2012-08-14 14:26:50.000000000 +0200 +++ /var/tmp/diff_new_pack.J8c9wr/_new 2012-08-14 14:26:50.000000000 +0200 @@ -8,11 +8,11 @@ Applied-Upstream: not yet Last-Update: 2012-07-26 -Index: istgt-20120726/doc/Makefile.in +Index: istgt-20120807/doc/Makefile.in =================================================================== ---- istgt-20120726.orig/doc/Makefile.in -+++ istgt-20120726/doc/Makefile.in -@@ -20,8 +20,9 @@ SED = @SED@ +--- istgt-20120807.orig/doc/Makefile.in ++++ istgt-20120807/doc/Makefile.in +@@ -22,8 +22,9 @@ MKDIR_P = @MKDIR_P@ source = header = @@ -23,7 +23,7 @@ DISTDIR = $(top_srcdir)/`cat $(top_srcdir)/distdir` DISTFILES = Makefile.in \ -@@ -31,12 +32,12 @@ DISTFILES = Makefile.in \ +@@ -33,12 +34,12 @@ DISTFILES = Makefile.in \ ######################################################################### .PHONY: all install install-doc install-dirs install-doc-dirs @@ -38,25 +38,25 @@ + -e 's:%%MEDIADIR%%:$(mediadir):g' < $(patsubst %.1, %.1.in, $@) > $@ dist: $(DISTFILES) - mkdir $(DISTDIR)/$(subdir) -@@ -46,9 +47,13 @@ dist: $(DISTFILES) + $(MKDIR_P) $(DISTDIR)/$(subdir) +@@ -48,9 +49,13 @@ dist: $(DISTFILES) done install: install-dirs -- install -c -m 0644 istgt.1 $(DESTDIR)$(mandir)/man1/ +- $(INSTALL) -m 0644 istgt.1 $(DESTDIR)$(mandir)/man1/ - -rm -f $(DESTDIR)$(mandir)/man1/istgt.1.gz - gzip -9 $(DESTDIR)$(mandir)/man1/istgt.1 + set -e + for file in $(MANPAGES) ; \ + do \ -+ install -c -m 0644 $$file $(DESTDIR)$(mandir)/man1/ ; \ ++ $(INSTALL) -m 0644 $$file $(DESTDIR)$(mandir)/man1/ ; \ + rm -f $(DESTDIR)$(mandir)/man1/$$file.gz ; \ + gzip -9 $(DESTDIR)$(mandir)/man1/$$file ; \ + done install-doc: install-doc-dirs - install -c -m 0644 $(top_srcdir)/README $(DESTDIR)$(datadir)/doc/istgt/ -@@ -64,7 +69,7 @@ install-doc-dirs: + $(INSTALL) -m 0644 $(top_srcdir)/README $(DESTDIR)$(datadir)/doc/istgt/ +@@ -66,7 +71,7 @@ install-doc-dirs: .PHONY: clean distclean depend clean: @@ -65,10 +65,10 @@ -rm -f a.out *.o *.core -rm -f *~ -Index: istgt-20120726/doc/istgtcontrol.1.in +Index: istgt-20120807/doc/istgtcontrol.1.in =================================================================== --- /dev/null -+++ istgt-20120726/doc/istgtcontrol.1.in ++++ istgt-20120807/doc/istgtcontrol.1.in @@ -0,0 +1,140 @@ +.TH istgtcontrol 1 "Oct 07, 2011" "istgtcontrol" +.SH NAME ++++++ add-linux-rc.patch ++++++ --- /var/tmp/diff_new_pack.J8c9wr/_old 2012-08-14 14:26:50.000000000 +0200 +++ /var/tmp/diff_new_pack.J8c9wr/_new 2012-08-14 14:26:50.000000000 +0200 @@ -1,7 +1,7 @@ -Index: istgt-20120726/etc/istgt_linux.sh.in +Index: istgt-20120807/etc/istgt_linux.sh.in =================================================================== --- /dev/null -+++ istgt-20120726/etc/istgt_linux.sh.in ++++ istgt-20120807/etc/istgt_linux.sh.in @@ -0,0 +1,57 @@ +#!/bin/sh +# @@ -60,38 +60,28 @@ +esac + +rc_exit -Index: istgt-20120726/configure.in +Index: istgt-20120807/configure.in =================================================================== ---- istgt-20120726.orig/configure.in -+++ istgt-20120726/configure.in -@@ -24,6 +24,7 @@ AC_CANONICAL_HOST - case "$host_os" in - *linux*) +--- istgt-20120807.orig/configure.in ++++ istgt-20120807/configure.in +@@ -27,6 +27,7 @@ case "$host_os" in + #AC_SUBST([rctemplate], ["istgt_linux.sh.in"]) + AC_SUBST([rcdir], ['/etc/init.d']) AC_DEFINE([_GNU_SOURCE], 1, [Define if linux host]) + AC_SUBST([rctemplate], ["istgt_linux.sh.in"]) ;; *netbsd*) - ;; -Index: istgt-20120726/etc/Makefile.in + AC_SUBST([rctemplate], ["istgt_netbsd.sh.in"]) +Index: istgt-20120807/etc/Makefile.in =================================================================== ---- istgt-20120726.orig/etc/Makefile.in -+++ istgt-20120726/etc/Makefile.in -@@ -22,7 +22,7 @@ source = - header = +--- istgt-20120807.orig/etc/Makefile.in ++++ istgt-20120807/etc/Makefile.in +@@ -25,7 +25,7 @@ header = document = sample = auth.conf istgtcontrol.conf \ -- istgt.large.conf.in istgt.conf.in istgt.sh.in -+ istgt.large.conf.in istgt.conf.in @rctemplate@ + istgt.large.conf.in istgt.conf.in \ +- istgt.sh.in istgt_netbsd.sh.in # istgt_linux.sh.in ++ istgt.sh.in istgt_netbsd.sh.in @rctemplate@ rctemplate = @rctemplate@ - rcfile = $(rctemplate:.sh.in=.sh) - -@@ -48,7 +48,8 @@ $(rcfile): - $(SED) -e 's:%%SYSCONFDIR%%:$(sysconfdir):g' \ - -e 's:%%CONFIGDIR%%:$(configdir):g' \ - -e 's:%%MEDIADIR%%:$(mediadir):g' \ -- -e 's:%%BINDIR%%:$(bindir):g' < $(rctemplate) > $@ -+ -e 's:%%BINDIR%%:$(bindir):g' \ -+ -e 's:%%SBINDIR%%:$(sbindir):g' < $(rctemplate) > $@ - - .PHONY: dist clean distclean depend - dist: $(DISTFILES) + rcdir = @rcdir@ + rcfile = $(rctemplate:.sh.in=.sh) ++++++ fix-installdir.patch ++++++ --- /var/tmp/diff_new_pack.J8c9wr/_old 2012-08-14 14:26:50.000000000 +0200 +++ /var/tmp/diff_new_pack.J8c9wr/_new 2012-08-14 14:26:50.000000000 +0200 @@ -6,22 +6,22 @@ Forwarded: not-needed Author: Arno Töll <[email protected]> -Index: istgt-20120726/src/Makefile.in +Index: istgt-20120807/src/Makefile.in =================================================================== ---- istgt-20120726.orig/src/Makefile.in -+++ istgt-20120726/src/Makefile.in -@@ -86,11 +86,11 @@ istgtcontrol: $(ISTGTCONTROL) +--- istgt-20120807.orig/src/Makefile.in ++++ istgt-20120807/src/Makefile.in +@@ -88,11 +88,11 @@ istgtcontrol: $(ISTGTCONTROL) $(CC) $(LDFLAGS) -o $@ $(ISTGTCONTROL) $(LIBS) install: install-dirs -- install -c -m 0755 istgt $(DESTDIR)$(bindir) -- install -c -m 0755 istgtcontrol $(DESTDIR)$(bindir) -+ install -c -m 0755 istgt $(DESTDIR)$(sbindir) -+ install -c -m 0755 istgtcontrol $(DESTDIR)$(sbindir) +- $(INSTALL) -m 0755 istgt $(DESTDIR)$(bindir) +- $(INSTALL) -m 0755 istgtcontrol $(DESTDIR)$(bindir) ++ $(INSTALL) -m 0755 istgt $(DESTDIR)$(sbindir) ++ $(INSTALL) -m 0755 istgtcontrol $(DESTDIR)$(sbindir) install-dirs: -- mkdir -p $(DESTDIR)$(bindir) -+ mkdir -p $(DESTDIR)$(sbindir) +- $(MKDIR_P) $(DESTDIR)$(bindir) ++ $(MKDIR_P) $(DESTDIR)$(sbindir) .PHONY: dist clean distclean depend dist: $(DISTFILES) ++++++ istgt-20120726.tar.gz -> istgt-20120811.tar.gz ++++++ ++++ 7877 lines of diff (skipped) ++++++ no_CMPXCHG_on_i386.patch ++++++ Description: Fix RHEL6 build Author: Daisuke Aoyama <[email protected]> OK, I understand a reason of the error. Intel 386 CPU does not have CMPXCHG, but 486 or later have it :-) This does not affect to FreeBSD, NetBSD and x86_64. It should be fixed in counfigure next time, but simple workaround is here: Index: istgt-20120811/src/istgt.h =================================================================== --- istgt-20120811.orig/src/istgt.h +++ istgt-20120811/src/istgt.h @@ -312,7 +312,7 @@ istgt_set_state(ISTGT_Ptr istgt, ISTGT_S #endif } #else /* !USE_ATOMIC */ -#if ISTGT_GNUC_PREREQ(4, 1) +#if ISTGT_GNUC_PREREQ(4, 1) && !defined(__i386__) static inline __attribute__((__always_inline__)) int istgt_get_state(ISTGT_Ptr istgt) { Index: istgt-20120811/src/istgt_proto.h =================================================================== --- istgt-20120811.orig/src/istgt_proto.h +++ istgt-20120811/src/istgt_proto.h @@ -209,7 +209,7 @@ istgt_lu_set_state(ISTGT_LU_Ptr lu, ISTG #endif } #else /* !USE_ATOMIC */ -#if ISTGT_GNUC_PREREQ(4, 1) +#if ISTGT_GNUC_PREREQ(4, 1) && !defined(__i386__) static inline __attribute__((__always_inline__)) int istgt_lu_get_state(ISTGT_LU_Ptr lu) { -- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
