debian/0000755000000000000000000000000011754444735007204 5ustar debian/copyright0000644000000000000000000000621211735323367011134 0ustar Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-Name: iw Upstream-Contact: Johannes Berg Source: http://git.sipsolutions.net/iw.git Files: * Copyright: 2007-2012, Johannes Berg 2007, Andy Lutomirski 2007, Mike Kershaw 2008-2010, Luis R. Rodriguez License: ISC Files: nl80211.h Copyright: 2006-2012, Johannes Berg 2008, Michael Wu 2008, Luis Carlos Cobo 2008, Michael Buesch 2008-2012, Luis R. Rodriguez 2008-2010, Jouni Malinen 2008, Colin McCabe 2008, Henning Rogge 2008, Sujith 2009, Samuel Ortiz 2009-2011, Felix Fietkau 2009, Rui Paulo 2009, Holger Schurig 2009, Lukáš Turek <8an@praha12.net> 2010, Kalle Valo 2010, Juuso Oikarinen 2010, Bill Jordan 2010, Bruno Randolf 2010, Helmut Schaa 2010-2011, John W. Linville 2011, Paul Stewart 2010-2011, Javier Cardona 2011, Mohammed Shafi Shajakhan 2011, Luciano Coelho 2012, Arik Nemtsov 2012, Ben Greear 2012, Simon Wunderlich 2012, Thomas Pedersen 2012, Alexander Simon 2012, Paul Stewart 2012, Chun-Yeow Yeoh 2012, Ashok Nagarajan 2012, Vasanthakumar Thiagarajan 2012, Bala Shanmugam License: ISC Files: debian/* Copyright: 2007-2008 Johannes Berg 2008-2010 Kel Modderman 2011 Stefan Lippers-Hollmann License: ISC License: ISC Permission to use, copy, modify, and/or distribute this software for any purpose with or without fee is hereby granted, provided that the above copyright notice and this permission notice appear in all copies. . THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. debian/watch0000644000000000000000000000011111655750436010224 0ustar version=3 http://wireless.kernel.org/download/iw/iw-([\.0-9]+)\.tar\.bz2 debian/patches/0000755000000000000000000000000011754444735010633 5ustar debian/patches/series0000644000000000000000000000006711754444725012052 0ustar dont-use-git-on-the-buildd.patch append-cppflags.patch debian/patches/dont-use-git-on-the-buildd.patch0000644000000000000000000000367111735323367016627 0ustar iw: don't use git on the buildd Closes: #557167 (Debian BTS, http://bugs.debian.org/557167) On Fri, 20 Nov 2009 Christoph Biedl wrote: > during the build, upstream's Makefile calls the shipped version.sh, > one of the commands there is > > | if head=`git rev-parse --verify HEAD 2>/dev/null`; then > > This is probably a remainder of a upstream's build concept which is > not included in Debian, as there is also no git repository here, and > git-core is not in the list of build dependencies. > > If git is not installed, the error is caught and dealt in a sane way. > However, if git _is_ installed and there's a git repository (read: > .git directory) anywhere in a parent directory, that one is used. > Then either the check > | [ "${descr%%-*}" = "v$VERSION" ] || exit 2 > will very likely fail, thus aborting the build process. Or, as in my > case, that repository is owned by a different user, this caused an odd > error message > | fatal: unable to create '.git/index.lock': Permission denied > with the same outcome. > > I suggest to drop that test entirely. Even though a build conflicts with git/ git-core would be easier by not requiring a patch to the upstream buildsystem, doing so would be painful for ongoing maintenance. Therefore remove the bogus for Debian test, as suggested by Christoph Biedl; unfortunately this patch is not upstreamable. Signed-off-by: Stefan Lippers-Hollmann --- a/version.sh +++ b/version.sh @@ -3,21 +3,7 @@ VERSION="3.4" OUT="$1" -if head=`git rev-parse --verify HEAD 2>/dev/null`; then - git update-index --refresh --unmerged > /dev/null - descr=$(git describe) - - # on git builds check that the version number above - # is correct... - [ "${descr%%-*}" = "v$VERSION" ] || exit 2 - - v="${descr#v}" - if git diff-index --name-only HEAD | read dummy ; then - v="$v"-dirty - fi -else - v="$VERSION" -fi +v="$VERSION" echo '#include "iw.h"' > "$OUT" echo "const char iw_version[] = \"$v\";" >> "$OUT" debian/patches/append-cppflags.patch0000644000000000000000000000077011754444725014723 0ustar Description: Append CPPFLAGS to CFLAGS if set in environment Author: Kel Modderman --- --- a/Makefile +++ b/Makefile @@ -14,6 +14,10 @@ CC ?= "gcc" CFLAGS ?= -O2 -g CFLAGS += -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration +ifneq ($(CPPFLAGS),) +CFLAGS += $(CPPFLAGS) +endif + OBJS = iw.o genl.o event.o info.o phy.o \ interface.o ibss.o station.o survey.o util.o \ mesh.o mpath.o scan.o reg.o version.o \ debian/changelog0000644000000000000000000001153211754444725011057 0ustar iw (3.4-1) unstable; urgency=low [ Stefan Lippers-Hollmann ] * New upstream release: - iw: add HT options for ibss * bump standards version to 3.9.3, no changes necessary. * update dep-5 version to final 1.0, no changes necessary. * update copyright information. * convert packaging to Multi-Arch, bump compat level to 9 and adapt debhelper build-dependency accordingly; all binaries are Multi-Arch=foreign. * Remove Faidon Liambotis from Uploaders as per his request, many thanks for all past efforts Faidon. [ Kel Modderman ] * Add support for cross-building by setting CC to something appropriate. * Add append-cppflags.patch to modify upstream Makefile in order to append CPPFLAGS to CFLAGS if set in build environment. -- Kel Modderman Tue, 15 May 2012 22:17:42 +1000 iw (3.2-1) unstable; urgency=low [ Stefan Lippers-Hollmann ] * New upstream release: - support libnl3 * restrict debian/watch to ignore new iw-latest link. * use Format instead of Format-Specification in debian/copyright, thanks to Michael Biebl for noticing; fix Format URL. * restrict architecture to linux-any, it depends on the linux specific nl80211 kernel interface. * add fix for the newly introduced tx power validation regression from upstream, thanks to Felix Fietkau . * fix linking against different libnl3.x versions, taken from upstream git: - fix compilation against libnl-3.x - always use libnl 3.2 as 3.2, not 3.0 * switch build dependency from libnl3-dev to libnl-3-dev && libnl-genl-3-dev in order to cope with libnl3 3.2. * raise versioned build-dependency to (>= 3.2.3-2~), to be able to expect it in /lib/. * move iw to /sbin/, as it is needed during early boot by udev rules to set regdom settings non-interactively (Closes: #622247). * recommend crda, which is needed to execute regulatory domain changes (Closes: #653703). [ Jonathan Nieder ] * change Priority to optional from extra (Closes: #591102). -- Stefan Lippers-Hollmann Fri, 30 Dec 2011 15:24:09 +0100 iw (3.1-1) unstable; urgency=low * New upstream release. - support wake on wlan commands. * add myself to uploaders. * bump standards version to 3.9.2: - use Breaks/ Replaces in favour of Conflicts with previous aircrack versions, policy 7.4. * update copyright years, clarify copyright status for nl80211.h. * don't use git on the buildd (Closes: #557167). * update debian/copyright to DEP-5, r174. * use new anonscm URIs for alioth. * backport libnl-3.0 support from upstream and switch to it. -- Stefan Lippers-Hollmann Sat, 10 Sep 2011 00:50:29 +0200 iw (0.9.19-1) unstable; urgency=low * New upstream release. - iw moves from /usr/bin to /usr/sbin * Switch to source format 3.0 (quilt). * Bump Standards-Version to 3.8.4, no other changes required. * Remove Reinhard Tartler from uploaders as per request. Thanks for past contributions. * Remove uupdate command from debian/watch, bz2 orig tarballs can now be used. * Ensure DEB_BUILD_OPTIONS=noopt is respected by exporting default CFLAGS in debian/rules. * Export V=1 in debian/rules so that the upstream build system is verbose. * Update debian/copyright. -- Kel Modderman Sun, 11 Apr 2010 14:25:22 +1000 iw (0.9.14-1) unstable; urgency=low * New upstream release. * Use minimal dh-centric debian/rules. -- Kel Modderman Mon, 18 May 2009 05:41:31 +1000 iw (0.9.11-1) unstable; urgency=low * New upstream release. * Update Standards-Version to 3.8.1. No other changes required. -- Kel Modderman Sat, 28 Mar 2009 03:17:01 +1000 iw (0.9.9-2) unstable; urgency=low * Change Priority to extra from optional to avoid override disparity. -- Kel Modderman Mon, 09 Feb 2009 02:19:15 +1000 iw (0.9.9-1) unstable; urgency=low [ Kel Modderman ] * New upstream release. * Update debian/copyright for change from BSD-3 -> ISC license. * Add ${misc:Depends} to dependency field, as debhelper uses it as required. * Add debian/watch. * Versioned conflict with aircrack-ng (<< 1:1.0~rc2-1), which shipped and own copy of iw until that version. (Closes: #514344) * Target upload to unstable now that a versioned conflict against aircrack-ng is in place. [ Loic Minier ] * Let install-stamp depend on build-stamp instead of install depending on install-stamp and build. * List build, clean, install, binary-arch, binary-indep and binary in .PHONY. * Use $@ instead of explicit build-stamp/install-stamp in debian/rules. -- Kel Modderman Sun, 08 Feb 2009 21:57:34 +1000 iw (0.9.6-1) experimental; urgency=low * Initial release. (Closes: #499537) -- Kel Modderman Thu, 30 Oct 2008 23:17:16 +1000 debian/compat0000644000000000000000000000000211740316453010370 0ustar 9 debian/source/0000755000000000000000000000000011754444735010504 5ustar debian/source/format0000644000000000000000000000001411334651534011701 0ustar 3.0 (quilt) debian/rules0000755000000000000000000000046211754444725010265 0ustar #!/usr/bin/make -f SBINDIR = /sbin V = 1 DEB_BUILD_GNU_TYPE := $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE) DEB_HOST_GNU_TYPE := $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE) ifneq ($(DEB_HOST_GNU_TYPE),$(DEB_BUILD_GNU_TYPE)) CC=$(DEB_HOST_GNU_TYPE)-gcc endif export CC SBINDIR V %: dh $@ debian/README.Debian0000644000000000000000000000423611103102311011213 0ustar iw package for Debian ===================== iw is a new tool for configuration of wireless settings on Linux. iw combines cfg80211, the new Linux wireless configuration API [0], and nl80211, the new 802.11 netlink interface public header [1], to form a tool which aims to replace the functionality of wireless-tools, which is built upon on the incumbent Wireless Extensions (WEXT or WE) API [2]. The tool is currently mainly used for drivers based on the mac80211 stack but work is under way to make it useful for other drivers as well. [0] http://wireless.kernel.org/en/developers/Documentation/cfg80211 [1] http://wireless.kernel.org/en/developers/Documentation/nl80211 [2] http://www.hpl.hp.com/personal/Jean_Tourrilhes/Linux/Linux.Wireless.Extensions.html Why is wireless-tools being replaced? ===================================== A complete summary of technical reasons for the abandonment of Linux Wireless Extensions API is documented on the wireless.kernel.org wiki page for WEXT [3]. In brief, WEXT uses ioctl's as the kernel<->userspace communication mechanism, but some developers wish to have a more structured transport mechanism, which cfg80211 and nl80211 provide, to allow them to address old nagging problems with the current wireless device configuration implementation, and give them more freedom to enhance the process of wireless configuration [4]. WEXT is in deep maintenance mode, cfg80211 and nl80211 are the communication transport mechanism of the future. [3] http://wireless.kernel.org/en/developers/Documentation/Wireless-Extensions [4] which is one of the areas which, in my opinion, has always been difficult for new adopters on Linux, especially on the desktop. How does iw integrate into the Debian system? ============================================= At the time of writing, it does not. The iw binary is provided as is, without any system integration (eg, with ifupdown). When the Linux Wireless developers are sufficiently satisfied with iw's functionality, and all of their work begins to filter down into the stable mainline Linux kernel tree, integration of iw into the Debian system can begin. -- Kel Modderman Thu, 30 Oct 2008 debian/control0000644000000000000000000000216411743362136010602 0ustar Source: iw Section: net Priority: optional Maintainer: Debian/Ubuntu wpasupplicant Maintainers Uploaders: Kel Modderman , Stefan Lippers-Hollmann Build-Depends: debhelper (>= 9.20120115), libnl-3-dev (>= 3.2.3-2~), libnl-genl-3-dev (>= 3.2.3-2~), pkg-config (>= 0.22) Standards-Version: 3.9.3 Vcs-Svn: svn://anonscm.debian.org/svn/pkg-wpa/iw/trunk/ Vcs-Browser: http://anonscm.debian.org/viewvc/pkg-wpa/iw/trunk/ Homepage: http://wireless.kernel.org/en/users/Documentation/iw Package: iw Architecture: linux-any Multi-Arch: foreign Depends: ${shlibs:Depends}, ${misc:Depends} Recommends: crda Breaks: aircrack-ng (<< 1:1.0~rc2-1) Replaces: aircrack-ng (<< 1:1.0~rc2-1) Description: tool for configuring Linux wireless devices This package contains the `iw' tool which allows you to configure and show information about wireless networking. . In the future iw will become the canonical command line tool for wireless configuration and iwconfig/wireless-tools will no longer be required. See /usr/share/doc/iw/README.Debian for a more detailed overview of iw.