Skip to content

Commit 39dc65b

Browse files
cfgnunesjhheiderclaude
authored
new(github.com/iputils/iputils) (#15002)
Co-authored-by: Jacob Heider <jacob@pkgx.dev> Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
1 parent a3065b2 commit 39dc65b

1 file changed

Lines changed: 47 additions & 0 deletions

File tree

Lines changed: 47 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,47 @@
1+
distributable:
2+
url: https://github.com/iputils/iputils/archive/refs/tags/{{version.tag}}.tar.gz
3+
strip-components: 1
4+
5+
versions:
6+
github: iputils/iputils
7+
# tags are YYYYMMDD; the older s-prefixed tags predate the meson build
8+
transform: 'v => v.match(/^(\d{4})(\d{2})(\d{2})$/)?.slice(1).join(".")'
9+
10+
platforms:
11+
- linux
12+
13+
dependencies:
14+
kernel.org/libcap: '*'
15+
gnu.org/libidn2: '*'
16+
17+
build:
18+
dependencies:
19+
mesonbuild.com: '*'
20+
ninja-build.org: '*'
21+
script:
22+
- meson setup build $ARGS
23+
- meson compile -C build
24+
- meson install -C build
25+
# inetutils also provides ping
26+
- run: mv ping ping-iputils
27+
working-directory: '{{prefix}}/bin'
28+
env:
29+
# meson's vcs_tag finds the pantry checkout and stamps its hash as the version
30+
GIT_DIR: /dev/null
31+
ARGS:
32+
- --prefix={{prefix}}
33+
- --buildtype=release
34+
- -DBUILD_MANS=false # needs xsltproc and the docbook stylesheets
35+
- -DUSE_GETTEXT=false
36+
37+
provides:
38+
- bin/arping
39+
- bin/clockdiff
40+
- bin/ping-iputils
41+
- bin/tracepath
42+
43+
test:
44+
- ping-iputils -V | grep {{version.tag}}
45+
- tracepath -V | grep {{version.tag}}
46+
# UDP probes, so no raw-socket capability needed
47+
- tracepath -n -m 1 127.0.0.1 | grep pmtu

0 commit comments

Comments
 (0)