crda: bump to version 3.13
authorGustavo Zacarias <gustavo@zacarias.com.ar>
Tue, 24 Jun 2014 17:33:10 +0000 (14:33 -0300)
committerPeter Korsgaard <peter@korsgaard.com>
Wed, 25 Jun 2014 21:55:48 +0000 (23:55 +0200)
[Peter: adjust patch to also drop ldconfig call]
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
package/crda/crda-0002-Add-DESTDIR-support-in-install-libreg-rules.patch [new file with mode: 0644]
package/crda/crda.mk

diff --git a/package/crda/crda-0002-Add-DESTDIR-support-in-install-libreg-rules.patch b/package/crda/crda-0002-Add-DESTDIR-support-in-install-libreg-rules.patch
new file mode 100644 (file)
index 0000000..617d05f
--- /dev/null
@@ -0,0 +1,41 @@
+From 2cabb2588da56735369131b709f191453c080be0 Mon Sep 17 00:00:00 2001
+From: "John W. Linville" <linville@tuxdriver.com>
+Date: Fri, 14 Feb 2014 13:58:44 -0500
+Subject: [PATCH 1/4] crda: Add DESTDIR support in install-libreg* rules in
+ Makefile
+
+Also drop ldconfig call, as that causes problems when cross compiling /
+installing as non-root.
+
+Signed-off-by: John W. Linville <linville@tuxdriver.com>
+Signed-off-by: Luis R. Rodriguez <mcgrof@do-not-panic.com>
+Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
+---
+ Makefile | 8 ++++----
+ 1 file changed, 4 insertions(+), 4 deletions(-)
+
+diff --git a/Makefile b/Makefile
+index 0b2f0d7..1f25509 100644
+--- a/Makefile
++++ b/Makefile
+@@ -120,13 +120,12 @@ $(LIBREG): regdb.h reglib.h reglib.c
+ install-libreg-headers:
+       $(NQ) '  INSTALL  libreg-headers'
+-      $(Q)mkdir -p $(INCLUDE_DIR)
+-      $(Q)cp *.h $(INCLUDE_DIR)/
++      $(Q)mkdir -p $(DESTDIR)/$(INCLUDE_DIR)
++      $(Q)cp *.h $(DESTDIR)/$(INCLUDE_DIR)/
+ install-libreg:
+       $(NQ) '  INSTALL  libreg'
+-      $(Q)mkdir -p $(LIBDIR)
+-      $(Q)cp $(LIBREG) $(LIBDIR)/
+-      $(Q)ldconfig
++      $(Q)mkdir -p $(DESTDIR)/$(LIBDIR)
++      $(Q)cp $(LIBREG) $(DESTDIR)/$(LIBDIR)/
+ %.o: %.c regdb.h $(LIBREG)
+-- 
+1.8.5.5
+
index 01e8684b1bc465e4b214dbdb20e2ed7cd0d12c20..f3d3e8009011d14c0937c86efa484d379f1e1405 100644 (file)
@@ -4,9 +4,9 @@
 #
 ################################################################################
 
-CRDA_VERSION = 1.1.3
-CRDA_SOURCE = crda-$(CRDA_VERSION).tar.bz2
-CRDA_SITE = http://wireless.kernel.org/download/crda
+CRDA_VERSION = 3.13
+CRDA_SOURCE = crda-$(CRDA_VERSION).tar.xz
+CRDA_SITE = $(BR2_KERNEL_MIRROR)/software/network/crda
 CRDA_DEPENDENCIES = host-pkgconf host-python-m2crypto \
        libnl libgcrypt host-python
 CRDA_LICENSE = ISC