commit socket_wrapper for openSUSE:Factory

2020-06-23 Thread root
Hello community,

here is the log from the commit of package socket_wrapper for openSUSE:Factory 
checked in at 2020-06-23 21:01:36

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


Package is "socket_wrapper"

Tue Jun 23 21:01:36 2020 rev:15 rq:816408 version:1.2.5

Changes:

--- /work/SRC/openSUSE:Factory/socket_wrapper/socket_wrapper.changes
2020-03-25 23:43:38.24293 +0100
+++ /work/SRC/openSUSE:Factory/.socket_wrapper.new.2956/socket_wrapper.changes  
2020-06-23 21:02:03.925353707 +0200
@@ -1,0 +2,6 @@
+Mon Jun 22 15:05:19 UTC 2020 - Andreas Schneider 
+
+- Update to version 1.2.5
+  * https://gitlab.com/cwrap/socket_wrapper/-/blob/master/CHANGELOG
+
+---

Old:

  socket_wrapper-1.2.4.tar.gz
  socket_wrapper-1.2.4.tar.gz.asc

New:

  socket_wrapper-1.2.5.tar.gz
  socket_wrapper-1.2.5.tar.gz.asc



Other differences:
--
++ socket_wrapper.spec ++
--- /var/tmp/diff_new_pack.pMAbLY/_old  2020-06-23 21:02:05.609359126 +0200
+++ /var/tmp/diff_new_pack.pMAbLY/_new  2020-06-23 21:02:05.613359139 +0200
@@ -24,7 +24,7 @@
 # NOTE ##
 
 Name:   socket_wrapper
-Version:1.2.4
+Version:1.2.5
 Release:0
 Summary:A library passing all socket communications trough Unix sockets
 License:BSD-3-Clause

++ socket_wrapper-1.2.4.tar.gz -> socket_wrapper-1.2.5.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/socket_wrapper-1.2.4/CHANGELOG 
new/socket_wrapper-1.2.5/CHANGELOG
--- old/socket_wrapper-1.2.4/CHANGELOG  2020-03-24 13:29:41.0 +0100
+++ new/socket_wrapper-1.2.5/CHANGELOG  2020-06-22 17:00:42.0 +0200
@@ -1,6 +1,11 @@
 ChangeLog
 ==
 
+version 1.2.5 (released 2020-06-22)
+  * Added basic support for TCP_INFO and SIOCOUTQ/TIOCOUTQ/FIONWRITE
+  * Add SOCKET_WRAPPER_DIR_ALLOW_ORIG and abort() early if
+SOCKET_WRAPPER_DIR is unusable
+
 version 1.2.4 (released 2020-03-24)
   * Added support for 10.53.57.0 network
   * Added _{socket,close,connect,...} symbols on FreeBSD
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/socket_wrapper-1.2.4/CMakeLists.txt 
new/socket_wrapper-1.2.5/CMakeLists.txt
--- old/socket_wrapper-1.2.4/CMakeLists.txt 2020-03-24 13:29:41.0 
+0100
+++ new/socket_wrapper-1.2.5/CMakeLists.txt 2020-06-22 17:00:42.0 
+0200
@@ -11,7 +11,7 @@
 include(DefineCMakeDefaults)
 include(DefineCompilerFlags)
 
-project(socket_wrapper VERSION 1.2.4 LANGUAGES C)
+project(socket_wrapper VERSION 1.2.5 LANGUAGES C)
 
 # global needed variables
 set(APPLICATION_NAME ${PROJECT_NAME})
@@ -25,7 +25,7 @@
 # Increment PATCH.
 set(LIBRARY_VERSION_MAJOR 0)
 set(LIBRARY_VERSION_MINOR 1)
-set(LIBRARY_VERSION_PATCH 14)
+set(LIBRARY_VERSION_PATCH 15)
 set(LIBRARY_VERSION 
"${LIBRARY_VERSION_MAJOR}.${LIBRARY_VERSION_MINOR}.${LIBRARY_VERSION_PATCH}")
 set(LIBRARY_SOVERSION ${LIBRARY_VERSION_MAJOR})
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/socket_wrapper-1.2.4/ConfigureChecks.cmake 
new/socket_wrapper-1.2.5/ConfigureChecks.cmake
--- old/socket_wrapper-1.2.4/ConfigureChecks.cmake  2020-03-24 
13:29:41.0 +0100
+++ new/socket_wrapper-1.2.5/ConfigureChecks.cmake  2020-06-22 
17:00:35.0 +0200
@@ -43,6 +43,7 @@
 endif(CMAKE_COMPILER_IS_GNUCC AND NOT MINGW AND NOT OS2)
 
 # HEADERS
+check_include_file(netinet/tcp_fsm.h HAVE_NETINET_TCP_FSM_H)
 check_include_file(sys/filio.h HAVE_SYS_FILIO_H)
 check_include_file(sys/signalfd.h HAVE_SYS_SIGNALFD_H)
 check_include_file(sys/eventfd.h HAVE_SYS_EVENTFD_H)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/socket_wrapper-1.2.4/config.h.cmake 
new/socket_wrapper-1.2.5/config.h.cmake
--- old/socket_wrapper-1.2.4/config.h.cmake 2020-03-24 13:29:41.0 
+0100
+++ new/socket_wrapper-1.2.5/config.h.cmake 2020-06-22 17:00:35.0 
+0200
@@ -9,6 +9,7 @@
 
 /** HEADER FILES */
 
+#cmakedefine HAVE_NETINET_TCP_FSM_H 1
 #cmakedefine HAVE_SYS_FILIO_H 1
 #cmakedefine HAVE_SYS_SIGNALFD_H 1
 #cmakedefine HAVE_SYS_EVENTFD_H 1
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/socket_wrapper-1.2.4/doc/socket_wrapper.1 
new/socket_wrapper-1.2.5/doc/socket_wrapper.1
--- old/socket_wrapper-1.2.4/doc/socket_wrapper.1   2020-03-24 
13:29:41.0 +0100
+++ new/socket_wrapper-1.2.5/doc/socket_wrapper.1   2020-06-22 

commit socket_wrapper for openSUSE:Factory

2020-03-25 Thread root
Hello community,

here is the log from the commit of package socket_wrapper for openSUSE:Factory 
checked in at 2020-03-25 23:43:28

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


Package is "socket_wrapper"

Wed Mar 25 23:43:28 2020 rev:14 rq:787796 version:1.2.4

Changes:

--- /work/SRC/openSUSE:Factory/socket_wrapper/socket_wrapper.changes
2019-11-06 13:48:10.787640878 +0100
+++ /work/SRC/openSUSE:Factory/.socket_wrapper.new.3160/socket_wrapper.changes  
2020-03-25 23:43:38.24293 +0100
@@ -1,0 +2,6 @@
+Tue Mar 24 13:12:47 UTC 2020 - Andreas Schneider 
+
+- Update to version 1.2.4
+  * https://gitlab.com/cwrap/socket_wrapper/-/blob/master/CHANGELOG
+
+---

Old:

  socket_wrapper-1.2.3.tar.gz
  socket_wrapper-1.2.3.tar.gz.asc

