diff --git a/Makefile b/Makefile new file mode 100644 --- /dev/null +++ b/Makefile @@ -0,0 +1 @@ +include ../Makefile.common diff --git a/abi_used_libs b/abi_used_libs new file mode 100644 --- /dev/null +++ b/abi_used_libs @@ -0,0 +1,6 @@ +libc.so.6 +libcap.so.2 +libcrypto.so.1.0.0 +libidn2.so.0 +libpthread.so.0 +libresolv.so.2 diff --git a/files/0001-Rename-ping-to-iputils-ping.patch b/files/0001-Rename-ping-to-iputils-ping.patch new file mode 100644 --- /dev/null +++ b/files/0001-Rename-ping-to-iputils-ping.patch @@ -0,0 +1,171 @@ +From cc322e5a3d04834d0fbfa9421e42dd1bb58d862f Mon Sep 17 00:00:00 2001 +From: Silke Hofstra +Date: Sun, 8 Mar 2020 18:26:28 +0100 +Subject: [PATCH] Rename ping to iputils-ping + +--- + doc/arping.xml | 2 +- + doc/clockdiff.xml | 2 +- + doc/ninfod.xml | 2 +- + doc/ping.xml | 8 ++++---- + doc/rdisc.xml | 2 +- + doc/tracepath.xml | 2 +- + doc/traceroute6.xml | 2 +- + meson.build | 4 ++-- + ping_common.c | 4 ++-- + 9 files changed, 14 insertions(+), 14 deletions(-) + +diff --git a/doc/arping.xml b/doc/arping.xml +index 711718f..8c4364b 100644 +--- a/doc/arping.xml ++++ b/doc/arping.xml +@@ -228,7 +228,7 @@ xml:id="man.arping"> + SEE ALSO + + +- ping ++ iputils-ping + 8 + , + +diff --git a/doc/clockdiff.xml b/doc/clockdiff.xml +index 24d1943..07ddf3b 100644 +--- a/doc/clockdiff.xml ++++ b/doc/clockdiff.xml +@@ -124,7 +124,7 @@ xml:id="man.clockdiff"> + SEE ALSO + + +- ping ++ iputils-ping + 8 + , + +diff --git a/doc/ninfod.xml b/doc/ninfod.xml +index 081d470..93b13d7 100644 +--- a/doc/ninfod.xml ++++ b/doc/ninfod.xml +@@ -117,7 +117,7 @@ xml:id="man.ninfod"> + + + +- ping ++ iputils-ping + 8 + . + +diff --git a/doc/ping.xml b/doc/ping.xml +index b5cea9c..7ce62f1 100644 +--- a/doc/ping.xml ++++ b/doc/ping.xml +@@ -1,14 +1,14 @@ + ++xml:id="man.iputils-ping"> + + +- ping ++ iputils-ping + iputils + + + + +- ping ++ iputils-ping + + 8 + iputils +@@ -22,7 +22,7 @@ xml:id="man.ping"> + + + +- ping ++ iputils-ping + + + +diff --git a/doc/rdisc.xml b/doc/rdisc.xml +index ab1c673..d93b1f1 100644 +--- a/doc/rdisc.xml ++++ b/doc/rdisc.xml +@@ -231,7 +231,7 @@ xml:id="man.rdisc"> + 7 + , + +- ping ++ iputils-ping + 8 + . + +diff --git a/doc/tracepath.xml b/doc/tracepath.xml +index d1bdcd8..a227fb9 100644 +--- a/doc/tracepath.xml ++++ b/doc/tracepath.xml +@@ -199,7 +199,7 @@ root@mops:~ # tracepath -6 3ffe:2400:0:109::2 + 8 + , + +- ping ++ iputils-ping + 8 + . + +diff --git a/doc/traceroute6.xml b/doc/traceroute6.xml +index 5a72784..f239167 100644 +--- a/doc/traceroute6.xml ++++ b/doc/traceroute6.xml +@@ -78,7 +78,7 @@ xml:id="man.traceroute6"> + 8 + , + +- ping ++ iputils-ping + 8 + . + +diff --git a/meson.build b/meson.build +index 50df973..880daec 100644 +--- a/meson.build ++++ b/meson.build +@@ -245,13 +245,13 @@ libcommon = static_library( + install : false) + + if build_ping == true +- executable('ping', ['ping.c', 'ping_common.c', 'ping6_common.c', git_version_h], ++ executable('iputils-ping', ['ping.c', 'ping_common.c', 'ping6_common.c', git_version_h], + dependencies : [m_dep, cap_dep, idn_dep, intl_dep, crypto_dep, resolv_dep], + link_with : [libcommon], + install: true) + meson.add_install_script('build-aux/setcap-setuid.sh', + join_paths(get_option('prefix'), get_option('bindir')), +- 'ping', ++ 'iputils-ping', + perm_type, + setcap_path + ) +diff --git a/ping_common.c b/ping_common.c +index 9fbaf9d..bb45f4f 100644 +--- a/ping_common.c ++++ b/ping_common.c +@@ -102,7 +102,7 @@ void usage(void) + { + fprintf(stderr, + "\nUsage\n" +- " ping [options] \n" ++ " iputils-ping [options] \n" + "\nOptions:\n" + " dns name or ip address\n" + " -a use audible ping\n" +@@ -141,7 +141,7 @@ void usage(void) + " -6 use IPv6\n" + " -F define flow label, default is random\n" + " -N use icmp6 node info query, try as argument\n" +- "\nFor more details see ping(8).\n" ++ "\nFor more details see iputils-ping(8).\n" + ); + exit(2); + } +-- +2.25.1 + diff --git a/files/series b/files/series new file mode 100644 --- /dev/null +++ b/files/series @@ -0,0 +1 @@ +0001-Rename-ping-to-iputils-ping.patch diff --git a/package.yml b/package.yml new file mode 100644 --- /dev/null +++ b/package.yml @@ -0,0 +1,31 @@ +name : iputils +version : 20190709 +release : 1 +source : + - https://github.com/iputils/iputils/archive/s20190709.tar.gz : a15720dd741d7538dd2645f9f516d193636ae4300ff7dbc8bfca757bf166490a +license : + - GPL-2.0-or-later + - BSD-3-Clause + - Rdisc +component : network.utils +summary : A set of small useful utilities for Linux networking. +description: | + The iputils package is set of small useful utilities for Linux networking. +builddeps : + - pkgconfig(libgcrypt) + - pkgconfig(libidn2) + - docbook-xml + - libcap2-devel + - libxslt +setup : | + %apply_patches + %meson_configure \ + -DBUILD_TRACEROUTE6=true \ + -DBUILD_RARPD=true +build : | + %ninja_build +install : | + %ninja_install + + # Rename ping manpage + mv $installdir/usr/share/man/man8/{,iputils-}ping.8 diff --git a/pspec_x86_64.xml b/pspec_x86_64.xml new file mode 100644 --- /dev/null +++ b/pspec_x86_64.xml @@ -0,0 +1,57 @@ + + + iputils + + Silke Hofstra + silke@slxh.eu + + GPL-2.0-or-later + BSD-3-Clause + Rdisc + network.utils + A set of small useful utilities for Linux networking. + The iputils package is set of small useful utilities for Linux networking. + + https://getsol.us/sources/README.Solus + + + iputils + A set of small useful utilities for Linux networking. + The iputils package is set of small useful utilities for Linux networking. + + network.utils + + /usr/bin/arping + /usr/bin/clockdiff + /usr/bin/iputils-ping + /usr/bin/tftpd + /usr/bin/tracepath + /usr/bin/traceroute6 + /usr/lib/systemd/system/ninfod.service + /usr/lib/systemd/system/rarpd@.service + /usr/lib/systemd/system/rdisc.service + /usr/sbin/ninfod + /usr/sbin/rarpd + /usr/sbin/rdisc + /usr/share/locale/ja/LC_MESSAGES/iputils.mo + /usr/share/man/man8/arping.8 + /usr/share/man/man8/clockdiff.8 + /usr/share/man/man8/iputils-ping.8 + /usr/share/man/man8/ninfod.8 + /usr/share/man/man8/rarpd.8 + /usr/share/man/man8/rdisc.8 + /usr/share/man/man8/tftpd.8 + /usr/share/man/man8/tracepath.8 + /usr/share/man/man8/traceroute6.8 + + + + + 2020-04-26 + 20190709 + Packaging update + Silke Hofstra + silke@slxh.eu + + + \ No newline at end of file