From 6ce04f4fdc5d3f1acb245cc46ee8eaac8d8c66a6 Mon Sep 17 00:00:00 2001 From: Britney Fransen Date: Thu, 13 Aug 2015 16:41:03 +0000 Subject: dhcpcd: back to 6.9.0 resolv.conf is sometimes empty in 6.9.1. https://bbs.archlinux.org/viewtopic.php?pid=1551490 --- abs/core/dhcpcd/PKGBUILD | 6 +++--- abs/core/dhcpcd/dhcpcd_.service | 15 +++++++++++++++ 2 files changed, 18 insertions(+), 3 deletions(-) create mode 100644 abs/core/dhcpcd/dhcpcd_.service 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 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 -- cgit v0.12