New:

  socket_wrapper-1.2.4.tar.gz
  socket_wrapper-1.2.4.tar.gz.asc



Other differences:
--
++ socket_wrapper.spec ++
--- /var/tmp/diff_new_pack.7druOM/_old  2020-03-25 23:43:39.012000545 +0100
+++ /var/tmp/diff_new_pack.7druOM/_new  2020-03-25 23:43:39.012000545 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package socket_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,12 +24,12 @@
 # NOTE ##
 
 Name:   socket_wrapper
-Version:1.2.3
+Version:1.2.4
 Release:0
 Summary:A library passing all socket communications trough Unix sockets
 License:BSD-3-Clause
 Group:  Development/Libraries/C and C++
-Url:https://cwrap.org/
+URL:https://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
@@ -77,7 +77,7 @@
 
 %files
 %defattr(-,root,root)
-%doc AUTHORS README.md ChangeLog
+%doc AUTHORS README.md CHANGELOG
 %license LICENSE
 %{_libdir}/libsocket_wrapper.so.*
 %{_mandir}/man1/socket_wrapper.1*

++ socket_wrapper-1.2.3.tar.gz -> socket_wrapper-1.2.4.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/socket_wrapper-1.2.3/.clang_complete 
new/socket_wrapper-1.2.4/.clang_complete
--- old/socket_wrapper-1.2.3/.clang_complete2014-01-20 18:58:53.0 
+0100
+++ new/socket_wrapper-1.2.4/.clang_complete1970-01-01 01:00:00.0 
+0100
@@ -1,2 +0,0 @@
--Iobj
--DHAVE_IPV6
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/socket_wrapper-1.2.3/.gitlab-ci.yml 
new/socket_wrapper-1.2.4/.gitlab-ci.yml
--- old/socket_wrapper-1.2.3/.gitlab-ci.yml 2019-02-20 17:24:34.0 
+0100
+++ new/socket_wrapper-1.2.4/.gitlab-ci.yml 2020-03-24 13:29:41.0 
+0100
@@ -4,7 +4,7 @@
   CENTOS7_BUILD: buildenv-centos7
   TUMBLEWEED_BUILD: buildenv-tumbleweed
   MINGW_BUILD: buildenv-mingw
-  DEBIAN_CROSS_BUILD: buildenv-debian-cross
+  UBUNTU_BUILD: buildenv-ubuntu
 
 centos7/x86_64:
   image: $CI_REGISTRY/$BUILD_IMAGES_PROJECT:$CENTOS7_BUILD
@@ -123,36 +123,13 @@
   only:
   - branches@cwrap/socket_wrapper
   - branches@cryptomilk/socket_wrapper
+  - branches@metze/socket_wrapper
   artifacts:
 expire_in: 1 week
 when: on_failure
 paths:
   - obj/
 
-.Debian.cross.template: _cross_template
-  stage: test
-  image: $CI_REGISTRY/$BUILD_IMAGES_PROJECT:$DEBIAN_CROSS_BUILD
-  script:
-  - build=$(dpkg-architecture -qDEB_HOST_GNU_TYPE)
-  - host="${CI_JOB_NAME#*.cross.}"
-  - mkdir -p obj && cd obj && cmake
--DCMAKE_TOOLCHAIN_FILE=../cmake/Toolchain-Debian-mips.cmake
--DCMAKE_BUILD_TYPE=RelWithDebInfo
--DUNIT_TESTING=ON .. && make -j$(nproc) &&
-ctest --output-on-failure
-  tags:
-  - shared
-  except:
-  - tags
-  artifacts:
-expire_in: 1 week
-when: on_failure
-paths:
-  - obj/
-
-Debian.cross.mips-linux-gnu:
-  <<: *Debian_cross_template
-
 tumbleweed/x86_64/gcc:
   image: $CI_REGISTRY/$BUILD_IMAGES_PROJECT:$TUMBLEWEED_BUILD
   script:
@@ -241,6 +218,24 @@
 make -j$(nproc) && ctest --output-on-failure
   tags:
   - shared
+  except:
+  - tags
+  artifacts:
+expire_in: 1 week
+when: on_failure
+paths:
+  - obj/
+
+ubuntu/x86_64:
+  image: $CI_REGISTRY/$BUILD_IMAGES_PROJECT:$UBUNTU_BUILD
+  script:
+  - mkdir -p obj && cd obj && cmake
+-DCMAKE_BUILD_TYPE=RelWithDebInfo
+-DPICKY_DEVELOPER=ON
+-DUNIT_TESTING=ON .. &&
+make -j$(nproc) && ctest 

commit socket_wrapper for openSUSE:Factory

2019-11-06 Thread root
Hello community,

here is the log from the commit of package socket_wrapper for openSUSE:Factory 
checked in at 2019-11-06 13:48:08

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


Package is "socket_wrapper"

Wed Nov  6 13:48:08 2019 rev:13 rq:744487 version:1.2.3

Changes:

--- /work/SRC/openSUSE:Factory/socket_wrapper/socket_wrapper.changes
2019-08-24 18:42:41.993778739 +0200
+++ /work/SRC/openSUSE:Factory/.socket_wrapper.new.2990/socket_wrapper.changes  
2019-11-06 13:48:10.787640878 +0100
@@ -1,0 +2,5 @@
+Thu Oct 31 11:55:39 UTC 2019 - Andreas Schneider 
+
+- Some spec file cleanups
+
+---



Other differences:
--
++ socket_wrapper.spec ++
--- /var/tmp/diff_new_pack.kWvxsX/_old  2019-11-06 13:48:11.643641806 +0100
+++ /var/tmp/diff_new_pack.kWvxsX/_new  2019-11-06 13:48:11.647641810 +0100
@@ -29,14 +29,17 @@
 Summary:A library passing all socket communications trough Unix sockets
 License:BSD-3-Clause
 Group:  Development/Libraries/C and C++
-Url:http://cwrap.org/
+Url:https://cwrap.org/
+#
 Source0:https://ftp.samba.org/pub/cwrap/%{name}-%{version}.tar.gz
-Source1:%{name}-rpmlintrc
-Source2:https://ftp.samba.org/pub/cwrap/%{name}-%{version}.tar.gz.asc
-Source3:socket_wrapper.keyring
+Source1:https://ftp.samba.org/pub/cwrap/%{name}-%{version}.tar.gz.asc
+Source2:socket_wrapper.keyring
+Source3:%{name}-rpmlintrc
+#
 BuildRequires:  cmake
 BuildRequires:  libcmocka-devel
 BuildRequires:  pkg-config
+#
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 
 Recommends: cmake
@@ -54,7 +57,7 @@
 SOCKET_WRAPPER_DIR=/path/to/swrap_dir
 
 %prep
-%setup -q
+%autosetup
 
 %build
 %cmake \






commit socket_wrapper for openSUSE:Factory

2019-08-24 Thread root
Hello community,

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

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


Package is "socket_wrapper"

Sat Aug 24 18:42:40 2019 rev:12 rq:724990 version:1.2.3

Changes:

--- /work/SRC/openSUSE:Factory/socket_wrapper/socket_wrapper.changes
2019-03-26 15:35:43.536414784 +0100
+++ /work/SRC/openSUSE:Factory/.socket_wrapper.new.7948/socket_wrapper.changes  
2019-08-24 18:42:41.993778739 +0200
@@ -1,0 +2,5 @@
+Wed Aug 21 09:08:54 UTC 2019 - Andreas Schneider 
+
+- Change Requires to Recommends for cmake and pkgconf
+
+---



Other differences:
--
++ socket_wrapper.spec ++
--- /var/tmp/diff_new_pack.ccp0lL/_old  2019-08-24 18:42:42.489778691 +0200
+++ /var/tmp/diff_new_pack.ccp0lL/_new  2019-08-24 18:42:42.493778691 +0200
@@ -39,8 +39,8 @@
 BuildRequires:  pkg-config
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 
-Requires:   cmake
-Requires:   pkg-config
+Recommends: cmake
+Recommends: pkgconf
 
 %description
 socket_wrapper aims to help client/server software development teams willing to
@@ -66,9 +66,7 @@
 %cmake_install
 
 %check
-pushd build
-make %{?_smp_mflags} test || cat $(find Testing -name "*.log")
-popd
+%ctest
 
 %post -p /sbin/ldconfig
 






commit socket_wrapper for openSUSE:Factory

2019-03-26 Thread root
Hello community,

here is the log from the commit of package socket_wrapper for openSUSE:Factory 
checked in at 2019-03-26 15:35:42

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


Package is "socket_wrapper"

Tue Mar 26 15:35:42 2019 rev:11 rq:687377 version:1.2.3

Changes:

--- /work/SRC/openSUSE:Factory/socket_wrapper/socket_wrapper.changes
2018-11-14 14:44:38.202594488 +0100
+++ /work/SRC/openSUSE:Factory/.socket_wrapper.new.25356/socket_wrapper.changes 
2019-03-26 15:35:43.536414784 +0100
@@ -1,0 +2,15 @@
+Thu Mar 21 14:02:58 UTC 2019 - Andreas Schneider 
+
+- Update to version 1.2.3
+  * Fixed missing NULL check for socket_wrapper_dir()
+  * Fixes building in Samba source tree
+
+---
+Thu Mar 21 09:00:55 UTC 2019 - Andreas Schneider 
+
+- Update to version 1.2.2
+  * Added environment variable to disable deep binding
+  * Fixed installation of socket_wrapper
+  * Fixed several small bugs
+
+---

Old:

  socket_wrapper-1.2.1.tar.gz
  socket_wrapper-1.2.1.tar.gz.asc

New:

  socket_wrapper-1.2.3.tar.gz
  socket_wrapper-1.2.3.tar.gz.asc



Other differences:
--
++ socket_wrapper.spec ++
--- /var/tmp/diff_new_pack.mdldXi/_old  2019-03-26 15:35:44.096414549 +0100
+++ /var/tmp/diff_new_pack.mdldXi/_new  2019-03-26 15:35:44.096414549 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package socket_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:   socket_wrapper
-Version:1.2.1
+Version:1.2.3
 Release:0
 Summary:A library passing all socket communications trough Unix sockets
 License:BSD-3-Clause
@@ -76,7 +76,7 @@
 
 %files
 %defattr(-,root,root)
-%doc AUTHORS README ChangeLog
+%doc AUTHORS README.md ChangeLog
 %license LICENSE
 %{_libdir}/libsocket_wrapper.so.*
 %{_mandir}/man1/socket_wrapper.1*

++ socket_wrapper-1.2.1.tar.gz -> socket_wrapper-1.2.3.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/socket_wrapper-1.2.1/.gitlab-ci.yml 
new/socket_wrapper-1.2.3/.gitlab-ci.yml
--- old/socket_wrapper-1.2.1/.gitlab-ci.yml 2018-11-13 17:47:01.0 
+0100
+++ new/socket_wrapper-1.2.3/.gitlab-ci.yml 2019-02-20 17:24:34.0 
+0100
@@ -82,12 +82,12 @@
   script:
   - |
 if [[ -z "$CI_COMMIT_BEFORE_SHA" ]]; then
-export CI_COMMIT_BEFORE_SHA=$(git rev-parse HEAD^)
+export CI_COMMIT_BEFORE_SHA=$(git rev-parse "${CI_COMMIT_SHA}~20")
 fi
 
 # Check if the commit exists in this branch
 # This is not the case for a force push
-git branch --contains $CI_COMMIT_BEFORE_SHA 2>/dev/null || export 
CI_COMMIT_BEFORE_SHA=$(git rev-parse HEAD^)
+git branch --contains $CI_COMMIT_BEFORE_SHA 2>/dev/null || export 
CI_COMMIT_BEFORE_SHA=$(git rev-parse "${CI_COMMIT_SHA}~20")
 
 export CI_COMMIT_RANGE="$CI_COMMIT_BEFORE_SHA..$CI_COMMIT_SHA"
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/socket_wrapper-1.2.1/CMakeLists.txt 
new/socket_wrapper-1.2.3/CMakeLists.txt
--- old/socket_wrapper-1.2.1/CMakeLists.txt 2018-11-14 09:17:20.0 
+0100
+++ new/socket_wrapper-1.2.3/CMakeLists.txt 2019-03-21 14:41:58.0 
+0100
@@ -11,7 +11,7 @@
 include(DefineCMakeDefaults)
 include(DefineCompilerFlags)
 
-project(socket_wrapper VERSION 1.2.1 LANGUAGES C)
+project(socket_wrapper VERSION 1.2.3 LANGUAGES C)
 
 # global needed variables
 set(APPLICATION_NAME ${PROJECT_NAME})
@@ -23,15 +23,15 @@
 # Increment AGE. Set REVISION to 0
 #   If the source code was changed, but there were no interface changes:
 # Increment REVISION.
-set(LIBRARY_VERSION "0.1.11")
+set(LIBRARY_VERSION "0.1.13")
 set(LIBRARY_SOVERSION "0")
 
 # add definitions
 include(DefinePlatformDefaults)
-include(DefineInstallationPaths)
 include(DefineOptions.cmake)
 include(CPackConfig.cmake)
 include(CompilerChecks.cmake)
+include(GNUInstallDirs)
 
 # disallow in-source build
 include(MacroEnsureOutOfSourceBuild)
@@ -63,7 +63,7 @@
   FILES
 ${CMAKE_CURRENT_BINARY_DIR}/socket_wrapper.pc
   DESTINATION
-${LIB_INSTALL_DIR}/pkgconfig
+  ${CMAKE_INSTALL_LIBDIR}/pkgconfig
   COMPONENT
 pkgconfig
 )
@@ -76,7 +76,7 @@
 

commit socket_wrapper for openSUSE:Factory

2018-11-14 Thread root
Hello community,

here is the log from the commit of package socket_wrapper for openSUSE:Factory 
checked in at 2018-11-14 14:43:53

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


Package is "socket_wrapper"

