]> git.ipfire.org Git - thirdparty/iw.git/commitdiff
initial debian packaging
authorJohannes Berg <johannes@sipsolutions.net>
Tue, 16 Sep 2008 21:07:08 +0000 (23:07 +0200)
committerJohannes Berg <johannes@sipsolutions.net>
Tue, 16 Sep 2008 21:07:08 +0000 (23:07 +0200)
.gitignore
debian/changelog [new file with mode: 0644]
debian/compat [new file with mode: 0644]
debian/control [new file with mode: 0644]
debian/copyright [new file with mode: 0644]
debian/files [new file with mode: 0644]
debian/iw.files [new file with mode: 0644]
debian/iw.manpages [new file with mode: 0644]
debian/rules [new file with mode: 0755]

index 1150f80607281889b05ee01d155d6bcdf40adeb0..780399696ab51f7ef2895d258080c6b3860238ba 100644 (file)
@@ -4,3 +4,4 @@ iw
 .config
 version.h
 iw.8.gz
+configure-stamp
diff --git a/debian/changelog b/debian/changelog
new file mode 100644 (file)
index 0000000..2448e1a
--- /dev/null
@@ -0,0 +1,5 @@
+iw (0.9.1) unstable; urgency=low
+
+  * Initial release.
+
+ -- Johannes Berg <johannes@sipsolutions.net>  Tue, 16 Sep 2008 23:06:40 +0200
diff --git a/debian/compat b/debian/compat
new file mode 100644 (file)
index 0000000..7f8f011
--- /dev/null
@@ -0,0 +1 @@
+7
diff --git a/debian/control b/debian/control
new file mode 100644 (file)
index 0000000..dd243e1
--- /dev/null
@@ -0,0 +1,18 @@
+Source: iw
+Section: net
+Priority: optional
+Maintainer: Johannes Berg <johannes@sipsolutions.net>
+Build-Depends: debhelper (>= 6), libnl-dev (>= 1.1), pkg-config (>= 0.22)
+Standards-Version: 3.8.0
+Homepage: http://wireless.kernel.org/en/users/Documentation/iw
+
+Package: iw
+Architecture: any
+Depends: ${shlibs:Depends}
+Description: Tools for configuring Linux wireless devices
+ This package contains the `iw' tool which allows you to
+ configure and show information about wireless networking.
+ 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.
+Tag: admin::kernel, implemented-in::c, interface::commandline, network::configuration, role::program, scope::utility, use::configuring
diff --git a/debian/copyright b/debian/copyright
new file mode 100644 (file)
index 0000000..df5a422
--- /dev/null
@@ -0,0 +1,50 @@
+This package was debianized by Johannes Berg <johannes@sipsolutions.net> on
+Tue, 16 September 2008 22:50:41 +0200.
+
+It was downloaded from http://git.sipsolutions.net/iw.git/
+
+Upstream Authors:
+
+    Johannes Berg <johannes@sipsolutions.net>
+    Andy Lutomirski
+    Mike Kershaw
+    Luis R. Rodriguez
+
+Copyright:
+
+    Copyright (c) 2007, 2008        Johannes Berg
+    Copyright (c) 2007              Andy Lutomirski
+    Copyright (c) 2007              Mike Kershaw
+    Copyright (c) 2008              Luis R. Rodriguez
+
+License:
+
+    All rights reserved.
+
+    Redistribution and use in source and binary forms, with or without
+    modification, are permitted provided that the following conditions
+    are met:
+    1. Redistributions of source code must retain the above copyright
+       notice, this list of conditions and the following disclaimer.
+    2. Redistributions in binary form must reproduce the above copyright
+       notice, this list of conditions and the following disclaimer in the
+       documentation and/or other materials provided with the distribution.
+    3. The name of the author may not be used to endorse or promote products
+       derived from this software without specific prior written permission.
+
+    THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
+    IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
+    OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
+    IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
+    INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
+    BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+    LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
+    AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
+    OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
+    OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
+    SUCH DAMAGE.
+
+The Debian packaging is licensed under the same license as above and has
+the following copyright:
+
+Copyright (C) 2008  Johannes Berg <johannes@sipsolutions.net>
diff --git a/debian/files b/debian/files
new file mode 100644 (file)
index 0000000..88bdf0e
--- /dev/null
@@ -0,0 +1 @@
+iw_0.9.1_powerpc.deb net optional
diff --git a/debian/iw.files b/debian/iw.files
new file mode 100644 (file)
index 0000000..93af48c
--- /dev/null
@@ -0,0 +1 @@
+usr/bin/iw
diff --git a/debian/iw.manpages b/debian/iw.manpages
new file mode 100644 (file)
index 0000000..0a77ace
--- /dev/null
@@ -0,0 +1 @@
+iw.8
diff --git a/debian/rules b/debian/rules
new file mode 100755 (executable)
index 0000000..17d26cf
--- /dev/null
@@ -0,0 +1,87 @@
+#!/usr/bin/make -f
+# -*- makefile -*-
+# Sample debian/rules that uses debhelper.
+#
+# This file was originally written by Joey Hess and Craig Small.
+# As a special exception, when this file is copied by dh-make into a
+# dh-make output file, you may use that output file without restriction.
+# This special exception was added by Craig Small in version 0.37 of dh-make.
+#
+# Modified to make a template file for a multi-binary package with separated
+# build-arch and build-indep targets  by Bill Allombert 2001
+
+# Uncomment this to turn on verbose mode.
+#export DH_VERBOSE=1
+
+# This has to be exported to make some magic below work.
+export DH_OPTIONS
+
+PREFIX=$(CURDIR)/debian/iw/usr/
+
+configure: configure-stamp
+configure-stamp:
+       dh_testdir
+       cat defconfig | grep -v PLUGINNAME > .config
+
+       touch configure-stamp
+
+
+#Architecture 
+build: build-arch
+
+build-arch: build-arch-stamp
+build-arch-stamp: configure-stamp  
+       $(MAKE)
+
+clean: 
+       dh_testdir
+       dh_testroot
+       rm -f build-arch-stamp configure-stamp
+
+       rm -f .config
+
+       $(MAKE) clean
+
+       dh_clean 
+
+install: install-arch
+install-arch:
+       dh_testdir
+       dh_testroot
+       dh_clean -k -s 
+       dh_installdirs -s
+
+       mkdir -p $(PREFIX)/bin
+       mkdir -p $(PREFIX)/share/man/man8
+       $(MAKE) install PREFIX=$(PREFIX)
+
+       dh_install -s
+
+# Must not depend on anything. This is to be called by
+# binary-arch
+# in another 'make' thread.
+binary-common:
+       dh_testdir
+       dh_testroot
+       dh_installchangelogs 
+       dh_installdocs
+       dh_installexamples
+       dh_installman
+       dh_link
+       dh_strip
+       dh_compress 
+       dh_fixperms
+       dh_makeshlibs
+       dh_installdeb
+       dh_shlibdeps
+       dh_gencontrol
+       dh_md5sums
+       dh_builddeb
+
+binary-arch: build-arch install-arch
+       $(MAKE) -f debian/rules DH_OPTIONS=-s binary-common
+
+binary-indep:
+
+binary: binary-arch
+.PHONY: build clean binary-arch binary install install-arch configure