[kernel] r7596 - in people/jurij/ipw3945-daemon: . debian
Jurij Smakov
jurij-guest at costa.debian.org
Wed Oct 11 06:22:35 UTC 2006
Author: jurij-guest
Date: Wed Oct 11 06:22:30 2006
New Revision: 7596
Added:
people/jurij/ipw3945-daemon/
people/jurij/ipw3945-daemon/debian/
people/jurij/ipw3945-daemon/debian/changelog
people/jurij/ipw3945-daemon/debian/compat
people/jurij/ipw3945-daemon/debian/control
people/jurij/ipw3945-daemon/debian/copyright
people/jurij/ipw3945-daemon/debian/default (contents, props changed)
people/jurij/ipw3945-daemon/debian/init (contents, props changed)
people/jurij/ipw3945-daemon/debian/ipw3945d.8
people/jurij/ipw3945-daemon/debian/postinst
people/jurij/ipw3945-daemon/debian/rules (contents, props changed)
Log:
Initial commit (totally untested).
Added: people/jurij/ipw3945-daemon/debian/changelog
==============================================================================
--- (empty file)
+++ people/jurij/ipw3945-daemon/debian/changelog Wed Oct 11 06:22:30 2006
@@ -0,0 +1,5 @@
+ipw3945-daemon (1.7.22-1) unstable; urgency=low
+
+ * Initial upload to Debian.
+
+ -- Jurij Smakov <jurij at debian.org> Tue, 10 Oct 2006 20:14:33 -0700
Added: people/jurij/ipw3945-daemon/debian/compat
==============================================================================
--- (empty file)
+++ people/jurij/ipw3945-daemon/debian/compat Wed Oct 11 06:22:30 2006
@@ -0,0 +1 @@
+5
Added: people/jurij/ipw3945-daemon/debian/control
==============================================================================
--- (empty file)
+++ people/jurij/ipw3945-daemon/debian/control Wed Oct 11 06:22:30 2006
@@ -0,0 +1,20 @@
+Source: ipw3945-daemon
+Section: admin
+Priority: extra
+Maintainer: Jurij Smakov <jurij at debian.org>
+Standards-Version: 3.7.2
+Build-Depends: debhelper (>= 5)
+
+Package: ipw3945-daemon
+Architecture: i386 amd64
+Depends: adduser, ${shlibs:Depends}
+Description: Binary userspace regulatory daemon for Intel PRO/Wireless 3945ABG cards
+ The regulatory daemon is responsible for controlling and configuring
+ aspects of the hardware required to operate the device within
+ compliance of various regulatory agencies. This includes controlling
+ which channels are allowed to do active/passive scanning, transmit
+ power levels, which channels are allowed to be transmitted on, and
+ support for IEEE 802.11h standard. It is required for operation of the
+ card when used with the ipw3945 Linux kernel driver.
+ .
+ Upstream URL: http://bughost.org/ipw3945/
Added: people/jurij/ipw3945-daemon/debian/copyright
==============================================================================
--- (empty file)
+++ people/jurij/ipw3945-daemon/debian/copyright Wed Oct 11 06:22:30 2006
@@ -0,0 +1,52 @@
+This package, containing the binary userspace regulatory
+daemon needed for operation of Intel/PRO Wireless 3945ABG
+card under Linux, has been created for Debian by Jurij
+Smakov <jurij at debian.org> on October 10th, 2006. The original
+upstream source have been downloaded from
+
+http://bughost.org/ipw3945/
+
+The software in this package is
+
+ Copyright (c) 2006, Intel Corporation.
+ All rights reserved.
+
+and is distributed under the terms of the following license:
+
+ Redistribution. Redistribution and use in binary form, without
+ modification, are permitted provided that the following conditions are
+ met:
+
+ * Redistributions must reproduce the above copyright notice and the
+ following disclaimer in the documentation and/or other materials
+ provided with the distribution.
+ * Neither the name of Intel Corporation nor the names of its suppliers
+ may be used to endorse or promote products derived from this software
+ without specific prior written permission.
+ * No reverse engineering, decompilation, or disassembly of this software
+ is permitted.
+
+ Limited patent license. Intel Corporation grants a world-wide,
+ royalty-free, non-exclusive license under patents it now or hereafter
+ owns or controls to make, have made, use, import, offer to sell and
+ sell ("Utilize") this software, but solely to the extent that any
+ such patent is necessary to Utilize the software alone, or in
+ combination with an operating system licensed under an approved Open
+ Source license as listed by the Open Source Initiative at
+ http://opensource.org/licenses. The patent license shall not apply to
+ any other combinations which include this software. No hardware per
+ se is licensed hereunder.
+
+ DISCLAIMER. THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND
+ CONTRIBUTORS "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
+ COPYRIGHT OWNER OR CONTRIBUTORS 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.
+
Added: people/jurij/ipw3945-daemon/debian/default
==============================================================================
--- (empty file)
+++ people/jurij/ipw3945-daemon/debian/default Wed Oct 11 06:22:30 2006
@@ -0,0 +1,5 @@
+DAEMON_RUN='yes'
+DAEMON_OWNER='Debian-ipw3945d:Debian-ipw3945d'
+DAEMON_BINARY='/sbin/ipw3945d'
+DAEMON_PERM='744'
+DAEMON_PID='/var/run/ipw3945d.pid'
Added: people/jurij/ipw3945-daemon/debian/init
==============================================================================
--- (empty file)
+++ people/jurij/ipw3945-daemon/debian/init Wed Oct 11 06:22:30 2006
@@ -0,0 +1,55 @@
+#!/bin/sh
+
+DAEMON_RUN='yes'
+DAEMON_OWNER='Debian-ipw3945d:Debian-ipw3945d'
+DAEMON_BINARY='/sbin/ipw3945d'
+DAEMON_PERM='744'
+DAEMON_PID='/var/run/ipw3945d.pid'
+
+if [ -r /etc/default/ipw3945-daemon ]; then
+ . /etc/default/ipw3945-daemon
+fi
+
+start_daemon() {
+ cmd="$(echo /sys/bus/pci/drivers/ipw3945/*/cmd)"
+ if [ -z "${cmd}" ]; then
+ echo "Not starting regulatory daemon, ipw3945 driver not loaded."
+ else
+ echo -n "Starting ipw3945 regulatory daemon: ipw3945d"
+ # Fix permissions
+ chown ${DAEMON_OWN} ${cmd}
+ chmod ${DAEMON_PERM} ${cmd}
+ start-stop-daemon --start --quiet --chuid ${DAEMON_OWN} \
+ --exec ${DAEMON_BIN} --pidfile ${DAEMON_PID} \
+ -- --pid-path ${DAEMON_PID}
+ echo "."
+ fi
+}
+
+stop_daemon () {
+ echo -n "Stopping ipw3945 regulatory daemon: ipw3945d"
+ start-stop-daemon --stop --quiet --pidfile ${DAEMON_PID} \
+ --signal TERM > /dev/null 2>&1 || rm -f ${DAEMON_PID}
+ echo "."
+}
+
+test -x ${DAEMON_BIN} || exit 0
+test ${DAEMON_RUN} = 'yes' || exit 0
+
+case "$1" in
+ start)
+ start_daemon
+ ;;
+ stop)
+ stop_daemon
+ ;;
+ restart|force-reload)
+ stop_daemon
+ start_daemon
+ ;;
+ *)
+ echo "Usage: ${0} {start|stop|restart|force-reload}"
+ exit 1
+ ;;
+esac
+exit 0
Added: people/jurij/ipw3945-daemon/debian/ipw3945d.8
==============================================================================
--- (empty file)
+++ people/jurij/ipw3945-daemon/debian/ipw3945d.8 Wed Oct 11 06:22:30 2006
@@ -0,0 +1,51 @@
+.\" This manual page is Copyright (C) 2006 Jurij Smakov <jurij at debian.org>.
+.\" Freely distributable under the terms of the GPLv2, as published by the
+.\" Free Software Foundation.
+.TH IPW3945D "8" "October 2006" "ipw3945d 1.7.22" "System Administration Utilities"
+.SH NAME
+ipw3945d \- regulatory daemon for Intel/PRO Wireless 3945ABG cards
+.SH SYNOPSIS
+.B /sbin/ipw3945d
+.RB [\fIOPTIONS\fR]
+.SH DESCRIPTION
+ipw3945d is a binary userspace regulatory daemon, responsible for controlling
+and configuring aspects of the hardware required to operate the device within
+compliance of various regulatory agencies. This includes controlling which
+channels are allowed to do active/passive scanning, transmit power levels,
+which channels are allowed to be transmitted on, and support for IEEE 802.11h
+standard. It is required for operation of the card when used with the ipw3945
+Linux kernel driver.
+.SH OPTIONS
+.TP
+\fB\-\-quiet\fR
+Load silently (unless errors occur).
+.TP
+\fB\-\-timeout\fR=\fIVALUE\fR
+Wait up to VALUE seconds for driver to load.
+Default 0 (do not wait).
+A value of -1 means to wait forever.
+.TP
+\fB\-\-log\-file\fR=\fINAME\fR
+Specify log file (default is no log).
+.TP
+\fB\-\-pid\-file\fR=\fINAME\fR
+Specify pid file location
+(default \fB/var/run/ipw3945d.pid\fR).
+.TP
+\fB\-\-version\fR
+Display version information.
+.TP
+\fB\-\-foreground\fR
+Do not fork to background.
+.TP
+\fB\-\-kill\fR
+Kill any running ipw3945d instance and exit.
+.TP
+\fB\-\-help\fR
+Display a help message.
+.TP
+\fB\-\-isrunning\fR
+Check if already running. Returns 0 if yes.
+.SH COPYRIGHT
+.B ipw3945d
+is Copyright (C) 2005-2006 Intel Corporation. All rights reserved.
Added: people/jurij/ipw3945-daemon/debian/postinst
==============================================================================
--- (empty file)
+++ people/jurij/ipw3945-daemon/debian/postinst Wed Oct 11 06:22:30 2006
@@ -0,0 +1,15 @@
+#!/bin/sh
+
+case "$1" in
+ configure)
+ adduser --quiet --system --no-create-home --force-badname \
+ --groups Debian-ipw3945d
+ #DEBHELPER#
+ ;;
+ abort-upgrade|abort-remove|abort-deconfigure)
+ ;;
+ *)
+ echo "${0} called with unknown argument ${1}"
+ exit 1
+ ;;
+esac
Added: people/jurij/ipw3945-daemon/debian/rules
==============================================================================
--- (empty file)
+++ people/jurij/ipw3945-daemon/debian/rules Wed Oct 11 06:22:30 2006
@@ -0,0 +1,40 @@
+#!/usr/bin/make -f
+
+ARCH := $(shell dpkg-architecture -qDEB_HOST_ARCH)
+ifeq (i386,$(strip $(ARCH)))
+ ARCHDIR := x86
+endif
+ifeq (amd64,$(strip $(ARCH)))
+ ARCHDIR := x86_64
+endif
+ifndef ARCHDIR
+ $(error Unsupported architecture $(ARCH))
+endif
+
+clean:
+ dh_testdir
+ dh_clean
+
+binary: binary-indep binary-arch
+
+binary-indep: build
+
+binary-arch: build install
+
+build:
+
+install:
+ dh_testdir
+ dh_testroot
+ dh_installdocs README.ipw3945d
+ dh_installchangelogs
+ dh_installinit
+ dh_installman debian/ipw3945d.8
+# Install the right version, depending on the arch
+ dh_install $(ARCHDIR)/ipw3945d /sbin
+ dh_shlibdeps
+ dh_installdeb
+ dh_fixperms
+ dh_compress
+ dh_gencontrol
+ dh_builddeb
More information about the Kernel-svn-changes
mailing list