Wed Nov 14 14:43:53 2018 rev:10 rq:648869 version:1.2.1

Changes:

--- /work/SRC/openSUSE:Factory/socket_wrapper/socket_wrapper.changes
2018-11-13 17:49:32.067629538 +0100
+++ /work/SRC/openSUSE:Factory/.socket_wrapper.new/socket_wrapper.changes   
2018-11-14 14:44:38.202594488 +0100
@@ -1,0 +2,6 @@
+Wed Nov 14 08:43:12 UTC 2018 - Andreas Schneider 
+
+- Update to version 1.2.1
+  * Removed error message to fix applications doing stupid things
+
+---

Old:

  socket_wrapper-1.2.0.tar.gz
  socket_wrapper-1.2.0.tar.gz.asc

New:

  socket_wrapper-1.2.1.tar.gz
  socket_wrapper-1.2.1.tar.gz.asc



Other differences:
--
++ socket_wrapper.spec ++
--- /var/tmp/diff_new_pack.3kdchK/_old  2018-11-14 14:44:39.306593185 +0100
+++ /var/tmp/diff_new_pack.3kdchK/_new  2018-11-14 14:44:39.314593175 +0100
@@ -24,7 +24,7 @@
 # NOTE ##
 
 Name:   socket_wrapper
-Version:1.2.0
+Version:1.2.1
 Release:0
 Summary:A library passing all socket communications trough Unix sockets
 License:BSD-3-Clause

++ socket_wrapper-1.2.0.tar.gz -> socket_wrapper-1.2.1.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/socket_wrapper-1.2.0/CMakeLists.txt 
new/socket_wrapper-1.2.1/CMakeLists.txt
--- old/socket_wrapper-1.2.0/CMakeLists.txt 2018-11-13 13:56:59.0 
+0100
+++ new/socket_wrapper-1.2.1/CMakeLists.txt 2018-11-14 09:17:20.0 
+0100
@@ -11,7 +11,7 @@
 include(DefineCMakeDefaults)
 include(DefineCompilerFlags)
 
-project(socket_wrapper VERSION 1.2.0 LANGUAGES C)
+project(socket_wrapper VERSION 1.2.1 LANGUAGES C)
 
 # global needed variables
 set(APPLICATION_NAME ${PROJECT_NAME})
@@ -23,7 +23,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.1.10")
+set(LIBRARY_VERSION "0.1.11")
 set(LIBRARY_SOVERSION "0")
 
 # add definitions
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/socket_wrapper-1.2.0/ChangeLog 
new/socket_wrapper-1.2.1/ChangeLog
--- old/socket_wrapper-1.2.0/ChangeLog  2018-11-13 13:56:59.0 +0100
+++ new/socket_wrapper-1.2.1/ChangeLog  2018-11-14 09:17:20.0 +0100
@@ -1,6 +1,9 @@
 ChangeLog
 ==
 
+version 1.2.1 (released 2018-11-14)
+  * Removed error message to fix applications doing stupid things
+
 version 1.2.0 (released 2018-11-13)
   * Added threading support
   * Moved to modern cmake
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/socket_wrapper-1.2.0/src/socket_wrapper.c 
new/socket_wrapper-1.2.1/src/socket_wrapper.c
--- old/socket_wrapper-1.2.0/src/socket_wrapper.c   2018-11-13 
13:56:59.0 +0100
+++ new/socket_wrapper-1.2.1/src/socket_wrapper.c   2018-11-13 
19:22:01.0 +0100
@@ -1539,12 +1539,24 @@
return -1;
}
 
-   if (fd >= socket_fds_max) {
+   if ((size_t)fd >= socket_fds_max) {
+   /*
+* Do not add a log here as some applications do stupid things
+* like:
+*
+* for (fd = 0; fd <= getdtablesize(); fd++) {
+* close(fd)
+* };
+*
+* This would produce millions of lines of debug messages.
+*/
+#if 0
SWRAP_LOG(SWRAP_LOG_ERROR,
- "The max socket index limit of %zu has been reached, "
- "trying to add %d",
- socket_fds_max,
- fd);
+ "Looking for a socket info for the fd %d is over the "
+ "max socket index limit of %zu.",
+ fd,
+ socket_fds_max);
+#endif
return -1;
}
 
@@ -1590,7 +1602,7 @@
 {
int idx;
 
-   if (fd >= socket_fds_max) {
+   if ((size_t)fd >= socket_fds_max) {
SWRAP_LOG(SWRAP_LOG_ERROR,
  "The max socket index limit of %zu has been reached, "
  "trying to add %d",
@@ -3161,9 +3173,10 @@
}
 
SWRAP_LOG(SWRAP_LOG_TRACE,
- 

commit socket_wrapper for openSUSE:Factory

2018-11-13 Thread root
Hello community,

here is the log from the commit of package socket_wrapper for openSUSE:Factory 
checked in at 2018-11-13 17:03:21

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


Package is "socket_wrapper"

Tue Nov 13 17:03:21 2018 rev:9 rq:648734 version:1.2.0

Changes:

--- /work/SRC/openSUSE:Factory/socket_wrapper/socket_wrapper.changes
2017-12-05 01:30:27.432820946 +0100
+++ /work/SRC/openSUSE:Factory/.socket_wrapper.new/socket_wrapper.changes   
2018-11-13 17:49:32.067629538 +0100
@@ -1,0 +2,8 @@
+Tue Nov 13 13:10:34 UTC 2018 - Andreas Schneider 
+
+- Update to version 1.2.0
+  * Added threading support
+  * Moved to modern cmake
+  * Several smaller bugfixes
+
+---

Old:

  socket_wrapper-1.1.9.tar.gz

New:

  socket_wrapper-1.2.0.tar.gz
  socket_wrapper-1.2.0.tar.gz.asc
  socket_wrapper.keyring



Other differences:
--
++ socket_wrapper.spec ++
--- /var/tmp/diff_new_pack.krpzRT/_old  2018-11-13 17:49:32.827628480 +0100
+++ /var/tmp/diff_new_pack.krpzRT/_new  2018-11-13 17:49:32.839628463 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package socket_wrapper
 #
-# 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
@@ -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:   socket_wrapper
-Version:1.1.9
+Version:1.2.0
 Release:0
 Summary:A library passing all socket communications trough Unix sockets
 License:BSD-3-Clause
@@ -32,6 +32,8 @@
 Url:http://cwrap.org/
 Source0:https://ftp.samba.org/pub/cwrap/%{name}-%{version}.tar.gz
 Source1:%{name}-rpmlintrc
+Source2:https://ftp.samba.org/pub/cwrap/%{name}-%{version}.tar.gz.asc
+Source3:socket_wrapper.keyring
 BuildRequires:  cmake
 BuildRequires:  libcmocka-devel
 BuildRequires:  pkg-config
@@ -74,7 +76,8 @@
 
 %files
 %defattr(-,root,root)
-%doc AUTHORS README ChangeLog COPYING
+%doc AUTHORS README ChangeLog
+%license LICENSE
 %{_libdir}/libsocket_wrapper.so.*
 %{_mandir}/man1/socket_wrapper.1*
 %{_libdir}/libsocket_wrapper.so

++ socket_wrapper-1.1.9.tar.gz -> socket_wrapper-1.2.0.tar.gz ++
 28570 lines of diff (skipped)




commit socket_wrapper for openSUSE:Factory

2017-12-04 Thread root
Hello community,

here is the log from the commit of package socket_wrapper for openSUSE:Factory 
checked in at 2017-12-05 01:30:25

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


Package is "socket_wrapper"

Tue Dec  5 01:30:25 2017 rev:8 rq:548058 version:1.1.9

Changes:

--- /work/SRC/openSUSE:Factory/socket_wrapper/socket_wrapper.changes
2017-10-17 01:51:55.272111923 +0200
+++ /work/SRC/openSUSE:Factory/.socket_wrapper.new/socket_wrapper.changes   
2017-12-05 01:30:27.432820946 +0100
@@ -1,0 +2,6 @@
+Mon Dec  4 11:22:22 UTC 2017 - a...@cryptomilk.org
+
+- Update to version 1.1.9
+  * Fixed thread - signal deadlock issue
+
+---

Old:

  socket_wrapper-1.1.8.tar.gz

New:

  socket_wrapper-1.1.9.tar.gz



Other differences:
--
++ socket_wrapper.spec ++
--- /var/tmp/diff_new_pack.bR4fzE/_old  2017-12-05 01:30:28.220792320 +0100
+++ /var/tmp/diff_new_pack.bR4fzE/_new  2017-12-05 01:30:28.224792174 +0100
@@ -24,7 +24,7 @@
 # NOTE ##
 
 Name:   socket_wrapper
-Version:1.1.8
+Version:1.1.9
 Release:0
 Summary:A library passing all socket communications trough Unix sockets
 License:BSD-3-Clause

++ socket_wrapper-1.1.8.tar.gz -> socket_wrapper-1.1.9.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/socket_wrapper-1.1.8/CMakeLists.txt 
new/socket_wrapper-1.1.9/CMakeLists.txt
--- old/socket_wrapper-1.1.8/CMakeLists.txt 2017-10-12 16:47:44.0 
+0200
+++ new/socket_wrapper-1.1.9/CMakeLists.txt 2017-12-04 10:21:00.0 
+0100
@@ -8,7 +8,7 @@
 
 set(APPLICATION_VERSION_MAJOR "1")
 set(APPLICATION_VERSION_MINOR "1")
-set(APPLICATION_VERSION_PATCH "8")
+set(APPLICATION_VERSION_PATCH "9")
 
 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.1.8")
+set(LIBRARY_VERSION "0.1.9")
 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/socket_wrapper-1.1.8/ChangeLog 
new/socket_wrapper-1.1.9/ChangeLog
--- old/socket_wrapper-1.1.8/ChangeLog  2017-10-13 08:18:59.0 +0200
+++ new/socket_wrapper-1.1.9/ChangeLog  2017-12-04 10:21:00.0 +0100
@@ -1,6 +1,9 @@
 ChangeLog
 ==
 
+version 1.1.9 (released 2017-12-04)
+  * Fixed thread - signal deadlock issue
+
 version 1.1.8 (released 2017-10-13)
   * Added support for openat()
   * Added support for open64() and fopen64()
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/socket_wrapper-1.1.8/src/socket_wrapper.c 
new/socket_wrapper-1.1.9/src/socket_wrapper.c
--- old/socket_wrapper-1.1.8/src/socket_wrapper.c   2017-09-07 
07:57:43.0 +0200
+++ new/socket_wrapper-1.1.9/src/socket_wrapper.c   2017-12-04 
10:20:52.0 +0100
@@ -671,37 +671,46 @@
 }
 
 #define swrap_bind_symbol_libc(sym_name) \
-   SWRAP_LOCK(libc_symbol_binding); \
if (swrap.libc.symbols._libc_##sym_name.obj == NULL) { \
-   swrap.libc.symbols._libc_##sym_name.obj = \
-   _swrap_bind_symbol(SWRAP_LIBC, #sym_name); \
-   } \
-   SWRAP_UNLOCK(libc_symbol_binding)
+   SWRAP_LOCK(libc_symbol_binding); \
+   if (swrap.libc.symbols._libc_##sym_name.obj == NULL) { \
+   swrap.libc.symbols._libc_##sym_name.obj = \
+   _swrap_bind_symbol(SWRAP_LIBC, #sym_name); \
+   } \
+   SWRAP_UNLOCK(libc_symbol_binding); \
+   }
 
 #define swrap_bind_symbol_libsocket(sym_name) \
-   SWRAP_LOCK(libc_symbol_binding); \
if (swrap.libc.symbols._libc_##sym_name.obj == NULL) { \
-   swrap.libc.symbols._libc_##sym_name.obj = \
-   _swrap_bind_symbol(SWRAP_LIBSOCKET, #sym_name); \
-   } \
-   SWRAP_UNLOCK(libc_symbol_binding)
+   SWRAP_LOCK(libc_symbol_binding); \
+   if (swrap.libc.symbols._libc_##sym_name.obj == NULL) { \
+   swrap.libc.symbols._libc_##sym_name.obj = \
+   _swrap_bind_symbol(SWRAP_LIBSOCKET, #sym_name); 
\
+   } \
+   SWRAP_UNLOCK(libc_symbol_binding); \
+   }
 
 #define 

commit socket_wrapper for openSUSE:Factory

2017-10-16 Thread root
Hello community,

here is the log from the commit of package socket_wrapper for openSUSE:Factory 
checked in at 2017-10-17 01:51:52

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


Package is "socket_wrapper"

Tue Oct 17 01:51:52 2017 rev:7 rq:533868 version:1.1.8

Changes:

--- /work/SRC/openSUSE:Factory/socket_wrapper/socket_wrapper.changes
2016-06-09 16:16:36.0 +0200
+++ /work/SRC/openSUSE:Factory/.socket_wrapper.new/socket_wrapper.changes   
2017-10-17 01:51:55.272111923 +0200
@@ -1,0 +2,13 @@
+Fri Oct 13 08:50:38 UTC 2017 - a...@cryptomilk.org
+
+- Update to version 1.1.8
+  * Added support for openat()
+  * Added support for open64() and fopen64()
+  * Always enabled logging support
+  * Increased maximum for wrapped interfaces to 64
+  * Improved fd duplication code
+  * Fixed strict-aliasing issues
+  * Fixed some use after free issues
+  * Fixed issues on ppc64le
+
+---

Old:

  socket_wrapper-1.1.7.tar.gz

New:

  socket_wrapper-1.1.8.tar.gz



Other differences:
--
++ socket_wrapper.spec ++
--- /var/tmp/diff_new_pack.5oa1kS/_old  2017-10-17 01:51:56.216067704 +0200
+++ /var/tmp/diff_new_pack.5oa1kS/_new  2017-10-17 01:51:56.220067517 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package socket_wrapper
 #
-# 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
@@ -24,7 +24,7 @@
 # NOTE ##
 
 Name:   socket_wrapper
-Version:1.1.7
+Version:1.1.8
 Release:0
 Summary:A library passing all socket communications trough Unix sockets
 License:BSD-3-Clause

++ socket_wrapper-1.1.7.tar.gz -> socket_wrapper-1.1.8.tar.gz ++
 26465 lines of diff (skipped)




commit socket_wrapper for openSUSE:Factory

2016-06-09 Thread h_root
Hello community,

here is the log from the commit of package socket_wrapper for openSUSE:Factory 
checked in at 2016-06-09 16:12:58

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


Package is "socket_wrapper"

Changes:

--- /work/SRC/openSUSE:Factory/socket_wrapper/socket_wrapper.changes
2016-03-29 14:50:40.0 +0200
+++ /work/SRC/openSUSE:Factory/.socket_wrapper.new/socket_wrapper.changes   
2016-06-09 16:16:36.0 +0200
@@ -1,0 +2,9 @@
+Tue May 31 06:57:22 UTC 2016 - a...@cryptomilk.org
+
+- Update to version 1.1.7
+  * Added support for accept4()
+  * Added support for OpenBSD
+  * Fixed sendto() with UDP and a connected socket
+  * Fixed AF_RAWLINK sockets
+
+---

Old:

  socket_wrapper-1.1.6.tar.gz

New:

  socket_wrapper-1.1.7.tar.gz



Other differences:
--
++ socket_wrapper.spec ++
--- /var/tmp/diff_new_pack.DTpVOl/_old  2016-06-09 16:16:38.0 +0200
+++ /var/tmp/diff_new_pack.DTpVOl/_new  2016-06-09 16:16:38.0 +0200
@@ -24,7 +24,7 @@
 # NOTE ##
 
 Name:   socket_wrapper
-Version:1.1.6
+Version:1.1.7
 Release:0
 Summary:A library passing all socket communications trough Unix sockets
 License:BSD-3-Clause

++ socket_wrapper-1.1.6.tar.gz -> socket_wrapper-1.1.7.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/socket_wrapper-1.1.6/CMakeLists.txt 
new/socket_wrapper-1.1.7/CMakeLists.txt
--- old/socket_wrapper-1.1.6/CMakeLists.txt 2016-03-15 13:54:36.0 
+0100
+++ new/socket_wrapper-1.1.7/CMakeLists.txt 2016-05-17 12:30:49.0 
+0200
@@ -8,7 +8,7 @@
 
 set(APPLICATION_VERSION_MAJOR "1")
 set(APPLICATION_VERSION_MINOR "1")
-set(APPLICATION_VERSION_PATCH "6")
+set(APPLICATION_VERSION_PATCH "7")
 
 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.1.6")
+set(LIBRARY_VERSION "0.1.7")
 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/socket_wrapper-1.1.6/ChangeLog 
new/socket_wrapper-1.1.7/ChangeLog
--- old/socket_wrapper-1.1.6/ChangeLog  2016-03-15 13:54:36.0 +0100
+++ new/socket_wrapper-1.1.7/ChangeLog  2016-05-20 08:57:55.0 +0200
@@ -1,6 +1,12 @@
 ChangeLog
 ==
 
+version 1.1.7 (released 2016-05-20)
+  * Added support for accept4()
+  * Added support for OpenBSD
+  * Fixed sendto() with UDP and a connected socket
+  * Fixed AF_RAWLINK sockets
+
 version 1.1.6 (released 2016-03-15)
   * Added a wrapper for write()
   * Added support for automatic binding of ephemeral ports
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/socket_wrapper-1.1.6/ConfigureChecks.cmake 
new/socket_wrapper-1.1.7/ConfigureChecks.cmake
--- old/socket_wrapper-1.1.6/ConfigureChecks.cmake  2015-03-23 
10:10:06.0 +0100
+++ new/socket_wrapper-1.1.7/ConfigureChecks.cmake  2016-05-17 
11:05:23.0 +0200
@@ -62,6 +62,9 @@
 check_function_exists(eventfd HAVE_EVENTFD)
 check_function_exists(timerfd_create HAVE_TIMERFD_CREATE)
 check_function_exists(bindresvport HAVE_BINDRESVPORT)
+check_function_exists(accept4 HAVE_ACCEPT4)
+
+check_function_exists(pledge HAVE_PLEDGE)
 
 
 if (UNIX)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/socket_wrapper-1.1.6/config.h.cmake 
new/socket_wrapper-1.1.7/config.h.cmake
--- old/socket_wrapper-1.1.6/config.h.cmake 2015-03-23 10:10:06.0 
+0100
+++ new/socket_wrapper-1.1.7/config.h.cmake 2016-05-17 11:05:23.0 
+0200
@@ -39,6 +39,8 @@
 #cmakedefine HAVE_EVENTFD 1
 #cmakedefine HAVE_TIMERFD_CREATE 1
 #cmakedefine HAVE_BINDRESVPORT 1
+#cmakedefine HAVE_ACCEPT4 1
+#cmakedefine HAVE_PLEDGE 1
 
 #cmakedefine HAVE_ACCEPT_PSOCKLEN_T 1
 #cmakedefine HAVE_IOCTL_INT 1
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/socket_wrapper-1.1.6/src/socket_wrapper.c 
new/socket_wrapper-1.1.7/src/socket_wrapper.c
--- old/socket_wrapper-1.1.6/src/socket_wrapper.c   2016-03-02 
09:29:48.0 +0100
+++ new/socket_wrapper-1.1.7/src/socket_wrapper.c   2016-05-17 
11:44:04.0 +0200
@@ -335,9 +335,16 @@
 

commit socket_wrapper for openSUSE:Factory

2016-03-29 Thread h_root
Hello community,

here is the log from the commit of package socket_wrapper for openSUSE:Factory 
checked in at 2016-03-29 14:50:37

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


Package is "socket_wrapper"

Changes:

--- /work/SRC/openSUSE:Factory/socket_wrapper/socket_wrapper.changes
2016-02-17 12:24:53.0 +0100
+++ /work/SRC/openSUSE:Factory/.socket_wrapper.new/socket_wrapper.changes   
2016-03-29 14:50:40.0 +0200
@@ -1,0 +2,9 @@
+Mon Mar 21 18:21:00 UTC 2016 - a...@cryptomilk.org
+
+- Update to version 1.1.6
+  * Added a wrapper for write()
+  * Added support for automatic binding of ephemeral ports
+  * Fixed recvmsg() with UDP
+  * Fixed AF_NETLINK sockets
+
+---

Old:

  socket_wrapper-1.1.5.tar.gz

New:

  socket_wrapper-1.1.6.tar.gz



Other differences:
--
++ socket_wrapper.spec ++
--- /var/tmp/diff_new_pack.5xbYYv/_old  2016-03-29 14:50:41.0 +0200
+++ /var/tmp/diff_new_pack.5xbYYv/_new  2016-03-29 14:50:41.0 +0200
@@ -24,7 +24,7 @@
 # NOTE ##
 
 Name:   socket_wrapper
-Version:1.1.5
+Version:1.1.6
 Release:0
 Summary:A library passing all socket communications trough Unix sockets
 License:BSD-3-Clause

++ socket_wrapper-1.1.5.tar.gz -> socket_wrapper-1.1.6.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/socket_wrapper-1.1.5/CMakeLists.txt 
new/socket_wrapper-1.1.6/CMakeLists.txt
--- old/socket_wrapper-1.1.5/CMakeLists.txt 2015-10-15 09:36:23.0 
+0200
+++ new/socket_wrapper-1.1.6/CMakeLists.txt 2016-03-15 13:54:36.0 
+0100
@@ -8,7 +8,7 @@
 
 set(APPLICATION_VERSION_MAJOR "1")
 set(APPLICATION_VERSION_MINOR "1")
-set(APPLICATION_VERSION_PATCH "5")
+set(APPLICATION_VERSION_PATCH "6")
 
 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.1.5")
+set(LIBRARY_VERSION "0.1.6")
 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/socket_wrapper-1.1.5/ChangeLog 
new/socket_wrapper-1.1.6/ChangeLog
--- old/socket_wrapper-1.1.5/ChangeLog  2015-10-15 10:25:33.0 +0200
+++ new/socket_wrapper-1.1.6/ChangeLog  2016-03-15 13:54:36.0 +0100
@@ -1,6 +1,12 @@
 ChangeLog
 ==
 
+version 1.1.6 (released 2016-03-15)
+  * Added a wrapper for write()
+  * Added support for automatic binding of ephemeral ports
+  * Fixed recvmsg() with UDP
+  * Fixed AF_NETLINK sockets
+
 version 1.1.5 (released 2015-10-15)
   * Added support for TCP_NODELAY in setsockopt/getsockopt
   * Fixed cmsg space calculation
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/socket_wrapper-1.1.5/src/socket_wrapper.c 
new/socket_wrapper-1.1.6/src/socket_wrapper.c
--- old/socket_wrapper-1.1.5/src/socket_wrapper.c   2015-10-15 
09:36:23.0 +0200
+++ new/socket_wrapper-1.1.6/src/socket_wrapper.c   2016-03-02 
09:29:48.0 +0100
@@ -398,6 +398,7 @@
 #ifdef HAVE_TIMERFD_CREATE
int (*libc_timerfd_create)(int clockid, int flags);
 #endif
+   ssize_t (*libc_write)(int fd, const void *buf, size_t count);
ssize_t (*libc_writev)(int fd, const struct iovec *iov, int iovcnt);
 };
 
@@ -837,6 +838,13 @@
 }
 #endif
 
+static ssize_t libc_write(int fd, const void *buf, size_t count)
+{
+   swrap_load_lib_function(SWRAP_LIBC, write);
+
+   return swrap.fns.libc_write(fd, buf, count);
+}
+
 static ssize_t libc_writev(int fd, const struct iovec *iov, int iovcnt)
 {
swrap_load_lib_function(SWRAP_LIBSOCKET, writev);
@@ -1847,11 +1855,10 @@
alloc_len = SWRAP_PACKET_MIN_ALLOC;
}
 
-   base = (uint8_t *)malloc(alloc_len);
+   base = (uint8_t *)calloc(1, alloc_len);
if (base == NULL) {
return NULL;
}
-   memset(base, 0x0, alloc_len);
 
buf = base;
 
@@ -2376,6 +2383,9 @@
case AF_INET6:
 #endif
break;
+#ifdef AF_NETLINK
+   case AF_NETLINK:
+#endif /* AF_NETLINK */
case AF_UNIX:
return libc_socket(family, type, protocol);
default:
@@ -2427,8 +2437,7 @@
swrap_remove_stale(fd);
}
 
- 

commit socket_wrapper for openSUSE:Factory

2016-02-17 Thread h_root
Hello community,

here is the log from the commit of package socket_wrapper for openSUSE:Factory 
checked in at 2016-02-17 10:25:39

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


Package is "socket_wrapper"

Changes:

--- /work/SRC/openSUSE:Factory/socket_wrapper/socket_wrapper.changes
2015-11-02 12:55:11.0 +0100
+++ /work/SRC/openSUSE:Factory/.socket_wrapper.new/socket_wrapper.changes   
2016-02-17 12:24:53.0 +0100
@@ -1,0 +2,5 @@
+Sun Feb 14 11:46:13 UTC 2016 - jeng...@inai.de
+
+- Editorial fixes to the description
+
+---



Other differences:
--
++ socket_wrapper.spec ++
--- /var/tmp/diff_new_pack.aOAilI/_old  2016-02-17 12:24:54.0 +0100
+++ /var/tmp/diff_new_pack.aOAilI/_new  2016-02-17 12:24:54.0 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package socket_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
@@ -42,7 +42,7 @@
 
 %description
 socket_wrapper aims to help client/server software development teams willing to
-gain full functional test coverage. It makes possible to run several instances
+gain full functional test coverage. It makes it possible to run several 
instances
 of the full software stack on the same machine and perform locally functional
 testing of complex network configurations.
 




commit socket_wrapper for openSUSE:Factory

2015-11-02 Thread h_root
Hello community,

here is the log from the commit of package socket_wrapper for openSUSE:Factory 
checked in at 2015-11-02 12:55:09

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


Package is "socket_wrapper"

Changes:

--- /work/SRC/openSUSE:Factory/socket_wrapper/socket_wrapper.changes
2015-09-09 20:21:32.0 +0200
+++ /work/SRC/openSUSE:Factory/.socket_wrapper.new/socket_wrapper.changes   
2015-11-02 12:55:11.0 +0100
@@ -1,0 +2,7 @@
+Thu Oct 15 09:15:14 UTC 2015 - a...@cryptomilk.org
+
+- Update to version 1.1.5
+  * Added support for TCP_NODELAY in setsockopt/getsockopt
+  * Fixed cmsg space calculation
+
+---

Old:

  socket_wrapper-1.1.4.tar.gz

New:

  socket_wrapper-1.1.5.tar.gz



Other differences:
--
++ socket_wrapper.spec ++
--- /var/tmp/diff_new_pack.AkFJdV/_old  2015-11-02 12:55:11.0 +0100
+++ /var/tmp/diff_new_pack.AkFJdV/_new  2015-11-02 12:55:11.0 +0100
@@ -24,7 +24,7 @@
 # NOTE ##
 
 Name:   socket_wrapper
-Version:1.1.4
+Version:1.1.5
 Release:0
 Summary:A library passing all socket communications trough Unix sockets
 License:BSD-3-Clause

++ socket_wrapper-1.1.4.tar.gz -> socket_wrapper-1.1.5.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/socket_wrapper-1.1.4/CMakeLists.txt 
new/socket_wrapper-1.1.5/CMakeLists.txt
--- old/socket_wrapper-1.1.4/CMakeLists.txt 2015-08-24 17:53:17.0 
+0200
+++ new/socket_wrapper-1.1.5/CMakeLists.txt 2015-10-15 09:36:23.0 
+0200
@@ -8,7 +8,7 @@
 
 set(APPLICATION_VERSION_MAJOR "1")
 set(APPLICATION_VERSION_MINOR "1")
-set(APPLICATION_VERSION_PATCH "4")
+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.1.4")
+set(LIBRARY_VERSION "0.1.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/socket_wrapper-1.1.4/ChangeLog 
new/socket_wrapper-1.1.5/ChangeLog
--- old/socket_wrapper-1.1.4/ChangeLog  2015-08-24 17:54:04.0 +0200
+++ new/socket_wrapper-1.1.5/ChangeLog  2015-10-15 10:25:33.0 +0200
@@ -1,6 +1,10 @@
 ChangeLog
 ==
 
+version 1.1.5 (released 2015-10-15)
+  * Added support for TCP_NODELAY in setsockopt/getsockopt
+  * Fixed cmsg space calculation
+
 version 1.1.4 (released 2015-08-25)
   * Fixed handling of msg_name in recvmsg()
   * Fixed sendmsg()/recvmsg() TCP support
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/socket_wrapper-1.1.4/src/socket_wrapper.c 
new/socket_wrapper-1.1.5/src/socket_wrapper.c
--- old/socket_wrapper-1.1.4/src/socket_wrapper.c   2015-08-17 
12:21:00.0 +0200
+++ new/socket_wrapper-1.1.5/src/socket_wrapper.c   2015-10-15 
09:36:23.0 +0200
@@ -248,6 +248,7 @@
int connected;
int defer_connect;
int pktinfo;
+   int tcp_nodelay;
 
/* The unix path so we can unlink it on close() */
struct sockaddr_un un_addr;
@@ -3350,6 +3351,29 @@
   optval,
   optlen);
}
+   } else if (level == IPPROTO_TCP) {
+   switch (optname) {
+#ifdef TCP_NODELAY
+   case TCP_NODELAY:
+   /*
+* This enables sending packets directly out over TCP.
+* As a unix socket is doing that any way, report it as
+* enabled.
+*/
+   if (optval == NULL || optlen == NULL ||
+   *optlen < (socklen_t)sizeof(int)) {
+   errno = EINVAL;
+   return -1;
+   }
+
+   *optlen = sizeof(int);
+   *(int *)optval = si->tcp_nodelay;
+
+   return 0;
+#endif /* TCP_NODELAY */
+   default:
+   break;
+   }
}
 
