Ubuntu Pastebin

Paste from zyga at Mon, 14 Sep 2015 17:19:18 +0000

Download as text
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
name: hostapd
summary: HostAP Daemon
icon: icon.png
description: >
  User space IEEE 802.11 AP and IEEE 802.1X/WPA/WPA2/EAP Authenticator
version: 1
vendor: Zygmunt Krynicki <zygmunt.krynicki@canonical.com>
parts:
    hostapd:
        plugin: custom
        source: https://w1.fi/releases/hostapd-2.4.tar.gz
        source-type: tar
        custom-cmds:
            - cp hostapd/defconfig hostapd/.config
            - sed -i -e 's/#CONFIG_LIBNL32=y/CONFIG_LIBNL32=y/g' hostapd/.config
            - make -C hostapd
            - make -C hostapd install BINDIR=/usr/bin DESTDIR=$SNAPCRAFT_PART_INSTALL_DIR
        binaries:
         - name: hostapd 
           security-template: unconfined
         - name: hostapd_cli 
           security-template: unconfined
Download as text