[arch-commits] Commit in dhcpcd/trunk (PKGBUILD dhcpcd.service)

Ronald van Haren ronald at archlinux.org
Tue Jul 31 20:33:37 UTC 2012


    Date: Tuesday, July 31, 2012 @ 16:33:37
  Author: ronald
Revision: 164379

upgpkg: dhcpcd 5.6.0-1

update to 5.6.0; add systemd file

Added:
  dhcpcd/trunk/dhcpcd.service
Modified:
  dhcpcd/trunk/PKGBUILD

----------------+
 PKGBUILD       |   14 +++++++++-----
 dhcpcd.service |   13 +++++++++++++
 2 files changed, 22 insertions(+), 5 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2012-07-31 20:17:23 UTC (rev 164378)
+++ PKGBUILD	2012-07-31 20:33:37 UTC (rev 164379)
@@ -4,10 +4,10 @@
 # Contributor: Judd Vinet <jvinet.zeroflux.org>
 
 pkgname=dhcpcd
-pkgver=5.5.6
+pkgver=5.6.0
 pkgrel=1
 pkgdesc="RFC2131 compliant DHCP client daemon"
-url="http://roy.marples.name/dhcpcd/"
+url="http://roy.marples.name/projects/dhcpcd/"
 arch=('i686' 'x86_64')
 license=('BSD')
 groups=('base')
@@ -15,9 +15,10 @@
 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')
-sha1sums=('7f9ca207bce051252c0acb6a6cae3de22babcb20'
-          'b67b9ce6a2faaca75fea356966a16be2283b7db0')
+        'dhcpcd.conf.d' 'dhcpcd.service')
+sha1sums=('28ad6931393420a72da307ee173466a9e00cd952'
+          'b67b9ce6a2faaca75fea356966a16be2283b7db0'
+          '3d0542eab1b89a88d56ca427128228ac72c40d1f')
 
 build() {
   cd ${srcdir}/${pkgname}-${pkgver}
@@ -48,4 +49,7 @@
 
   # Set Options in /etc/dhcpcd.conf
   echo noipv4ll >> ${pkgdir}/etc/dhcpcd.conf # Disable ip4vall
+
+  # install systemd files
+  install -Dm644 ${srcdir}/dhcpcd.service ${pkgdir}/usr/lib/systemd/system/dhcpcd at .service
 }

Added: dhcpcd.service
===================================================================
--- dhcpcd.service	                        (rev 0)
+++ dhcpcd.service	2012-07-31 20:33:37 UTC (rev 164379)
@@ -0,0 +1,13 @@
+[Unit]
+Description=dhcpcd on %I
+Wants=network.target
+Before=network.target
+
+[Service]
+Type=forking
+PIDFile=/run/dhcpcd-%I.pid
+ExecStart=/sbin/dhcpcd -A -q -w %I
+ExecStop=/sbin/dhcpcd -k %I
+
+[Install]
+Alias=multi-user.target.wants/dhcpcd at eth0.service




More information about the arch-commits mailing list