swm_version: 1 base: distro_version: dev pins: {} mutations: - type: source_patch tarball: https://github.com/NetworkConfiguration/dhcpcd/releases/download/v10.3.2/dhcpcd-10.3.2.tar.xz sha256: b6aa46932074906a9badef1bfe142b8aff9d041c2689e1ef8b74c12e9fd942bd patches: - "diff --git a/hooks/dhcpcd-run-hooks.in b/hooks/dhcpcd-run-hooks.in\nindex 91df64b..c6fb8c6 100644\n--- a/hooks/dhcpcd-run-hooks.in\n+++ b/hooks/dhcpcd-run-hooks.in\n@@ -179,7 +179,7 @@ syslog()\n \t*)\t\techo \"$interface: $*\";;\n \tesac\n \tif command -v logger >/dev/null 2>&1; then\n-\t\tlogger -i -p daemon.\"$lvl\" -t dhcpcd-run-hooks \"$interface: $*\"\n+\t\tlogger -p daemon.\"$lvl\" -t dhcpcd-run-hooks \"$interface: $*\"\n \tfi\n }\n \n" - "--- a/hooks/50-ntp.conf\n+++ b/hooks/50-ntp.conf\n@@ -17,7 +17,7 @@\n # above examples.\n \n : ${ntp_confs:=ntp.conf ntpd.conf chrony.conf}\n-: ${ntp_conf_dirs=/etc /usr/pkg/etc /usr/local/etc}\n+: ${ntp_conf_dirs=/etc /etc/chrony /usr/pkg/etc /usr/local/etc}\n ntp_conf_dir=\"$state_dir/ntp.conf\"\n \n # If NTP_CONF is not set, work out a good default\n" build: compiler: zig-cc target: x86_64-linux-musl link: static flags: [] phases: compile: "_abuild_phase() {\n./configure \\\n\t\t--build=$CBUILD \\\n\t\t--host=$CHOST \\\n\t\t--sysconfdir=/etc \\\n\t\t--mandir=/usr/share/man \\\n\t\t--localstatedir=/var \\\n\t\t--libexecdir=/usr/lib/dhcpcd \\\n\t\t--dbdir=/var/lib/dhcpcd \\\n\t\t--rundir=/run/dhcpcd \\\n\t\t--runstatedir=/run/dhcpcd \\\n\t\t--enable-ipv6 \\\n\t\t--enable-privsep \\\n\t\t--enable-seccomp \\\n\t\t--without-dev \\\n\t\t--without-udev\n\tmake\n}\n_abuild_phase\n" install: | _abuild_phase() { make DESTDIR="/out" install } _abuild_phase strip_debug: true target_bin: /usr/sbin/dhcpcd expected_hash: b3:c2cd34287983f133c1925697c46b727fab5cc99874aa65751b1a305df6fffac5 deps: build: - binutils - linux-headers - make - pkgconf runtime: []