Accepting request 1227753 from network:utilities

- Update to version 4.5.1+20241102:
  * get_system_addresses: Guard against netifaces race condition
  * Remove snapcraft definition
  * 2ping.service: Use DynamicUser=yes instead of User=nobody
  * End stats updates
  * Argument parsing cleanups
  * Fix duplicated AUTHOR/AUTHORS section in manpage
  * Tox updates
  * Change license from GPLv2 to Mozilla Public License 2.0

OBS-URL: https://build.opensuse.org/request/show/1227753
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/2ping?expand=0&rev=16
This commit is contained in:
Ana Guerrero 2024-12-02 15:59:44 +00:00 committed by Git OBS Bridge
commit 6c78abe8b8
9 changed files with 47 additions and 25 deletions

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:399271498cb9034528284493450f54830252c07385fe20f5a2401cc9ba11ba7d
size 301067

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:b56beb1b7da1ab23faa6d28462bcab9785021011b3df004d5d3c8a97ed7d70d8
size 77053

View File

@ -1,16 +0,0 @@
-----BEGIN PGP SIGNATURE-----
iQIzBAABCAAdFiEEQuLI3owXOrEC9SxufmCjpoaujZgFAmBWbYYACgkQfmCjpoau
jZgB2hAAmqn5d/FXjbVScGddez0G0jLS0dwlIWDRx2To8/0r8r56YT7g2ob9eAJq
OtIgL4/NFqkB1l4MRUw6KeGXMH37tw553/7TeKapDUv1xoOqaA4wUXfwVcORHuf1
WCfcQJDxRnHJw1SS/IDUZ5j4vtSXENshtITXx3VkfzSH7xowZxoO3ezNL+GlEEiQ
kELjekXFNwvnPgqJQaSCm1gNAC8fQBSOca2WWQCdQu/MhFKBFAgSFcIol/u0lb6U
XsCXU3o+T7WPY9smbF5mOcWtkSTHYnvaBa9groV2ZX3liI9OEBwXdQOIbs+c060n
vOsieZJk8iZCFpPDVOVbz6Hy0qy8GHf35QJAPAPekCZDbmc/pofq2Ps5yHliFnpY
k/LNlJcmf2SH4X3lkSNCrBqh1GjtBhUz3goZf3XtCtlpcIySUjAyTka1uCOdn2ZO
OC/xeEctZsg+XLXErl86TGpWxVmqC8GLRtmDUdY0TqXPiLR1EODJjyOrtrRLO0mG
pSOIsJMNC57urvOfRugPBlU+eh7Wurn3kNx9BCpBa/E+eIt92C0M+f0hzLqyydjR
a61MJh9BrqNf7bwpc7d75nk7DHSKfO3uXDvoxAFRpz1WLofKkgDQX7EqDZDTI2x4
RSC8BnCyqIkRpBROTRuCck7gOgRRfwTP8+M9WAw71Hm2I9OmFhA=
=JIVX
-----END PGP SIGNATURE-----

View File

@ -1,3 +1,16 @@
-------------------------------------------------------------------
Mon Dec 02 11:31:45 UTC 2024 - jslaby@suse.cz
- Update to version 4.5.1+20241102:
* get_system_addresses: Guard against netifaces race condition
* Remove snapcraft definition
* 2ping.service: Use DynamicUser=yes instead of User=nobody
* End stats updates
* Argument parsing cleanups
* Fix duplicated AUTHOR/AUTHORS section in manpage
* Tox updates
* Change license from GPLv2 to Mozilla Public License 2.0
------------------------------------------------------------------- -------------------------------------------------------------------
Wed Oct 4 12:10:52 UTC 2023 - Daniel Garcia <daniel.garcia@suse.com> Wed Oct 4 12:10:52 UTC 2023 - Daniel Garcia <daniel.garcia@suse.com>

4
2ping.obsinfo Normal file
View File

@ -0,0 +1,4 @@
name: 2ping
version: 4.5.1+20241102
mtime: 1730573757
commit: d5b12f80188092b4b77d6c6b210ecf568859ee90

View File

@ -1,7 +1,7 @@
# #
# spec file for package 2ping # spec file for package 2ping
# #
# Copyright (c) 2023 SUSE LLC # Copyright (c) 2024 SUSE LLC
# #
# All modifications and additions to the file contributed by third parties # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@ -17,13 +17,12 @@
Name: 2ping Name: 2ping
Version: 4.5.1 Version: 4.5.1+20241102
Release: 0 Release: 0
Summary: Bi-directional ping utility Summary: Bi-directional ping utility
License: GPL-2.0-or-later License: MPL-2.0
URL: https://www.finnie.org/software/2ping/ URL: https://www.finnie.org/software/2ping/
Source0: https://www.finnie.org/software/2ping/%{name}-%{version}.tar.gz Source0: %{name}-%{version}.tar.xz
Source1: https://www.finnie.org/software/2ping/%{name}-%{version}.tar.gz.asc
Source2: %{name}.keyring Source2: %{name}.keyring
Patch0: harden_2ping.service.patch Patch0: harden_2ping.service.patch
BuildRequires: fdupes BuildRequires: fdupes

18
_service Normal file
View File

@ -0,0 +1,18 @@
<services>
<service name="obs_scm" mode="manual">
<param name="url">https://github.com/rfinnie/2ping</param>
<param name="scm">git</param>
<param name="revision">main</param>
<param name="changesgenerate">enable</param>
<param name="versionformat">@PARENT_TAG@+%cd</param>
<param name="versionrewrite-pattern">v(.*)</param>
<param name="versionrewrite-replacement">\1</param>
</service>
<service name="set_version" mode="manual" />
<service name="tar" mode="buildtime"/>
<service name="recompress" mode="buildtime">
<param name="file">2ping-*.tar</param>
<param name="compression">xz</param>
</service>
</services>

4
_servicedata Normal file
View File

@ -0,0 +1,4 @@
<servicedata>
<service name="tar_scm">
<param name="url">https://github.com/rfinnie/2ping</param>
<param name="changesrevision">d5b12f80188092b4b77d6c6b210ecf568859ee90</param></service></servicedata>

View File

@ -10,6 +10,6 @@ Index: 2ping-4.5.1/2ping.service
+# https://en.opensuse.org/openSUSE:Security_Features#Systemd_hardening_effort +# https://en.opensuse.org/openSUSE:Security_Features#Systemd_hardening_effort
+ProtectHostname=true +ProtectHostname=true
+# end of automatic additions +# end of automatic additions
User=nobody DynamicUser=yes
[Install] [Install]