commit nss_wrapper for openSUSE:Factory

2020-03-19 Thread root
Hello community,

here is the log from the commit of package nss_wrapper for openSUSE:Factory 
checked in at 2020-03-19 19:47:57

Comparing /work/SRC/openSUSE:Factory/nss_wrapper (Old)
 and  /work/SRC/openSUSE:Factory/.nss_wrapper.new.3160 (New)


Package is "nss_wrapper"

Thu Mar 19 19:47:57 2020 rev:11 rq:786394 version:1.1.10

Changes:

--- /work/SRC/openSUSE:Factory/nss_wrapper/nss_wrapper.changes  2020-02-21 
16:40:39.157828598 +0100
+++ /work/SRC/openSUSE:Factory/.nss_wrapper.new.3160/nss_wrapper.changes
2020-03-19 19:50:39.088196307 +0100
@@ -1,0 +2,13 @@
+Thu Mar 19 09:53:19 UTC 2020 - Andreas Schneider 
+
+- Update to version 1.1.10
+  * Fixed crash bug in OpenLDAP libraries with gethostbyname_r()
+  * Code cleanup in gethostbyname(2)(_r) functions
+
+---
+Mon Mar 16 16:14:14 UTC 2020 - Andreas Schneider 
+
+- Update to version 1.1.9
+  * Fixed log spam when loading modules
+
+---

Old:

  nss_wrapper-1.1.8.tar.gz
  nss_wrapper-1.1.8.tar.gz.asc

New:

  nss_wrapper-1.1.10.tar.gz
  nss_wrapper-1.1.10.tar.gz.asc



Other differences:
--
++ nss_wrapper.spec ++
--- /var/tmp/diff_new_pack.SyYpEi/_old  2020-03-19 19:50:40.012196841 +0100
+++ /var/tmp/diff_new_pack.SyYpEi/_new  2020-03-19 19:50:40.016196843 +0100
@@ -24,7 +24,7 @@
 # NOTE ##
 
 Name:   nss_wrapper
-Version:1.1.8
+Version:1.1.10
 Release:0
 
 Summary:A wrapper for the user, group and hosts NSS API

++ nss_wrapper-1.1.8.tar.gz -> nss_wrapper-1.1.10.tar.gz ++
Binary files 
old/nss_wrapper-1.1.8/.clangd/index/nss_nwrap.c.6CD8D6240BEF45A7.idx and 
new/nss_wrapper-1.1.10/.clangd/index/nss_nwrap.c.6CD8D6240BEF45A7.idx differ
Binary files 
old/nss_wrapper-1.1.8/.clangd/index/nss_wrapper.c.496306141B70693D.idx and 
new/nss_wrapper-1.1.10/.clangd/index/nss_wrapper.c.496306141B70693D.idx differ
Binary files 
old/nss_wrapper-1.1.8/.clangd/index/test_getaddrinfo.c.641BB471F444137A.idx and 
new/nss_wrapper-1.1.10/.clangd/index/test_getaddrinfo.c.641BB471F444137A.idx 
differ
Binary files 
old/nss_wrapper-1.1.8/.clangd/index/test_gethostby_name_addr.c.C9C460E7372D7C61.idx
 and 
new/nss_wrapper-1.1.10/.clangd/index/test_gethostby_name_addr.c.C9C460E7372D7C61.idx
 differ
Binary files 
old/nss_wrapper-1.1.8/.clangd/index/test_gethostent.c.FDE119456A174D8F.idx and 
new/nss_wrapper-1.1.10/.clangd/index/test_gethostent.c.FDE119456A174D8F.idx 
differ
Binary files 
old/nss_wrapper-1.1.8/.clangd/index/test_getnameinfo.c.779E41D17A149E05.idx and 
new/nss_wrapper-1.1.10/.clangd/index/test_getnameinfo.c.779E41D17A149E05.idx 
differ
Binary files 
old/nss_wrapper-1.1.8/.clangd/index/test_nwrap_disabled.c.59E63F9B2D58E517.idx 
and 
new/nss_wrapper-1.1.10/.clangd/index/test_nwrap_disabled.c.59E63F9B2D58E517.idx 
differ
Binary files 
old/nss_wrapper-1.1.8/.clangd/index/test_nwrap_vector.c.6DA36926E43E358A.idx 
and 
new/nss_wrapper-1.1.10/.clangd/index/test_nwrap_vector.c.6DA36926E43E358A.idx 
differ
Binary files 
old/nss_wrapper-1.1.8/.clangd/index/test_shadow.c.85DFA55943F2551B.idx and 
new/nss_wrapper-1.1.10/.clangd/index/test_shadow.c.85DFA55943F2551B.idx differ
Binary files 
old/nss_wrapper-1.1.8/.clangd/index/testsuite.c.AF64C06B860D31A7.idx and 
new/nss_wrapper-1.1.10/.clangd/index/testsuite.c.AF64C06B860D31A7.idx differ
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/nss_wrapper-1.1.8/CHANGELOG 
new/nss_wrapper-1.1.10/CHANGELOG
--- old/nss_wrapper-1.1.8/CHANGELOG 2020-02-17 10:42:43.0 +0100
+++ new/nss_wrapper-1.1.10/CHANGELOG2020-03-19 10:07:54.0 +0100
@@ -1,6 +1,13 @@
 ChangeLog
 ==
 
