From patchwork Mon Apr 29 18:57:49 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Gustavo Zacarias X-Patchwork-Id: 240483 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from whitealder.osuosl.org (whitealder.osuosl.org [140.211.166.138]) by ozlabs.org (Postfix) with ESMTP id E99632C00A4 for ; Tue, 30 Apr 2013 04:58:22 +1000 (EST) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id 926798C574; Mon, 29 Apr 2013 18:58:15 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from whitealder.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id LWepR5milHzX; Mon, 29 Apr 2013 18:58:14 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by whitealder.osuosl.org (Postfix) with ESMTP id 90ED28C861; Mon, 29 Apr 2013 18:58:08 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from whitealder.osuosl.org (whitealder.osuosl.org [140.211.166.138]) by ash.osuosl.org (Postfix) with ESMTP id 5E5698F7A5 for ; Mon, 29 Apr 2013 18:58:12 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id 139BC8C605 for ; Mon, 29 Apr 2013 18:58:05 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from whitealder.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 1JUJCtjDS3is for ; Mon, 29 Apr 2013 18:58:03 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from loknar.toptech.com.ar (loknar.toptech.com.ar [78.46.79.162]) by whitealder.osuosl.org (Postfix) with ESMTPS id 7E66A8C46C for ; Mon, 29 Apr 2013 18:58:03 +0000 (UTC) Received: from asgard (host9.190-31-127.telecom.net.ar [190.31.127.9]) (authenticated bits=0) by loknar.toptech.com.ar (8.14.6/8.14.6) with ESMTP id r3TIvuNB030314 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Mon, 29 Apr 2013 18:57:58 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=zacarias.com.ar; s=dkey; t=1367261880; bh=9fPP/41Jqzrc456Qgn1Tc0ZCG5tVyQh9wfPkhSumusA=; h=From:To:Cc:Subject:Date:In-Reply-To:References; b=h/vVP+y0sp+ucQlP+REhI+e7JPtSKzE9GkBCl2R9VpxxHNjUHSDe+xEu8HMjEB4xk CsPzfQM9KEiZAsqCO1O4wXb4OgKcdOepW+liBIF0p1/H8FeRXtZ4/6w9mbQIr1Mcff HdSZTLBF2yf5WNiI2Rwnvr4ZnyEjxQbp7W4yWegc= Received: by asgard (sSMTP sendmail emulation); Mon, 29 Apr 2013 15:57:55 -0300 From: Gustavo Zacarias To: buildroot@busybox.net Date: Mon, 29 Apr 2013 15:57:49 -0300 Message-Id: <1367261869-13078-2-git-send-email-gustavo@zacarias.com.ar> X-Mailer: git-send-email 1.8.1.5 In-Reply-To: <1367261869-13078-1-git-send-email-gustavo@zacarias.com.ar> References: <1367261869-13078-1-git-send-email-gustavo@zacarias.com.ar> X-Virus-Scanned: clamav-milter 0.97.7 at loknar X-Virus-Status: Clean Subject: [Buildroot] [PATCH 2/2] crda: new package X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.14 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: buildroot-bounces@busybox.net Sender: buildroot-bounces@busybox.net Based on the one from Dimitrios Siganos but with a proper host-python-m2crypto instead of patching. Signed-off-by: Gustavo Zacarias --- package/Config.in | 1 + package/crda/Config.in | 15 +++++++++++++++ package/crda/crda.mk | 23 +++++++++++++++++++++++ 3 files changed, 39 insertions(+) create mode 100644 package/crda/Config.in create mode 100644 package/crda/crda.mk diff --git a/package/Config.in b/package/Config.in index 38c1165..a2ccae7 100644 --- a/package/Config.in +++ b/package/Config.in @@ -663,6 +663,7 @@ source "package/bmon/Config.in" source "package/bridge-utils/Config.in" source "package/can-utils/Config.in" source "package/connman/Config.in" +source "package/crda/Config.in" source "package/ctorrent/Config.in" source "package/conntrack-tools/Config.in" source "package/cups/Config.in" diff --git a/package/crda/Config.in b/package/crda/Config.in new file mode 100644 index 0000000..66baf14 --- /dev/null +++ b/package/crda/Config.in @@ -0,0 +1,15 @@ +config BR2_PACKAGE_CRDA + bool "crda" + select BR2_PACKAGE_LIBGCRYPT + select BR2_PACKAGE_LIBNL + # regdb is a runtime dependency + select BR2_PACKAGE_WIRELESS_REGDB + help + Central Regulatory Domain Agent. + + This package provides a Central Regulatory Domain Agent (CRDA) + to be used by the Linux kernel cf80211 wireless subsystem to + query and apply the regulatory domain settings wireless devices + may operate within for a given location. + + http://linuxwireless.org/en/developers/Regulatory/CRDA diff --git a/package/crda/crda.mk b/package/crda/crda.mk new file mode 100644 index 0000000..0c9391d --- /dev/null +++ b/package/crda/crda.mk @@ -0,0 +1,23 @@ +############################################################# +# +# crda +# +############################################################# + +CRDA_VERSION = 1.1.3 +CRDA_SOURCE = crda-$(CRDA_VERSION).tar.bz2 +CRDA_SITE = http://wireless.kernel.org/download/crda +CRDA_DEPENDENCIES = host-pkgconf host-python-m2crypto \ + libnl libgcrypt +CRDA_LICENSE = ISC +CRDA_LICENSE_FILES = LICENSE + +define CRDA_BUILD_CMDS + $(TARGET_CONFIGURE_OPTS) $(MAKE) all_noverify -C $(@D) +endef + +define CRDA_INSTALL_TARGET_CMDS + $(TARGET_CONFIGURE_OPTS) $(MAKE) install -C $(@D) DESTDIR=$(TARGET_DIR) +endef + +$(eval $(generic-package))