Github messages for voidlinux
 help / color / mirror / Atom feed
From: matthias-t <matthias-t@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: Re: [PR PATCH] [Updated] wpa_supplicant: add DRIVER option to runit service
Date: Tue, 14 Apr 2020 17:04:57 +0200	[thread overview]
Message-ID: <20200414150457.FSyri4xf1XEKvaDCXEfFnXDlbVW1sxxSalXKg7MGK3g@z> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-20972@inbox.vuxu.org>

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

There is an updated pull request by matthias-t against master on the void-packages repository

https://github.com/matthias-t/void-packages wpa_supplicant-driver
https://github.com/void-linux/void-packages/pull/20972

wpa_supplicant: add DRIVER option to runit service
On old hardware were `wext` is needed, there should be a way to configure `wpa_supplicant` without resorting to setting all options manually through `OPTS`.

A patch file from https://github.com/void-linux/void-packages/pull/20972.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-wpa_supplicant-driver-20972.patch --]
[-- Type: text/x-diff, Size: 1431 bytes --]

From 54142f096a3c0e3e84f2e0ffbf857ffeda0d34c3 Mon Sep 17 00:00:00 2001
From: Matthias Totschnig <matthias@totschnig.org>
Date: Tue, 14 Apr 2020 12:19:22 +0200
Subject: [PATCH] wpa_supplicant: add DRIVER option to runit service

---
 srcpkgs/wpa_supplicant/files/wpa_supplicant/run | 2 +-
 srcpkgs/wpa_supplicant/template                 | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/srcpkgs/wpa_supplicant/files/wpa_supplicant/run b/srcpkgs/wpa_supplicant/files/wpa_supplicant/run
index f9e004b2181..d96bac26d1a 100644
--- a/srcpkgs/wpa_supplicant/files/wpa_supplicant/run
+++ b/srcpkgs/wpa_supplicant/files/wpa_supplicant/run
@@ -1,7 +1,7 @@
 #!/bin/sh
 if [ -r ./conf ]; then
 	. ./conf
-	: ${OPTS:=-M -c ${CONF_FILE:-/etc/wpa_supplicant/wpa_supplicant.conf} ${WPA_INTERFACE:+-i ${WPA_INTERFACE}} -s}
+	: ${OPTS:=-M -c ${CONF_FILE:-/etc/wpa_supplicant/wpa_supplicant.conf} ${WPA_INTERFACE:+-i ${WPA_INTERFACE}} ${DRIVER:+-D ${DRIVER}} -s}
 else
 	. ./auto
 	OPTS="${AUTO} -s"
diff --git a/srcpkgs/wpa_supplicant/template b/srcpkgs/wpa_supplicant/template
index 4a654889f0a..8da2652238d 100644
--- a/srcpkgs/wpa_supplicant/template
+++ b/srcpkgs/wpa_supplicant/template
@@ -1,7 +1,7 @@
 # Template file for 'wpa_supplicant'
 pkgname=wpa_supplicant
 version=2.9
-revision=1
+revision=2
 build_wrksrc="$pkgname"
 short_desc="WPA/WPA2/IEEE 802.1X Supplicant"
 maintainer="Enno Boland <gottox@voidlinux.org>"

  reply	other threads:[~2020-04-14 15:04 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-04-14 11:21 [PR PATCH] " matthias-t
2020-04-14 15:04 ` matthias-t [this message]
2020-04-14 15:05 ` matthias-t
2020-04-14 15:10 ` Hoshpak
2020-04-14 15:10 ` [PR PATCH] [Merged]: " Hoshpak
2020-04-14 15:12 ` matthias-t

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=20200414150457.FSyri4xf1XEKvaDCXEfFnXDlbVW1sxxSalXKg7MGK3g@z \
    --to=matthias-t@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).