+version 1.1.10 (released 2020-03-19)
+  * Fixed crash bug in OpenLDAP libraries with gethostbyname_r()
+  * Code cleanup in gethostbyname(2)(_r) functions
+
+version 1.1.9 (released 2020-03-16)
+  * Fixed log spam when loading modules
+
 version 1.1.8 (released 2020-02-17)
   * Fixed path to library in nss_wrapper.pc
   * Try different backends for gethostbyaddr nd gethostbyname
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/nss_wrapper-1.1.8/CMakeLists.txt 
new/nss_wrapper-1.1.10/CMakeLists.txt
--- old/nss_wrapper-1.1.8/CMakeLists.txt2020-02-17 10:42:43.0 
+0100
+++ new/nss_wrapper-1.1.10/CMakeLists.txt   2020-03-19 10:05:40.0 
+0100
@@ -11,20 +11,23 @@
 include(DefineCMakeDefaults)
 include(DefineCompilerFlags)
 
-project(nss_wrapper VERSION 1.1.8 LANGUAGES C)
+project(nss_wrapper VERSION 1.1.10 LANGUAGES C)
 
 # global needed 

commit nss_wrapper for openSUSE:Factory

2020-02-21 Thread root
Hello community,

here is the log from the commit of package nss_wrapper for openSUSE:Factory 
checked in at 2020-02-21 16:40:13

Comparing /work/SRC/openSUSE:Factory/nss_wrapper (Old)
 and  /work/SRC/openSUSE:Factory/.nss_wrapper.new.26092 (New)


Package is "nss_wrapper"

Fri Feb 21 16:40:13 2020 rev:10 rq:774824 version:1.1.8

Changes:

--- /work/SRC/openSUSE:Factory/nss_wrapper/nss_wrapper.changes  2019-11-18 
19:57:35.361978497 +0100
+++ /work/SRC/openSUSE:Factory/.nss_wrapper.new.26092/nss_wrapper.changes   
2020-02-21 16:40:39.157828598 +0100
@@ -1,0 +2,7 @@
+Mon Feb 17 10:22:31 UTC 2020 - Andreas Schneider 
+
+- Update to version 1.1.8
+  * Fixed path to library in nss_wrapper.pc
+  * Try different backends for gethostbyaddr nd gethostbyname
+
+---

Old:

  nss_wrapper-1.1.7.tar.gz
  nss_wrapper-1.1.7.tar.gz.asc

New:

  nss_wrapper-1.1.8.tar.gz
  nss_wrapper-1.1.8.tar.gz.asc



Other differences:
--
++ nss_wrapper.spec ++
--- /var/tmp/diff_new_pack.PjpFRz/_old  2020-02-21 16:40:39.905830092 +0100
+++ /var/tmp/diff_new_pack.PjpFRz/_new  2020-02-21 16:40:39.909830101 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package nss_wrapper
 #
-# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2020 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -24,13 +24,13 @@
 # NOTE ##
 
 Name:   nss_wrapper
-Version:1.1.7
+Version:1.1.8
 Release:0
 
 Summary:A wrapper for the user, group and hosts NSS API
 License:BSD-3-Clause
 Group:  Development/Libraries/C and C++
-Url:http://cwrap.org/
+URL:http://cwrap.org/
 
 Source0:https://ftp.samba.org/pub/cwrap/%{name}-%{version}.tar.gz
 Source1:https://ftp.samba.org/pub/cwrap/%{name}-%{version}.tar.gz.asc
@@ -91,7 +91,7 @@
 
 %files
 %defattr(-,root,root)
-%doc AUTHORS README.md ChangeLog
+%doc AUTHORS README.md CHANGELOG
 %license LICENSE
 %{_bindir}/nss_wrapper.pl
 %{_libdir}/libnss_wrapper.so*

