aboutsummaryrefslogtreecommitdiff
path: root/core/dhcpcd
diff options
context:
space:
mode:
Diffstat (limited to 'core/dhcpcd')
-rwxr-xr-xcore/dhcpcd/build14
-rw-r--r--core/dhcpcd/checksums2
-rw-r--r--core/dhcpcd/files/dhcpcd.run2
-rw-r--r--core/dhcpcd/sources2
-rw-r--r--core/dhcpcd/version1
5 files changed, 21 insertions, 0 deletions
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..c035d50a
--- /dev/null
+++ b/core/dhcpcd/checksums
@@ -0,0 +1,2 @@
+808261106c47c692c51e10bef83d364a693ad9216b1be7c4735240b24c2d6715 dhcpcd-8.1.2.tar.gz
+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..ab8475e5
--- /dev/null
+++ b/core/dhcpcd/sources
@@ -0,0 +1,2 @@
+https://github.com/rsmarples/dhcpcd/archive/dhcpcd-8.1.2.tar.gz
+files/dhcpcd.run
diff --git a/core/dhcpcd/version b/core/dhcpcd/version
new file mode 100644
index 00000000..1679acdb
--- /dev/null
+++ b/core/dhcpcd/version
@@ -0,0 +1 @@
+8.1.2 1