From patchwork Wed Nov 21 22:28:17 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Morten Svendsen X-Patchwork-Id: 200875 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from hugin.dotsrc.org (hugin.dotsrc.org [130.225.254.102]) by ozlabs.org (Postfix) with ESMTP id 280352C009F for ; Thu, 22 Nov 2012 09:29:22 +1100 (EST) Received: from hugin.dotsrc.org (localhost [127.0.0.1]) by hugin.dotsrc.org (Postfix) with ESMTP id C903D4000C for ; Wed, 21 Nov 2012 23:29:20 +0100 (CET) X-Original-To: dev@oe-lite.org Delivered-To: dev@oe-lite.org Received: from mail02.prevas.se (mail02.prevas.se [62.95.78.10]) by hugin.dotsrc.org (Postfix) with ESMTPS id 4D7C23FF6A for ; Wed, 21 Nov 2012 23:29:16 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=prevas.dk; i=@prevas.dk; l=2110; q=dns/txt; s=ironport2; t=1353536956; x=1385072956; h=from:to:subject:date:message-id; bh=KiYC9uk35vIZKN80BS8hHlQI+CE9j0PXROtNWOyIKlg=; b=KzMgog4hS3Y44p/CuB5aL8gCjfn+WWGLFrtr576YBtLiqFgvFcu39+zl XlbwdTIXpJfkLBgVVjmtYzcSJzdN0lduj/KZLmHzgHEFZLA8WSdEkrcqA npZLohLAlWBhhNF; X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AhYGAGFVrVBfpsIb/2dsb2JhbABEtVGMXHOCHwEFgQlRV4gqB7B2jkKNcIMnA5V+gRyPJYJw X-IronPort-AV: E=Sophos;i="4.83,295,1352070000"; d="scan'208";a="1830176" Received: from 0128800289.0.fullrate.dk (HELO localhost.localdomain) ([95.166.194.27]) by mail02.prevas.se with ESMTP/TLS/DHE-RSA-AES256-SHA; 21 Nov 2012 23:28:32 +0100 From: Morten Thunberg Svendsen To: dev@oe-lite.org Subject: [PATCH 06/12] iw: Added iw (replacement for iwconfig) Date: Wed, 21 Nov 2012 23:28:17 +0100 Message-Id: X-Mailer: git-send-email 1.7.10.4 In-Reply-To: References: In-Reply-To: References: X-BeenThere: dev@oe-lite.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: OE-lite development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: dev-bounces@oe-lite.org Errors-To: dev-bounces@oe-lite.org --- recipes/iw/files/fix_version.patch | 11 +++++++++++ recipes/iw/iw.inc | 12 ++++++++++++ recipes/iw/iw_3.7.oe | 1 + recipes/iw/iw_3.7.oe.sig | 1 + 4 files changed, 25 insertions(+) create mode 100644 recipes/iw/files/fix_version.patch create mode 100644 recipes/iw/iw.inc create mode 100644 recipes/iw/iw_3.7.oe create mode 100644 recipes/iw/iw_3.7.oe.sig diff --git a/recipes/iw/files/fix_version.patch b/recipes/iw/files/fix_version.patch new file mode 100644 index 0000000..6c59a0b --- /dev/null +++ b/recipes/iw/files/fix_version.patch @@ -0,0 +1,11 @@ +--- iw-3.7/version.sh.org 2012-11-09 14:03:53.089541469 +0100 ++++ iw-3.7/version.sh 2012-11-09 14:05:19.906817310 +0100 +@@ -3,7 +3,7 @@ + VERSION="3.7" + OUT="$1" + +-if head=`git rev-parse --verify HEAD 2>/dev/null`; then ++if false; then + git update-index --refresh --unmerged > /dev/null + descr=$(git describe) + diff --git a/recipes/iw/iw.inc b/recipes/iw/iw.inc new file mode 100644 index 0000000..fe9f405 --- /dev/null +++ b/recipes/iw/iw.inc @@ -0,0 +1,12 @@ +DESCRIPTION = "nl80211 based CLI configuration utility for wireless devices" +HOMEPAGE = "http://linuxwireless.org/en/users/Documentation/iw" +LICENSE = "ISC" +inherit make c pkgconfig +DEPENDS = "libnl-3 libnl-nf-3 libnl-route-3 libnl-genl-3" +RDEPENDS_${PN} += "libnl-3 libnl-nf-3 libnl-route-3 libnl-genl-3" +PROVIDES_${PN} += "util/${PN}" +EXTRA_OEMAKE = "V=1" +SRC_URI = "http://linuxwireless.org/download/${PN}/${PN}-${PV}.tar.bz2" +SRC_URI += "file://fix_version.patch" + +# git://git.sipsolutions.net/iw.git;protocol=git;${SRC_REV} diff --git a/recipes/iw/iw_3.7.oe b/recipes/iw/iw_3.7.oe new file mode 100644 index 0000000..4492cc1 --- /dev/null +++ b/recipes/iw/iw_3.7.oe @@ -0,0 +1 @@ +require iw.inc diff --git a/recipes/iw/iw_3.7.oe.sig b/recipes/iw/iw_3.7.oe.sig new file mode 100644 index 0000000..db13570 --- /dev/null +++ b/recipes/iw/iw_3.7.oe.sig @@ -0,0 +1 @@ +a5c7187ad6b9628a3eb73e7d846f9dc3ef40a120 iw-3.7.tar.bz2