net/unifi: update to 6.0.45

Packaged in wip by otis@, roy@ and gdt@.
Tested on NetBSD 9 amd64 with openjdk11 (as upgrade from 5).

Upstream significant changes:

What’s New in 6.0?

    Introduce Beta Dashboard for UDM.
    Implement Real-Time statistics for UDM.
    Preview new Beta Settings.
    Redesign, simplify and move Site, Controller, Maintenance, Remote Access and Backup configuration to System Settings.
    Hide and auto-configure Data Retention for Statistics.
    Redesign and move Wi-Fi AI configuration to System Settings page.
    Redesign and move RADIUS and Switch Port profiles to Advanced Features page.
    Redesign and move Services to Advanced Gateway Settings to Advanced Features page.
    Move User Groups to Client Groups on Advanced Features page.
    Redesign and move Wireless Networks configuration to Wi-Fi page.
    Replace WLAN Groups with new AP Groups feature.
    Simplify WiFi creation - WPA2 Security protocol with Password is set by default.
    Allow selecting WPA2 Enterprise Security Protocol if at least one Radius profile is enabled.
    Change VLAN ID numeric input to Network dropdown.
    Integrate Guest Control with Hotspot configuration on Wi-Fi page.
    Redesign and move LAN Networks configuration to Networks page.
    Add Auto Scale Network feature.
    Move VLAN Only Networks to Network Isolation in Advanced Features.
    Update Content Filtering categories and move to Network configuration.
    Add new Device Isolation (creates guest network if turned on) and Internet Access (blocks WAN access if turned off) toggles.
    Redesign and move WAN Networks configuration to Internet page.
    Redesign and move DPI configuration to Security page.
    Redesign and move Threat Management configuration to Security page.
    Introduce AP Groups feature.
    AP Groups simplifies the way to configure Wi-Fi and arrange APs in logical groups.
    That feature is replacing WLAN Groups and WLAN Overrides. It’s a breaking change and some corner cases may not covered by migration.
    Some WLAN Group configurations have been migrated to individual Wi-Fi Network configurations.
    Preview Auto Scale Network feature.
    That feature automatically adjusts subnet size and DHCP range with avoiding network collision.
    Add ability to report incorrect Wi-Fi Experience.
    Add Survey for Beta Dashboard and Beta Settings.

Improvements

    Add transition animations in Beta Settings.
    Add buttons for guest client authentication and unauthentication.
    Replace Speed test gauge with numbers.
    Move PMF to WLAN configuration in Beta Settings.
    Show AP promo placeholder in the new dashboard when there is no WiFi network created.
    Show Original vendor logos when device logo is unavailable.
    Remove Combine Name/SSID option from Settings.
    Improve the user experience of AP Group validation in Beta Settings.
This commit is contained in:
gdt 2021-05-31 17:11:33 +00:00
parent f03f8833a8
commit dc8b1fdb0f
7 changed files with 4407 additions and 7595 deletions

View file

@ -1,7 +1,6 @@
# $NetBSD: Makefile,v 1.20 2021/03/21 09:03:04 tnn Exp $
# $NetBSD: Makefile,v 1.21 2021/05/31 17:11:33 gdt Exp $
DISTNAME= unifi-5.14.23
PKGREVISION= 1
DISTNAME= unifi-6.0.45
CATEGORIES= net
MASTER_SITES= -http://dl.ubnt.com/unifi/${PKGVERSION_NOREV}/UniFi.unix.zip
EXTRACT_SUFX= .zip
@ -77,6 +76,30 @@ post-extract:
find ${WRKSRC} -type f -print0 | xargs -0 chmod -x
mkdir ${WRKDIR}/${SNAPPY_JAVA}/target
ln -s ${WRKDIR}/${SNAPPY} ${WRKDIR}/${SNAPPY_JAVA}/target
# drop platform specific binaries
# as far as we know, these are for cloud access to your controller
ls -R ${WRKDIR}/UniFi/lib/native
rm -rf ${WRKDIR}/UniFi/lib/native/Windows
.if (${OPSYS} != "Linux")
rm -rf ${WRKDIR}/UniFi/lib/native/Linux
.else
.if (${MACHINE_ARCH} != "aarch64")
rm -rf ${WRKDIR}/UniFi/lib/native/Linux/aarch64
.endif
.if (${MACHINE_ARCH} != "armv7")
rm -rf ${WRKDIR}/UniFi/lib/native/Linux/armv7
.endif
.if (${MACHINE_ARCH} != "x86_64")
rm -rf ${WRKDIR}/UniFi/lib/native/Linux/x86_64
.endif
.endif
.if (${OPSYS} != "Darwin")
rm -rf ${WRKDIR}/UniFi/lib/native/Mac
.else
.if (${MACHINE_ARCH} != "x86_64")
rm -rf ${WRKDIR}/UniFi/lib/native/Mac/x86_64
.endif
.endif
do-build:
# bundled mongod is a linux binary; replace with symlink to native binary

