Update net/wireless v5 -> v6

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

Update net/wireless v5 -> v6

Gregor Best-2
Hi people,

This is a tiny update to net/wireless that contains no functional
changes but an updated manpage. kl@ suggested just bundling the changes
in a patch to the port until the next release, but I figured I don't
think I'll need to make another release of wireless anytime soon so I
might as well do a proper release.

--
        Gregor

Index: net/wireless//Makefile
===================================================================
RCS file: /home/cvs/ports/net/wireless/Makefile,v
retrieving revision 1.4
diff -u -p -r1.4 Makefile
--- net/wireless//Makefile 6 May 2018 14:05:56 -0000 1.4
+++ net/wireless//Makefile 21 May 2018 19:30:58 -0000
@@ -2,7 +2,7 @@
 
 COMMENT = automatically scan for and configure wireless networks
 
-V = 5
+V = 6
 DISTNAME = wireless-v$V
 PKGNAME = wireless-$V
 
Index: net/wireless//distinfo
===================================================================
RCS file: /home/cvs/ports/net/wireless/distinfo,v
retrieving revision 1.3
diff -u -p -r1.3 distinfo
--- net/wireless//distinfo 6 May 2018 14:05:56 -0000 1.3
+++ net/wireless//distinfo 21 May 2018 19:31:03 -0000
@@ -1,2 +1,2 @@
-SHA256 (wireless-v5.tar.gz) = DbW6RVSyQvstKemJO57yARkGpYzpNzjuL0PCTipUabA=
-SIZE (wireless-v5.tar.gz) = 9100
+SHA256 (wireless-v6.tar.gz) = 9z8dil2INsJinyCGBFGDDmWk4VSDy+UA7DrOUeAuqUY=
+SIZE (wireless-v6.tar.gz) = 9590

Reply | Threaded
Open this post in threaded view
|

Re: Update net/wireless v5 -> v6

Gregor Best-2
On Mon, May 21, 2018 at 09:33:12PM +0200, Gregor Best wrote:
> [...]
> kl@ suggested just bundling the changes in a patch to the port until the next release,
> [...]

I meant kn@ of course. Time to get my Vim to autocorrect @openbsd.org
mail addresses :)

--
        Gregor

Reply | Threaded
Open this post in threaded view
|

Re: Update net/wireless v5 -> v6

Klemens Nanni-2
In reply to this post by Gregor Best-2
On Mon, May 21, 2018 at 09:33:12PM +0200, Gregor Best wrote:
> This is a tiny update to net/wireless that contains no functional
> changes but an updated manpage. kl@ suggested just bundling the changes
> in a patch to the port until the next release, but I figured I don't
> think I'll need to make another release of wireless anytime soon so I
> might as well do a proper release.
The update mentions hexkey support and fixes minor markup nits:

diff --git a/wireless.8 b/wireless.8
index 10a3b32..97ec96f 100644
--- a/wireless.8
+++ b/wireless.8
@@ -50,7 +50,7 @@ will notify
 of the newly established connection by calling
 .Pp
 .D1 wpa_cli reassoc
-.Sh "CONFIGURATION OVERVIEW
+.Sh "CONFIGURATION OVERVIEW"
 This is an example configuration file:
 .Bd -literal -offset indent
 device iwn0
@@ -69,7 +69,7 @@ and
 .Ic 802.1x .
 All of these get an SSID as their first parameter.
 .Ic wpa
-gets the password as the second parameter.
+gets the password or hex key as the second parameter.
 SSIDs and passwords which contain spaces can be enclosed in single or double quotes.
 Regular string quoting rules apply:
 .Pp
@@ -84,8 +84,9 @@ statement:
 Macros can be set and used like this:
 .Bd -literal -offset indent
 mypw = "foobar! 1234#$"
+hexkey = 0x092876e79594ae7beda40dd150d17fa215e51f22cb990f9ec640a267c96fbedf
 wpa nw1 $mypw
-wpa nw2 $mypw
+wpa nw2 $hexkey
 .Ed
 .Pp
 The priority of a network depends on the order of networks in the configuration file.
@@ -95,7 +96,8 @@ If an SSID is visible multiple times (such as in campus networks), the access po
 This section outlines the available configuration statements.
 .Bl -tag -width Ds
 .It Ic debug | Ic verbose
-Enables debugging or verbose mode. See
+Enables debugging or verbose mode.
+See
 .Sx DIAGNOSTICS
 below for details.
 .Pp
@@ -125,13 +127,9 @@ at the point where the
 .Ic include
 statement appears in the file.
 .It Ic open Ar nwid
-Defines an unencrypted network with the ESSID
-.Ar nwid .
-.It Ic wpa Ar nwid Ar password
-Defines a WPA2 network with the ESSID
-.Ar nwid
-and the password
-.Ar password .
+Defines an unencrypted network.
+.It Ic wpa Ar nwid Ar password|hexkey
+Defines a WPA2 network.
 .It Ic 802.1x Ar nwid
 Defines a WPA2 network that uses IEEE 802.1x as the key management scheme.
 This requires using
@@ -153,7 +151,8 @@ The keyword
 enables behaviour that helps debugging.
 Its meaning will change without prior notice, so it should not be used outside of development.
 .Sh SEE ALSO
-.Xr ifconfig 8
+.Xr ifconfig 8 ,
+.Xr wpa_passphrase 8 ,
 .Xr wpa_supplicant 8
 .Sh AUTHORS
 .Bl -bullet

Reply | Threaded
Open this post in threaded view
|

Re: Update net/wireless v5 -> v6

Klemens Nanni-2
In reply to this post by Gregor Best-2
On Mon, May 21, 2018 at 09:33:12PM +0200, Gregor Best wrote:
> This is a tiny update to net/wireless that contains no functional
> changes but an updated manpage. kl@ suggested just bundling the changes
> in a patch to the port until the next release, but I figured I don't
> think I'll need to make another release of wireless anytime soon so I
> might as well do a proper release.
Ping.

OK to commit?