New comment by svenper on void-packages repository https://github.com/void-linux/void-packages/issues/18581#issuecomment-612896421 Comment: This should obviously be similar to `iwd`, changing the template something like below. ```diff $ diff -u srcpkgs/eiwd srcpkgs/iwd Common subdirectories: srcpkgs/iwd/files and srcpkgs/eiwd/files Common subdirectories: srcpkgs/iwd/patches and srcpkgs/eiwd/patches diff '--color=auto' -u srcpkgs/iwd/template srcpkgs/eiwd/template --- srcpkgs/iwd/template 2020-04-13 13:18:30.667441658 +0200 +++ srcpkgs/eiwd/template 2020-04-13 15:14:40.163397020 +0200 @@ -1,21 +1,21 @@ -# Template file for 'iwd' -pkgname=iwd -version=1.6 +# Template file for 'eiwd' +pkgname=eiwd +version=1.6r1 revision=1 +wrksrc="${pkgname}-${version/r/-}" build_style=gnu-configure configure_args="--disable-systemd-service --enable-pie - --enable-external-ell --enable-dbus-policy --enable-wired" + --disable-external-ell --disable-dbus --enable-wired" hostmakedepends="python3-docutils pkg-config automake libtool" -makedepends="readline-devel dbus-devel ell-devel" -depends="dbus ell>=0.29" +makedepends="readline-devel" checkdepends="python3" -short_desc="Internet Wireless Daemon by Intel that aims to replace wpa_supplicant" +short_desc="""iwd without dbus" maintainer="Peter Bui " license="LGPL-2.1-or-later" -homepage="https://iwd.wiki.kernel.org/" -changelog="https://git.kernel.org/pub/scm/network/wireless/iwd.git/plain/ChangeLog" -distfiles="${KERNEL_SITE}/network/wireless/${pkgname}-${version}.tar.xz" -checksum=07945e3166b7289bc8f103ba0f433cf735dd9f9ba78ddc9e475a6a478db344e7 +homepage="https://github.com/dylanaraps/eiwd" +changelog="https://raw.githubusercontent.com/dylanaraps/eiwd/master/ChangeLog" +distfiles="https://github.com/dylanaraps/eiwd/releases/download/${version/r/-}/eiwd-${version/r/-}.tar.xz" +checksum=35e9938ccecad1a1336ee94d92ec5cfc2f059bd6d3b154034a450ac3385dbc19 make_dirs="/var/lib/iwd 0600 root root /etc/iwd 755 root root" ``` It builds, but breaks, maybe because of misconfiguration (eiwd has no automatic configuration). `iw dev` shows the `ssid` row for a few seconds, but then disappears. ```text Wireless daemon version 1.6 Loaded configuration from /etc/iwd/main.conf netconfig: Network configuration is disabled. Wiphy: 0, Name: phy0 Permanent Address: xx:xx:xx:xx:xx:xx Bands: 2.4 GHz 5 GHz Ciphers: CCMP TKIP BIP Supported iftypes: ad-hoc station ap p2p-client p2p-go p2p-device Wiphy phy0 will only use the default interface 4-Way handshake failed for ifindex: 4, reason: 15 ``` /etc/iwd/main.conf ```text [General] UseDefaultInterface=true ``` /var/lib/iwd/potato.psk ```text [Security] PreSharedKey=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx ```