summaryrefslogtreecommitdiff
path: root/snapcraft.yaml
blob: 72e83647f2911b89c482946063988a9248ee7f2a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
name: wireless-tools
version: 2
summary: Tools for manipulating Linux Wireless Extensions
description: |
  This snap 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. Also the Wireless tools include the rfkill tool to
  query and manage the state of the rfkill switches.
  Please find the source of this snap at the following location:
  https://code.launchpad.net/~snappy-hwe-team/snappy-hwe-snaps/+git/wireless-tools
confinement: strict
grade: stable

apps:
  iw:
    command: sbin/iw
    plugs: [network-control, network, network-bind]
  iwpriv:
    command: sbin/iwpriv
    plugs: [network-control, network, network-bind]
  iwconfig:
    command: sbin/iwconfig
    plugs: [network-control, network, network-bind]
  iwgetid:
    command: sbin/iwgetid
    plugs: [network-control, network, network-bind]
  iwspy:
    command: sbin/iwspy
    plugs: [network-control, network, network-bind]
  iwevent:
    command: sbin/iwevent
    plugs: [network-control, network, network-bind]
  rfkill:
    command: usr/sbin/rfkill
    plugs: [network-control]

parts:
  wireless-tools:
    plugin: nil
    stage-packages:
      - wireless-tools
      - iw
    snap:
      - sbin/
      - usr/share/doc/wireless-tools/
      - usr/share/doc/iw/
  rfkill:
    plugin: nil
    stage-packages:
      - rfkill
    snap:
      - usr/share/doc/rfkill/copyright
      - usr/sbin/rfkill