errno = ENOPROTOOPT;
@@ -3388,6 +3412,35 @@
   optname,
 

commit socket_wrapper for openSUSE:Factory

2015-09-09 Thread h_root
Hello community,

here is the log from the commit of package socket_wrapper for openSUSE:Factory 
checked in at 2015-09-09 20:21:31

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


Package is "socket_wrapper"

Changes:

--- /work/SRC/openSUSE:Factory/socket_wrapper/socket_wrapper.changes
2015-05-15 07:43:29.0 +0200
+++ /work/SRC/openSUSE:Factory/.socket_wrapper.new/socket_wrapper.changes   
2015-09-09 20:21:32.0 +0200
@@ -1,0 +2,9 @@
+Wed Sep  2 11:53:38 UTC 2015 - a...@cryptomilk.org
+
+- Update to version 1.1.4
+  * Fixed handling of msg_name in recvmsg()
+  * Fixed sendmsg()/recvmsg() TCP support
+  * Fixed several compile warnings
+  * Added environment variable to change MTU
+
+---

Old:

  socket_wrapper-1.1.3.tar.gz

New:

  socket_wrapper-1.1.4.tar.gz



Other differences:
--
++ socket_wrapper.spec ++
--- /var/tmp/diff_new_pack.ODzKqH/_old  2015-09-09 20:21:32.0 +0200
+++ /var/tmp/diff_new_pack.ODzKqH/_new  2015-09-09 20:21:32.0 +0200
@@ -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:   socket_wrapper
-Version:1.1.3
+Version:1.1.4
 Release:0
 Summary:A library passing all socket communications trough Unix sockets
 License:BSD-3-Clause
