swm_version: 1 base: distro_version: dev pins: {} mutations: - type: source_patch tarball: https://www.sudo.ws/dist/sudo-1.9.17p2.tar.gz sha256: 4a38a1ab3adb1199257edc2a7c4a2bd714665eb605b04368843b06dada2cfcfb build: compiler: zig-cc target: x86_64-linux-musl link: static flags: [] phases: configure: "./configure \\\n\t--build=$CBUILD \\\n\t--host=$CHOST \\\n\t--prefix=/usr \\\n\t--libexecdir=/usr/lib \\\n\t--mandir=/usr/share/man \\\n\t--with-rundir=/run/sudo \\\n\t--with-vardir=/var/lib/sudo \\\n\t--with-tzdir=/usr/share/zoneinfo \\\n\t--with-logdir=/var/log \\\n\t--with-iologdir=/var/log/sudo-io \\\n\t--with-logpath=/var/log/sudo.log \\\n\t--with-relaydir=/var/log/sudo_logsrvd \\\n\t--with-secure-path \\\n\t--disable-shared \\\n\t--enable-static-sudoers \\\n\t--disable-log-server \\\n\t--disable-log-client \\\n\t--disable-nls \\\n\t--with-env-editor \\\n\t--with-mdoc \\\n\t--without-pam \\\n\t--without-skey \\\n\t--without-sssd \\\n\t--with-sendmail=/usr/sbin/sendmail \\\n\t--with-passprompt=\"[sudo] password for %p: \"\n" compile: | make LDFLAGS="-all-static -no-pie" install: | # the sudo's mkinstalldir script miscreates the leading # path components with bad permissions. fix this. install -dm0755 "/out"/var "/out"/var/db make -j1 DESTDIR="/out" INSTALL_OWNER= install LDFLAGS="-all-static -no-pie" # Exactly the same as /etc/sudoers rm -v "/out"/etc/sudoers.dist || true target_bin: /usr/bin/sudo expected_hash: b3:da060131b066920d41b0ff7611f135bda8366a716ca848fadbdc8b30c39812b4 deps: build: - zlib - linux-headers runtime: []