swm_version: 1 base: distro_version: dev pins: {} mutations: - type: source_patch tarball: https://download.samba.org/pub/rsync/rsync-3.5.0.tar.gz sha256: c7ffd1ef653e99540f661e47cb00b7f9cad1ee6b972399b16f93d672656e0d33 patches: - "rootbld makes all the supplementary groups nobody(65534);\nthis patch avoids using them in tests\n\ndiff --git a/getgroups.c b/getgroups.c\nindex 8a37ed0..01adfca 100644\n--- a/getgroups.c\n+++ b/getgroups.c\n@@ -48,6 +48,7 @@\n #endif\n \n \tfor (i = 0; i < n; i++) {\n+\t\tif (list[i] == 65534) continue;\n \t\tprintf(\"%lu \", (unsigned long)list[i]);\n \t\tif (list[i] == gid)\n \t\t\tgid_in_list = 1;\n" build: compiler: zig-cc target: x86_64-linux-musl link: static flags: [] phases: configure: "cp rrsync.1 support/rrsync.1\n./configure \\\n\t--build=$CBUILD \\\n\t--host=$CHOST \\\n\t--prefix=/usr \\\n\t--sysconfdir=/etc \\\n\t--mandir=/usr/share/man \\\n\t--localstatedir=/var \\\n\t--disable-acl-support \\\n\t--disable-xattr-support \\\n\t--disable-xxhash \\\n\t--disable-lz4 \\\n\t--with-rrsync \\\n\t--with-included-popt \\\n\t--with-included-zlib \\\n\t--disable-md2man \\\n\t--disable-openssl\n\t# deps externas quitadas (no en catálogo): popt/zlib embebidos; acl/xattr/xxhash/lz4/openssl deshabilitados.\n\t# zstd YA NO: se deshabilitaba porque no estaba en el catálogo, y el resultado era que el rsync\n\t# del propio corpus no podía correr el respaldo del propio corpus —que pide\n\t# `--compress-choice=zstd`— muriendo con `unknown compress name: zstd` (SDD 28 §6.9). La receta\n\t# de zstd existe y está sellada, así que entra como dep y el soporte se enciende.\n" compile: | make install: | make DESTDIR="/out" install target_bin: /usr/bin/rsync expected_hash: b3:e6f940d3aa39caa80da383c3f68b17ac8c963b4090635872dbb6eeceb0ebd45d deps: build: - zlib - linux-headers - zstd runtime: []