++ nss_wrapper-1.1.7.tar.gz -> nss_wrapper-1.1.8.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/nss_wrapper-1.1.7/CHANGELOG 
new/nss_wrapper-1.1.8/CHANGELOG
--- old/nss_wrapper-1.1.7/CHANGELOG 1970-01-01 01:00:00.0 +0100
+++ new/nss_wrapper-1.1.8/CHANGELOG 2020-02-17 10:42:43.0 +0100
@@ -0,0 +1,66 @@
+ChangeLog
+==
+
+version 1.1.8 (released 2020-02-17)
+  * Fixed path to library in nss_wrapper.pc
+  * Try different backends for gethostbyaddr nd gethostbyname
+
+version 1.1.7 (released 2019-11-11)
+  * Added NSS_WRAPPER_DISABLE_DEEPBIND env variable
+  * Improvded logging
+  * Fixed location in cmake config
+
+version 1.1.6 (released 2019-05-19)
+  * Fixed issues with memory alignment of getgrnam()
+  * Fixed getpwnam() on FreeBSD
+  * Started to use modern cmake (>= 3.5.0)
+
+version 1.1.5 (released 2018-10-31)
+  * Fixed running on older distributions
+
+version 1.1.4 (released 2018-10-31)
+  * Fixed module getpw* functions
+  * Fixed nss_wrapper.pl to use correct perl binary
+  * Fixed compatibility with musl-libc
+
+version 1.1.3 (released 2015-03-18)
+  * Added support for BSD 'struct passwd' members
+  * Replaced strcpy() with snprintf()
+
+version 1.1.2 (released 2015-12-17)
+  * Fixed segfault while reloading hosts file
+  * Fixed issue where are not fault tolerant if an alias has already
+been added
+
+version 1.1.1 (released 2015-11-23)
+  * Fixed nss_wrapper build on Solaris
+
+version 1.1.0 (released 2015-11-20)
+  * Added support for initgroups()
+  * Added support for shadow files (getspnam(), etc.)
+  * Improved support for multi address handling in getaddrinfo()
+  * Improved file parser
+  * Fixed compilation on machines without IPv4 support
+  * Fixed service string sanity check in getaddrinfo() (bso #11501)
+  * Fixed AI_NUMERICHOST handling in getaddrinfo() (bso # 11477)
+
+version 1.0.3 (released 2014-09-11)
+  * Added a nss_wrapper manpage.
+  * Fixed cmake find_package configs.
+  * Fixed resolving hostnames with a trailing dot.
+  * Fixed an overflow when checking if a IPv6 address is IPv4.
+  * Fall back to RTLD_NEXT for symbol binding if we can't find libc.
+
+version 1.0.2 (released 2014-04-08)
+  * Added public nss_wrapper_enabled().
+  * Added public nss_wrapper_hosts_enabled().
+  * Fixed segfault in 'getent hosts' without aliases.
+  * Fixed IPv4 and IPv6 resolving with 'getent ahosts'.
+
+version 1.0.1 (released 2014-02-04)
+  * Added --libs 

commit nss_wrapper for openSUSE:Factory

2019-11-18 Thread root
Hello community,

here is the log from the commit of package nss_wrapper for openSUSE:Factory 
checked in at 2019-11-18 19:57:31

Comparing /work/SRC/openSUSE:Factory/nss_wrapper (Old)
 and  /work/SRC/openSUSE:Factory/.nss_wrapper.new.26869 (New)


Package is "nss_wrapper"

Mon Nov 18 19:57:31 2019 rev:9 rq:748050 version:1.1.7

Changes:

--- /work/SRC/openSUSE:Factory/nss_wrapper/nss_wrapper.changes  2019-08-24 
18:42:36.861779232 +0200
+++ /work/SRC/openSUSE:Factory/.nss_wrapper.new.26869/nss_wrapper.changes   
2019-11-18 19:57:35.361978497 +0100
@@ -1,0 +2,8 @@
+Wed Nov 13 07:46:15 UTC 2019 - Andreas Schneider 
+
+- Update to version 1.1.7
+  * Added NSS_WRAPPER_DISABLE_DEEPBIND env variable
+  * Improvded logging
+  * Fixed location in cmake config
+
+---

Old:

  nss_wrapper-1.1.6.tar.gz
  nss_wrapper-1.1.6.tar.gz.asc

New:

  nss_wrapper-1.1.7.tar.gz
  nss_wrapper-1.1.7.tar.gz.asc



Other differences:
--
++ nss_wrapper.spec ++
--- /var/tmp/diff_new_pack.WRkPcr/_old  2019-11-18 19:57:36.697977826 +0100
+++ /var/tmp/diff_new_pack.WRkPcr/_new  2019-11-18 19:57:36.701977825 +0100
@@ -24,7 +24,7 @@
 # NOTE ##
 
 Name:   nss_wrapper
-Version:1.1.6
+Version:1.1.7
 Release:0
 
 Summary:A wrapper for the user, group and hosts NSS API

++ nss_wrapper-1.1.6.tar.gz -> nss_wrapper-1.1.7.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/nss_wrapper-1.1.6/.ycm_extra_conf.py 
new/nss_wrapper-1.1.7/.ycm_extra_conf.py
--- old/nss_wrapper-1.1.6/.ycm_extra_conf.py2014-04-04 09:21:24.0 
+0200
+++ new/nss_wrapper-1.1.7/.ycm_extra_conf.py1970-01-01 01:00:00.0 
+0100
@@ -1,104 +0,0 @@
-import os
-import ycm_core
-
-flags = [
-]
-
-# Set this to the absolute path to the folder (NOT the file!) containing the
-# compile_commands.json file to use that instead of 'flags'. See here for
-# more details: http://clang.llvm.org/docs/JSONCompilationDatabase.html
-#
-# Most projects will NOT need to set this to anything; you can just change the
-# 'flags' list of compilation flags. Notice that YCM itself uses that approach.
-compilation_database_folder = 'obj'
-
-if os.path.exists( compilation_database_folder ):
-  database = ycm_core.CompilationDatabase( compilation_database_folder )
-else:
-  database = None
-
-SOURCE_EXTENSIONS = [ '.cpp', '.cxx', '.cc', '.c', '.m', '.mm' ]
-
-def DirectoryOfThisScript():
-  return os.path.dirname( os.path.abspath( __file__ ) )
-
-
-def MakeRelativePathsInFlagsAbsolute( flags, working_directory ):
-  if not working_directory:
-return list( flags )
-  new_flags = []
-  make_next_absolute = False
-  path_flags = [ '-isystem', '-I', '-iquote', '--sysroot=' ]
-  for flag in flags:
-new_flag = flag
-
-if make_next_absolute:
-  make_next_absolute = False
-  if not flag.startswith( '/' ):
-new_flag = os.path.join( working_directory, flag )
-
-for path_flag in path_flags:
-  if flag == path_flag:
-make_next_absolute = True
-break
-
-  if flag.startswith( path_flag ):
-path = flag[ len( path_flag ): ]
-new_flag = path_flag + os.path.join( working_directory, path )
-break
-
-if new_flag:
-  new_flags.append( new_flag )
-  return new_flags
-
-
-def IsHeaderFile( filename ):
-  extension = os.path.splitext( filename )[ 1 ]
-  return extension in [ '.h', '.hxx', '.hpp', '.hh' ]
-
-
-def GetCompilationInfoForFile( filename ):
-  # The compilation_commands.json file generated by CMake does not have entries
-  # for header files. So we do our best by asking the db for flags for a
-  # corresponding source file, if any. If one exists, the flags for that file
-  # should be good enough.
-  if IsHeaderFile( filename ):
-basename = os.path.splitext( filename )[ 0 ]
-for extension in SOURCE_EXTENSIONS:
-  replacement_file = basename + extension
-  if os.path.exists( replacement_file ):
-compilation_info = database.GetCompilationInfoForFile(
-  replacement_file )
-if compilation_info.compiler_flags_:
-  return compilation_info
-return None
-  return database.GetCompilationInfoForFile( filename )
-
-
-def FlagsForFile( filename, **kwargs ):
-  if database:
-# Bear in mind that compilation_info.compiler_flags_ does NOT return a
-# python list, but a "list-like" StringVec object
-compilation_info = GetCompilationInfoForFile( filename )
-if not compilation_info:
-  return None
-
-final_flags = MakeRelativePathsInFlagsAbsolute(
-  

commit nss_wrapper for openSUSE:Factory

2019-08-24 Thread root
Hello community,

here is the log from the commit of package nss_wrapper for openSUSE:Factory 
checked in at 2019-08-24 18:42:34

Comparing /work/SRC/openSUSE:Factory/nss_wrapper (Old)
 and  /work/SRC/openSUSE:Factory/.nss_wrapper.new.7948 (New)


Package is "nss_wrapper"

Sat Aug 24 18:42:34 2019 rev:8 rq:724988 version:1.1.6

Changes:

--- /work/SRC/openSUSE:Factory/nss_wrapper/nss_wrapper.changes  2019-05-22 
10:49:50.735374818 +0200
+++ /work/SRC/openSUSE:Factory/.nss_wrapper.new.7948/nss_wrapper.changes
2019-08-24 18:42:36.861779232 +0200
@@ -1,0 +2,5 @@
+Wed Aug 21 09:07:07 UTC 2019 - Andreas Schneider 
+
+- Change Requires to Recommends for cmake and pkgconf
+
+---



Other differences:
--
++ nss_wrapper.spec ++
--- /var/tmp/diff_new_pack.Mcg8BG/_old  2019-08-24 18:42:37.39182 +0200
+++ /var/tmp/diff_new_pack.Mcg8BG/_new  2019-08-24 18:42:37.381779182 +0200
@@ -41,8 +41,8 @@
 BuildRequires:  libcmocka-devel
 BuildRequires:  netcfg
 
-Requires:   cmake
-Requires:   pkg-config
+Recommends: cmake
+Recommends: pkgconf
 
 %description
 There are projects which provide daemons that need to be able to create, modify
@@ -83,9 +83,7 @@
 | xargs sed -i '1 s|/usr/bin/env\ perl|/usr/bin/perl|'
 
 %check
-pushd build
-make %{?_smp_mflags} test || cat $(find Testing -name "*.log")
-popd
+%ctest
 
 %post -p /sbin/ldconfig
 






commit nss_wrapper for openSUSE:Factory

2019-05-22 Thread root
Hello community,

here is the log from the commit of package nss_wrapper for openSUSE:Factory 
checked in at 2019-05-22 10:49:44

Comparing /work/SRC/openSUSE:Factory/nss_wrapper (Old)
 and  /work/SRC/openSUSE:Factory/.nss_wrapper.new.5148 (New)


Package is "nss_wrapper"

Wed May 22 10:49:44 2019 rev:7 rq:703645 version:1.1.6

Changes:

--- /work/SRC/openSUSE:Factory/nss_wrapper/nss_wrapper.changes  2018-11-06 
15:28:21.404251333 +0100
+++ /work/SRC/openSUSE:Factory/.nss_wrapper.new.5148/nss_wrapper.changes
2019-05-22 10:49:50.735374818 +0200
@@ -1,0 +2,8 @@
+Fri May 17 05:51:10 UTC 2019 - Andreas Schneider 
+
+- Update to version 1.1.6
+  * Fixed issues with memory alignment of getgrnam()
+  * Fixed getpwnam() on FreeBSD
+  * Started to use modern cmake (>= 3.5.0)
+
+---

Old:

  nss_wrapper-1.1.5.tar.gz
  nss_wrapper-1.1.5.tar.gz.asc

New:

  nss_wrapper-1.1.6.tar.gz
  nss_wrapper-1.1.6.tar.gz.asc



Other differences:
--
++ nss_wrapper.spec ++
--- /var/tmp/diff_new_pack.Kk14lv/_old  2019-05-22 10:49:51.307374648 +0200
+++ /var/tmp/diff_new_pack.Kk14lv/_new  2019-05-22 10:49:51.307374648 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package nss_wrapper
 #
-# 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
@@ -24,7 +24,7 @@
 # NOTE ##
 
 Name:   nss_wrapper
-Version:1.1.5
+Version:1.1.6
 Release:0
 
 Summary:A wrapper for the user, group and hosts NSS API
@@ -93,7 +93,7 @@
 
 %files
 %defattr(-,root,root)
-%doc AUTHORS README ChangeLog
+%doc AUTHORS README.md ChangeLog
 %license LICENSE
 %{_bindir}/nss_wrapper.pl
 %{_libdir}/libnss_wrapper.so*

++ nss_wrapper-1.1.5.tar.gz -> nss_wrapper-1.1.6.tar.gz ++
 2174 lines of diff (skipped)





commit nss_wrapper for openSUSE:Factory

2018-11-06 Thread root
Hello community,

here is the log from the commit of package nss_wrapper for openSUSE:Factory 
checked in at 2018-11-06 15:27:44

Comparing /work/SRC/openSUSE:Factory/nss_wrapper (Old)
 and  /work/SRC/openSUSE:Factory/.nss_wrapper.new (New)


Package is "nss_wrapper"

Tue Nov  6 15:27:44 2018 rev:6 rq:645750 version:1.1.5

Changes:

--- /work/SRC/openSUSE:Factory/nss_wrapper/nss_wrapper.changes  2016-04-01 
13:01:50.0 +0200
+++ /work/SRC/openSUSE:Factory/.nss_wrapper.new/nss_wrapper.changes 
2018-11-06 15:28:21.404251333 +0100
@@ -1,0 +2,14 @@
+Wed Oct 31 13:25:29 UTC 2018 - Andreas Schneider 
+
+- Update to version 1.1.5
+  * Fixed running on older distributions
+
+---
+Wed Oct 31 07:30:25 UTC 2018 - Andreas Schneider 
+
+- Update to version 1.1.4
+  * Fixed module getpw* functions
+  * Fixed nss_wrapper.pl to use correct perl binary
+  * Fixed compatibility with musl-libc
+
+---

Old:

  nss_wrapper-1.1.3.tar.gz

New:

  nss_wrapper-1.1.5.tar.gz
  nss_wrapper-1.1.5.tar.gz.asc
  nss_wrapper.keyring



Other differences:
--
++ nss_wrapper.spec ++
--- /var/tmp/diff_new_pack.eEH2K7/_old  2018-11-06 15:28:23.192248619 +0100
+++ /var/tmp/diff_new_pack.eEH2K7/_new  2018-11-06 15:28:23.192248619 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package nss_wrapper
 #
-# Copyright (c) 2016 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
@@ -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/
 #
 
 
@@ -24,7 +24,7 @@
 # NOTE ##
 
 Name:   nss_wrapper
-Version:1.1.3
+Version:1.1.5
 Release:0
 
 Summary:A wrapper for the user, group and hosts NSS API
@@ -33,7 +33,9 @@
 Url:http://cwrap.org/
 
 Source0:https://ftp.samba.org/pub/cwrap/%{name}-%{version}.tar.gz
-Source1:%{name}-rpmlintrc
+Source1:https://ftp.samba.org/pub/cwrap/%{name}-%{version}.tar.gz.asc
+Source2:
https://cryptomilk.org/gpgkey-8DFF53E18F2ABC8D8F3C92237EE0FC4DCC014E3D.gpg#/%{name}.keyring
+Source3:%{name}-rpmlintrc
 
 BuildRequires:  cmake
 BuildRequires:  libcmocka-devel
@@ -77,6 +79,9 @@
 %install
 %cmake_install
 
+find %{buildroot}%{_bindir} -name "*.pl" \
+| xargs sed -i '1 s|/usr/bin/env\ perl|/usr/bin/perl|'
+
 %check
 pushd build
 make %{?_smp_mflags} test || cat $(find Testing -name "*.log")
@@ -88,7 +93,8 @@
 
 %files
 %defattr(-,root,root)
-%doc AUTHORS README ChangeLog COPYING
+%doc AUTHORS README ChangeLog
+%license LICENSE
 %{_bindir}/nss_wrapper.pl
 %{_libdir}/libnss_wrapper.so*
 %dir %{_libdir}/cmake/nss_wrapper

++ nss_wrapper-1.1.3.tar.gz -> nss_wrapper-1.1.5.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/nss_wrapper-1.1.3/CMakeLists.txt 
new/nss_wrapper-1.1.5/CMakeLists.txt
--- old/nss_wrapper-1.1.3/CMakeLists.txt2016-03-18 11:58:10.0 
+0100
+++ new/nss_wrapper-1.1.5/CMakeLists.txt2018-10-31 14:21:50.0 
+0100
@@ -8,7 +8,7 @@
 
 set(APPLICATION_VERSION_MAJOR "1")
 set(APPLICATION_VERSION_MINOR "1")
-set(APPLICATION_VERSION_PATCH "3")
+set(APPLICATION_VERSION_PATCH "5")
 
 set(APPLICATION_VERSION 
"${APPLICATION_VERSION_MAJOR}.${APPLICATION_VERSION_MINOR}.${APPLICATION_VERSION_PATCH}")
 
@@ -19,7 +19,7 @@
 # Increment AGE. Set REVISION to 0
 #   If the source code was changed, but there were no interface changes:
 # Increment REVISION.
-set(LIBRARY_VERSION "0.2.3")
+set(LIBRARY_VERSION "0.2.5")
 set(LIBRARY_SOVERSION "0")
 
 # where to look first for cmake modules, before ${CMAKE_ROOT}/Modules/ is 
checked
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/nss_wrapper-1.1.3/COPYING 
new/nss_wrapper-1.1.5/COPYING
--- old/nss_wrapper-1.1.3/COPYING   2013-12-04 16:37:43.0 +0100
+++ new/nss_wrapper-1.1.5/COPYING   1970-01-01 01:00:00.0 +0100
@@ -1,32 +0,0 @@
-Copyright (C) Stefan Metzmacher 2007 
-Copyright (C) Guenther Deschner 2009 
-Copyright (C) Andreas Schneider 2013 
-
-All rights reserved.
-
-Redistribution and use in source and binary forms, with or without
-modification, are permitted provided that the following 

commit nss_wrapper for openSUSE:Factory

2016-04-01 Thread h_root
Hello community,

here is the log from the commit of package nss_wrapper for openSUSE:Factory 
checked in at 2016-04-01 13:01:45

Comparing /work/SRC/openSUSE:Factory/nss_wrapper (Old)
 and  /work/SRC/openSUSE:Factory/.nss_wrapper.new (New)


Package is "nss_wrapper"

Changes:

--- /work/SRC/openSUSE:Factory/nss_wrapper/nss_wrapper.changes  2016-02-17 
12:16:55.0 +0100
+++ /work/SRC/openSUSE:Factory/.nss_wrapper.new/nss_wrapper.changes 
2016-04-01 13:01:50.0 +0200
@@ -1,0 +2,7 @@
+Mon Mar 21 18:19:18 UTC 2016 - a...@cryptomilk.org
+
+- Update to version 1.1.3
+  * Added support for BSD 'struct passwd' members
+  * Replaced strcpy() with snprintf()
+
+---

Old:

  nss_wrapper-1.1.2.tar.gz

New:

  nss_wrapper-1.1.3.tar.gz



Other differences:
--
++ nss_wrapper.spec ++
--- /var/tmp/diff_new_pack.yZSkbw/_old  2016-04-01 13:01:51.0 +0200
+++ /var/tmp/diff_new_pack.yZSkbw/_new  2016-04-01 13:01:51.0 +0200
@@ -24,7 +24,7 @@
 # NOTE ##
 
 Name:   nss_wrapper
-Version:1.1.2
+Version:1.1.3
 Release:0
 
 Summary:A wrapper for the user, group and hosts NSS API

++ nss_wrapper-1.1.2.tar.gz -> nss_wrapper-1.1.3.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/nss_wrapper-1.1.2/CMakeLists.txt 
new/nss_wrapper-1.1.3/CMakeLists.txt
--- old/nss_wrapper-1.1.2/CMakeLists.txt2015-12-17 08:57:54.0 
+0100
+++ new/nss_wrapper-1.1.3/CMakeLists.txt2016-03-18 11:58:10.0 
+0100
@@ -8,7 +8,7 @@
 
 set(APPLICATION_VERSION_MAJOR "1")
 set(APPLICATION_VERSION_MINOR "1")
-set(APPLICATION_VERSION_PATCH "2")
+set(APPLICATION_VERSION_PATCH "3")
 
 set(APPLICATION_VERSION 
"${APPLICATION_VERSION_MAJOR}.${APPLICATION_VERSION_MINOR}.${APPLICATION_VERSION_PATCH}")
 
@@ -19,7 +19,7 @@
 # Increment AGE. Set REVISION to 0
 #   If the source code was changed, but there were no interface changes:
 # Increment REVISION.
-set(LIBRARY_VERSION "0.2.2")
+set(LIBRARY_VERSION "0.2.3")
 set(LIBRARY_SOVERSION "0")
 
 # where to look first for cmake modules, before ${CMAKE_ROOT}/Modules/ is 
checked
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/nss_wrapper-1.1.2/ChangeLog 
new/nss_wrapper-1.1.3/ChangeLog
--- old/nss_wrapper-1.1.2/ChangeLog 2015-12-17 09:00:25.0 +0100
+++ new/nss_wrapper-1.1.3/ChangeLog 2016-03-18 11:57:56.0 +0100
@@ -1,6 +1,10 @@
 ChangeLog
 ==
 
+version 1.1.3 (released 2015-03-18)
+  * Added support for BSD 'struct passwd' members
+  * Replaced strcpy() with snprintf()
+
 version 1.1.2 (released 2015-12-17)
   * Fixed segfault while reloading hosts file
   * Fixed issue where are not fault tolerant if an alias has already
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/nss_wrapper-1.1.2/ConfigureChecks.cmake 
new/nss_wrapper-1.1.3/ConfigureChecks.cmake
--- old/nss_wrapper-1.1.2/ConfigureChecks.cmake 2015-11-11 11:51:25.0 
+0100
+++ new/nss_wrapper-1.1.3/ConfigureChecks.cmake 2016-03-17 20:26:09.0 
+0100
@@ -191,6 +191,9 @@
 
 # STRUCT MEMBERS
 check_struct_has_member("struct sockaddr" sa_len "sys/socket.h netinet/in.h" 
HAVE_STRUCT_SOCKADDR_SA_LEN)
+check_struct_has_member("struct passwd" pw_class "pwd.h" 
HAVE_STRUCT_PASSWD_PW_CLASS)
+check_struct_has_member("struct passwd" pw_change "pwd.h" 
HAVE_STRUCT_PASSWD_PW_CHANGE)
+check_struct_has_member("struct passwd" pw_expire "pwd.h" 
HAVE_STRUCT_PASSWD_PW_EXPIRE)
 
 # IPV6
 check_c_source_compiles("
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/nss_wrapper-1.1.2/config.h.cmake 
new/nss_wrapper-1.1.3/config.h.cmake
--- old/nss_wrapper-1.1.2/config.h.cmake2015-11-11 11:51:25.0 
+0100
+++ new/nss_wrapper-1.1.3/config.h.cmake2016-03-17 20:26:09.0 
+0100
@@ -86,6 +86,10 @@
 #cmakedefine HAVE_LINUX_GETNAMEINFO_UNSIGNED 1
 
 #cmakedefine HAVE_STRUCT_SOCKADDR_SA_LEN 1
+#cmakedefine HAVE_STRUCT_PASSWD_PW_CLASS 1
+#cmakedefine HAVE_STRUCT_PASSWD_PW_CHANGE 1
+#cmakedefine HAVE_STRUCT_PASSWD_PW_EXPIRE 1
+
 #cmakedefine HAVE_IPV6 1
 
 #cmakedefine HAVE_ATTRIBUTE_PRINTF_FORMAT 1
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/nss_wrapper-1.1.2/src/nss_wrapper.c 
new/nss_wrapper-1.1.3/src/nss_wrapper.c
--- old/nss_wrapper-1.1.2/src/nss_wrapper.c 2015-12-17 09:14:13.0 
+0100
+++ new/nss_wrapper-1.1.3/src/nss_wrapper.c 2016-03-17 20:26:09.0 
+0100
@@ -154,6 +154,14 @@
 

commit nss_wrapper for openSUSE:Factory

2016-02-17 Thread h_root
Hello community,

here is the log from the commit of package nss_wrapper for openSUSE:Factory 
checked in at 2016-02-17 10:31:55

Comparing /work/SRC/openSUSE:Factory/nss_wrapper (Old)
 and  /work/SRC/openSUSE:Factory/.nss_wrapper.new (New)


Package is "nss_wrapper"

Changes:

--- /work/SRC/openSUSE:Factory/nss_wrapper/nss_wrapper.changes  2016-01-26 
10:15:21.0 +0100
+++ /work/SRC/openSUSE:Factory/.nss_wrapper.new/nss_wrapper.changes 
2016-02-17 12:16:55.0 +0100
@@ -1,0 +2,6 @@
+Sun Feb 14 10:51:29 UTC 2016 - jeng...@inai.de
+
+- Editorial fixes to the description
+- Use %_smp_mflags for parallel build instead
+
+---



Other differences:
--
++ nss_wrapper.spec ++
--- /var/tmp/diff_new_pack.hD7h9i/_old  2016-02-17 12:16:56.0 +0100
+++ /var/tmp/diff_new_pack.hD7h9i/_new  2016-02-17 12:16:56.0 +0100
@@ -43,26 +43,26 @@
 Requires:   pkg-config
 
 %description
-There are projects which provide daemons needing to be able to create, modify
-and delete Unix users. Or just switch user ids to interact with the system e.g.
-a user space file server. To be able to test that you need the privilege to
-modify the passwd and groups file. With nss_wrapper it is possible to define
-your own passwd and groups file which will be used by software to act correctly
+There are projects which provide daemons that need to be able to create, modify
+and delete Unix users, or just switch user IDs to interact with the system, 
e.g.
+a user space file server. To be able to test that, you need the privilege to
+modify the passwd and groups files. With nss_wrapper, it is possible to define
+your own passwd and groups files which will be used by software to act 
correctly
 while under test.
 
-If you have a client and server under test they normally use functions to
-resolve network names to addresses (dns) or vice versa. The nss_wrappers allow
+If you have a client and server under test, they normally use functions to
+resolve network names to addresses (DNS) or vice versa. The nss_wrappers allow
 you to create a hosts file to setup name resolution for the addresses you use
 with socket_wrapper.
 
-To use it set the following environment variables:
+To use it, set the following environment variables:
 
 LD_PRELOAD=libuid_wrapper.so
 NSS_WRAPPER_PASSWD=/path/to/passwd
 NSS_WRAPPER_GROUP=/path/to/group
 NSS_WRAPPER_HOSTS=/path/to/host
 
-This package doesn't have a devel package cause this project is for
+This package does not have a devel package, because this project is for
 development/testing.
 
 %prep
@@ -72,7 +72,7 @@
 %cmake \
   -DUNIT_TESTING=ON
 
-make %{?jobs:-j%jobs} VERBOSE=1
+make %{?_smp_mflags} VERBOSE=1
 
 %install
 %cmake_install




commit nss_wrapper for openSUSE:Factory

2016-01-26 Thread h_root
Hello community,

here is the log from the commit of package nss_wrapper for openSUSE:Factory 
checked in at 2016-01-26 10:15:20

Comparing /work/SRC/openSUSE:Factory/nss_wrapper (Old)
 and  /work/SRC/openSUSE:Factory/.nss_wrapper.new (New)


Package is "nss_wrapper"

Changes:

--- /work/SRC/openSUSE:Factory/nss_wrapper/nss_wrapper.changes  2015-11-22 
11:02:57.0 +0100
+++ /work/SRC/openSUSE:Factory/.nss_wrapper.new/nss_wrapper.changes 
2016-01-26 10:15:21.0 +0100
@@ -1,0 +2,9 @@
+Thu Jan 14 08:34:11 UTC 2016 - a...@cryptomilk.org
+
+- Update to version 1.1.2
+  * Fixed segfault while reloading hosts file
+  * Fixed issue where are not fault tolerant if an alias has already
+been added
+  * Fixed nss_wrapper build on Solaris
+
+---

Old:

  nss_wrapper-1.1.0.tar.gz

New:

  nss_wrapper-1.1.2.tar.gz



Other differences:
--
++ nss_wrapper.spec ++
--- /var/tmp/diff_new_pack.rkxFqn/_old  2016-01-26 10:15:22.0 +0100
+++ /var/tmp/diff_new_pack.rkxFqn/_new  2016-01-26 10:15:22.0 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package nss_wrapper
 #
-# 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
@@ -24,7 +24,7 @@
 # NOTE ##
 
 Name:   nss_wrapper
-Version:1.1.0
+Version:1.1.2
 Release:0
 
 Summary:A wrapper for the user, group and hosts NSS API

++ nss_wrapper-1.1.0.tar.gz -> nss_wrapper-1.1.2.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/nss_wrapper-1.1.0/CMakeLists.txt 
new/nss_wrapper-1.1.2/CMakeLists.txt
--- old/nss_wrapper-1.1.0/CMakeLists.txt2015-11-20 12:14:16.0 
+0100
+++ new/nss_wrapper-1.1.2/CMakeLists.txt2015-12-17 08:57:54.0 
+0100
@@ -8,7 +8,7 @@
 
 set(APPLICATION_VERSION_MAJOR "1")
 set(APPLICATION_VERSION_MINOR "1")
-set(APPLICATION_VERSION_PATCH "0")
+set(APPLICATION_VERSION_PATCH "2")
 
 set(APPLICATION_VERSION 
"${APPLICATION_VERSION_MAJOR}.${APPLICATION_VERSION_MINOR}.${APPLICATION_VERSION_PATCH}")
 
@@ -19,7 +19,7 @@
 # Increment AGE. Set REVISION to 0
 #   If the source code was changed, but there were no interface changes:
 # Increment REVISION.
-set(LIBRARY_VERSION "0.2.0")
+set(LIBRARY_VERSION "0.2.2")
 set(LIBRARY_SOVERSION "0")
 
 # where to look first for cmake modules, before ${CMAKE_ROOT}/Modules/ is 
checked
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/nss_wrapper-1.1.0/ChangeLog 
new/nss_wrapper-1.1.2/ChangeLog
--- old/nss_wrapper-1.1.0/ChangeLog 2015-11-20 12:14:16.0 +0100
+++ new/nss_wrapper-1.1.2/ChangeLog 2015-12-17 09:00:25.0 +0100
@@ -1,6 +1,14 @@
 ChangeLog
 ==
 
+version 1.1.2 (released 2015-12-17)
+  * Fixed segfault while reloading hosts file
+  * Fixed issue where are not fault tolerant if an alias has already
+been added
+
+version 1.1.1 (released 2015-11-23)
+  * Fixed nss_wrapper build on Solaris
+
 version 1.1.0 (released 2015-11-20)
   * Added support for initgroups()
   * Added support for shadow files (getspnam(), etc.)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/nss_wrapper-1.1.0/src/nss_wrapper.c 
new/nss_wrapper-1.1.2/src/nss_wrapper.c
--- old/nss_wrapper-1.1.0/src/nss_wrapper.c 2015-11-20 10:00:56.0 
+0100
+++ new/nss_wrapper-1.1.2/src/nss_wrapper.c 2015-12-17 09:14:13.0 
+0100
@@ -2622,12 +2622,14 @@
for (cursor = el; cursor->next != NULL; cursor = cursor->next)
{
if (cursor->ed == ed) {
-   return false;
+   /* The entry already exists in this list. */
+   return true;
}
}
 
if (cursor->ed == ed) {
-   return false;
+   /* The entry already exists in this list. */
+   return true;
}
 
el_new = nwrap_entlist_init(ed);
@@ -2888,6 +2890,7 @@
struct nwrap_entdata *ed;
struct nwrap_entlist *el;
size_t i;
+   int rc;
 
nwrap_vector_foreach (ed, nwrap_he->entries, i)
{
@@ -2913,6 +2916,18 @@
 
nwrap_he->num = 0;
nwrap_he->idx = 0;
+
+   /*
+* If we unload the file, the pointers in the hash table point to
+* invalid memory. So we need to destroy the hash table and recreate
+* 

commit nss_wrapper for openSUSE:Factory

2015-11-22 Thread h_root
Hello community,

here is the log from the commit of package nss_wrapper for openSUSE:Factory 
checked in at 2015-11-22 11:00:57

Comparing /work/SRC/openSUSE:Factory/nss_wrapper (Old)
 and  /work/SRC/openSUSE:Factory/.nss_wrapper.new (New)


Package is "nss_wrapper"

Changes:

--- /work/SRC/openSUSE:Factory/nss_wrapper/nss_wrapper.changes  2015-06-11 
08:21:59.0 +0200
+++ /work/SRC/openSUSE:Factory/.nss_wrapper.new/nss_wrapper.changes 
2015-11-22 11:02:57.0 +0100
@@ -1,0 +2,12 @@
+Fri Nov 20 11:17:53 UTC 2015 - a...@cryptomilk.org
+
+- Update to version 1.1.0
+  * Added support for initgroups()
+  * Added support for shadow files (getspnam(), etc.)
+  * Improved support for multi address handling in getaddrinfo()
+  * Improved file parser
+  * Fixed compilation on machines without IPv4 support
+  * Fixed service string sanity check in getaddrinfo() (bso #11501)
+  * Fixed AI_NUMERICHOST handling in getaddrinfo() (bso # 11477)
+
+---

Old:

  nss_wrapper-1.0.3.tar.gz

New:

  nss_wrapper-1.1.0.tar.gz



Other differences:
--
++ nss_wrapper.spec ++
--- /var/tmp/diff_new_pack.Yl40W9/_old  2015-11-22 11:02:58.0 +0100
+++ /var/tmp/diff_new_pack.Yl40W9/_new  2015-11-22 11:02:58.0 +0100
@@ -15,6 +15,7 @@
 # Please submit bugfixes or comments via http://bugs.opensuse.org/
 #
 
+
 # NOTE ##
 #
 # This is a special library. You are not able to link this library.
@@ -23,7 +24,7 @@
 # NOTE ##
 
 Name:   nss_wrapper
-Version:1.0.3
+Version:1.1.0
 Release:0
 
 Summary:A wrapper for the user, group and hosts NSS API
@@ -38,8 +39,8 @@
 BuildRequires:  libcmocka-devel
 BuildRequires:  netcfg
 
-Requires:   pkg-config
 Requires:   cmake
+Requires:   pkg-config
 
 %description
 There are projects which provide daemons needing to be able to create, modify

++ nss_wrapper-1.0.3.tar.gz -> nss_wrapper-1.1.0.tar.gz ++
 4265 lines of diff (skipped)