diff --git a/core/dhcpcd/build b/core/dhcpcd/build new file mode 100755 index 00000000..5e4235c7 --- /dev/null +++ b/core/dhcpcd/build @@ -0,0 +1,14 @@ +#!/bin/sh -e + +./configure \ + --prefix=/usr \ + --sbindir=/usr/bin \ + --sysconfdir=/etc \ + --rundir=/run + +make +make DESTDIR="$1" install + +# Install runit service. +install -Dm 755 dhcpcd.run "$1/etc/sv/dhcpcd/run" +ln -s /run/runit/supervise.dhcpcd "$1/etc/sv/dhcpcd/supervise" diff --git a/core/dhcpcd/checksums b/core/dhcpcd/checksums new file mode 100644 index 00000000..eb633b7f --- /dev/null +++ b/core/dhcpcd/checksums @@ -0,0 +1,2 @@ +74ab38177548abe968c2abacefffdd97b573acaedd4f77b6c0a54ae38f68566e dhcpcd-7.2.3.tar.xz +533714c2f3edcd70e47822cb880d8e8ffdba673b10452ea808037ec2714a375c dhcpcd.run diff --git a/core/dhcpcd/files/dhcpcd.run b/core/dhcpcd/files/dhcpcd.run new file mode 100644 index 00000000..0172d7f8 --- /dev/null +++ b/core/dhcpcd/files/dhcpcd.run @@ -0,0 +1,2 @@ +#!/bin/sh +exec dhcpcd -BM 1>&2 diff --git a/core/dhcpcd/sources b/core/dhcpcd/sources new file mode 100644 index 00000000..56154da7 --- /dev/null +++ b/core/dhcpcd/sources @@ -0,0 +1,2 @@ +https://roy.marples.name/downloads/dhcpcd/dhcpcd-7.2.3.tar.xz +files/dhcpcd.run diff --git a/core/dhcpcd/version b/core/dhcpcd/version new file mode 100644 index 00000000..50b4b561 --- /dev/null +++ b/core/dhcpcd/version @@ -0,0 +1 @@ +7.2.3 1