Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package 2ping.17068 for 
openSUSE:Leap:15.2:Update checked in at 2021-10-31 16:07:31
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Leap:15.2:Update/2ping.17068 (Old)
 and      /work/SRC/openSUSE:Leap:15.2:Update/.2ping.17068.new.1890 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "2ping.17068"

Sun Oct 31 16:07:31 2021 rev:1 rq:926484 version:4.5.1

Changes:
--------
New Changes file:

--- /dev/null   2021-10-14 08:13:55.193858881 +0200
+++ /work/SRC/openSUSE:Leap:15.2:Update/.2ping.17068.new.1890/2ping.changes     
2021-10-31 16:07:32.181629618 +0100
@@ -0,0 +1,134 @@
+-------------------------------------------------------------------
+Tue Aug 10 09:28:47 UTC 2021 - Johannes Segitz <jseg...@suse.com>
+
+- Added hardening to systemd service(s). Added patch(es):
+  * harden_2ping.service.patch
+
+-------------------------------------------------------------------
+Mon Jun 14 09:56:20 UTC 2021 - Jiri Slaby <jsl...@suse.cz>
+
+- python symbol is not provided by python 3, use proper python3
+
+-------------------------------------------------------------------
+Mon Mar 22 08:04:21 UTC 2021 - Martin Pluskal <mplus...@suse.com>
+
+- Update to version 4.5.1
+  * 2ping.bash_completion: Make more resilient to failure / missing
+    features.
+  * Minimum Python version changed from 3.5 to 3.6.
+  * Minor no-op code and distribution updates.
+
+-------------------------------------------------------------------
+Mon Jan 25 06:01:09 UTC 2021 - Jiri Slaby <jsl...@suse.cz>
+
+- use one python, not singlespec
+
+-------------------------------------------------------------------
+Thu Jul  9 20:24:04 UTC 2020 - Matthias Eliasson <eli...@opensuse.org>
+
+- Change optional requirements to recommends since they just enhance the tool
+- Use correct package names for the recommends
+
+-------------------------------------------------------------------
+Thu Jul  2 20:19:07 UTC 2020 - Matthias Eliasson <eli...@opensuse.org>
+
+- Update to version 4.5 
+  * Added PyCryptodome support (recommended over PyCrypto, though the latter 
is still detected/supported).
+  * Replaced best_poller module with Python native selectors module.
+  * Changed --flood output: dots/backspaces are no longer printed, and loss 
results / errors display full details.
+  * --audible tones will only occur if stdout is a TTY.
+  * Improved hostname/IP display edge cases.
+  * Added an AF_UNIX --loopback test mode.
+  * Listener sockets are added and removed as needed, instead of being 
re-created on each rescan.
+  * Listener sockets are automatically rescanned periodically.
+  * Multiple systemd sockets are now allowed.
+  * A run can be both a listener and a client at the same time (mainly useful 
for smoke testing).
+  * Other socket handling refactoring.
+  * Other code refactoring.
+  * Listener statistics are displayer per-bind.
+  * Many, many testing/CI improvements.
+- Remove groups in spec
+- Package systemd service unit
+- Add missing optional build requirements to enable all available options 
+- Some other clean up in spec
+
+-------------------------------------------------------------------
+Sun Feb  3 21:12:01 UTC 2019 - Matthias Eliasson <matthias.elias...@gmail.com>
+
+- Update to version 4.3 
+  * Add --srv-service
+  * Change --adaptive behavior to better match ping -A
+  * Fix typos in manpage
+- Ran spec-cleaner
+- Fix rpmlint duplicate error with fdupes
+
+-------------------------------------------------------------------
+Mon Oct 08 05:58:03 UTC 2018 - s...@suspend.net
+
+- Update to version 4.2
+  * Added SIGHUP handling of listener processes
+  * Added an example bash_completion script
+  * Better cleanup handling of peer information
+-------------------------------------------------------------------
+Sat Aug 11 01:03:42 UTC 2018 - r...@fthiessen.de
+
+- Update to version 4.1.2
+  * Fix UTF-8 tests when run with invalid locale.
+  * Fix cleanup on non-encrypted sessions.
+
+-------------------------------------------------------------------
+Wed May 23 14:45:15 UTC 2018 - kbabi...@suse.com
+
+- Use OpenPGP signature provided upstream
+- Added 2ping.keyring, which contains the key from the author 
+
+-------------------------------------------------------------------
+Sat Nov  4 19:24:17 UTC 2017 - aavind...@gmail.com
+
+- Update to version 4.1
+ * Fixed --fuzz CRC function.
+ * Added --encrypt option for shared-secret encrypted packets.
+ * Added --listen --all-interfaces option for automatically binding to
+   all interface IPs (requires Python netifaces module).
+ * Simplified monotonic_clock functionality, relying on Python 3 for
+   most functionality, reducing the possibility of platform bugs.
+- Includes changes from 4.0
+ * Rewrite to Python 3 (3.4 or higher).
+ * Fixed hmac-sha256 handling, added hmac-sha512.
+ * --nagios will now work when combined with --deadline, in addition to
+   --count.
+ * Added Wireshark Lua dissector and sample capture.
+ * Added battery level (ExtID 0x88a1f7c7).  Note that while 2ping
+   recognizes the new option in incoming packets, it currently does not
+   have the capability to send battery levels.
+
+-------------------------------------------------------------------
+Fri Jul 29 09:06:35 UTC 2016 - jeng...@inai.de
+
+- Make rpmlint happy by avoiding installation in %build.
+
+-------------------------------------------------------------------
+Sun Jul 24 12:53:10 UTC 2016 - p.drou...@gmail.com
+
+- Update to version 3.2.1
+  * Please read the ChangeLog; not able to track all changes since
+    previous version
+- Upstream moved to python
+  * Remove %{perl_requires} dependency
+  * Remove perl recommendations; perl(Digest::CRC), perl(Digest::MD5),
+    perl(Digest::SHA) and perl(IO::Socket::INET6)
+  * Add python-devel and python-setuptools requirements
+- Use official tarball and download Url
+- Remove obsolete 2ping-fix-use-of-uninitialized-warning.patch
+
+-------------------------------------------------------------------
+Fri Apr  3 15:29:33 UTC 2015 - jsl...@suse.com
+
+- update to 1397618874.f2c2047
+- 2ping-fix-use-of-uninitialized-warning.patch: add
+
+-------------------------------------------------------------------
+Wed Nov 10 13:11:18 CET 2010 - jsl...@suse.de
+
+- Initial package (version 1.0)
+ 