@@ -36,8 +37,8 @@
 BuildRequires:  pkg-config
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 
-Requires:   pkg-config
 Requires:   cmake
+Requires:   pkg-config
 
 %description
 socket_wrapper aims to help client/server software development teams willing to

++ socket_wrapper-1.1.3.tar.gz -> socket_wrapper-1.1.4.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/socket_wrapper-1.1.3/CMakeLists.txt 
new/socket_wrapper-1.1.4/CMakeLists.txt
--- old/socket_wrapper-1.1.3/CMakeLists.txt 2015-02-23 16:51:18.0 
+0100
+++ new/socket_wrapper-1.1.4/CMakeLists.txt 2015-08-24 17:53:17.0 
+0200
@@ -8,7 +8,7 @@
 
 set(APPLICATION_VERSION_MAJOR "1")
 set(APPLICATION_VERSION_MINOR "1")
-set(APPLICATION_VERSION_PATCH "3")
+set(APPLICATION_VERSION_PATCH "4")
 
 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.1.3")
+set(LIBRARY_VERSION "0.1.4")
 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/socket_wrapper-1.1.3/CTestConfig.cmake 
new/socket_wrapper-1.1.4/CTestConfig.cmake
--- old/socket_wrapper-1.1.3/CTestConfig.cmake  2013-12-04 18:20:43.0 
+0100
+++ new/socket_wrapper-1.1.4/CTestConfig.cmake  2015-08-05 15:25:53.0 
+0200
@@ -3,7 +3,7 @@
 set(CTEST_PROJECT_NAME "socketwrapper")
 set(CTEST_NIGHTLY_START_TIME "01:00:00 UTC")
 
