swm_version: 1 base: distro_version: dev pins: {} mutations: - type: source_patch tarball: https://github.com/iputils/iputils/releases/download/20250605/iputils-20250605.tar.xz sha256: 6f213700dbf96b5cc4499ca70cb15ecd69c09f405b06785bb4a1a10b572b6276 patches: - "From a8591bcd8b5585e3de774a715802be3434f8cfe7 Mon Sep 17 00:00:00 2001\nFrom: Jens Reidel \nDate: Fri, 5 Dec 2025 16:18:03 +0100\nSubject: [PATCH] Use getopt_long for opt parsing in ping\n\nSigned-off-by: Jens Reidel \n---\n ping/ping.c | 3 ++-\n 1 file changed, 2 insertions(+), 1 deletion(-)\n\ndiff --git a/ping/ping.c b/ping/ping.c\nindex 1e976a9..1993fc7 100644\n--- a/ping/ping.c\n+++ b/ping/ping.c\n@@ -54,6 +54,7 @@\n #include \"ping.h\"\n \n #include \n+#include \n #include \n #include \n #include \n@@ -390,7 +391,7 @@ main(int argc, char **argv)\n \t}\n \n \t/* Parse command line options */\n-\twhile ((ch = getopt(argc, argv, \"h?\" \"4bRT:\" \"6F:N:\" \"3aABc:CdDe:fHi:I:l:Lm:M:nOp:qQ:rs:S:t:UvVw:W:\")) != EOF) {\n+\twhile ((ch = getopt_long(argc, argv, \"h?\" \"4bRT:\" \"6F:N:\" \"3aABc:CdDe:fHi:I:l:Lm:M:nOp:qQ:rs:S:t:UvVw:W:\", NULL, NULL)) != EOF) {\n \t\tswitch(ch) {\n \t\t/* IPv4 specific options */\n \t\tcase '4':\n-- \n2.52.0\n\n" build: compiler: zig-cc target: x86_64-linux-musl link: static flags: [] phases: configure: meson setup output --prefix=/usr --buildtype=release -DBUILD_MANS=false -DBUILD_HTML_MANS=false -DNO_SETCAP_OR_SUID=true -DUSE_IDN=false -DUSE_GETTEXT=false -DSKIP_TESTS=true compile: ninja -C output install: DESTDIR=/out ninja -C output install strip_debug: true target_bin: /usr/bin/iputils expected_hash: b3:bf367f33fc000c41287c3b92e5caadee16ca1488ed433ec27ba3817d5b795350 deps: build: - binutils - libcap - linux-headers - meson - samurai - python3 - pkgconf runtime: []