git: 263d3fd2428c - main - net/wifibox: Update to 0.8.0

From: Ashish SHUKLA <ashish_at_FreeBSD.org>
Date: Tue, 08 Mar 2022 08:49:17 UTC
The branch main has been updated by ashish:

URL: https://cgit.FreeBSD.org/ports/commit/?id=263d3fd2428cf0a5ed75bc8b6ee232855907b0bd

commit 263d3fd2428cf0a5ed75bc8b6ee232855907b0bd
Author:     PÁLI Gábor János <pali.gabor@gmail.com>
AuthorDate: 2022-03-08 08:27:08 +0000
Commit:     Ashish SHUKLA <ashish@FreeBSD.org>
CommitDate: 2022-03-08 08:48:25 +0000

    net/wifibox: Update to 0.8.0
---
 net/wifibox/Makefile  | 10 +++++++---
 net/wifibox/distinfo  | 14 +++++++-------
 net/wifibox/pkg-plist |  5 +++--
 3 files changed, 17 insertions(+), 12 deletions(-)

diff --git a/net/wifibox/Makefile b/net/wifibox/Makefile
index 20b41b50b52e..ff86ef0eff69 100644
--- a/net/wifibox/Makefile
+++ b/net/wifibox/Makefile
@@ -1,5 +1,5 @@
 PORTNAME=	wifibox
-PORTVERSION=	0.7.0
+PORTVERSION=	0.8.0
 CATEGORIES=	net
 
 MAINTAINER=	pali.gabor@gmail.com
@@ -13,10 +13,14 @@ EXTRACT_ONLY=	${_DISTFILES:N*.img.xz}
 
 RUN_DEPENDS=	grub2-bhyve>0:sysutils/grub2-bhyve
 
-OPTIONS_DEFINE=			BHYVE_PLUS
+OPTIONS_DEFINE=			BHYVE_PLUS WPA_PASSTHRU
+OPTIONS_DEFAULT=		WPA_PASSTHRU
 OPTIONS_EXCLUDE_FreeBSD_12=	BHYVE_PLUS
 
 BHYVE_PLUS_DESC=		Use bhyve+ (experimental)
+WPA_PASSTHRU_DESC=		Support WPA Supplicant pass-through
+
+WPA_PASSTHRU_RUN_DEPENDS=	socat>0:net/socat
 
 .include <bsd.port.options.mk>
 
@@ -31,7 +35,7 @@ GH_PROJECT=	freebsd-wifibox freebsd-wifibox-image:image
 GH_TAGNAME=	${PORTVERSION}
 GH_TAGNAME+=	${IMAGE_VERSION}:image
 
-IMAGE_VERSION=	snapshot-20220208
+IMAGE_VERSION=	snapshot-20220307
 IMAGE_FILE=	freebsd-wifibox-appliance.${IMAGE_VERSION}.img.xz
 IMAGE_MAN=	wifibox-alpine.5
 
diff --git a/net/wifibox/distinfo b/net/wifibox/distinfo
index 2bfeec77d584..766e1c6ebd79 100644
--- a/net/wifibox/distinfo
+++ b/net/wifibox/distinfo
@@ -1,7 +1,7 @@
-TIMESTAMP = 1644284102
-SHA256 (freebsd-wifibox-appliance.snapshot-20220208.img.xz) = 8ec66a8c75516a8102bbdc5bff6a70bb5a4a02eb81f6d3b92851a4ae7f66c8d6
-SIZE (freebsd-wifibox-appliance.snapshot-20220208.img.xz) = 155056624
-SHA256 (pgj-freebsd-wifibox-0.7.0_GH0.tar.gz) = 9e6287552243a38bdde6091da950846eaa53a767d86dfbad0251552a7ef2a8ff
-SIZE (pgj-freebsd-wifibox-0.7.0_GH0.tar.gz) = 12758
-SHA256 (pgj-freebsd-wifibox-image-snapshot-20220208_GH0.tar.gz) = 65a0467da0c667622e9df355b8389aa629484f0add420b8a98c7e7a97cc53bf7
-SIZE (pgj-freebsd-wifibox-image-snapshot-20220208_GH0.tar.gz) = 5445
+TIMESTAMP = 1646684398
+SHA256 (freebsd-wifibox-appliance.snapshot-20220307.img.xz) = 40ccab2fcf4081f04bf0c4725e86316d173c06a3065fab6d40369bfe4739ef6d
+SIZE (freebsd-wifibox-appliance.snapshot-20220307.img.xz) = 127884672
+SHA256 (pgj-freebsd-wifibox-0.8.0_GH0.tar.gz) = 6f0e71817aad31a28c1175832e8ba247c8fe34100561e55033caed316d2f2316
+SIZE (pgj-freebsd-wifibox-0.8.0_GH0.tar.gz) = 14610
+SHA256 (pgj-freebsd-wifibox-image-snapshot-20220307_GH0.tar.gz) = d5fb8d101a4d7b0e4057beb36f652b66869064eb96eb587871c1894ce6fc850d
+SIZE (pgj-freebsd-wifibox-image-snapshot-20220307_GH0.tar.gz) = 5744
diff --git a/net/wifibox/pkg-plist b/net/wifibox/pkg-plist
index ceb37985706d..0653960bf262 100644
--- a/net/wifibox/pkg-plist
+++ b/net/wifibox/pkg-plist
@@ -2,7 +2,8 @@
 @sample etc/wifibox/core.conf.sample
 @sample etc/wifibox/interfaces.conf.sample
 @sample etc/wifibox/udhcpd.conf.sample
-@sample etc/wifibox/wpa_supplicant.conf.sample
+@sample etc/wifibox/wpa_ctrl.conf.sample
+@sample etc/wifibox/wpa_supplicant/wpa_supplicant.conf.sample
 @sample etc/devd/wifibox.conf.sample
 etc/rc.d/wifibox
 man/man5/wifibox-alpine.5.gz
@@ -12,10 +13,10 @@ sbin/wifibox
 share/wifibox/device.map
 share/wifibox/grub.cfg
 share/wifibox/disk.img
+/var/run/wifibox/appliance/run
 @preexec /usr/bin/touch /var/log/wifibox.log
 @preunexec /bin/rm -f /var/log/wifibox.log
 @preunexec /usr/bin/find /var/run/wifibox -type f -delete
-@preunexec /usr/bin/find /var/run/wifibox -type l -exec /bin/rm -f {} \;
 @dir /var/run/wifibox/appliance/cache
 @dir /var/run/wifibox/appliance/empty
 @dir /var/run/wifibox/appliance/lib/apk