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
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113 | ...
Preparing to build network-utils
Building network-utils
Parts 'hostapd' and 'hostapd-rtl8188' have the following file paths in common which have different contents:
bin/hostapd
bin/hostapd_cli
simon@nirvana ~/Work/ubuntu/snappy/hwe/wifi-ap (master*) $ ls parts/hostapd-rtl8188/install/bin
hostapd hostapd_cli
simon@nirvana ~/Work/ubuntu/snappy/hwe/wifi-ap (master*) $ ls parts/hostapd/install/bin
hostapd hostapd_cli
simon@nirvana ~/Work/ubuntu/snappy/hwe/wifi-ap (master*) $ cat snapcraft.yaml
name: wifi-ap
version: 2
confinement: strict
summary: WiFi Access Point based on hostapd
description: |
This snap is implementing a WiFi access point based on hostapd and allows
easily to share a internet connection or just create a network others can
easily connect to.
Please find the source of this snap at:
https://code.launchpad.net/~snappy-hwe-team/snappy-hwe-snaps/+git/wifi-ap
apps:
dnsmasq:
command: bin/dnsmasq.sh start
daemon: simple
stop-command: bin/dnsmasq.sh stop
plugs:
- network-control
- firewall-control
- network-bind
hostapd:
command: bin/hostapd.sh
daemon: simple
plugs:
- network-control
- network-bind
config:
command: bin/config.sh
parts:
scripts:
plugin: dump
source: .
filesets:
all:
- bin/config.sh
- bin/config-internal.sh
- bin/hostapd.sh
- bin/dnsmasq.sh
- conf/default-config
snap:
- $all
network-utils:
plugin: nil
stage-packages:
- iw
- wireless-tools
organize:
sbin: bin
filesets:
binaries:
- bin/iw
- bin/iwconfig
snap:
- $binaries
dnsmasq:
plugin: make
source: https://git.launchpad.net/~snappy-hwe-team/snappy-hwe-snaps/+git/wifi-ap
source-type: git
source-branch: dnsmasq/2.75
build-packages:
- build-essential
make-parameters:
- PREFIX=/
organize:
sbin/dnsmasq: bin/dnsmasq
filesets:
binaries:
- bin/dnsmasq
snap:
- $binaries
hostapd:
plugin: make
source: https://git.launchpad.net/~snappy-hwe-team/snappy-hwe-snaps/+git/wifi-ap
source-type: git
source-branch: hostapd/2.5
build-packages:
- build-essential
make-parameters:
- BINDIR=/bin
filesets:
binaries:
- bin/hostapd
- bin/hostapd_cli
snap:
- $binaries
hostapd-rtl8188:
plugin: make
source: https://git.launchpad.net/~snappy-hwe-team/snappy-hwe-snaps/+git/wifi-ap
source-type: git
source-branch: hostapd/2.5-rtl8188
build-packages:
- build-essential
make-parameters:
- BINDIR=/bin
organize:
bin/hostapd: bin/hostapd_rtl8188
filesets:
binaries:
- bin/hostapd_rtl8188
snap:
- $binaries
|