summaryrefslogtreecommitdiff
path: root/core/dhcpcd/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'core/dhcpcd/PKGBUILD')
-rw-r--r--core/dhcpcd/PKGBUILD15
1 files changed, 11 insertions, 4 deletions
diff --git a/core/dhcpcd/PKGBUILD b/core/dhcpcd/PKGBUILD
index ab53755ab..75477bfeb 100644
--- a/core/dhcpcd/PKGBUILD
+++ b/core/dhcpcd/PKGBUILD
@@ -1,11 +1,11 @@
-# $Id: PKGBUILD 118799 2011-04-07 19:53:44Z ronald $
+# $Id: PKGBUILD 142553 2011-11-12 07:19:26Z allan $
# 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=1
+pkgrel=4
pkgdesc="RFC2131 compliant DHCP client daemon"
url="http://roy.marples.name/dhcpcd/"
arch=('i686' 'x86_64' 'mips64el')
@@ -15,13 +15,20 @@ 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')
+ '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')
+ 'b67b9ce6a2faaca75fea356966a16be2283b7db0'
+ 'ee85adac972a8172a9d9b3a1bdd46e0430301582'
+ 'afbed18dc5544f7d0b81e2266b322ca12becf9a4')
build() {
cd ${srcdir}/${pkgname}-${pkgver}
+ # 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