summaryrefslogtreecommitdiffstats
path: root/abs/core/dhcpcd
diff options
context:
space:
mode:
authorJames Meyer <James.meyer@operamail.com>2008-10-02 03:19:12 (GMT)
committerJames Meyer <James.meyer@operamail.com>2008-10-02 03:19:12 (GMT)
commit0e2532d4e8f4eed5e047f1db54d5c03ba849ec0a (patch)
treec0aa2c0b53c317be87eacfcb77b63f53f1f415e7 /abs/core/dhcpcd
downloadlinhes_pkgbuild-0e2532d4e8f4eed5e047f1db54d5c03ba849ec0a.zip
linhes_pkgbuild-0e2532d4e8f4eed5e047f1db54d5c03ba849ec0a.tar.gz
linhes_pkgbuild-0e2532d4e8f4eed5e047f1db54d5c03ba849ec0a.tar.bz2
initial import
Diffstat (limited to 'abs/core/dhcpcd')
-rw-r--r--abs/core/dhcpcd/PKGBUILD27
-rw-r--r--abs/core/dhcpcd/dhcpcd.conf.d6
2 files changed, 33 insertions, 0 deletions
diff --git a/abs/core/dhcpcd/PKGBUILD b/abs/core/dhcpcd/PKGBUILD
new file mode 100644
index 0000000..dfc1914
--- /dev/null
+++ b/abs/core/dhcpcd/PKGBUILD
@@ -0,0 +1,27 @@
+# $Id: PKGBUILD 356 2008-04-18 22:56:27Z aaron $
+# Maintainer: judd <jvinet@zeroflux.org>
+pkgname=dhcpcd
+pkgver=3.2.1
+pkgrel=10
+pkgdesc="A DHCP client daemon"
+arch=(i686 x86_64)
+license=('BSD')
+url="http://roy.marples.name/dhcpcd"
+groups=('base')
+depends=('glibc')
+backup=('etc/conf.d/dhcpcd')
+source=(http://roy.marples.name/dhcpcd/$pkgname-$pkgver.tar.bz2
+ dhcpcd.conf.d)
+md5sums=('5a437882b6b9eb29bde323dc411be4a4'
+ '12d866a78d9f5fa5f31ca18b3940d847')
+
+build() {
+ cd $startdir/src/$pkgname-$pkgver
+ #disable DUID usage
+ echo "#undef ENABLE_DUID" >> config.h
+ make || return 1
+ make DESTDIR=$startdir/pkg install
+ mkdir -p $startdir/pkg/usr/sbin
+ ln -sf /sbin/dhcpcd $startdir/pkg/usr/sbin/dhcpcd
+ install -D -m644 ../dhcpcd.conf.d $startdir/pkg/etc/conf.d/dhcpcd
+}
diff --git a/abs/core/dhcpcd/dhcpcd.conf.d b/abs/core/dhcpcd/dhcpcd.conf.d
new file mode 100644
index 0000000..9f5a80b
--- /dev/null
+++ b/abs/core/dhcpcd/dhcpcd.conf.d
@@ -0,0 +1,6 @@
+#
+# Arguments to be passed to the DHCP client daemon
+#
+
+DHCPCD_ARGS="-t 30 -h $HOSTNAME"
+