[arch-commits] Commit in dhcpcd/repos (10 files)

Ronald van Haren ronald at archlinux.org
Thu Jul 31 19:39:38 UTC 2014


    Date: Thursday, July 31, 2014 @ 21:39:37
  Author: ronald
Revision: 218462

archrelease: copy trunk to testing-i686, testing-x86_64

Added:
  dhcpcd/repos/testing-i686/
  dhcpcd/repos/testing-i686/Makefile_test.patch
    (from rev 218461, dhcpcd/trunk/Makefile_test.patch)
  dhcpcd/repos/testing-i686/PKGBUILD
    (from rev 218461, dhcpcd/trunk/PKGBUILD)
  dhcpcd/repos/testing-i686/dhcpcd.service
    (from rev 218461, dhcpcd/trunk/dhcpcd.service)
  dhcpcd/repos/testing-i686/dhcpcd_.service
    (from rev 218461, dhcpcd/trunk/dhcpcd_.service)
  dhcpcd/repos/testing-x86_64/
  dhcpcd/repos/testing-x86_64/Makefile_test.patch
    (from rev 218461, dhcpcd/trunk/Makefile_test.patch)
  dhcpcd/repos/testing-x86_64/PKGBUILD
    (from rev 218461, dhcpcd/trunk/PKGBUILD)
  dhcpcd/repos/testing-x86_64/dhcpcd.service
    (from rev 218461, dhcpcd/trunk/dhcpcd.service)
  dhcpcd/repos/testing-x86_64/dhcpcd_.service
    (from rev 218461, dhcpcd/trunk/dhcpcd_.service)

------------------------------------+
 testing-i686/Makefile_test.patch   |   11 +++++
 testing-i686/PKGBUILD              |   71 +++++++++++++++++++++++++++++++++++
 testing-i686/dhcpcd.service        |   13 ++++++
 testing-i686/dhcpcd_.service       |   15 +++++++
 testing-x86_64/Makefile_test.patch |   11 +++++
 testing-x86_64/PKGBUILD            |   71 +++++++++++++++++++++++++++++++++++
 testing-x86_64/dhcpcd.service      |   13 ++++++
 testing-x86_64/dhcpcd_.service     |   15 +++++++
 8 files changed, 220 insertions(+)

Copied: dhcpcd/repos/testing-i686/Makefile_test.patch (from rev 218461, dhcpcd/trunk/Makefile_test.patch)
===================================================================
--- testing-i686/Makefile_test.patch	                        (rev 0)
+++ testing-i686/Makefile_test.patch	2014-07-31 19:39:37 UTC (rev 218462)
@@ -0,0 +1,11 @@
+--- dhcpcd-6.4.3/test/Makefile	2014-07-30 17:13:12.000000000 +0200
++++ test/Makefile	2014-07-31 21:34:43.471109436 +0200
+@@ -3,7 +3,7 @@
+ 
+ PROG=		test
+ SRCS=		test.c
+-SRCS+=		test_hmac_md5.c hmac_md5.c ${MD5_SRC}
++SRCS+=		test_hmac_md5.c ../crypt/hmac_md5.c ../${MD5_SRC}
+ 
+ CFLAGS?=	-O2
+ CSTD?=		c99

Copied: dhcpcd/repos/testing-i686/PKGBUILD (from rev 218461, dhcpcd/trunk/PKGBUILD)
===================================================================
--- testing-i686/PKGBUILD	                        (rev 0)
+++ testing-i686/PKGBUILD	2014-07-31 19:39:37 UTC (rev 218462)
@@ -0,0 +1,71 @@
+# $Id$
+# Maintainer: Ronald van Haren <ronald.archlinux.org>
+# Contributor: Tom Killian <tom.archlinux.org>
+# Contributor: Judd Vinet <jvinet.zeroflux.org>
+
+pkgname=dhcpcd
+pkgver=6.4.3
+pkgrel=1
+pkgdesc="RFC2131 compliant DHCP client daemon"
+url="http://roy.marples.name/projects/dhcpcd/"
+arch=('i686' 'x86_64')
+license=('BSD')
+groups=('base')
+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.bz2"
+        'dhcpcd_.service'
+        'dhcpcd.service'
+	'Makefile_test.patch')
+sha1sums=('d90e5a0537ea902335a48a61703f49b5cd53c8f1'
+          '6f1633edde14d29b5cdc09c4f029a450ef2ebc96'
+          '52c1bad9ab43e9a253c1eb175e7eefb13497b8f9')
+
+prepare() {
+  cd "${srcdir}/${pkgname}-${pkgver}"
+
+  patch -Np0 -i "${srcdir}/Makefile_test.patch"
+}
+
+build() {
+  cd "${srcdir}/${pkgname}-${pkgver}"
+
+  # configure variables
+  ./configure \
+      --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 -d "$pkgdir/usr/share/licenses/$pkgname"
+  sed 26q "$srcdir/$pkgname-$pkgver/control.h" \
+      >>"$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 at .service"
+  install -Dm644 "${srcdir}/dhcpcd.service" "${pkgdir}/usr/lib/systemd/system/dhcpcd.service" # FS#31543
+}
+sha1sums=('d90e5a0537ea902335a48a61703f49b5cd53c8f1'
+          '6f1633edde14d29b5cdc09c4f029a450ef2ebc96'
+          '52c1bad9ab43e9a253c1eb175e7eefb13497b8f9'
+          '5898ea748c7886f47d653ffdfeb23a24d67c01aa')

