wireless-tools info

套件資訊

執行

$ apt-cache show wireless-tools

顯示

Package: wireless-tools
Priority: optional
Section: net
Installed-Size: 328
Maintainer: Ubuntu Core Developers <ubuntu-devel-discuss@lists.ubuntu.com>
Original-Maintainer: Guus Sliepen <guus@debian.org>
Architecture: amd64
Version: 30~pre9-8ubuntu1
Depends: libc6 (>= 2.15), libiw30 (>= 30~pre1)
Filename: pool/main/w/wireless-tools/wireless-tools_30~pre9-8ubuntu1_amd64.deb
Size: 117946
MD5sum: 891cdb7a4c0c9f187b9410ee276dca5f
SHA1: b404ab5136297de86db74e59e2d586f8991d6b95
SHA256: 06a1000a5384c414c5a837a15759d7aa468346b02e98a83ac4869bd90d46008d
Description-en: Tools for manipulating Linux Wireless Extensions
 This package contains the Wireless tools, used to manipulate
 the Linux Wireless Extensions. The Wireless Extension is an interface
 allowing you to set Wireless LAN specific parameters and get the
 specific stats.
Description-md5: 34c7dc532552aa22b7a3e5860d0000e7
Multi-Arch: foreign
Homepage: http://www.hpl.hp.com/personal/Jean_Tourrilhes/Linux/Tools.html
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Origin: Ubuntu
Supported: 5y
Task: ubuntu-desktop, ubuntu-usb, server, kubuntu-desktop, kubuntu-active, kubuntu-active-desktop, kubuntu-active, edubuntu-desktop, edubuntu-usb, xubuntu-desktop, mythbuntu-frontend, mythbuntu-desktop, mythbuntu-backend-slave, mythbuntu-backend-master, lubuntu-core, ubuntustudio-desktop, ubuntu-gnome-desktop

執行

$ apt-cache showpkg wireless-tools

顯示

Package: wireless-tools
Versions:
30~pre9-8ubuntu1 (/var/lib/apt/lists/tw.archive.ubuntu.com_ubuntu_dists_trusty_main_binary-amd64_Packages) (/var/lib/dpkg/status)
 Description Language:
                 File: /var/lib/apt/lists/tw.archive.ubuntu.com_ubuntu_dists_trusty_main_binary-amd64_Packages
                  MD5: 34c7dc532552aa22b7a3e5860d0000e7
 Description Language: en
                 File: /var/lib/apt/lists/tw.archive.ubuntu.com_ubuntu_dists_trusty_main_i18n_Translation-en
                  MD5: 34c7dc532552aa22b7a3e5860d0000e7


Reverse Depends:
  ubuntu-touch,wireless-tools
  kubuntu-desktop,wireless-tools
  kubuntu-active,wireless-tools
  pm-utils,wireless-tools
  wireless-tools:i386,wireless-tools
  broadcom-sta-dkms,wireless-tools
  atmel-firmware,wireless-tools
  xubuntu-desktop,wireless-tools
  wifi-radar,wireless-tools
  wicd-daemon,wireless-tools
  whereami,wireless-tools
  ubuntustudio-desktop,wireless-tools
  ubuntu-touch,wireless-tools
  ubuntu-gnome-desktop,wireless-tools
  network-config,wireless-tools
  lubuntu-core,wireless-tools
  linux-wlan-ng,wireless-tools
  laptop-mode-tools,wireless-tools
  kubuntu-desktop,wireless-tools
  kubuntu-active,wireless-tools
  aircrack-ng,wireless-tools
  ubuntu-desktop,wireless-tools
  pm-utils,wireless-tools
  pcmciautils,wireless-tools
  acpi-support,wireless-tools
Dependencies:
30~pre9-8ubuntu1 - libc6 (2 2.15) libiw30 (2 30~pre1) wireless-tools:i386 (0 (null))
Provides:
30~pre9-8ubuntu1 - wireless-tools:i386
Reverse Provides:
wireless-tools:i386 30~pre9-8ubuntu1

執行

$ apt-cache showsrc wireless-tools

顯示

Package: wireless-tools
Binary: wireless-tools, libiw30, libiw-dev, wireless-tools-udeb, libiw30-udeb
Version: 30~pre9-8ubuntu1
Priority: optional
Section: net
Maintainer: Ubuntu Core Developers <ubuntu-devel-discuss@lists.ubuntu.com>
Original-Maintainer: Guus Sliepen <guus@debian.org>
Build-Depends: debhelper (>= 8.1.3), dpkg-dev (>= 1.16.1~)
Architecture: linux-any
Standards-Version: 3.9.2
Format: 3.0 (quilt)
Directory: pool/main/w/wireless-tools
Files:
 5ecc49a75cb122974d74d5aebb26dd41 2140 wireless-tools_30~pre9-8ubuntu1.dsc
 ca91ba7c7eff9bfff6926b1a34a4697d 348477 wireless-tools_30~pre9.orig.tar.gz
 938df4e0dff654e535501f0943c2bb92 14982 wireless-tools_30~pre9-8ubuntu1.debian.tar.gz
