mirror of
https://github.com/libretro/Lakka-LibreELEC.git
synced 2025-04-02 10:41:46 -04:00
- Add support for the Test Anything Protocol. - handshake: add more debugging around PMKSA caching
41 lines
1.5 KiB
Makefile
41 lines
1.5 KiB
Makefile
# SPDX-License-Identifier: GPL-2.0-or-later
|
|
# Copyright (C) 2018-present Team LibreELEC (https://libreelec.tv)
|
|
|
|
PKG_NAME="iwd"
|
|
PKG_VERSION="3.4"
|
|
PKG_SHA256="0e7b99390fc971b85b25c4eb4ffeee082717123cb9726d51cec9481b621f6723"
|
|
PKG_LICENSE="GPL"
|
|
PKG_SITE="https://git.kernel.org/cgit/network/wireless/iwd.git/about/"
|
|
PKG_URL="https://www.kernel.org/pub/linux/network/wireless/iwd-${PKG_VERSION}.tar.xz"
|
|
PKG_DEPENDS_TARGET="autotools:host gcc:host readline dbus"
|
|
PKG_LONGDESC="Wireless daemon for Linux"
|
|
PKG_TOOLCHAIN="autotools"
|
|
|
|
PKG_CONFIGURE_OPTS_TARGET="--enable-client \
|
|
--enable-monitor \
|
|
--enable-systemd-service \
|
|
--enable-dbus-policy \
|
|
--disable-manual-pages"
|
|
|
|
pre_configure_target() {
|
|
export LIBS="-lncurses"
|
|
}
|
|
|
|
post_makeinstall_target() {
|
|
# ProtectSystem et al seems to break the service when systemd isn't built with seccomp.
|
|
# investigate this more as it might be a systemd problem or kernel problem
|
|
sed -e 's|^\(PrivateTmp=.*\)$|#\1|g' \
|
|
-e 's|^\(NoNewPrivileges=.*\)$|#\1|g' \
|
|
-e 's|^\(PrivateDevices=.*\)$|#\1|g' \
|
|
-e 's|^\(ProtectHome=.*\)$|#\1|g' \
|
|
-e 's|^\(ProtectSystem=.*\)$|#\1|g' \
|
|
-e 's|^\(ReadWritePaths=.*\)$|#\1|g' \
|
|
-e 's|^\(ProtectControlGroups=.*\)$|#\1|g' \
|
|
-e 's|^\(ProtectKernelModules=.*\)$|#\1|g' \
|
|
-e 's|^\(ConfigurationDirectory=.*\)$|#\1|g' \
|
|
-i ${INSTALL}/usr/lib/systemd/system/iwd.service
|
|
}
|
|
|
|
post_install() {
|
|
enable_service iwd.service
|
|
}
|