commit open-isns for openSUSE:Factory

2020-02-09 Thread root
Hello community,

here is the log from the commit of package open-isns for openSUSE:Factory 
checked in at 2020-02-09 21:01:20

Comparing /work/SRC/openSUSE:Factory/open-isns (Old)
 and  /work/SRC/openSUSE:Factory/.open-isns.new.26092 (New)


Package is "open-isns"

Sun Feb  9 21:01:20 2020 rev:13 rq:769282 version:0.100

Changes:

--- /work/SRC/openSUSE:Factory/open-isns/open-isns.changes  2019-11-01 
15:13:26.604700701 +0100
+++ /work/SRC/openSUSE:Factory/.open-isns.new.26092/open-isns.changes   
2020-02-09 21:01:27.331320802 +0100
@@ -1,0 +2,29 @@
+Fri Jan 31 22:05:13 UTC 2020 - ldun...@suse.com
+
+- Update to version 0.100:
+  * Updated ChangeLog with latest fixes
+  * Create and use pythong unittest framework
+  * Ignore SO lib
+  * Handle restarting test harness server correctly
+  * Fix mdebug.c so it compiles when enabled.
+  * Running make twice should not rebuild everything
+  * Change isns_portal_string() to use static mem
+  * Adding python compiled files
+  * fixed issues with old openssl usage
+  * Added debugging, moved .cvsignore to .gitignore
+  * Preparing for version v0.100
+  * Fix problem with parsing IPv6 Addresses with brakcets.
+  * General cleanup for the compiler.
+  * Travis-CI and Coverity Scan setup
+  * openssl: handle newer version with ifdefs
+  * Remove old compiler option, and add "-Werror".
+  * Change isns_portal_string() to return allocated string.
+  * add tags to ignored list of files
+  * Fix compiler complaint about possible alignment issue
+  Replacing open-isns-0.99.tar.xz with open-isns-0.100.tar.xz.
+  Also, added latest (not yet tagged) fixes from upstream,
+  adding patch, and add in a 586-fix, adding:
+  * open-isns-updates.diff.bz2, and
+  * open-isns-fix-586-time.patch
+
+---

Old:

  open-isns-0.99.tar.xz

New:

  open-isns-0.100.tar.xz
  open-isns-fix-586-time.patch
  open-isns-updates.diff.bz2



Other differences:
--
++ open-isns.spec ++
--- /var/tmp/diff_new_pack.jXKMZU/_old  2020-02-09 21:01:28.187321288 +0100
+++ /var/tmp/diff_new_pack.jXKMZU/_new  2020-02-09 21:01:28.191321290 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package open-isns
 #
-# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2020 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -20,9 +20,11 @@
 Summary:Partial Implementation of iSNS iSCSI registration
 License:LGPL-2.1-or-later
 Group:  System/Kernel
-Version:0.99
+Version:0.100
 Release:0
 Source: %{name}-%{version}.tar.xz
+Patch1: %{name}-updates.diff.bz2
+Patch2: %{name}-fix-586-time.patch
 Url:https://github.com/open-iscsi/%{name}
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 BuildRequires:  autoconf
@@ -55,6 +57,8 @@
 
 %prep
 %setup -n %{name}-%{version}
+%patch1 -p1
+%patch2 -p1
 
 %build
 %global _lto_cflags %{?_lto_cflags} -ffat-lto-objects

++ _service ++
--- /var/tmp/diff_new_pack.jXKMZU/_old  2020-02-09 21:01:28.223321308 +0100
+++ /var/tmp/diff_new_pack.jXKMZU/_new  2020-02-09 21:01:28.223321308 +0100
@@ -4,8 +4,8 @@
 https://github.com/open-iscsi/open-isns.git
 
 open-isns
-0.99
-v0.99
+0.100
+v0.100
 enable
   
   

++ _servicedata ++
--- /var/tmp/diff_new_pack.jXKMZU/_old  2020-02-09 21:01:28.247321322 +0100
+++ /var/tmp/diff_new_pack.jXKMZU/_new  2020-02-09 21:01:28.247321322 +0100
@@ -1,4 +1,4 @@
 
 
 https://github.com/open-iscsi/open-isns.git
-  cfdbcff867ee580a71bc9c18c3a38a6057df0150
\ No newline at end of file
+  0ad95d07e4d272fed2af2c614b37c6e64c8945b2
\ No newline at end of file

++ open-isns-0.99.tar.xz -> open-isns-0.100.tar.xz ++
 6804 lines of diff (skipped)