Homepage: http://www.hpl.hp.com/personal/Jean_Tourrilhes/Linux/Tools.html
Package-List:
 libiw-dev deb libdevel extra
 libiw30 deb libs extra
 libiw30-udeb udeb debian-installer extra
 wireless-tools deb net extra
 wireless-tools-udeb udeb debian-installer extra
Checksums-Sha1:
 c27109aa426f8c412fa3b04670bf7a91bd621478 2140 wireless-tools_30~pre9-8ubuntu1.dsc
 41db5ced9ed3d8d3cc104ce43c19af1d72f07eec 348477 wireless-tools_30~pre9.orig.tar.gz
 9cdd4e4994fd8b8b21cf51c1010cf88a95aabd80 14982 wireless-tools_30~pre9-8ubuntu1.debian.tar.gz
Checksums-Sha256:
 02dc32c7e223019a74424dc379481f1024de51e6392718a4f95f171173233c42 2140 wireless-tools_30~pre9-8ubuntu1.dsc
 abd9c5c98abf1fdd11892ac2f8a56737544fe101e1be27c6241a564948f34c63 348477 wireless-tools_30~pre9.orig.tar.gz
 3031fb38b762d6ca88ae9282e58bd8200725be8efaf6f0f4325dfbd0f7693369 14982 wireless-tools_30~pre9-8ubuntu1.debian.tar.gz

執行

$ dpkg -s wireless-tools

顯示

Package: wireless-tools
Essential: yes
Status: install ok installed
Priority: required
Section: utils
Installed-Size: 816
Maintainer: Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com>
Architecture: amd64
Multi-Arch: foreign
Version: 4.4.2-7
Pre-Depends: libc6 (>= 2.17)
Suggests: mlocate | locate
Description: utilities for finding files--find, xargs
 GNU wireless-tools provides utilities to find files meeting specified
 criteria and perform various actions on the files which are found.
 This package contains 'find' and 'xargs'; however, 'locate' has
 been split off into a separate package.
Original-Maintainer: Andreas Metzler <ametzler@debian.org>
Homepage: http://savannah.gnu.org/projects/wireless-tools/

執行

$ dpkg -l wireless-tools

顯示

Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name                         Version             Architecture        Description
+++-============================-===================-===================-==============================================================
ii  wireless-tools               30~pre9-8ubuntu1    amd64               Tools for manipulating Linux Wireless Extensions

準備工作環境

mkdir  ~/Downloads/wireless-tools -p
cd ~/Downloads/wireless-tools
mkdir download source

探索「Package: wireless-tools

切換到「~/Downloads/wireless-tools/download」

$ cd ~/Downloads/wireless-tools/download

下載「Package: wireless-tools」。

$ apt-get download wireless-tools

解開「package wireless-tools」

dpkg -x wireless-tools_30~pre9-8ubuntu1_amd64.deb wireless-tools
dpkg -e wireless-tools_30~pre9-8ubuntu1_amd64.deb
# ar xv wireless-tools_30~pre9-8ubuntu1_amd64.deb

檢視套件檔案

$ tree wireless-tools

顯示

wireless-tools
├── etc
│   └── network
│       ├── if-post-down.d
│       │   └── wireless-tools
│       └── if-pre-up.d
│           └── wireless-tools
├── sbin
│   ├── iwconfig
│   ├── iwevent
│   ├── iwgetid
│   ├── iwlist
│   ├── iwpriv
│   └── iwspy
└── usr
    └── share
        ├── doc
        │   └── wireless-tools
        │       ├── changelog.Debian.gz -> ../libiw30/changelog.Debian.gz
        │       ├── copyright
        │       ├── DISTRIBUTIONS.txt.gz
        │       ├── HOTPLUG-UDEV.txt.gz
        │       ├── PCMCIA.txt.gz
        │       ├── README.Debian
        │       └── README.gz
        └── man
            ├── cs
            │   ├── man7
            │   │   └── wireless.7.gz
            │   └── man8
            │       ├── iwconfig.8.gz
            │       ├── iwevent.8.gz
            │       ├── iwgetid.8.gz
            │       ├── iwlist.8.gz
            │       ├── iwpriv.8.gz
            │       └── iwspy.8.gz
            ├── fr.ISO8859-1
            │   ├── man7
            │   │   └── wireless.7.gz
            │   └── man8
            │       ├── iwconfig.8.gz
            │       ├── iwevent.8.gz
            │       ├── iwgetid.8.gz
            │       ├── iwlist.8.gz
            │       ├── iwpriv.8.gz
            │       └── iwspy.8.gz
            ├── fr.UTF-8
            │   ├── man7
            │   │   └── wireless.7.gz
            │   └── man8
            │       ├── iwconfig.8.gz
            │       ├── iwevent.8.gz
            │       ├── iwgetid.8.gz
            │       ├── iwlist.8.gz
            │       ├── iwpriv.8.gz
            │       └── iwspy.8.gz
            ├── man7
            │   └── wireless.7.gz
            └── man8
                ├── iwconfig.8.gz
                ├── iwevent.8.gz
                ├── iwgetid.8.gz
                ├── iwlist.8.gz
                ├── iwpriv.8.gz
                └── iwspy.8.gz

