Patchwork [06/12] iw: Added iw (replacement for iwconfig)

login
register
mail settings
Submitter Morten Svendsen
Date Nov. 21, 2012, 10:28 p.m.
Message ID <a46ef7f9398a3803052582142ef2ea62e300e000.1353493728.git.Morten.ThunbergSvendsen@prevas.dk>
Download mbox | patch
Permalink /patch/200875/
State Accepted
Headers show

Comments

Morten Svendsen - Nov. 21, 2012, 10:28 p.m.
---
 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
Esben Haabendal - Dec. 14, 2012, 6:19 p.m.
Morten Thunberg Svendsen <Morten.ThunbergSvendsen@prevas.dk> writes:

> ---
>  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

Merged to master, thanks.

/Esben

Patch

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