Copied: dhcpcd/repos/testing-i686/dhcpcd.service (from rev 218461, dhcpcd/trunk/dhcpcd.service)
===================================================================
--- testing-i686/dhcpcd.service	                        (rev 0)
+++ testing-i686/dhcpcd.service	2014-07-31 19:39:37 UTC (rev 218462)
@@ -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-i686/dhcpcd_.service (from rev 218461, dhcpcd/trunk/dhcpcd_.service)
===================================================================
--- testing-i686/dhcpcd_.service	                        (rev 0)
+++ testing-i686/dhcpcd_.service	2014-07-31 19:39:37 UTC (rev 218462)
@@ -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

Copied: dhcpcd/repos/testing-x86_64/Makefile_test.patch (from rev 218461, dhcpcd/trunk/Makefile_test.patch)
===================================================================
--- testing-x86_64/Makefile_test.patch	                        (rev 0)
+++ testing-x86_64/Makefile_test.patch	2014-07-31 19:39:37 UTC (rev 218462)
@@ -0,0 +1,11 @@
+--- dhcpcd-6.4.3/test/Makefile	2014-07-30 17:13:12.000000000 +0200
++++ test/Makefile	2014-07-31 21:34:43.471109436 +0200
+@@ -3,7 +3,7 @@
+ 
+ PROG=		test
+ SRCS=		test.c
+-SRCS+=		test_hmac_md5.c hmac_md5.c ${MD5_SRC}
++SRCS+=		test_hmac_md5.c ../crypt/hmac_md5.c ../${MD5_SRC}
+ 
+ CFLAGS?=	-O2
+ CSTD?=		c99

Copied: dhcpcd/repos/testing-x86_64/PKGBUILD (from rev 218461, dhcpcd/trunk/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD	                        (rev 0)
+++ testing-x86_64/PKGBUILD	2014-07-31 19:39:37 UTC (rev 218462)
@@ -0,0 +1,71 @@
+# $Id$
+# Maintainer: Ronald van Haren <ronald.archlinux.org>
+# Contributor: Tom Killian <tom.archlinux.org>
+# Contributor: Judd Vinet <jvinet.zeroflux.org>
+
+pkgname=dhcpcd
+pkgver=6.4.3
+pkgrel=1
+pkgdesc="RFC2131 compliant DHCP client daemon"
+url="http://roy.marples.name/projects/dhcpcd/"
+arch=('i686' 'x86_64')
+license=('BSD')
+groups=('base')
+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.bz2"
+        'dhcpcd_.service'
+        'dhcpcd.service'
+	'Makefile_test.patch')
+sha1sums=('d90e5a0537ea902335a48a61703f49b5cd53c8f1'
+          '6f1633edde14d29b5cdc09c4f029a450ef2ebc96'
+          '52c1bad9ab43e9a253c1eb175e7eefb13497b8f9')
+
+prepare() {
+  cd "${srcdir}/${pkgname}-${pkgver}"
+
+  patch -Np0 -i "${srcdir}/Makefile_test.patch"
+}
+
+build() {
+  cd "${srcdir}/${pkgname}-${pkgver}"
+
+  # configure variables
+  ./configure \
+      --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 -d "$pkgdir/usr/share/licenses/$pkgname"
+  sed 26q "$srcdir/$pkgname-$pkgver/control.h" \
+      >>"$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 at .service"
+  install -Dm644 "${srcdir}/dhcpcd.service" "${pkgdir}/usr/lib/systemd/system/dhcpcd.service" # FS#31543
+}
+sha1sums=('d90e5a0537ea902335a48a61703f49b5cd53c8f1'
+          '6f1633edde14d29b5cdc09c4f029a450ef2ebc96'
+          '52c1bad9ab43e9a253c1eb175e7eefb13497b8f9'
+          '5898ea748c7886f47d653ffdfeb23a24d67c01aa')

Copied: dhcpcd/repos/testing-x86_64/dhcpcd.service (from rev 218461, dhcpcd/trunk/dhcpcd.service)
===================================================================
--- testing-x86_64/dhcpcd.service	                        (rev 0)
+++ testing-x86_64/dhcpcd.service	2014-07-31 19:39:37 UTC (rev 218462)
@@ -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 218461, dhcpcd/trunk/dhcpcd_.service)
===================================================================
--- testing-x86_64/dhcpcd_.service	                        (rev 0)
+++ testing-x86_64/dhcpcd_.service	2014-07-31 19:39:37 UTC (rev 218462)
@@ -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




More information about the arch-commits mailing list