Github messages for voidlinux
 help / color / mirror / Atom feed
From: svenper <svenper@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: Re: Package request: eiwd
Date: Mon, 13 Apr 2020 15:24:38 +0200	[thread overview]
Message-ID: <20200413132438.qQLLjFs2iIjE42hZPvo5l7diHsi4FQ-Rh_-DdWjX7uo@z> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-18581@inbox.vuxu.org>

[-- Attachment #1: Type: text/plain, Size: 2890 bytes --]

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


```

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

  reply	other threads:[~2020-04-13 13:24 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-01-27 10:42 [ISSUE] " voidlinux-github
2020-04-13 13:24 ` svenper [this message]
2020-04-13 13:51 ` svenper
2020-04-13 14:27 ` svenper
2020-04-26 18:57 ` svenper
2021-01-21 14:38 ` ericonr
2021-01-21 14:38 ` [ISSUE] [CLOSED] " ericonr

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20200413132438.qQLLjFs2iIjE42hZPvo5l7diHsi4FQ-Rh_-DdWjX7uo@z \
    --to=svenper@users.noreply.github.com \
    --cc=ml@inbox.vuxu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).