++ open-isns-fix-586-time.patch ++
diff -aurp a/configure.ac b/configure.ac
--- a/configure.ac  2020-01-23 13:02:36.0 -0800
+++ b/configure.ac  2020-02-01 10:14:08.853538750 -0800
@@ -17,7 +17,7 @@ AC_PATH_PROG(SH, sh)
 dnl C Compiler features
 AC_C_INLINE
 if test "$GCC" = "yes"; then
-CFLAGS="-Wall -Werror -Wextra $CFLAGS"
+CFLAGS="-Wall -Wextra $CFLAGS"
CPPFLAGS="$CPPFLAGS -D_GNU_SOURCE"
 fi
 
Only in ./open-isns-0.100: .configure.ac.swp
diff -aurp a/isnsdd.c b/isnsdd.c
--- a/isnsdd.c  2020-01-23 13:02:36.0 -0800
+++ b/isnsdd.c  2020-02-01 10:14:04.277547782 -0800
@@ -401,7 +401,7 @@ check_portal_registration(__attribute__(
continue;
 
last_modified = isns_object_last_modified(o

commit open-isns for openSUSE:Factory

2019-11-01 Thread root
Hello community,

here is the log from the commit of package open-isns for openSUSE:Factory 
checked in at 2019-11-01 15:13:24

Comparing /work/SRC/openSUSE:Factory/open-isns (Old)
 and  /work/SRC/openSUSE:Factory/.open-isns.new.2990 (New)


Package is "open-isns"

Fri Nov  1 15:13:24 2019 rev:12 rq:743592 version:0.99

Changes:

--- /work/SRC/openSUSE:Factory/open-isns/open-isns.changes  2019-10-25 
18:40:50.243823689 +0200
+++ /work/SRC/openSUSE:Factory/.open-isns.new.2990/open-isns.changes
2019-11-01 15:13:26.604700701 +0100
@@ -1,0 +2,6 @@
+Mon Oct 28 17:28:34 UTC 2019 - Lee Duncan 
+
+- Updated SPEC file %_lto_cflags definition so that it does not
+  cause recursion.
+
+---



Other differences:
--
++ open-isns.spec ++
--- /var/tmp/diff_new_pack.GMSiLH/_old  2019-11-01 15:13:27.836702308 +0100
+++ /var/tmp/diff_new_pack.GMSiLH/_new  2019-11-01 15:13:27.840702313 +0100
@@ -57,7 +57,7 @@
 %setup -n %{name}-%{version}
 
 %build
-%global _lto_cflags %{_lto_cflags} -ffat-lto-objects
+%global _lto_cflags %{?_lto_cflags} -ffat-lto-objects
 autoconf
 autoheader
 %configure




commit open-isns for openSUSE:Factory

2019-10-25 Thread root
Hello community,

here is the log from the commit of package open-isns for openSUSE:Factory 
checked in at 2019-10-25 18:40:50

Comparing /work/SRC/openSUSE:Factory/open-isns (Old)
 and  /work/SRC/openSUSE:Factory/.open-isns.new.2990 (New)


Package is "open-isns"

Fri Oct 25 18:40:50 2019 rev:11 rq:742087 version:0.99

Changes:

--- /work/SRC/openSUSE:Factory/open-isns/open-isns.changes  2019-10-07 
13:41:31.652259494 +0200
+++ /work/SRC/openSUSE:Factory/.open-isns.new.2990/open-isns.changes
2019-10-25 18:40:50.243823689 +0200
@@ -1,0 +2,9 @@
+Wed Oct 23 08:08:55 UTC 2019 - Martin Liška 
+
+- Move back "%global _lto_cflags ..." line as it's needed
+  for the following error:
+  E: lto-no-text-in-archive (Badness: 1) /usr/lib64/libisns.a.
+  The recursion in macro was caused by fact that the macro was not
+  defined for some time in prjconfig.
+
+---



Other differences:
--
++ open-isns.spec ++
--- /var/tmp/diff_new_pack.vPYzeU/_old  2019-10-25 18:40:50.799824218 +0200
+++ /var/tmp/diff_new_pack.vPYzeU/_new  2019-10-25 18:40:50.803824221 +0200
@@ -57,6 +57,7 @@
 %setup -n %{name}-%{version}
 
 %build
+%global _lto_cflags %{_lto_cflags} -ffat-lto-objects
 autoconf
 autoheader
 %configure




commit open-isns for openSUSE:Factory

2019-10-07 Thread root
Hello community,

here is the log from the commit of package open-isns for openSUSE:Factory 
checked in at 2019-10-07 13:41:30

Comparing /work/SRC/openSUSE:Factory/open-isns (Old)
 and  /work/SRC/openSUSE:Factory/.open-isns.new.2352 (New)


Package is "open-isns"

Mon Oct  7 13:41:30 2019 rev:10 rq:735347 version:0.99

Changes:

--- /work/SRC/openSUSE:Factory/open-isns/open-isns.changes  2019-07-31 
14:16:13.870721863 +0200
+++ /work/SRC/openSUSE:Factory/.open-isns.new.2352/open-isns.changes
2019-10-07 13:41:31.652259494 +0200
@@ -1,0 +2,17 @@
+Fri Oct  4 18:26:01 UTC 2019 - Lee Duncan 
+
+- Had to address build issue in OBS, resulting in this package not
+  building, with message (folding done by me):
+
+   + exec rpmbuild -ba --define '_srcdefattr (-,root,root)' --nosignature \
+   --define '_build_create_debug 1' \
+   --define 'disturl 
obs://build.opensuse.org/Base:System/openSUSE_Factory/93a92c971e76cbf08ebb7afd9a4de7be-open-isns'
 \
+   /home/abuild/rpmbuild/SOURCES/open-isns.spec
+ error: /home/abuild/rpmbuild/SOURCES/open-isns.spec: \
+   line 63: Too many levels of recursion in macro expansion. It is 
likely caused by recursive macro declaration.
+
+  Line 63 was the "%configure" call, but I believe recursion is caused
+  by redefinition of _lto_cflags.  To fix this, I reverted the
+  "Use FAT LTO ..." commit, removing the "%global _lto_cflags ..." line.
+
+---



Other differences:
--
++ open-isns.spec ++
--- /var/tmp/diff_new_pack.5Zqts3/_old  2019-10-07 13:41:32.196257990 +0200
+++ /var/tmp/diff_new_pack.5Zqts3/_new  2019-10-07 13:41:32.196257990 +0200
@@ -57,10 +57,9 @@
 %setup -n %{name}-%{version}
 
 %build
-%global _lto_cflags %{_lto_cflags} -ffat-lto-objects
 autoconf
 autoheader
-%configure --prefix=%{_prefix} 
+%configure
 make OPTFLAGS="%{optflags}"
 
 %install




commit open-isns for openSUSE:Factory

2019-07-31 Thread root
Hello community,

here is the log from the commit of package open-isns for openSUSE:Factory 
checked in at 2019-07-31 14:16:11

Comparing /work/SRC/openSUSE:Factory/open-isns (Old)
 and  /work/SRC/openSUSE:Factory/.open-isns.new.4126 (New)


Package is "open-isns"

Wed Jul 31 14:16:11 2019 rev:9 rq:718912 version:0.99

Changes:

--- /work/SRC/openSUSE:Factory/open-isns/open-isns.changes  2019-05-03 
22:07:23.918913678 +0200
+++ /work/SRC/openSUSE:Factory/.open-isns.new.4126/open-isns.changes
2019-07-31 14:16:13.870721863 +0200
@@ -1,0 +2,8 @@
+Wed Jul 24 13:52:45 UTC 2019 - matthias.gerst...@suse.com
+
+- removal of SuSEfirewall2 service, since SuSEfirewall2 has been replaced by
+  firewalld, see [1].
+
+  [1]: https://lists.opensuse.org/opensuse-factory/2019-01/msg00490.html
+
+---

Old:

  open-isns-firewall.service



Other differences:
--
++ open-isns.spec ++
--- /var/tmp/diff_new_pack.VMuuFA/_old  2019-07-31 14:16:14.890721586 +0200
+++ /var/tmp/diff_new_pack.VMuuFA/_new  2019-07-31 14:16:14.910721580 +0200
@@ -24,7 +24,6 @@
 Release:0
 Source: %{name}-%{version}.tar.xz
 Url:https://github.com/open-iscsi/%{name}
-Source1:%{name}-firewall.service
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 BuildRequires:  autoconf
 BuildRequires:  automake
@@ -70,7 +69,6 @@
mkdir -p %{buildroot}/usr/sbin
 fi
 ln -sf /usr/sbin/service %{buildroot}/usr/sbin/rcisnsd
-install -vD %{S:1} %{buildroot}/etc/sysconfig/SuSEfirewall2.d/services/isns
 make DESTDIR="%{buildroot}" install_hdrs install_lib
 
 %post
@@ -94,7 +92,6 @@
 %attr(0600,root,root) %config(noreplace) %{_sysconfdir}/isns/isnsd.conf
 %attr(0600,root,root) %config(noreplace) %{_sysconfdir}/isns/isnsadm.conf
 %attr(0600,root,root) %config(noreplace) %{_sysconfdir}/isns/isnsdd.conf
-%attr(0644,root,root) %config /etc/sysconfig/SuSEfirewall2.d/services/isns
 %{_sbindir}/rcisnsd
 %doc COPYING HACKING README TODO
 %doc %{_mandir}/man8/isnsd.8%{?ext_man}




commit open-isns for openSUSE:Factory

2019-05-03 Thread root
Hello community,

here is the log from the commit of package open-isns for openSUSE:Factory 
checked in at 2019-05-03 22:07:22

Comparing /work/SRC/openSUSE:Factory/open-isns (Old)
 and  /work/SRC/openSUSE:Factory/.open-isns.new.5148 (New)


Package is "open-isns"

Fri May  3 22:07:22 2019 rev:8 rq:698920 version:0.99

Changes:

--- /work/SRC/openSUSE:Factory/open-isns/open-isns.changes  2018-11-01 
14:35:29.386930529 +0100
+++ /work/SRC/openSUSE:Factory/.open-isns.new.5148/open-isns.changes
2019-05-03 22:07:23.918913678 +0200
@@ -1,0 +2,5 @@
+Fri Apr 26 11:28:12 UTC 2019 - Martin Liška 
+
+- Use FAT LTO objects in order to provide proper static library (boo#1133271).
+
+---



Other differences:
--
++ open-isns.spec ++
--- /var/tmp/diff_new_pack.U1nejd/_old  2019-05-03 22:07:24.754915282 +0200
+++ /var/tmp/diff_new_pack.U1nejd/_new  2019-05-03 22:07:24.758915290 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package open-isns
 #
-# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -12,7 +12,7 @@
 # license that conforms to the Open Source Definition (Version 1.9)
 # published by the Open Source Initiative.
 
-# Please submit bugfixes or comments via http://bugs.opensuse.org/
+# Please submit bugfixes or comments via https://bugs.opensuse.org/
 #
 
 
@@ -58,6 +58,7 @@
 %setup -n %{name}-%{version}
 
 %build
+%global _lto_cflags %{_lto_cflags} -ffat-lto-objects
 autoconf
 autoheader
 %configure --prefix=%{_prefix} 




commit open-isns for openSUSE:Factory

2018-11-02 Thread root
Hello community,

here is the log from the commit of package open-isns for openSUSE:Factory 
checked in at 2018-11-01 14:35:17

Comparing /work/SRC/openSUSE:Factory/open-isns (Old)
 and  /work/SRC/openSUSE:Factory/.open-isns.new (New)


Package is "open-isns"

Thu Nov  1 14:35:17 2018 rev:7 rq:644725 version:0.99

Changes:

--- /work/SRC/openSUSE:Factory/open-isns/open-isns.changes  2017-09-07 
22:08:48.984165593 +0200
+++ /work/SRC/openSUSE:Factory/.open-isns.new/open-isns.changes 2018-11-01 
14:35:29.386930529 +0100
@@ -1,0 +2,16 @@
+Thu Oct 25 18:23:53 UTC 2018 - ldun...@suse.com
+
+- Update to version 0.99:
+  * Update version to v0.99, and fill in ChangeLog
+  * util.h: endian.h is available on musl on linux
+  * Added README info about testing without security.
+  * Support building/testing for with-security=no
+  * Define 'free()' for isns_free()
+  * Fix error with SCN Deregister when not registered.
+  * Cleanup: reformat and add some print statements.
+  * Fix error with type of node in GetNext test.
+  * Add testing information to the README.
+ Which replaced open-isns-0.98.tar.gz with open-isns-0.99.tar.xz
+ Also added the _service* files to manage updates.
+
+---

Old:

  open-isns-0.98.tar.gz

New:

  _service
  _servicedata
  open-isns-0.99.tar.xz



Other differences:
--
++ open-isns.spec ++
--- /var/tmp/diff_new_pack.UTOy53/_old  2018-11-01 14:35:29.890930481 +0100
+++ /var/tmp/diff_new_pack.UTOy53/_new  2018-11-01 14:35:29.890930481 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package open-isns
 #
-# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -18,11 +18,11 @@
 
 Name:   open-isns
 Summary:Partial Implementation of iSNS iSCSI registration
-License:LGPL-2.1+
+License:LGPL-2.1-or-later
 Group:  System/Kernel
-Version:0.98
+Version:0.99
 Release:0
-Source: %{name}-%{version}.tar.gz
+Source: %{name}-%{version}.tar.xz
 Url:https://github.com/open-iscsi/%{name}
 Source1:%{name}-firewall.service
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build

++ _service ++

  
git
https://github.com/open-iscsi/open-isns.git

open-isns
0.99
v0.99
enable
  
  
open-isns*.tar
xz
  
  


++ _servicedata ++


https://github.com/open-iscsi/open-isns.git
  cfdbcff867ee580a71bc9c18c3a38a6057df0150


commit open-isns for openSUSE:Factory

2017-09-07 Thread root
Hello community,

here is the log from the commit of package open-isns for openSUSE:Factory 
checked in at 2017-09-07 22:08:47

Comparing /work/SRC/openSUSE:Factory/open-isns (Old)
 and  /work/SRC/openSUSE:Factory/.open-isns.new (New)


Package is "open-isns"

Thu Sep  7 22:08:47 2017 rev:6 rq:520026 version:0.98

Changes:

--- /work/SRC/openSUSE:Factory/open-isns/open-isns.changes  2017-08-21 
11:33:54.260656358 +0200
+++ /work/SRC/openSUSE:Factory/.open-isns.new/open-isns.changes 2017-09-07 
22:08:48.984165593 +0200
@@ -1,0 +2,7 @@
+Thu Aug 31 20:14:06 UTC 2017 - ldun...@suse.com
+
+- Update from version 0.97 to 0.98, which includes some
+  testing and openssl fixes, updating the SPEC file and
+  replacing the release tarball (bsc#1056696)
+
+---

Old:

  open-isns-0.97.tar.gz

New:

  open-isns-0.98.tar.gz



Other differences:
--
++ open-isns.spec ++
--- /var/tmp/diff_new_pack.kICbdi/_old  2017-09-07 22:08:49.596079341 +0200
+++ /var/tmp/diff_new_pack.kICbdi/_new  2017-09-07 22:08:49.596079341 +0200
@@ -20,7 +20,7 @@
 Summary:Partial Implementation of iSNS iSCSI registration
 License:LGPL-2.1+
 Group:  System/Kernel
-Version:0.97
+Version:0.98
 Release:0
 Source: %{name}-%{version}.tar.gz
 Url:https://github.com/open-iscsi/%{name}

++ open-isns-0.97.tar.gz -> open-isns-0.98.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/open-isns-0.97/Makefile.in 
new/open-isns-0.98/Makefile.in
--- old/open-isns-0.97/Makefile.in  2016-10-29 03:28:30.0 +0200
+++ new/open-isns-0.98/Makefile.in  2017-08-21 02:14:40.0 +0200
@@ -1,3 +1,4 @@
+srcdir = @srcdir@
 prefix = @prefix@
 exec_prefix = @exec_prefix@
 sbindir= @sbindir@
@@ -9,6 +10,7 @@
 datarootdir = @datarootdir@
 includedir = @includedir@
 
+VPATH = $(srcdir)
 SBINDIR= $(DESTDIR)$(sbindir)
 CFGDIR = $(DESTDIR)$(etcdir)/isns
 MANDIR = $(DESTDIR)$(mandir)
@@ -26,14 +28,14 @@
 BUILD_STATIC  = $(ENABLE_STATIC)
 endif
 ifeq ($(HAVE_LD_VERSION_SCRIPT),1)
-SOLIB_VERSION_OPTS = -Wl,--version-script=libisns.vers
+SOLIB_VERSION_OPTS = -Wl,--version-script=$(srcdir)/libisns.vers
 else
 SOLIB_VERSION_OPTS =
 endif
 
 CC = @CC@
 CPPFLAGS= @CPPFLAGS@
-CFLAGS = @CFLAGS@ -I. -Iinclude
+CFLAGS = @CFLAGS@ -I. -Iinclude -I$(srcdir) -I$(srcdir)/include
 LDFLAGS= @LDFLAGS@
 INSTALL = @INSTALL@
 
@@ -84,15 +86,15 @@
  bitvector.o \
  mdebug.o
 SOLIBOBJS = $(patsubst %.o,solib-%.o,$(LIBOBJS))
-HDRS= include/libisns/attrs.h \
- include/libisns/buffer.h \
- include/libisns/isns.h \
- include/libisns/isns-proto.h \
- include/libisns/message.h \
+HDRS= $(srcdir)/include/libisns/attrs.h \
+ $(srcdir)/include/libisns/buffer.h \
+ $(srcdir)/include/libisns/isns.h \
+ $(srcdir)/include/libisns/isns-proto.h \
+ $(srcdir)/include/libisns/message.h \
  include/libisns/paths.h \
- include/libisns/source.h \
- include/libisns/types.h \
- include/libisns/util.h
+ $(srcdir)/include/libisns/source.h \
+ $(srcdir)/include/libisns/types.h \
+ $(srcdir)/include/libisns/util.h
 
 SECLINK= @SECLIBS@
 SLPLINK= @SLPLIBS@
@@ -110,15 +112,15 @@
$(INSTALL) -m 755 -d $(CFGDIR) $(MANDIR)/man8 $(MANDIR)/man5 $(SBINDIR) 
$(SYSTEMDDIR)
$(INSTALL) -m 700 -d $(VARDIR)
$(INSTALL) -m 555 isnsd isnsadm isnsdd $(SBINDIR)
-   $(INSTALL) -m 644 etc/isnsd.conf $(CFGDIR)
-   $(INSTALL) -m 644 etc/isnsdd.conf $(CFGDIR)
-   $(INSTALL) -m 644 etc/isnsadm.conf $(CFGDIR)
-   $(INSTALL) -m 644 doc/isnsd.8 $(MANDIR)/man8
-   $(INSTALL) -m 644 doc/isnsdd.8 $(MANDIR)/man8
-   $(INSTALL) -m 644 doc/isnsadm.8 $(MANDIR)/man8
-   $(INSTALL) -m 644 doc/isns_config.5 $(MANDIR)/man5
-   $(INSTALL) -m 644 isnsd.service $(SYSTEMDDIR)
-   $(INSTALL) -m 644 isnsd.socket $(SYSTEMDDIR)
+   $(INSTALL) -m 644 $(srcdir)/etc/isnsd.conf $(CFGDIR)
+   $(INSTALL) -m 644 $(srcdir)/etc/isnsdd.conf $(CFGDIR)
+   $(INSTALL) -m 644 $(srcdir)/etc/isnsadm.conf $(CFGDIR)
+   $(INSTALL) -m 644 $(srcdir)/doc/isnsd.8 $(MANDIR)/man8
+   $(INSTALL) -m 644 $(srcdir)/doc/isnsdd.8 $(MANDIR)/man8
+   $(INSTALL) -m 644 $(srcdir)/doc/isnsadm.8 $(MANDIR)/man8
+   $(INSTALL) -m 644 $(srcdir)/doc/isns_config.5 $(MANDIR)/man5
+   $(INSTALL) -m 644 $(srcdir)/isnsd.service $(SYSTEMDDIR)
+   $(INSTALL) -m 644 $(srcdir)/isnsd.socket $(SYSTEMDDIR)
 
 install_hdrs: 
@echo '*** Installing Open-iSNS header files ***'
@@ -144

commit open-isns for openSUSE:Factory

2017-08-21 Thread root
Hello community,

here is the log from the commit of package open-isns for openSUSE:Factory 
checked in at 2017-08-21 11:33:50

Comparing /work/SRC/openSUSE:Factory/open-isns (Old)
 and  /work/SRC/openSUSE:Factory/.open-isns.new (New)


Package is "open-isns"

Mon Aug 21 11:33:50 2017 rev:5 rq:515816 version:0.97

Changes:

--- /work/SRC/openSUSE:Factory/open-isns/open-isns.changes  2016-11-05 
21:24:01.0 +0100
+++ /work/SRC/openSUSE:Factory/.open-isns.new/open-isns.changes 2017-08-21 
11:33:54.260656358 +0200
@@ -1,0 +2,6 @@
+Tue Aug  8 19:18:27 UTC 2017 - jeng...@inai.de
+
+- Fix RPM groups. Replace %__-type macro indirections and
+  old $RPM shell variables.
+
+---



Other differences:
--
++ open-isns.spec ++
--- /var/tmp/diff_new_pack.lSOLUi/_old  2017-08-21 11:33:55.336505055 +0200
+++ /var/tmp/diff_new_pack.lSOLUi/_new  2017-08-21 11:33:55.344503930 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package open-isns
 #
-# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -19,7 +19,7 @@
 Name:   open-isns
 Summary:Partial Implementation of iSNS iSCSI registration
 License:LGPL-2.1+
-Group:  System Environment/Kernel
+Group:  System/Kernel
 Version:0.97
 Release:0
 Source: %{name}-%{version}.tar.gz
@@ -61,17 +61,16 @@
 autoconf
 autoheader
 %configure --prefix=%{_prefix} 
-%{__make} OPTFLAGS="${RPM_OPT_FLAGS}"
+make OPTFLAGS="%{optflags}"
 
 %install
-%{__make} DESTDIR=${RPM_BUILD_ROOT} install
-if [ ! -d ${RPM_BUILD_ROOT}/usr/sbin ] ; then
-   mkdir -p ${RPM_BUILD_ROOT}/usr/sbin
+make DESTDIR="%{buildroot}" install
+if [ ! -d "%{buildroot}/usr/sbin" ] ; then
+   mkdir -p %{buildroot}/usr/sbin
 fi
-ln -sf /usr/sbin/service ${RPM_BUILD_ROOT}/usr/sbin/rcisnsd
+ln -sf /usr/sbin/service %{buildroot}/usr/sbin/rcisnsd
 install -vD %{S:1} %{buildroot}/etc/sysconfig/SuSEfirewall2.d/services/isns
-%{__make} DESTDIR=${RPM_BUILD_ROOT} install_hdrs
-%{__make} DESTDIR=${RPM_BUILD_ROOT} install_lib
+make DESTDIR="%{buildroot}" install_hdrs install_lib
 
 %post
 %{service_add_post isnsd.socket isnsd.service}




commit open-isns for openSUSE:Factory

2016-11-05 Thread h_root
Hello community,

here is the log from the commit of package open-isns for openSUSE:Factory 
checked in at 2016-11-05 21:24:00

Comparing /work/SRC/openSUSE:Factory/open-isns (Old)
 and  /work/SRC/openSUSE:Factory/.open-isns.new (New)


Package is "open-isns"

Changes:

--- /work/SRC/openSUSE:Factory/open-isns/open-isns.changes  2016-07-12 
23:48:36.0 +0200
+++ /work/SRC/openSUSE:Factory/.open-isns.new/open-isns.changes 2016-11-05 
21:24:01.0 +0100
@@ -1,0 +2,5 @@
+Wed Nov  2 23:53:06 UTC 2016 - ldun...@suse.com
+
+- Updated to version 0.97, replacing main tarball
+
+---

Old:

  open-isns-0.96.tar.gz

New:

  open-isns-0.97.tar.gz



Other differences:
--
++ open-isns.spec ++
--- /var/tmp/diff_new_pack.brjQ36/_old  2016-11-05 21:24:02.0 +0100
+++ /var/tmp/diff_new_pack.brjQ36/_new  2016-11-05 21:24:02.0 +0100
@@ -20,7 +20,7 @@
 Summary:Partial Implementation of iSNS iSCSI registration
 License:LGPL-2.1+
 Group:  System Environment/Kernel
-Version:0.96
+Version:0.97
 Release:0
 Source: %{name}-%{version}.tar.gz
 Url:https://github.com/open-iscsi/%{name}

++ open-isns-0.96.tar.gz -> open-isns-0.97.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/open-isns-0.96/.gitignore 
new/open-isns-0.97/.gitignore
--- old/open-isns-0.96/.gitignore   2016-06-19 19:25:05.0 +0200
+++ new/open-isns-0.97/.gitignore   2016-10-29 03:28:30.0 +0200
@@ -1 +1,7 @@
 *.o
+TAGS
+cscope.files
+isnsadm
+isnsd
+isnsdd
+libisns.a
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/open-isns-0.96/README new/open-isns-0.97/README
--- old/open-isns-0.96/README   2016-06-19 19:25:05.0 +0200
+++ new/open-isns-0.97/README   2016-10-29 03:28:30.0 +0200
@@ -183,3 +183,13 @@
 
 Current maintainer:
Lee Duncan2015
+
+--
+
+Things to do:
+
+* fully implement/require device discovery sets
+* implement ability to pass in flags to systemd service file for isnsd
+* improve automated testing (using PyUnit?)
+* ensure all tests pass (!!)
+* document testing procedure
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/open-isns-0.96/buffer.c new/open-isns-0.97/buffer.c
--- old/open-isns-0.96/buffer.c 2016-06-19 19:25:05.0 +0200
+++ new/open-isns-0.97/buffer.c 2016-10-29 03:28:30.0 +0200
@@ -146,7 +146,7 @@
bp->head = bp->tail = 0;
 }
 
-int
+static int
 buf_fill(buf_t *bp)
 {
int n;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/open-isns-0.96/db-file.c new/open-isns-0.97/db-file.c
--- old/open-isns-0.96/db-file.c2016-06-19 19:25:05.0 +0200
+++ new/open-isns-0.97/db-file.c2016-10-29 03:28:30.0 +0200
@@ -50,23 +50,31 @@
 /*
  * Helper functions
  */
-static const char *
-__path_concat(const char *dirname, const char *basename)
+static char *
+__path_concat(const char *dirname, const char *prefix, const char *basename)
 {
-   static char pathname[PATH_MAX];
+   size_t  capacity = strlen(dirname) + strlen(prefix) + strlen(basename) 
+ 2;
+   char*pathname;
 
-   snprintf(pathname, sizeof(pathname), "%s/%s",
-   dirname, basename);
+   pathname = isns_malloc(capacity);
+   if (!pathname)
+   isns_fatal("Out of memory.");
+   snprintf(pathname, capacity, "%s/%s%s",
+   dirname, prefix, basename);
return pathname;
 }
 
-static const char *
+static char *
 __print_index(uint32_t index)
 {
-   static char namebuf[32];
+   charnamebuf[32];
+   char*result;
 
snprintf(namebuf, sizeof(namebuf), "%08x", index);
-   return namebuf;
+   result = isns_strdup(namebuf);
+   if (!result)
+   isns_fatal("Out of memory.");
+   return result;
 }
 
 static int
@@ -83,25 +91,25 @@
 /*
  * Build path names for an object
  */
-static const char *
+static char *
 __dbe_file_object_path(const char *dirname, const isns_object_t *obj)
 {
-   return __path_concat(dirname, __print_index(obj->ie_index));
+   char *index_str = __print_index(obj->ie_index);
+   char *result = __path_concat(dirname, "", index_str);
+   isns_free(index_str);
+   return result;
 }
 
 /*
  * Build a path name for a temporary file.
- * Cannot use __path_concat, because we need both names
- * when storing objects
  */
-static const char *
+

commit open-isns for openSUSE:Factory

2016-07-12 Thread h_root
Hello community,

here is the log from the commit of package open-isns for openSUSE:Factory 
checked in at 2016-07-12 23:48:35

Comparing /work/SRC/openSUSE:Factory/open-isns (Old)
 and  /work/SRC/openSUSE:Factory/.open-isns.new (New)


Package is "open-isns"

Changes:

--- /work/SRC/openSUSE:Factory/open-isns/open-isns.changes  2016-01-13 
22:45:57.0 +0100
+++ /work/SRC/openSUSE:Factory/.open-isns.new/open-isns.changes 2016-07-12 
23:48:36.0 +0200
@@ -1,0 +2,8 @@
+Thu Jun 23 17:24:07 UTC 2016 - ldun...@suse.com
+
+- Updated to version 0.96, replacing main tarball, and
+  removing both patches:
+  Dopen-isns-Update-GPL-license-information.patch
+  Dopen-isns-Install-isns_config.5.patch
+
+---

Old:

  open-isns-Install-isns_config.5.patch
  open-isns-Update-GPL-license-information.patch
  v0.95.tar.gz

New:

  open-isns-0.96.tar.gz



Other differences:
--
++ open-isns.spec ++
--- /var/tmp/diff_new_pack.PtqzIa/_old  2016-07-12 23:48:37.0 +0200
+++ /var/tmp/diff_new_pack.PtqzIa/_new  2016-07-12 23:48:37.0 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package open-isns
 #
-# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -20,13 +20,11 @@
 Summary:Partial Implementation of iSNS iSCSI registration
 License:LGPL-2.1+
 Group:  System Environment/Kernel
-Version:0.95
+Version:0.96
 Release:0
-Source: 
https://github.com/gonzoleeman/%{name}/archive/v%{version}.tar.gz
-Url:https://github.com/gonzoleeman/%{name}
+Source: %{name}-%{version}.tar.gz
+Url:https://github.com/open-iscsi/%{name}
 Source1:%{name}-firewall.service
-Patch1: %{name}-Install-isns_config.5.patch
-Patch2: %{name}-Update-GPL-license-information.patch
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 BuildRequires:  autoconf
 BuildRequires:  automake
@@ -58,8 +56,6 @@
 
 %prep
 %setup -n %{name}-%{version}
-%patch1 -p1
-%patch2 -p1
 
 %build
 autoconf




commit open-isns for openSUSE:Factory

2016-01-13 Thread h_root
Hello community,

here is the log from the commit of package open-isns for openSUSE:Factory 
checked in at 2016-01-13 22:45:56

Comparing /work/SRC/openSUSE:Factory/open-isns (Old)
 and  /work/SRC/openSUSE:Factory/.open-isns.new (New)


Package is "open-isns"

Changes:

--- /work/SRC/openSUSE:Factory/open-isns/open-isns.changes  2016-01-05 
09:41:43.0 +0100
+++ /work/SRC/openSUSE:Factory/.open-isns.new/open-isns.changes 2016-01-13 
22:45:57.0 +0100
@@ -1,0 +2,6 @@
+Fri Dec 18 19:50:02 UTC 2015 - ldun...@suse.com
+
+- Updated SPEC file dependencies so early install works
+  (bsc#958567)
+
+---



Other differences:
--
++ open-isns.spec ++
--- /var/tmp/diff_new_pack.aYaVvB/_old  2016-01-13 22:45:58.0 +0100
+++ /var/tmp/diff_new_pack.aYaVvB/_new  2016-01-13 22:45:58.0 +0100
@@ -29,10 +29,13 @@
 Patch2: %{name}-Update-GPL-license-information.patch
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 BuildRequires:  autoconf
+BuildRequires:  automake
 BuildRequires:  glibc-devel
+BuildRequires:  make
 BuildRequires:  openssl-devel
 BuildRequires:  systemd-rpm-macros
 %{?systemd_requires}
+Requires:   coreutils
 
 %description
 This is a partial implementation of the iSNS protocol (see below),