git: 3c7566742a29 - main - net/wifibox: New port: Wireless card driver
Ashish SHUKLA
ashish at FreeBSD.org
Mon Aug 16 00:15:49 UTC 2021
The branch main has been updated by ashish:
URL: https://cgit.FreeBSD.org/ports/commit/?id=3c7566742a2933aa66944737a7db447ca6f596ae
commit 3c7566742a2933aa66944737a7db447ca6f596ae
Author: Gabor Pali <pali.gabor at gmail.com>
AuthorDate: 2021-08-16 00:11:20 +0000
Commit: Ashish SHUKLA <ashish at FreeBSD.org>
CommitDate: 2021-08-16 00:13:51 +0000
net/wifibox: New port: Wireless card driver
Wifibox deploys a Linux guest to drive a wireless networking card on
the FreeBSD host system with the help of PCI pass-through. There have
been guides on the Internet to suggest the use of such techniques to
improve the wireless networking experience on FreeBSD, of which
Wifibox tries to implement as a single easy-to-use software package.
PR: 257682
---
net/Makefile | 1 +
net/wifibox/Makefile | 29 +++++++++++++++++++++++++++++
net/wifibox/distinfo | 5 +++++
net/wifibox/pkg-descr | 7 +++++++
net/wifibox/pkg-plist | 33 +++++++++++++++++++++++++++++++++
5 files changed, 75 insertions(+)
diff --git a/net/Makefile b/net/Makefile
index 46f4650893a3..2866c992bbbe 100644
--- a/net/Makefile
+++ b/net/Makefile
@@ -1547,6 +1547,7 @@
SUBDIR += webalizer-geodb
SUBDIR += whois
SUBDIR += widentd
+ SUBDIR += wifibox
SUBDIR += wireguard
SUBDIR += wireguard-go
SUBDIR += wireguard-kmod
diff --git a/net/wifibox/Makefile b/net/wifibox/Makefile
new file mode 100644
index 000000000000..63ff64008bba
--- /dev/null
+++ b/net/wifibox/Makefile
@@ -0,0 +1,29 @@
+PORTNAME= wifibox
+PORTVERSION= 0.3.1
+CATEGORIES= net
+
+MAINTAINER= pali.gabor at gmail.com
+COMMENT= Wireless card driver via virtualized Linux
+
+LICENSE= BSD2CLAUSE
+LICENSE_FILE= ${WRKSRC}/LICENSE
+
+ONLY_FOR_ARCHS= amd64
+EXTRACT_ONLY= ${GH_ACCOUNT}-${GH_PROJECT}-${GH_TAGNAME_EXTRACT}_GH0.tar.gz
+
+RUN_DEPENDS= grub2-bhyve>0:sysutils/grub2-bhyve
+
+USE_GITHUB= yes
+GH_ACCOUNT= pgj
+GH_PROJECT= freebsd-wifibox
+
+IMAGE_FILE= freebsd-wifibox-appliance.20210808.img.xz
+
+MASTER_SITES+= https://github.com/pgj/freebsd-wifibox-image/releases/download/snapshot-20210808/
+DISTFILES+= ${IMAGE_FILE}
+
+NO_BUILD= yes
+MAKE_ENV+= IMGXZ=${DISTDIR}/${IMAGE_FILE} \
+ VERSION=${PORTVERSION}
+
+.include <bsd.port.mk>
diff --git a/net/wifibox/distinfo b/net/wifibox/distinfo
new file mode 100644
index 000000000000..e2313051c27e
--- /dev/null
+++ b/net/wifibox/distinfo
@@ -0,0 +1,5 @@
+TIMESTAMP = 1628389833
+SHA256 (freebsd-wifibox-appliance.20210808.img.xz) = 371df235ff0c1025668cf14740411a0d740fe7e1b5f07cf55a0f94ea11f22fb7
+SIZE (freebsd-wifibox-appliance.20210808.img.xz) = 115929104
+SHA256 (pgj-freebsd-wifibox-0.3.1_GH0.tar.gz) = d48edb7c11603b474e17afff24c6d58749cb3e83491237ff7ea865f524810dd9
+SIZE (pgj-freebsd-wifibox-0.3.1_GH0.tar.gz) = 9099
diff --git a/net/wifibox/pkg-descr b/net/wifibox/pkg-descr
new file mode 100644
index 000000000000..24d37a75c1a2
--- /dev/null
+++ b/net/wifibox/pkg-descr
@@ -0,0 +1,7 @@
+Wifibox deploys a Linux guest to drive a wireless networking card on
+the FreeBSD host system with the help of PCI pass-through. There have
+been guides on the Internet to suggest the use of such techniques to
+improve the wireless networking experience on FreeBSD, of which
+Wifibox tries to implement as a single easy-to-use software package.
+
+WWW: https://github.com/pgj/freebsd-wifibox
diff --git a/net/wifibox/pkg-plist b/net/wifibox/pkg-plist
new file mode 100644
index 000000000000..305b10470f49
--- /dev/null
+++ b/net/wifibox/pkg-plist
@@ -0,0 +1,33 @@
+ at sample etc/wifibox/bhyve.conf.sample
+ at sample etc/wifibox/interfaces.conf.sample
+ at sample etc/wifibox/udhcpd.conf.sample
+ at sample etc/wifibox/wpa_supplicant.conf.sample
+ at sample etc/devd/wifibox.conf.sample
+etc/rc.d/wifibox
+man/man8/wifibox.8.gz
+sbin/wifibox
+share/wifibox/device.map
+share/wifibox/grub.cfg
+share/wifibox/disk.img
+ at preunexec /usr/bin/find /var/log/wifibox -type f -delete
+ at preunexec /usr/bin/find /var/run/wifibox -type f -delete
+ at preunexec /usr/bin/find /var/run/wifibox -type l -exec /bin/rm -f {} \;
+ at dir /var/log/wifibox
+ at dir /var/run/wifibox/appliance/cache
+ at dir /var/run/wifibox/appliance/empty
+ at dir /var/run/wifibox/appliance/lib/apk
+ at dir /var/run/wifibox/appliance/lib/chrony
+ at dir /var/run/wifibox/appliance/lib/iptables
+ at dir /var/run/wifibox/appliance/lib/misc
+ at dir /var/run/wifibox/appliance/lib/udhcpd
+ at dir /var/run/wifibox/appliance/lib
+ at dir /var/run/wifibox/appliance/local
+ at dir /var/run/wifibox/appliance/log/chrony
+ at dir /var/run/wifibox/appliance/log
+ at dir /var/run/wifibox/appliance/mail
+ at dir /var/run/wifibox/appliance/opt
+ at dir /var/run/wifibox/appliance/spool/cron
+ at dir /var/run/wifibox/appliance/spool
+ at dir /var/run/wifibox/appliance/tmp
+ at dir /var/run/wifibox/appliance
+ at dir /var/run/wifibox
More information about the dev-commits-ports-all
mailing list