New:
----
  2ping-4.5.1.tar.gz
  2ping-4.5.1.tar.gz.asc
  2ping.changes
  2ping.keyring
  2ping.spec
  harden_2ping.service.patch

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ 2ping.spec ++++++
#
# spec file for package 2ping
#
# Copyright (c) 2021 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.

# Please submit bugfixes or comments via https://bugs.opensuse.org/
#


Name:           2ping
Version:        4.5.1
Release:        0
Summary:        Bi-directional ping utility
License:        GPL-2.0-or-later
URL:            https://www.finnie.org/software/2ping/
Source0:        https://www.finnie.org/software/2ping/%{name}-%{version}.tar.gz
Source1:        
https://www.finnie.org/software/2ping/%{name}-%{version}.tar.gz.asc
Source2:        %{name}.keyring
Patch0:         harden_2ping.service.patch
BuildRequires:  fdupes
BuildRequires:  python3-devel >= 3.6
BuildRequires:  python3-distro
BuildRequires:  python3-dnspython
BuildRequires:  python3-netifaces
BuildRequires:  python3-pycryptodomex
BuildRequires:  python3-pytest
BuildRequires:  python3-setuptools
BuildRequires:  systemd-rpm-macros
Requires:       python3 >= 3.6
Recommends:     python3-distro
Recommends:     python3-dnspython
Recommends:     python3-netifaces
Recommends:     python3-pycryptodomex
BuildArch:      noarch
%{?systemd_requires}

%description
2ping is a bi-directional ping utility. It uses 3-way pings (akin to TCP SYN,
SYN/ACK, ACK) and after-the-fact state comparison between a 2ping listener and
a 2ping client to determine which direction packet loss occurs.

%prep
%autosetup

%build
%python3_build

%install
%python3_install
install -Dp -m 0644 2ping.service %{buildroot}%{_unitdir}/2ping.service
install -Dp -m 0644 doc/2ping.1 %{buildroot}%{_mandir}/man1/2ping.1
install -Dp -m 0644 doc/2ping.1 %{buildroot}%{_mandir}/man1/2ping6.1

mkdir -p %{buildroot}%{_sbindir}
ln -sf %{_sbindir}/service %{buildroot}%{_sbindir}/rc2ping

# create symlinks for man pages
%fdupes -s %{buildroot}%{_mandir}
# create hardlinks for the rest
%fdupes %{buildroot}%{_prefix}

%check
py.test -v

%pre
%service_add_pre 2ping.service

%post
%service_add_post 2ping.service

%preun
%service_del_preun 2ping.service

%postun
%service_del_postun 2ping.service

%files
%license COPYING.md
%doc ChangeLog.md README.md
%{_bindir}/%{name}
%{_bindir}/%{name}6
%{_mandir}/man1/%{name}.1%{?ext_man}
%{_mandir}/man1/%{name}6.1%{?ext_man}
%{_sbindir}/rc%{name}
%{_unitdir}/2ping.service
%{python3_sitelib}/*

%changelog
++++++ harden_2ping.service.patch ++++++
Index: 2ping-4.5.1/2ping.service
===================================================================
--- 2ping-4.5.1.orig/2ping.service
+++ 2ping-4.5.1/2ping.service
@@ -30,6 +30,11 @@ RestrictAddressFamilies=AF_NETLINK AF_IN
 RestrictNamespaces=yes
 RestrictRealtime=yes
 RestrictSUIDSGID=yes
+# added automatically, for details please see
+# https://en.opensuse.org/openSUSE:Security_Features#Systemd_hardening_effort
+ProtectHostname=true
+ProtectClock=true
+# end of automatic additions 
 User=nobody
 
 [Install]

Reply via email to