summaryrefslogtreecommitdiffstats
path: root/abs/core/dhcpcd
diff options
context:
space:
mode:
authorBritney Fransen <brfransen@gmail.com>2015-08-13 16:41:03 (GMT)
committerBritney Fransen <brfransen@gmail.com>2015-08-13 16:41:03 (GMT)
commit6ce04f4fdc5d3f1acb245cc46ee8eaac8d8c66a6 (patch)
treef0d44179f59a019f53c7b0b77963063501a6441a /abs/core/dhcpcd
parentb5429bc5fdf0f1d7f94ed75e309b5031eed55a59 (diff)
downloadlinhes_pkgbuild-6ce04f4fdc5d3f1acb245cc46ee8eaac8d8c66a6.zip
linhes_pkgbuild-6ce04f4fdc5d3f1acb245cc46ee8eaac8d8c66a6.tar.gz
linhes_pkgbuild-6ce04f4fdc5d3f1acb245cc46ee8eaac8d8c66a6.tar.bz2
dhcpcd: back to 6.9.0
resolv.conf is sometimes empty in 6.9.1. https://bbs.archlinux.org/viewtopic.php?pid=1551490
Diffstat (limited to 'abs/core/dhcpcd')
-rw-r--r--abs/core/dhcpcd/PKGBUILD6
-rw-r--r--abs/core/dhcpcd/dhcpcd_.service15
2 files changed, 18 insertions, 3 deletions
diff --git a/abs/core/dhcpcd/PKGBUILD b/abs/core/dhcpcd/PKGBUILD
index ede945f..e3a3708 100644
--- a/abs/core/dhcpcd/PKGBUILD
+++ b/abs/core/dhcpcd/PKGBUILD
@@ -4,7 +4,7 @@
# Contributor: Judd Vinet <jvinet.zeroflux.org>
pkgname=dhcpcd
-pkgver=6.9.1
+pkgver=6.9.0
pkgrel=1
pkgdesc="RFC2131 compliant DHCP client daemon"
url="http://roy.marples.name/projects/dhcpcd/"
@@ -15,7 +15,7 @@ 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.xz"
+source=("http://roy.marples.name/downloads/$pkgname/$pkgname-$pkgver.tar.bz2"
'dhcpcd_.service'
'dhcpcd.service'
'dhcpcd.conf.d')
@@ -60,7 +60,7 @@ package() {
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=('42df0ef5f8a4b07c28faa56f42d55bab'
+md5sums=('374fcac1877078a2fc0ef8cd1617a869'
'98cfea55077ba1680c2e902d669585b3'
'85056d566b3119c02017cfcff768f710'
'1579b1b17306570078d2d4edfc867983')
diff --git a/abs/core/dhcpcd/dhcpcd_.service b/abs/core/dhcpcd/dhcpcd_.service
new file mode 100644
index 0000000..e7bc5ca
--- /dev/null
+++ b/abs/core/dhcpcd/dhcpcd_.service
@@ -0,0 +1,15 @@
+[Unit]
+Description=dhcpcd on %I
+Wants=network.target
+Before=network.target
+BindsTo=sys-subsystem-net-devices-%i.device
+After=sys-subsystem-net-devices-%i.device
+
+[Service]
+Type=forking
+PIDFile=/run/dhcpcd-%I.pid
+ExecStart=/usr/bin/dhcpcd -q -w %I
+ExecStop=/usr/bin/dhcpcd -x %I
+
+[Install]
+WantedBy=multi-user.target