Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Package request: eiwd #18581

Closed
RibalGZ opened this issue Jan 27, 2020 · 3 comments
Closed

Package request: eiwd #18581

RibalGZ opened this issue Jan 27, 2020 · 3 comments
Labels
request Package request

Comments

@RibalGZ
Copy link
Contributor

RibalGZ commented Jan 27, 2020

eiwd - iwd without dbus
Source: https://github.com/dylanaraps/eiwd
Release: https://github.com/dylanaraps/eiwd/releases/tag/0.2.5

@jnbr jnbr added the request Package request label Jan 27, 2020
@svenper
Copy link
Contributor

svenper commented Apr 13, 2020

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...

@svenper
Copy link
Contributor

svenper commented Apr 26, 2020

Never mind what I said above, I forgot I had messed with my drivers. #21355 Works!

@ericonr
Copy link
Member

ericonr commented Jan 21, 2021

IWD has fixed multiple bugs and security issues, but eiwd hasn't kept up with such changes at all. Closing this request.

@ericonr ericonr closed this as completed Jan 21, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
request Package request
Projects
None yet
Development

No branches or pull requests

4 participants