Ben,
can you please update crda. Otherwise the newest kernels (inclusive 3.16 which
is the most-likely one for Jessie according to your last mail) doesn't work
correctly. This is related to things like DFS which need NL80211_ATTR_DFS_REGION
Btw. crda is now under the copyleft-next-0.3.0. I did not know how to correctly
insert this in debian/copyright and left it alone. Many other things required
to build crda 1.1.3 are in the attached patches.From 2feb0a5390b210f3b9550b4e39fc70fdcb263f8c Mon Sep 17 00:00:00 2001
From: Ben Hutchings b...@decadent.org.uk
Date: Thu, 31 Jul 2014 14:48:10 +0200
Subject: [PATCH 1/6] New upstream version
---
debian/changelog | 6 ++
1 file changed, 6 insertions(+)
diff --git a/debian/changelog b/debian/changelog
index 522446a..8c70a76 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,9 @@
+crda (1.1.3-1) UNRELEASED; urgency=medium
+
+ * New upstream version
+
+ -- Ben Hutchings b...@decadent.org.uk Thu, 31 Jul 2014 14:47:33 +0200
+
crda (1.1.2-1) unstable; urgency=low
* New upstream version
--
2.0.1
From 7f11e03bc663dc8465d58d6020cb52f14c0452b1 Mon Sep 17 00:00:00 2001
From: Ben Hutchings b...@decadent.org.uk
Date: Thu, 31 Jul 2014 14:50:59 +0200
Subject: [PATCH 2/6] Remove upstream merged
crda_add-nested-support-for-libnl-3.2.patch
---
debian/changelog | 1 +
.../crda_add-nested-support-for-libnl-3.2.patch| 82 --
debian/patches/series | 1 -
3 files changed, 1 insertion(+), 83 deletions(-)
delete mode 100644 debian/patches/crda_add-nested-support-for-libnl-3.2.patch
diff --git a/debian/changelog b/debian/changelog
index 8c70a76..7c61731 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,6 +1,7 @@
crda (1.1.3-1) UNRELEASED; urgency=medium
* New upstream version
+ * Remove upstream merged crda_add-nested-support-for-libnl-3.2.patch
-- Ben Hutchings b...@decadent.org.uk Thu, 31 Jul 2014 14:47:33 +0200
diff --git a/debian/patches/crda_add-nested-support-for-libnl-3.2.patch b/debian/patches/crda_add-nested-support-for-libnl-3.2.patch
deleted file mode 100644
index cfcf0fe..000
--- a/debian/patches/crda_add-nested-support-for-libnl-3.2.patch
+++ /dev/null
@@ -1,82 +0,0 @@
-From ac073acee8ce0345c6fc844d1c4a5a8a3d6cfc23 Mon Sep 17 00:00:00 2001
-From: Stefan Lippers-Hollmann s@gmx.de
-Date: Mon, 19 Dec 2011 21:14:21 +0100
-Subject: [PATCH 5/5] crda: add nested support for libnl-3.2
-
-Skip libnl-3.1 due to broken .pc files.
-
-Tested to work with:
-- libnl-3.2.3 (Debian 3.2.3-1)
-
-Changes-licensed-under: ISC
-Signed-off-by: Stefan Lippers-Hollmann s@gmx.de
- Makefile | 25 -
- crda.c |4 ++--
- 2 files changed, 18 insertions(+), 11 deletions(-)
-
-diff --git a/Makefile b/Makefile
-index 084d8e5..5a8ed46 100644
a/Makefile
-+++ b/Makefile
-@@ -48,19 +48,26 @@ INSTALL ?= install
- NL1FOUND := $(shell pkg-config --atleast-version=1 libnl-1 echo Y)
- NL2FOUND := $(shell pkg-config --atleast-version=2 libnl-2.0 echo Y)
- NL3FOUND := $(shell pkg-config --atleast-version=3 libnl-3.0 echo Y)
-+NL32FOUND := $(shell pkg-config --atleast-version=3 libnl-3.2 echo Y)
-
--ifeq ($(NL3FOUND),Y)
-+ifeq ($(NL32FOUND),Y)
- CFLAGS += -DCONFIG_LIBNL30
--NLLIBS += -lnl-genl
--NLLIBNAME = libnl-3.0
-+NLLIBS += $(shell pkg-config --libs libnl-genl-3.2)
-+NLLIBNAME = libnl-3.2
- else
-- ifeq ($(NL2FOUND),Y)
-- CFLAGS += -DCONFIG_LIBNL20
-- NLLIBS += -lnl-genl
-- NLLIBNAME = libnl-2.0
-+ ifeq ($(NL3FOUND),Y)
-+ CFLAGS += -DCONFIG_LIBNL30
-+ NLLIBS += $(shell pkg-config --libs libnl-genl-3.0)
-+ NLLIBNAME = libnl-3.0
- else
-- ifeq ($(NL1FOUND),Y)
-- NLLIBNAME = libnl-1
-+ ifeq ($(NL2FOUND),Y)
-+ CFLAGS += -DCONFIG_LIBNL20
-+ NLLIBS += -lnl-genl
-+ NLLIBNAME = libnl-2.0
-+ else
-+ ifeq ($(NL1FOUND),Y)
-+ NLLIBNAME = libnl-1
-+ endif
- endif
- endif
- endif
-diff --git a/crda.c b/crda.c
-index 1e2ff22..1db54a5 100644
a/crda.c
-+++ b/crda.c
-@@ -21,7 +21,7 @@
- #include regdb.h
- #include reglib.h
-
--#if !defined(CONFIG_LIBNL20) !defined(CONFIG_LIBNL30)
-+#if !defined(CONFIG_LIBNL20) !defined(CONFIG_LIBNL30) !defined(CONFIG_LIBNL32)
- /* libnl 2.0 compatibility code */
- static inline struct nl_handle *nl_socket_alloc(void)
- {
-@@ -44,7 +44,7 @@ static inline int __genl_ctrl_alloc_cache(struct nl_handle *h, struct nl_cache *
-
- #define genl_ctrl_alloc_cache __genl_ctrl_alloc_cache
- #define nl_sock nl_handle
--#endif /* CONFIG_LIBNL20 CONFIG_LIBNL30 */
-+#endif /* CONFIG_LIBNL20 CONFIG_LIBNL30 CONFIG_LIBNL32 */
-
- struct nl80211_state {
- struct nl_sock *nl_sock;
---
-1.7.7.3
-
diff --git a/debian/patches/series b/debian/patches/series
index 25614e2..d82beab 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,2 +1 @@
do_not_embed_pubkeys.patch
-crda_add-nested-support-for-libnl-3.2.patch
--
2.0.1
From 5eea10f7a38b10058e5b83c0c9821fcb4f47ae79 Mon Sep