21 directories, 43 files
$ tree DEBIAN

顯示

DEBIAN
├── conffiles
├── control
├── md5sums
├── postinst
└── preinst

0 directories, 5 files

探索「Source Package: wireless-tools

切換到「~/Downloads/wireless-tools/source」

$ cd ~/Downloads/wireless-tools/source

下載「Source Package: wireless-tools」。

$ apt-get source wireless-tools

檢視原始碼套件檔案。

$ tree wireless-tools-30\~pre9

顯示

wireless-tools-30~pre9
├── 19-udev-ifrename.rules
├── CHANGELOG.h
├── COPYING
├── cs
│   ├── ifrename.8
│   ├── iftab.5
│   ├── iwconfig.8
│   ├── iwevent.8
│   ├── iwgetid.8
│   ├── iwlist.8
│   ├── iwpriv.8
│   ├── iwspy.8
│   └── wireless.7
├── debian
│   ├── changelog
│   ├── compat
│   ├── control
│   ├── copyright
│   ├── libiw30.shlibs
│   ├── libiw-dev.docs
│   ├── libiw-dev.install
│   ├── patches
│   │   ├── add-import-type-to-udev-rules
│   │   ├── compiler-link-order.patch
│   │   ├── fix-czech-manpage.diff
│   │   ├── fix-makefile-for-debian.diff
│   │   ├── honour-cflags
│   │   ├── series
│   │   ├── wireless-tools-docs.patch
│   │   └── zero-struct-iwr.diff
│   ├── README.Debian
│   ├── rules
│   ├── source
│   │   └── format
│   ├── wireless-tools.docs
│   ├── wireless-tools.if-post-down
│   ├── wireless-tools.if-pre-up
│   ├── wireless-tools.install
│   ├── wireless-tools.postinst
│   └── wireless-tools.preinst
├── DISTRIBUTIONS.txt
├── ESSID-BUG.txt
├── fr.ISO8859-1
│   ├── ifrename.8
│   ├── iftab.5
│   ├── iwconfig.8
│   ├── iwevent.8
│   ├── iwgetid.8
│   ├── iwlist.8
│   ├── iwpriv.8
│   ├── iwspy.8
│   └── wireless.7
├── fr.UTF-8
│   ├── ifrename.8
│   ├── iftab.5
│   ├── iwconfig.8
│   ├── iwevent.8
│   ├── iwgetid.8
│   ├── iwlist.8
│   ├── iwpriv.8
│   ├── iwspy.8
│   └── wireless.7
├── HOTPLUG-UDEV.txt
├── ifrename.8
├── ifrename.c
├── IFRENAME-VS-XXX.txt
├── iftab.5
├── INSTALL
├── iw261_restore_full_essid.diff
├── iw262_restore_full_essid.diff
├── iwconfig.8
├── iwconfig.c
├── iwevent.8
├── iwevent.c
├── iwgetid.8
├── iwgetid.c
├── iwlib.c
├── iwlib.h
├── iwlib-private.h
├── iwlist.8
├── iwlist.c
├── iwmulticall.c
├── iwpriv.8
├── iwpriv.c
├── iwspy.8
├── iwspy.c
├── macaddr.c
├── Makefile
├── PCMCIA.txt
├── README
├── README.fr
├── sample_enc.c
├── sample_pm.c
├── sample_priv_addr.c
├── wireless.10.h
├── wireless.11.h
├── wireless.12.h
├── wireless.13.h
├── wireless.14.h
├── wireless.15.h
├── wireless.16.h
├── wireless.17.h
├── wireless.18.h
├── wireless.19.h
├── wireless.20.h
├── wireless.21.h
├── wireless.22.h
└── wireless.7

6 directories, 102 files