Closed RibalGZ closed 3 years ago
This should obviously be similar to iwd
, changing the template something like below.
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:49:16.257618727 +0200
@@ -1,23 +1,24 @@
-# 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 <pbui@github.bx612.space>"
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"
+conflicts="iwd>=0"
pre_configure() {
autoreconf -fi
Only in srcpkgs/eiwd: update
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.
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
[General]
UseDefaultInterface=true
/var/lib/iwd/potato.psk
[Security]
PreSharedKey=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Then again, this happens with normal iwd
as well...
Never mind what I said above, I forgot I had messed with my drivers. #21355 Works!
IWD has fixed multiple bugs and security issues, but eiwd hasn't kept up with such changes at all. Closing this request.
eiwd - iwd without dbus Source: https://github.com/dylanaraps/eiwd Release: https://github.com/dylanaraps/eiwd/releases/tag/0.2.5