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

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


    Date: Thursday, July 31, 2014 @ 21:39:16
  Author: ronald
Revision: 218461

upgpkg: dhcpcd 6.4.3-1

update to 6.4.3; fix building error in test Makefile

Added:
  dhcpcd/trunk/Makefile_test.patch
Modified:
  dhcpcd/trunk/PKGBUILD

---------------------+
 Makefile_test.patch |   11 +++++++++++
 PKGBUILD            |   17 ++++++++++++++---
 2 files changed, 25 insertions(+), 3 deletions(-)

Added: Makefile_test.patch
===================================================================
--- Makefile_test.patch	                        (rev 0)
+++ Makefile_test.patch	2014-07-31 19:39:16 UTC (rev 218461)
@@ -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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2014-07-31 15:54:43 UTC (rev 218460)
+++ PKGBUILD	2014-07-31 19:39:16 UTC (rev 218461)
@@ -4,7 +4,7 @@
 # Contributor: Judd Vinet <jvinet.zeroflux.org>
 
 pkgname=dhcpcd
-pkgver=6.4.2
+pkgver=6.4.3
 pkgrel=1
 pkgdesc="RFC2131 compliant DHCP client daemon"
 url="http://roy.marples.name/projects/dhcpcd/"
@@ -17,11 +17,18 @@
 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')
-sha1sums=('6db613d02fdbeddbe587de9dca93cae307e44918'
+        '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}"
 
@@ -58,3 +65,7 @@
   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')




More information about the arch-commits mailing list