File diff suppressed because it is too large Load diff

View file

@ -0,0 +1,2 @@
@comment $NetBSD: PLIST.Darwin-x86_64,v 1.1 2021/05/31 17:11:34 gdt Exp $
unifi/lib/native/Mac/x86_64/libubnt_webrtc_jni.dylib

View file

@ -0,0 +1,3 @@
@comment $NetBSD: PLIST.Linux-aarch64,v 1.1 2021/05/31 17:11:34 gdt Exp $
unifi/lib/native/Linux/aarch64/libubnt_sdnotify_jni.so
unifi/lib/native/Linux/aarch64/libubnt_webrtc_jni.so

View file

@ -0,0 +1,3 @@
@comment $NetBSD: PLIST.Linux-armv7,v 1.1 2021/05/31 17:11:34 gdt Exp $
unifi/lib/native/Linux/armv7/libubnt_sdnotify_jni.so
unifi/lib/native/Linux/armv7/libubnt_webrtc_jni.so

View file

@ -0,0 +1,3 @@
@comment $NetBSD: PLIST.Linux-x86_64,v 1.1 2021/05/31 17:11:34 gdt Exp $
unifi/lib/native/Linux/x86_64/libubnt_sdnotify_jni.so
unifi/lib/native/Linux/x86_64/libubnt_webrtc_jni.so

View file

@ -1,4 +1,4 @@
$NetBSD: distinfo,v 1.14 2020/08/30 06:03:53 tnn Exp $
$NetBSD: distinfo,v 1.15 2021/05/31 17:11:34 gdt Exp $
SHA1 (snappy-1.0.5.tar.gz) = 3a3df859cf33f78f8e945c3f67f28685f0f38bb1
RMD160 (snappy-1.0.5.tar.gz) = c9dec9a8a2faac7bf85b79bcf82f8080713103aa
@ -8,9 +8,9 @@ SHA1 (snappy-java-1.0.5.4.tar.gz) = 2a67400be7e5967ee28c87f32ea4776f26494f2c
RMD160 (snappy-java-1.0.5.4.tar.gz) = 30d12e9717b012bf5b214deecf59f3d02c36996b
SHA512 (snappy-java-1.0.5.4.tar.gz) = 4fce5c0c0ce294ba789fd33dd8aeed92b6c58e004ac8e569ee1840fe4fbeb47b1f3edff75619aee0ebbda65476ec56b15a4aeead360d98dbc3d45d295ab028bd
Size (snappy-java-1.0.5.4.tar.gz) = 6041905 bytes
SHA1 (unifi-5.14.23.zip) = 93be5353f31a02bc30e6a2f43fdc28c9f117a38e
RMD160 (unifi-5.14.23.zip) = 221c5c874323f1169938fb6b1a79ae74c63fbf7d
SHA512 (unifi-5.14.23.zip) = e29969da15bed74fe24eb7b997c14247f3e8c53cc43021c402365f93cda3b7cc48b9222235770101ab37cdd574eb94d1aba445bc04393b70dac386b7a77cebb9
Size (unifi-5.14.23.zip) = 195394703 bytes
SHA1 (unifi-6.0.45.zip) = 9ced99ee6d7749f3dcba37221eb298ea7e35ec32
RMD160 (unifi-6.0.45.zip) = e4164f50128391157389eda7e10a3b9c4e75b025
SHA512 (unifi-6.0.45.zip) = 6b2aebf33b6e2114a2b274ce332e2bd88a30406e3a21bc66dc0eddee3ee27ee2e4d3948dea73ff85289cbc2ed0e4f2b646e095091c54120f718b5fb2f0b35943
Size (unifi-6.0.45.zip) = 147691229 bytes
SHA1 (patch-snappy-java_Makefile) = ce9e30d266787890e82675cfaa2603ae4709eaab
SHA1 (patch-snappy-java_Makefile.common) = ba9e39d1bc6e34e2fa4704831ba51feccfbb0638