diff options
Diffstat (limited to 'abs/core/dhcpcd')
-rw-r--r-- | abs/core/dhcpcd/PKGBUILD | 27 | ||||
-rw-r--r-- | abs/core/dhcpcd/dhcpcd.conf.d | 6 |
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" + |