summaryrefslogtreecommitdiff
path: root/testing/dhcpcd/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'testing/dhcpcd/PKGBUILD')
-rw-r--r--testing/dhcpcd/PKGBUILD17
1 files changed, 10 insertions, 7 deletions
diff --git a/testing/dhcpcd/PKGBUILD b/testing/dhcpcd/PKGBUILD
index 422486a8e..11da0f20b 100644
--- a/testing/dhcpcd/PKGBUILD
+++ b/testing/dhcpcd/PKGBUILD
@@ -1,30 +1,33 @@
-# $Id: PKGBUILD 142023 2011-11-04 06:51:06Z ronald $
+# $Id: PKGBUILD 142367 2011-11-08 21:52:38Z ronald $
# Maintainer: Ronald van Haren <ronald.archlinux.org>
# Contributor: Tom Killian <tom.archlinux.org>
# Contributor: Judd Vinet <jvinet.zeroflux.org>
pkgname=dhcpcd
pkgver=5.2.12
-pkgrel=3
+pkgrel=4
pkgdesc="RFC2131 compliant DHCP client daemon"
url="http://roy.marples.name/dhcpcd/"
arch=('i686' 'x86_64')
license=('BSD')
groups=('base')
-depends=('glibc' 'sh' 'inetutils' 'iproute2')
+depends=('glibc' 'sh')
backup=('etc/conf.d/dhcpcd' 'etc/dhcpcd.conf')
options=('emptydirs') # We Need the Empty /var/lib/dhcpcd Directory
source=("http://roy.marples.name/downloads/$pkgname/$pkgname-$pkgver.tar.bz2" \
- 'dhcpcd.conf.d' 'remove_ifconfig.patch')
+ 'dhcpcd.conf.d' '0001-Set-hostname-via-proc-if-file-is-available.patch' \
+ '0001-set-MTU-via-sysfs-if-file-is-available.patch')
sha1sums=('27378a251705c7888332e6d60eea7805d1f8aeb5'
'b67b9ce6a2faaca75fea356966a16be2283b7db0'
- 'de3e14a24b479b2832c6671ba12586444bd86ebe')
+ 'ee85adac972a8172a9d9b3a1bdd46e0430301582'
+ 'afbed18dc5544f7d0b81e2266b322ca12becf9a4')
build() {
cd ${srcdir}/${pkgname}-${pkgver}
- # remove ifconfig call but use ip (iproute2) instead
- patch -Np0 -i ${srcdir}/remove_ifconfig.patch
+ # remove net-tools dep
+ patch -Np1 -i ${srcdir}/0001-Set-hostname-via-proc-if-file-is-available.patch
+ patch -Np1 -i ${srcdir}/0001-set-MTU-via-sysfs-if-file-is-available.patch
# configure variables
./configure --libexecdir=/usr/lib/dhcpcd --dbdir=/var/lib/dhcpcd