* [Buildroot] [PATCH v4] wireless-regdb: new package
@ 2013-03-24 22:45 Dimitrios Siganos
2013-04-07 13:37 ` Gustavo Zacarias
0 siblings, 1 reply; 3+ messages in thread
From: Dimitrios Siganos @ 2013-03-24 22:45 UTC (permalink / raw)
To: buildroot
Signed-off-by: Dimitrios Siganos <dimitris@siganos.org>
---
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
diff --git a/package/Config.in b/package/Config.in
index 94e279b..bbd3ea2 100644
--- a/package/Config.in
+++ b/package/Config.in
@@ -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"
diff --git a/package/wireless-regdb/Config.in b/package/wireless-regdb/Config.in
new file mode 100644
index 0000000..89a6147
--- /dev/null
+++ b/package/wireless-regdb/Config.in
@@ -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
index 0000000..f07618e
--- /dev/null
+++ b/package/wireless-regdb/wireless-regdb.mk
@@ -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))
--
1.7.9.5
^ permalink raw reply related [flat|nested] 3+ messages in thread
* [Buildroot] [PATCH v4] wireless-regdb: new package
2013-03-24 22:45 [Buildroot] [PATCH v4] wireless-regdb: new package Dimitrios Siganos
@ 2013-04-07 13:37 ` Gustavo Zacarias
2013-04-08 10:15 ` Dimitrios Siganos
0 siblings, 1 reply; 3+ messages in thread
From: Gustavo Zacarias @ 2013-04-07 13:37 UTC (permalink / raw)
To: buildroot
On 03/24/2013 07:45 PM, Dimitrios Siganos wrote:
> +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
Hi.
Doesn't crda expect the pubkeys in /etc/wireless-regdb/pubkeys path?
At least that's the default and you didn't seem to change that in your
crda v2 package.
Regards.
^ permalink raw reply [flat|nested] 3+ messages in thread
* [Buildroot] [PATCH v4] wireless-regdb: new package
2013-04-07 13:37 ` Gustavo Zacarias
@ 2013-04-08 10:15 ` Dimitrios Siganos
0 siblings, 0 replies; 3+ messages in thread
From: Dimitrios Siganos @ 2013-04-08 10:15 UTC (permalink / raw)
To: buildroot
On 07/04/13 14:37, Gustavo Zacarias wrote:
> On 03/24/2013 07:45 PM, Dimitrios Siganos wrote:
>
>> +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
>
> Hi.
> Doesn't crda expect the pubkeys in /etc/wireless-regdb/pubkeys path?
> At least that's the default and you didn't seem to change that in your
> crda v2 package.
> Regards.
>
>
Hi Gustavo,
You are absolutely right. We obviously use the non default location at
my company and I changed one package to use the default location but not
the other.
I will send a new patch.
Regards,
Dimitris
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2013-04-08 10:15 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-03-24 22:45 [Buildroot] [PATCH v4] wireless-regdb: new package Dimitrios Siganos
2013-04-07 13:37 ` Gustavo Zacarias
2013-04-08 10:15 ` Dimitrios Siganos
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox