Date: Monday, February 12, 2018 @ 11:29:03
  Author: ronald
Revision: 316717

archrelease: copy trunk to testing-x86_64

Added:
  dhcpcd/repos/testing-x86_64/
  dhcpcd/repos/testing-x86_64/PKGBUILD
    (from rev 316716, dhcpcd/trunk/PKGBUILD)
  dhcpcd/repos/testing-x86_64/dhcpcd.service
    (from rev 316716, dhcpcd/trunk/dhcpcd.service)
  dhcpcd/repos/testing-x86_64/dhcpcd_.service
    (from rev 316716, dhcpcd/trunk/dhcpcd_.service)

-----------------+
 PKGBUILD        |   62 ++++++++++++++++++++++++++++++++++++++++++++++++++++++
 dhcpcd.service  |   13 +++++++++++
 dhcpcd_.service |   15 +++++++++++++
 3 files changed, 90 insertions(+)

Copied: dhcpcd/repos/testing-x86_64/PKGBUILD (from rev 316716, 
dhcpcd/trunk/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD                             (rev 0)
+++ testing-x86_64/PKGBUILD     2018-02-12 11:29:03 UTC (rev 316717)
@@ -0,0 +1,62 @@
+# $Id$
+# Maintainer: Ronald van Haren <ronald.archlinux.org>
+# Contributor: Tom Killian <tom.archlinux.org>
+# Contributor: Judd Vinet <jvinet.zeroflux.org>
+
+pkgname=dhcpcd
+pkgver=7.0.1
+pkgrel=1
+pkgdesc="RFC2131 compliant DHCP client daemon"
+url="http://roy.marples.name/projects/dhcpcd/";
+arch=('x86_64')
+license=('BSD')
+groups=('base')
+depends=('glibc' 'sh' 'udev' 'libsystemd')
+optdepends=('openresolv: resolvconf support')
+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";
+        'dhcpcd_.service'
+        'dhcpcd.service')
+sha1sums=('745526c021223413c3e08653df04875c0323e415'
+          '6f1633edde14d29b5cdc09c4f029a450ef2ebc96'
+          '52c1bad9ab43e9a253c1eb175e7eefb13497b8f9')
+
+build() {
+  cd "${srcdir}/${pkgname}-${pkgver}"
+
+  # configure variables
+  ./configure \
+      --prefix=/usr \
+      --sysconfdir=/etc \
+      --sbindir=/usr/bin \
+      --libexecdir=/usr/lib/dhcpcd \
+      --dbdir=/var/lib/dhcpcd \
+      --rundir=/run
+
+  # Build
+  make
+}
+
+check() {
+  cd "${srcdir}/${pkgname}-${pkgver}"
+
+  make test
+}
+
+package() {
+  cd "${srcdir}/${pkgname}-${pkgver}"
+  make DESTDIR="${pkgdir}" install
+
+  # Install License
+  install -Dm644 "${srcdir}/${pkgname}-${pkgver}/LICENSE" \
+         "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+
+  # 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@.service"
+  install -Dm644 "${srcdir}/dhcpcd.service" 
"${pkgdir}/usr/lib/systemd/system/dhcpcd.service" # FS#31543
+}

Copied: dhcpcd/repos/testing-x86_64/dhcpcd.service (from rev 316716, 
dhcpcd/trunk/dhcpcd.service)
===================================================================
--- testing-x86_64/dhcpcd.service                               (rev 0)
+++ testing-x86_64/dhcpcd.service       2018-02-12 11:29:03 UTC (rev 316717)
@@ -0,0 +1,13 @@
+[Unit]
+Description=dhcpcd on all interfaces
+Wants=network.target
+Before=network.target
+
+[Service]
+Type=forking
+PIDFile=/run/dhcpcd.pid
+ExecStart=/usr/bin/dhcpcd -q -b
+ExecStop=/usr/bin/dhcpcd -x
+
+[Install]
+WantedBy=multi-user.target

Copied: dhcpcd/repos/testing-x86_64/dhcpcd_.service (from rev 316716, 
dhcpcd/trunk/dhcpcd_.service)
===================================================================
--- testing-x86_64/dhcpcd_.service                              (rev 0)
+++ testing-x86_64/dhcpcd_.service      2018-02-12 11:29:03 UTC (rev 316717)
@@ -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

Reply via email to