Skip to contentSkip to conversation

wireless-regdb: new package

PATCH Superseded Dimitrios Siganos 2 participants 3 messages Mar 24, 2013

v2 of 5 Superseded Latest is v5 →

lore
Share & tools
lore
#1 lore raw

PATCH v2 1/1 wireless-regdb: new package

Dear Dimitrios Siganos,

Quoted 2 lines · Dimitrios Siganos

Changes from v1:
* Replaced ':=' with '='.

Please send your patches with git send-email, otherwise they can't be easily applied and reviewed.

Thanks,

Thomas

Signature · 4 lines
Thomas Petazzoni, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com
#2 lore raw

PATCH v3 1/1 wireless-regdb: new package

Resending v2 patch renamed to v3 using git send-mail. Changes from v1:
Replaced ':=' assignments with '='.

---
 package/Config.in                        |    1 +
 package/wireless-regdb/Config.in         |   10 ++++++++++
 package/wireless-regdb/wireless-regdb.mk |   18 ++++++++++++++++++
 3 files changed, 29 insertions(+)
 create mode 100644 package/wireless-regdb/Config.in
 create mode 100644 package/wireless-regdb/wireless-regdb.mk
package/Config.in +1 -0
index 94e279b..bbd3ea2 100644
@@ -746,6 +746,7 @@ source "package/vtun/Config.in"
 if BR2_PACKAGE_BUSYBOX_SHOW_OTHERS
 source "package/wget/Config.in"
 endif
+source "package/wireless-regdb/Config.in"
 source "package/wireless_tools/Config.in"
 source "package/wireshark/Config.in"
 source "package/wpa_supplicant/Config.in"
package/wireless-regdb/Config.in new file +10 -0
new file mode 100644
index 0000000..89a6147
@@ -0,0 +1,10 @@
+config BR2_PACKAGE_WIRELESS_REGDB
+	bool "wireless-regdb"
+	help
+	  Wireless regulatory database.
+
+	  Wireless regulatory database for CRDA. The database lists the
+	  allowed radio frequencies for each local jurisdiction.
+
+	  http://linuxwireless.org/en/developers/Regulatory
+
package/wireless-regdb/wireless-regdb.mk new file +18 -0
new file mode 100644
index 0000000..f07618e
@@ -0,0 +1,18 @@
+#############################################################
+#
+# wireless-regdb
+#
+#############################################################
+
+WIRELESS_REGDB_VERSION = 2013.01.11
+WIRELESS_REGDB_SOURCE = wireless-regdb-$(WIRELESS_REGDB_VERSION).tar.bz2
+WIRELESS_REGDB_SITE = http://kernel.org/pub/software/network/wireless-regdb
+WIRELESS_REGDB_LICENSE = ISC
+WIRELESS_REGDB_LICENSE_FILES = LICENSE
+
+define WIRELESS_REGDB_INSTALL_TARGET_CMDS
+    install -m 644 -D -T $(@D)/regulatory.bin $(TARGET_DIR)/usr/lib/crda/regulatory.bin
+    install -m 644 -D -T $(@D)/linville.key.pub.pem $(TARGET_DIR)/usr/lib/crda/pubkeys/linville.key.pub.pem
+endef
+
+$(eval $(generic-package))
Signature · 1 line
1.7.9.5