wireless-regdb: new package
authorDimitrios Siganos <dimitris@siganos.org>
Tue, 9 Apr 2013 03:22:19 +0000 (03:22 +0000)
committerPeter Korsgaard <jacmet@sunsite.dk>
Sun, 21 Apr 2013 21:11:04 +0000 (23:11 +0200)
Signed-off-by: Dimitrios Siganos <dimitris@siganos.org>
Acked-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Tested-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
package/Config.in
package/wireless-regdb/Config.in [new file with mode: 0644]
package/wireless-regdb/wireless-regdb.mk [new file with mode: 0644]

index 54a9a2b33e52486bb55635223b80b7488191534d..b9fe72645058825aec5ed3da161fa7c4277112e1 100644 (file)
@@ -765,6 +765,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"
diff --git a/package/wireless-regdb/Config.in b/package/wireless-regdb/Config.in
new file mode 100644 (file)
index 0000000..89a6147
--- /dev/null
@@ -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
+
diff --git a/package/wireless-regdb/wireless-regdb.mk b/package/wireless-regdb/wireless-regdb.mk
new file mode 100644 (file)
index 0000000..b4e038c
--- /dev/null
@@ -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)/etc/wireless-regdb/pubkeys/linville.key.pub.pem
+endef
+
+$(eval $(generic-package))