summaryrefslogtreecommitdiffstats
path: root/abs/core/dhcpcd/PKGBUILD
diff options
context:
space:
mode:
authorBritney Fransen <brfransen@gmail.com>2015-08-10 19:01:30 (GMT)
committerBritney Fransen <brfransen@gmail.com>2015-08-10 19:01:30 (GMT)
commitd8620522693cbf77206b27121f2e68e55f5c6639 (patch)
tree55d123f7cf743bc45c78edac94692004f0e3566f /abs/core/dhcpcd/PKGBUILD
parentda5bc04aaa40ded396de6030ebc723c4299612a8 (diff)
downloadlinhes_pkgbuild-d8620522693cbf77206b27121f2e68e55f5c6639.zip
linhes_pkgbuild-d8620522693cbf77206b27121f2e68e55f5c6639.tar.gz
linhes_pkgbuild-d8620522693cbf77206b27121f2e68e55f5c6639.tar.bz2
dhcpcd: update to 6.9.1
Diffstat (limited to 'abs/core/dhcpcd/PKGBUILD')
-rw-r--r--abs/core/dhcpcd/PKGBUILD40
1 files changed, 22 insertions, 18 deletions
diff --git a/abs/core/dhcpcd/PKGBUILD b/abs/core/dhcpcd/PKGBUILD
index 81ea3be..ede945f 100644
--- a/abs/core/dhcpcd/PKGBUILD
+++ b/abs/core/dhcpcd/PKGBUILD
@@ -1,11 +1,11 @@
-# $Id: PKGBUILD 199762 2013-11-15 21:24:38Z ronald $
+# $Id$
# Maintainer: Ronald van Haren <ronald.archlinux.org>
# Contributor: Tom Killian <tom.archlinux.org>
# Contributor: Judd Vinet <jvinet.zeroflux.org>
pkgname=dhcpcd
-pkgver=6.1.0
-pkgrel=4
+pkgver=6.9.1
+pkgrel=1
pkgdesc="RFC2131 compliant DHCP client daemon"
url="http://roy.marples.name/projects/dhcpcd/"
arch=('i686' 'x86_64')
@@ -15,48 +15,52 @@ depends=('glibc' 'sh')
provides=('dhcp-client')
backup=('etc/dhcpcd.conf')
options=('emptydirs') # We Need the Empty /var/lib/dhcpcd Directory
-source=("http://roy.marples.name/downloads/$pkgname/$pkgname-$pkgver.tar.bz2"
+source=("http://roy.marples.name/downloads/$pkgname/$pkgname-$pkgver.tar.xz"
'dhcpcd_.service'
- 'dhcpcd.service'
- 'dhcpcd.conf.d' )
+ 'dhcpcd.service'
+ 'dhcpcd.conf.d')
build() {
- cd ${srcdir}/${pkgname}-${pkgver}
+ cd "${srcdir}/${pkgname}-${pkgver}"
# configure variables
- ./configure \
+ ./configure \
--sbindir=/usr/bin \
--libexecdir=/usr/lib/dhcpcd \
--libdir=/usr/lib \
--dbdir=/var/lib/dhcpcd \
--rundir=/run
-
-
# Build
make
}
+check() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+
+ make test
+}
+
package() {
- cd ${srcdir}/${pkgname}-${pkgver}
- make DESTDIR=${pkgdir} install
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ make DESTDIR="${pkgdir}" install
# Install Configuration File used in /etc/rc.d/network
install -D -m644 ../dhcpcd.conf.d $pkgdir/etc/conf.d/$pkgname
# Install License
- install -d $pkgdir/usr/share/licenses/$pkgname
+ install -d "$pkgdir/usr/share/licenses/$pkgname"
sed 26q "$srcdir/$pkgname-$pkgver/control.h" \
>>"$pkgdir/usr/share/licenses/$pkgname/LICENSE"
# Set Options in /etc/dhcpcd.conf
- echo noipv4ll >> ${pkgdir}/etc/dhcpcd.conf # Disable ip4vall
+ echo noipv4ll >> "${pkgdir}/etc/dhcpcd.conf" # Disable ip4vall
# install systemd files
- install -Dm644 ${srcdir}/dhcpcd_.service ${pkgdir}/usr/lib/systemd/system/dhcpcd@.service
- install -Dm644 ${srcdir}/dhcpcd.service ${pkgdir}/usr/lib/systemd/system/dhcpcd.service # FS#31543
+ install -Dm644 "${srcdir}/dhcpcd_.service" "${pkgdir}/usr/lib/systemd/system/dhcpcd@.service"
+ install -Dm644 "${srcdir}/dhcpcd.service" "${pkgdir}/usr/lib/systemd/system/dhcpcd.service" # FS#31543
}
-md5sums=('6070040c57492925af9ac6aed980de2a'
+md5sums=('42df0ef5f8a4b07c28faa56f42d55bab'
'98cfea55077ba1680c2e902d669585b3'
- '75bd063ad699609eb84f09b843f0971f'
+ '85056d566b3119c02017cfcff768f710'
'1579b1b17306570078d2d4edfc867983')