bbab7f59e9
- Remove all references to defunct ARCH arm - Remove all references to defunct ARCH sparc64 - Remove x11-drivers/xf86-video-sunffb which requires defunct sparc64 ARCH - Remove sysutils/afbinit requires defunct sparc64 ARCH - Remove all references to bktr driver - Remove all references to defunct FreeBSD_12 - Remove all references to OSVERSION/OSREL corresponding to 12 - Remove conditionals in Mk/Uses/cabal.mk - Remove sparc reference from Mk/Uses/qt-dist.mk - Remove BROKEN_sparc64/NOT_FOR_ARCH=sparc64 - Remove BROKEN_FreeBSD_12* from: - Remove OpenSSL patches from: - Remove conditional flags for OSVERSION >= 1300000 to fixed flags. Also move conditional flags for non sparc64/arm ARCH to fixed flags. Reviewed by: brooks, jbeich, rene, salvadore Differential Revision: https://reviews.freebsd.org/D42068
55 lines
1.4 KiB
Makefile
55 lines
1.4 KiB
Makefile
PORTNAME= wifibox-core
|
|
PORTVERSION= 0.12.0
|
|
CATEGORIES= net
|
|
|
|
MAINTAINER= pali.gabor@gmail.com
|
|
COMMENT= Wifibox core functionality
|
|
WWW= https://github.com/pgj/freebsd-wifibox
|
|
|
|
LICENSE= BSD2CLAUSE
|
|
LICENSE_FILE= ${WRKSRC}/LICENSE
|
|
|
|
ONLY_FOR_ARCHS= amd64
|
|
|
|
RUN_DEPENDS= grub2-bhyve>0:sysutils/grub2-bhyve
|
|
|
|
OPTIONS_DEFINE= BHYVE_PLUS
|
|
|
|
OPTIONS_SINGLE= RECOVERY
|
|
OPTIONS_SINGLE_RECOVERY= RECOVER_RESTART_VMM \
|
|
RECOVER_SUSPEND_GUEST \
|
|
RECOVER_SUSPEND_VMM \
|
|
RECOVER_NONE
|
|
|
|
OPTIONS_DEFAULT= RECOVER_RESTART_VMM
|
|
|
|
RECOVER_RESTART_VMM_DESC= Restart the vmm(4) kernel module on resume
|
|
RECOVER_SUSPEND_GUEST_DESC= Stop the guest on suspend, start on resume
|
|
RECOVER_SUSPEND_VMM_DESC= Unload vmm(4) on suspend, and reload on resume
|
|
RECOVER_NONE_DESC= No recovery for suspend/resume
|
|
|
|
BHYVE_PLUS_DESC= Use bhyve+ (experimental)
|
|
|
|
.include <bsd.port.options.mk>
|
|
|
|
.if ${PORT_OPTIONS:MBHYVE_PLUS}
|
|
RUN_DEPENDS+= bhyve+>0:sysutils/bhyve+
|
|
_BHYVE_PLUS= yes
|
|
.endif
|
|
|
|
USE_GITHUB= yes
|
|
GH_ACCOUNT= pgj
|
|
GH_PROJECT= freebsd-wifibox
|
|
|
|
NO_BUILD= yes
|
|
MAKE_ARGS+= GUEST_ROOT=${LOCALBASE}/share/wifibox \
|
|
GUEST_MAN=${LOCALBASE}/man/man5/wifibox-alpine.5.gz \
|
|
VERSION=${PORTVERSION} \
|
|
RECOVERY_METHOD=${PORT_OPTIONS:MRECOVER_*:S/RECOVER_//:tl}
|
|
.if defined(_BHYVE_PLUS)
|
|
MAKE_ARGS+= BHYVE=${LOCALBASE}/sbin/bhyve \
|
|
BHYVECTL=${LOCALBASE}/sbin/bhyvectl \
|
|
VMM_KO=${KMODDIR}/vmm.ko
|
|
.endif
|
|
|
|
.include <bsd.port.mk>
|