commit libtins for openSUSE:Factory

2023-04-14 Thread Source-Sync
Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package libtins for openSUSE:Factory checked 
in at 2023-04-14 16:54:07

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


Package is "libtins"

Fri Apr 14 16:54:07 2023 rev:6 rq:1079460 version:4.4

Changes:

--- /work/SRC/openSUSE:Factory/libtins/libtins.changes  2022-12-03 
12:48:42.418178182 +0100
+++ /work/SRC/openSUSE:Factory/.libtins.new.19717/libtins.changes   
2023-04-14 16:54:08.372262444 +0200
@@ -1,0 +2,7 @@
+Sat Apr  1 20:11:54 UTC 2023 - Bjørn Lie 
+
+- Add 812be7966d445ec56e88eab512f8fd2d57152427.patch: Fix build
+  with GCC13. Due to changes in GCC13 need fix include.
+- Use autosetup and ldconfig_scriptlets macros.
+
+---

New:

  812be7966d445ec56e88eab512f8fd2d57152427.patch



Other differences:
--
++ libtins.spec ++
--- /var/tmp/diff_new_pack.7LEhhQ/_old  2023-04-14 16:54:08.852265207 +0200
+++ /var/tmp/diff_new_pack.7LEhhQ/_new  2023-04-14 16:54:08.860265253 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package libtins
 #
-# Copyright (c) 2022 SUSE LLC
+# Copyright (c) 2023 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -26,6 +26,7 @@
 URL:https://libtins.github.io/
 Source0:
https://github.com/mfontanini/%{name}/archive/v%{version}.tar.gz
 Patch0: libtins-4.2_build.patch
+Patch1: 
https://github.com/mfontanini/libtins/commit/812be7966d445ec56e88eab512f8fd2d57152427.patch
 BuildRequires:  cmake
 BuildRequires:  gcc-c++
 BuildRequires:  libpcap-devel
@@ -56,8 +57,7 @@
 application that use libtins.
 
 %prep
-%setup -q
-%patch0 -p1
+%autosetup -p1
 
 %build
 %cmake -DLIBTINS_ENABLE_CXX11=1
@@ -65,8 +65,7 @@
 %install
 %make_install -C build
 
-%post -n %{libname} -p /sbin/ldconfig
-%postun -n %{libname} -p /sbin/ldconfig
+%ldconfig_scriptlets -n %{libname}
 
 %files -n %{libname}
 %doc CHANGES.md README.md THANKS

++ 812be7966d445ec56e88eab512f8fd2d57152427.patch ++
>From 812be7966d445ec56e88eab512f8fd2d57152427 Mon Sep 17 00:00:00 2001
From: Vasiliy Glazov 
Date: Tue, 24 Jan 2023 19:29:36 +0300
Subject: [PATCH] Fix build with GCC13 (#496)

Due to changes in GCC13 need fix include.
---
 include/tins/ip_address.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/include/tins/ip_address.h b/include/tins/ip_address.h
index 5e6f6d16..eb28ccb9 100644
--- a/include/tins/ip_address.h
+++ b/include/tins/ip_address.h
@@ -33,7 +33,7 @@
 #include 
 #include 
 #include 
-#include 
+#include 
 #include 
 #include 
 


commit libtins for openSUSE:Factory

2022-12-03 Thread Source-Sync
Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package libtins for openSUSE:Factory checked 
in at 2022-12-03 12:48:37

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


Package is "libtins"

Sat Dec  3 12:48:37 2022 rev:5 rq:1039774 version:4.4

Changes:

--- /work/SRC/openSUSE:Factory/libtins/libtins.changes  2020-09-17 
15:08:04.220893997 +0200
+++ /work/SRC/openSUSE:Factory/.libtins.new.1835/libtins.changes
2022-12-03 12:48:42.418178182 +0100
@@ -1,0 +2,22 @@
+Sat Dec  3 10:09:58 UTC 2022 - Dirk Müller 
+
+- update to 4.4:
+  * Add RFC8335 extended echo types to `ICMP` and `ICMPv6`
+  * Handle loops in DNS name decompression
+  * Fix Windows' `interface` macro colliding with uses of that identifier in 
the code
+  * Sending IPv6 packets to a link-scope destination address now uses the 
right interface index
+  * Fix incorrect endian being used for ICMP's `gateway` and `address_mask`
+  * Socket in `PacketSender::open_l3_socket` is now closed if `setsockopt` 
fails
+  * Fix various incorrect doxygen documentation comments.
+  * Fix infinite loop when querying the routing table in \*BSD
+  * Assign a PDUType to `Dot11ControlTA`
+  * Don't consider IPv6 ESP header a normal extension header
+  * Don't include non-existing headers when installed without libpcap
+  * Add `IPv6Address::is_local_unicast`
+  * Fix memory leak in `PacketWriter`
+  * Fix memory leaks in `OfflinePacketFilter`
+  * Fix detection of new TCP stream
+  * Introduce `TCP::has_flags`
+  * Fix padding calculations in RadioTapWriter
+
+---

Old:

  _service
  v4.2.tar.gz

New:

  v4.4.tar.gz



Other differences:
--
++ libtins.spec ++
--- /var/tmp/diff_new_pack.bbAJP8/_old  2022-12-03 12:48:42.918180975 +0100
+++ /var/tmp/diff_new_pack.bbAJP8/_new  2022-12-03 12:48:42.926181019 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package libtins
 #
-# Copyright (c) 2020 SUSE LLC
+# Copyright (c) 2022 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -16,14 +16,14 @@
 #
 
 
-%define libname  libtins4_2
+%define libname  libtins4_4
 Name:   libtins
-Version:4.2
+Version:4.4
 Release:0
 Summary:C++ library for manipulating raw network packets
 License:BSD-2-Clause
 Group:  Productivity/Networking/Other
-URL:http://libtins.github.io/
+URL:https://libtins.github.io/
 Source0:
https://github.com/mfontanini/%{name}/archive/v%{version}.tar.gz
 Patch0: libtins-4.2_build.patch
 BuildRequires:  cmake
@@ -32,7 +32,6 @@
 BuildRequires:  pkgconfig
 BuildRequires:  pkgconfig(libcrypto)
 BuildRequires:  pkgconfig(libssl)
-BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 
 %description
 The library provides a C++ interface for creating tools which
@@ -67,17 +66,14 @@
 %make_install -C build
 
 %post -n %{libname} -p /sbin/ldconfig
-
 %postun -n %{libname} -p /sbin/ldconfig
 
 %files -n %{libname}
-%defattr(-,root,root)
 %doc CHANGES.md README.md THANKS
 %license LICENSE
 %{_libdir}/%{name}.so.*
 
 %files devel
-%defattr(-,root,root)
 %{_includedir}/tins
 %{_libdir}/pkgconfig/%{name}.pc
 %{_libdir}/%{name}.so

++ v4.2.tar.gz -> v4.4.tar.gz ++
 1898 lines of diff (skipped)