[arch-commits] Commit in dhcp/trunk (PKGBUILD dhclient at .service)
Felix Yan
fyan at archlinux.org
Fri Sep 11 06:52:09 UTC 2015
Date: Friday, September 11, 2015 @ 08:52:08
Author: fyan
Revision: 245761
upgpkg: dhcp 4.3.3-2
include a systemd unit for dhclient (FS#38420)
Added:
dhcp/trunk/dhclient at .service
Modified:
dhcp/trunk/PKGBUILD
-------------------+
PKGBUILD | 7 ++++++-
dhclient at .service | 10 ++++++++++
2 files changed, 16 insertions(+), 1 deletion(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2015-09-11 06:32:34 UTC (rev 245760)
+++ PKGBUILD 2015-09-11 06:52:08 UTC (rev 245761)
@@ -8,7 +8,7 @@
# separate patch levels with a period to maintain proper versioning.
pkgver=4.3.3
_pkgver=4.3.3
-pkgrel=1
+pkgrel=2
arch=('i686' 'x86_64')
license=('custom:isc-dhcp')
url="https://www.isc.org/software/dhcp"
@@ -16,6 +16,7 @@
source=(ftp://ftp.isc.org/isc/${pkgbase}/${_pkgver}/${pkgbase}-${_pkgver}.tar.gz{,.asc}
dhcpd4.service
dhcpd6.service
+ dhclient at .service
dhcp-4.3.1-client_script-1.patch
dhcp-4.3.1-missing_ipv6-1.patch
arch_patch_over_lfs.patch)
@@ -23,6 +24,7 @@
'SKIP'
'33cceed7056fdceda845eef26934f30f'
'4db26ed8335b908ef8cdee55172a84ed'
+ '06aa2ae46f05fdc784275e6ae54a8f7f'
'c02bddb6c6c33c5885e3dd072ee2ee40'
'da655f02f1cf4d95b4708e84e69edbc8'
'ea45057374098b8ff7e140ecedf7696a')
@@ -98,4 +100,7 @@
# install license
install -m644 -D LICENSE "${pkgdir}/usr/share/licenses/dhclient/LICENSE"
+
+ # install systemd service unit
+ install -m644 -D "$srcdir/dhclient at .service" "${pkgdir}/usr/lib/systemd/system/dhclient at .service"
}
Added: dhclient at .service
===================================================================
--- dhclient at .service (rev 0)
+++ dhclient at .service 2015-09-11 06:52:08 UTC (rev 245761)
@@ -0,0 +1,10 @@
+[Unit]
+Description=dhclient on %I
+Wants=network.target
+Before=network.target
+
+[Service]
+ExecStart=/usr/bin/dhclient -d %I
+
+[Install]
+WantedBy=multi-user.target
More information about the arch-commits
mailing list