swm_version: 1 base: distro_version: dev pins: {} mutations: - type: source_patch tarball: https://github.com/lsof-org/lsof/archive/4.99.7/lsof-4.99.7.tar.gz sha256: bac1b0acbc50aede42fc97dffaa0b0475e97973e36a6351de5f349c6155afc68 patches: - "--- a/lib/dialects/linux/machine.h\n+++ b/lib/dialects/linux/machine.h\n@@ -390,7 +390,7 @@\n * (the one that its user logged on with) of the lsof process.\n */\n \n-/* #define\tHASSECURITY\t1 */\n+#define\tHASSECURITY\t1\n \n /*\n * If HASSECURITY is defined, define HASNOSOCKSECURITY to allow users\n" build: compiler: zig-cc target: x86_64-linux-musl link: static flags: [] phases: compile: "_abuild_phase() {\n./Configure -n linux\n\t# El script Configure genera su propia línea de link (${CC} -o lsof ... ${CFGL})\n\t# e ignora los LDFLAGS estáticos de hammer; forzamos -static por CC. link=static.\n\tmake CC=\"cc -static\" LDFLAGS=\"-all-static -no-pie\"\n}\n_abuild_phase\n" install: "_abuild_phase() {\ninstall -Dm0755 lsof -t \"/out\"/usr/bin/\n\tinstall -Dm0644 Lsof.8 \"/out\"/usr/share/man/man8/lsof.8\n\tinstall -Dm0644 COPYING -t \"/out\"/usr/share/licenses/lsof/\n}\n_abuild_phase\n" target_bin: /usr/bin/lsof expected_hash: b3:e385dc21849c4b6eb27660dae42fddaeba8b35d7a6c929fa58726cafb694e39a deps: build: - linux-headers runtime: []