-set(CTEST_DROP_METHOD "http")
+set(CTEST_DROP_METHOD "https")
 set(CTEST_DROP_SITE "mock.cryptomilk.org")
 set(CTEST_DROP_LOCATION "/submit.php?project=socketwrapper")
 set(CTEST_DROP_SITE_CDASH TRUE)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/socket_wrapper-1.1.3/ChangeLog 
new/socket_wrapper-1.1.4/ChangeLog
--- old/socket_wrapper-1.1.3/ChangeLog  2015-02-23 16:51:06.0 +0100
+++ new/socket_wrapper-1.1.4/ChangeLog  2015-08-24 17:54:04.0 +0200
@@ -1,6 +1,12 @@
 ChangeLog
 ==
 
+version 1.1.4 (released 2015-08-25)
+  * Fixed handling of msg_name in recvmsg()
+  * Fixed sendmsg()/recvmsg() TCP support
+  * Fixed several compile warnings
+  * Added environment variable to change MTU
+
 version 1.1.3 (released 2015-02-23)
   * Added support for address sanitizer.
   * Fixed leaking of memory and fds of stale sockets.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/socket_wrapper-1.1.3/TODO 
new/socket_wrapper-1.1.4/TODO
--- old/socket_wrapper-1.1.3/TODO   2014-08-27 15:06:21.0 +0200
+++ new/socket_wrapper-1.1.4/TODO   2015-08-05 15:25:53.0 +0200
@@ -9,13 +9,19 @@
 Library:
 -
 
-* Add support for fd passing in sendmsg/recvmsg.
-  Scenario:
-