head 1.34; access; symbols pkgsrc-2023Q4:1.34.0.6 pkgsrc-2023Q4-base:1.34 pkgsrc-2023Q3:1.34.0.4 pkgsrc-2023Q3-base:1.34 pkgsrc-2023Q2:1.34.0.2 pkgsrc-2023Q2-base:1.34 pkgsrc-2023Q1:1.33.0.12 pkgsrc-2023Q1-base:1.33 pkgsrc-2022Q4:1.33.0.10 pkgsrc-2022Q4-base:1.33 pkgsrc-2022Q3:1.33.0.8 pkgsrc-2022Q3-base:1.33 pkgsrc-2022Q2:1.33.0.6 pkgsrc-2022Q2-base:1.33 pkgsrc-2022Q1:1.33.0.4 pkgsrc-2022Q1-base:1.33 pkgsrc-2021Q4:1.33.0.2 pkgsrc-2021Q4-base:1.33 pkgsrc-2021Q3:1.29.0.2 pkgsrc-2021Q3-base:1.29 pkgsrc-2021Q2:1.22.0.2 pkgsrc-2021Q2-base:1.22 pkgsrc-2021Q1:1.20.0.2 pkgsrc-2021Q1-base:1.20 pkgsrc-2020Q4:1.19.0.4 pkgsrc-2020Q4-base:1.19 pkgsrc-2020Q3:1.19.0.2 pkgsrc-2020Q3-base:1.19 pkgsrc-2020Q2:1.16.0.2 pkgsrc-2020Q2-base:1.16 pkgsrc-2020Q1:1.15.0.2 pkgsrc-2020Q1-base:1.15 pkgsrc-2019Q4:1.14.0.4 pkgsrc-2019Q4-base:1.14 pkgsrc-2019Q3:1.12.0.2 pkgsrc-2019Q3-base:1.12 pkgsrc-2019Q2:1.8.0.2 pkgsrc-2019Q2-base:1.8 pkgsrc-2019Q1:1.4.0.4 pkgsrc-2019Q1-base:1.4 pkgsrc-2018Q4:1.4.0.2 pkgsrc-2018Q4-base:1.4 pkgsrc-2018Q3:1.3.0.2 pkgsrc-2018Q3-base:1.3 pkgsrc-2018Q2:1.2.0.10 pkgsrc-2018Q2-base:1.2 pkgsrc-2018Q1:1.2.0.8 pkgsrc-2018Q1-base:1.2 pkgsrc-2017Q4:1.2.0.6 pkgsrc-2017Q4-base:1.2 pkgsrc-2017Q3:1.2.0.4 pkgsrc-2017Q3-base:1.2 pkgsrc-2017Q2:1.1.0.2 pkgsrc-2017Q2-base:1.1; locks; strict; comment @# @; 1.34 date 2023.05.10.16.30.23; author gdt; state Exp; branches; next 1.33; commitid CUythKjpWrN76roE; 1.33 date 2021.12.18.17.00.19; author gdt; state Exp; branches; next 1.32; commitid db9ULg9bCrSPz9lD; 1.32 date 2021.12.11.17.30.07; author gdt; state Exp; branches; next 1.31; commitid p2gmTxbbDIlXYfkD; 1.31 date 2021.12.11.17.28.25; author gdt; state Exp; branches; next 1.30; commitid bJ0dOktLN99nYfkD; 1.30 date 2021.12.06.15.33.27; author abs; state Exp; branches; next 1.29; commitid 7T8ridF9GdLTuBjD; 1.29 date 2021.09.07.00.53.57; author gdt; state Exp; branches; next 1.28; commitid 1WsD2JNCAAhxwX7D; 1.28 date 2021.08.14.14.33.09; author gdt; state Exp; branches; next 1.27; commitid nYLOSzQ40zbpPW4D; 1.27 date 2021.08.14.14.30.45; author gdt; state Exp; branches; next 1.26; commitid dRTbx8cwRK7AOW4D; 1.26 date 2021.08.13.17.25.06; author wiz; state Exp; branches; next 1.25; commitid geUyohq1PDwdOP4D; 1.25 date 2021.08.13.14.45.53; author abs; state Exp; branches; next 1.24; commitid r4l3MlvOD8tLVO4D; 1.24 date 2021.07.25.13.20.47; author gdt; state Exp; branches; next 1.23; commitid iSROMCtFxnar4n2D; 1.23 date 2021.07.20.16.01.03; author abs; state Exp; branches; next 1.22; commitid MQxUPs7PPlKR6K1D; 1.22 date 2021.06.01.15.04.12; author gdt; state Exp; branches; next 1.21; commitid wfxd1PDLCnhxnrVC; 1.21 date 2021.05.31.17.11.33; author gdt; state Exp; branches; next 1.20; commitid 5UfGxqHOd7td7kVC; 1.20 date 2021.03.21.09.03.04; author tnn; state Exp; branches; next 1.19; commitid UytVBw9AJcVQG9MC; 1.19 date 2020.08.30.06.03.53; author tnn; state Exp; branches; next 1.18; commitid IIxfOnNtuqg2e3mC; 1.18 date 2020.08.20.00.51.26; author gdt; state Exp; branches; next 1.17; commitid 046LdFllHpuANJkC; 1.17 date 2020.07.30.14.14.38; author gdt; state Exp; branches; next 1.16; commitid jHaaND60eGqIV6iC; 1.16 date 2020.06.16.17.33.11; author gdt; state Exp; branches; next 1.15; commitid gInftCxMqEO9stcC; 1.15 date 2020.03.14.13.43.40; author gdt; state Exp; branches; next 1.14; commitid yR81Jf9tf6nPbn0C; 1.14 date 2019.10.25.14.48.02; author gdt; state Exp; branches; next 1.13; commitid gBmJyXFF0gcP5gIB; 1.13 date 2019.10.25.00.41.37; author gdt; state Exp; branches; next 1.12; commitid uLCpPToLAzrspbIB; 1.12 date 2019.08.08.16.47.26; author gdt; state Exp; branches; next 1.11; commitid 5RWDyIHFgq3fgfyB; 1.11 date 2019.08.08.13.24.41; author gdt; state Exp; branches; next 1.10; commitid fU2fBXelpVxG8eyB; 1.10 date 2019.08.08.13.18.06; author gdt; state Exp; branches; next 1.9; commitid z3MB24BBcpVP5eyB; 1.9 date 2019.07.09.00.38.40; author gdt; state Exp; branches; next 1.8; commitid ikmxXdoP2zmtRiuB; 1.8 date 2019.06.29.14.40.01; author gdt; state Exp; branches; next 1.7; commitid i9OdxhX5yrKeQ5tB; 1.7 date 2019.06.28.16.41.06; author gdt; state Exp; branches; next 1.6; commitid 1gU602gMnl8RwYsB; 1.6 date 2019.06.07.15.18.13; author gdt; state Exp; branches; next 1.5; commitid jvSWHxDlt7aSKgqB; 1.5 date 2019.05.20.01.36.37; author gdt; state Exp; branches; next 1.4; commitid 7n8xYX6cf1hRMSnB; 1.4 date 2018.12.19.12.50.15; author tnn; state Exp; branches; next 1.3; commitid jqhCNRzCX5JAop4B; 1.3 date 2018.08.20.21.25.10; author tnn; state Exp; branches; next 1.2; commitid zbqqNMB4GlFl8UOA; 1.2 date 2017.09.10.12.20.01; author tnn; state Exp; branches; next 1.1; commitid xxJ7u4RShcobbE6A; 1.1 date 2017.06.24.14.16.37; author tnn; state Exp; branches; next ; commitid 8v4mfOd5wACZkDWz; desc @@ 1.34 log @net/unifi: Catch up with apparent ftp.n.o distfile location churn @ text @# $NetBSD: Makefile,v 1.33 2021/12/18 17:00:19 gdt Exp $ DISTNAME= unifi-6.5.55 CATEGORIES= net MASTER_SITES= -http://dl.ubnt.com/unifi/${PKGVERSION_NOREV}/UniFi.unix.zip EXTRACT_SUFX= .zip # Updates must be tested to not only build but actually function under # at least NetBSD 9/amd64 with actual UBNT hardware. MAINTAINER= gdt@@NetBSD.org HOMEPAGE= https://www.ubnt.com/download/unifi/ # The content that belongs in NEWS are often in a blog. #BLOGPAGE= https://community.ui.com/releases COMMENT= Provisioning software for network products made by Ubiquiti LICENSE= ubiquiti-license # Bundled firmware images cannot be redistributed RESTRICTED= No permission to redistribute NO_BIN_ON_CDROM= ${RESTRICTED} NO_BIN_ON_FTP= ${RESTRICTED} NO_SRC_ON_CDROM= ${RESTRICTED} NO_SRC_ON_FTP= ${RESTRICTED} DISTFILES= ${DEFAULT_DISTFILES} EXTRACT_ONLY= ${DEFAULT_DISTFILES} # Unifi bundles snappy-java-1.0.5.jar, which contains native code. # We can use the bundled snappy-java but we must recompile the native portion # because it only ship linux binaries. The rcd script takes care of loading the # correct library. SNAPPY_JAVA= snappy-java-1.0.5.4 # github.mk only works for the main MASTER_SITES definition and does # not support SITES SITES.${SNAPPY_JAVA}.tar.gz= -https://github.com/xerial/snappy-java/archive/${SNAPPY_JAVA:S/snappy-java-//}.tar.gz DISTFILES+= ${SNAPPY_JAVA}.tar.gz EXTRACT_ONLY+= ${SNAPPY_JAVA}.tar.gz SNAPPY= snappy-1.0.5 SITES.${SNAPPY}.tar.gz= http://download.openpkg.org/components/cache/snappy/ \ https://ftp.NetBSD.org/pub/pkgsrc/distfiles/snappy-java/ DISTFILES+= ${SNAPPY}.tar.gz EXTRACT_ONLY+= ${SNAPPY}.tar.gz CHECK_SHLIBS_SKIP= unifi/lib/native/* INSTALLATION_DIRS= unifi share/doc/unifi # Emulated JDK doesn't work due to epoll issues. Also, would require # matching emulated native libraries, and we only compile actual # native libaries. # NetBSD openjdk11 fails to listen to https, so disable for now PKG_JVMS_ACCEPTED= openjdk8 PKGSRC_MAKE_ENV+= JAVA_HOME=${PKG_JAVA_HOME} USE_LANGUAGES= c c++ # for snappy JNI library USE_TOOLS+= gmake pax WRKSRC= ${WRKDIR} .include "options.mk" FILES_SUBST+= UNIFI_USER=${UNIFI_USER:Q} UNIFI_GROUP=${UNIFI_GROUP:Q} FILES_SUBST+= JAVA=${PKG_JAVA_HOME}/bin/java RCD_SCRIPTS= unifi UNIFI_USER?= unifi UNIFI_GROUP?= unifi PKG_USERS_VARS= UNIFI_USER PKG_GROUPS_VARS= UNIFI_GROUP PKG_GROUPS= ${UNIFI_GROUP} PKG_USERS= ${UNIFI_USER}:${UNIFI_GROUP} .for d in data logs run work OWN_DIRS_PERMS+= ${PREFIX}/unifi/${d} ${UNIFI_USER} ${UNIFI_GROUP} 0700 .endfor .include "../../mk/bsd.prefs.mk" post-extract: # drop executable bit find ${WRKSRC}/UniFi -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} != "earmv7") 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 rm -f ${WRKSRC}/UniFi/bin/mongod ln -s ${PREFIX}/bin/mongod ${WRKSRC}/UniFi/bin/mongod cd ${WRKDIR}/${SNAPPY_JAVA} && ${BUILD_MAKE_CMD} native do-install: cd ${WRKSRC}/UniFi && pax -rw . ${DESTDIR}${PREFIX}/unifi ${INSTALL_LIB} ${WRKDIR}/${SNAPPY_JAVA}/target/snappy-1.0.5-Default/libsnappyjava.so ${DESTDIR}${PREFIX}/unifi/lib ${INSTALL_DATA} ${FILESDIR}/README.mongodb ${DESTDIR}${PREFIX}/share/doc/unifi .include "../../mk/java-vm.mk" .include "../../mk/bsd.pkg.mk" @ 1.33 log @net/unifi: Update to 6.5.55 Update log4j version to 2.16.0 (CVE-2021-45046). @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.32 2021/12/11 17:30:07 gdt Exp $ d41 1 a41 1 http://ftp.NetBSD.org/pub/pkgsrc/distfiles/snappy-java10/ @ 1.32 log @net/unifi: Restore mongo option lost in wip update @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.31 2021/12/11 17:28:25 gdt Exp $ d3 1 a3 1 DISTNAME= unifi-6.5.54 @ 1.31 log @net/unifi: Update to 6.5.54 Overview Fix for log4j Notification re-work. Real-time traffic updates from Gateway (UDM/UXG). Improve system performance. Improve application latency. Improvements Add "Optimize IoT WiFi connectivity" field for WiFi configuration. Add WiFi interference chart. Add WiFi settings to the Hotspot form. Add WPA3 support for UDM Base. (Requires 1.11 or newer UDM FW) Add status section to display options in Topology. Add default firewall rule to allow UniFi Talk traffic. (only when the application is configured) Add local gateway domain name as DNS entry. Add power source options to the USW-Flex property panel. Allow enabling VPN on existing networks. Adjust property panel table column styling. Adjust displaying wired experience. Improve WAN failover notifications. Improve application (startup) stability. Improve dashboard AP dropdown styling for smaller screens. Improve clients table sorting. Disable WiFi Legacy Support if Auto-optimize is enabled. Disable edit for default Switch Ports. Disable WiFi Data Rate settings if Network Auto-Optimize is enabled. Enable multicast block if Auto-optimize is enabled, and there are more than 10 APs assigned to SSID. Clean up daily DPI statistics based on statistics data retention setting. Show correct memory usage values in the device panel. Display device name in forget device modal title. Non-network devices will report pending adoption status. Change Data Rate Control slider color if minimum is selected. Preload Time-Series data from DB to reduce Latency of Dashboard API. Update settings app name and version copy. Update Traffic & Security main page. Update Adopt button and property-panel tabs. Update translations across the Application to match UniFi terminology. Update default DTIM period to 1 for 2.4GHz Radio. Remove "Disable CCK Rates" and "Send beacons at 1Mbps" from minimum rate controls. Remove PoE Detection/Duplex from property side panels. Remove Tags from the application. Hide speed test on WAN2 for USG. Change “Beta” to “UniFi Labs”. Clean up Notifications based on Statistics Data Retention settings. Consolidate multiple device firmware update notifications into one. Check device status more frequently during active admin sessions. Provide client usage over the last 24 hours in the endpoint. Implement UniFi Device Client property panel. Rename field translation for UniFi Device property panel. Bugfixes Add missing profile radius toast messages. Add missing UniFi clients in the clients page. Add missing device statuses to device filters. Add missing translation for USG Secondary Internet form. Add migration to update invalid hostname from UniFi OS. Fix issue where Peak Upload / Download Usage was reversed in Internet Settings. Fix device Isolation feature not working on UDM-Pro-SE consoles. Fix Backup is not respecting retention settings for Notifications and DPI statistics. Fix network selection modal during U-LTE-Pro adoption process. Fix adoption issues for U-LTE devices. Fix issue where user could see "Trouble Page" when going to WiFi AI. Fix unable to remove an administrator from sites on self-hosted applications. Fix issue when USP-Plug physical toggle couldn’t be switched. Fix issue where device uptime was incorrect. Fix client count not reflected correctly on the dashboard. Fix backup import from SD card on Cloud Key G2 Plus console. Fix cyclical device disconnecting/reconnecting. Fix devices with special states are not shown on the device page. Fix sorting issues in various locations. Fix device identification information not updated. Fix configuration error when static WAN does not specify router address. Fix WiFi experience feedback form cannot be submitted without comment. Fix graph missing when opening ISP panel. Fix timeout delay when deleting objects from the remote access portal. Fix restoring from backup. Fix MAC ID Filter list crashing. Fix topology property panel crash. Fix Display ISP name instead of the port name. Fix “Copy Configuration” options. Fix AP Groups Validation. Fix USG speed test not working. Fix newly adopted switches not having default night mode configuration. Fix issue with duplicated VPN clients. Fix Uplink Monitor Type selection indicator. Fix Device Firmware Schedule list. Fix typos in Settings. Fix dashboard ISP text and clients table styling issues. Fix styling for device manage section. Fix download logs not working on self-installed Applications. Fix logging to Ubiquiti Account in Settings. Fix dropdown labels in Firewall Rules form. Fix page crash in Threat Management when selecting specific dates. Fix scrolling for scrollable tables. Fix Display Option "Restore Default" functionality. Fix WiFi Band validation if some Devices have reached the SSID limit. Fix WAN form validation - Router field is required for Static connection. Fix false-positive WAN failover notifications. Fix which ethernet port is being advertised in UDM discovery. Fix showing offline devices as wireless on Topology. Fix page crash when opening WiFiman results. Fix WiFi Scan table SSID's. Fix navigation issue from device ports overview. Fix text overflowing in topology. Fix issue where WAN1's IP was used instead of active WAN. Fix DHCP AutoScale feature on UXG. Fix MAC Authorization form. Fix DNS resolution not working on LTE failover with Content Filtering enabled Fix missing IPS/VPN translations. Fix the product line URL in the property panel. Fix background color for UniFi Device Application link. Fix style for Client page display options, list only APs for device options. Remove disabled property from Fast Roaming toggle in WiFi settings. Log only new connections in Port Forward firewall rules. Disable logging in the default WAN_OUT firewall rules. Show correct version in device identification. Omit LTE IP from IP/subnet check in the network form. Dashboard side panel styling updates. No blocked_sta provisioned for low-resource models. Email notification does not have Adopt button. Tweak USW-Flex topology image. Client property panel styling fixes. Correct AP list for link aggregation. Create correct links for the port edit form. Show correct client status in grid view. Show only relevant fields for the USG dashboard. Show correct traffic amount in the dashboard for USG. Sync client icons for Table and Property Panel. Truncate actionable text that exceeds 30 characters. Do not display negative uptime. Update time format when changing 24/12h setting. Update Table headers to correctly display GHz. Use preferred time zone for AP Client history. Prevent dashboard WAN tabs stretching. Prevent Remote Access from being enabled on 32-bit systems where it is unsupported. Load UniFi translations in Topology. Clean up obsolete unsupported devices toast message. Remove debug terminal & jumbo frames/flow control from UDM. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.21 2021/05/31 17:11:33 gdt Exp $ a2 1 # Please do not drop this; a new update cycle is likely very soon. d27 1 d46 1 a46 1 INSTALLATION_DIRS= unifi d58 1 a58 3 # Upstream documents 3.4.15, but 3.4.4 actually works. Avoid mongodb4 because it # has a problematic license. DEPENDS+= mongodb>=3.4.4:../../databases/mongodb3 d115 1 @ 1.30 log @Add option to choose between mongodb3 and mongodb4, default remains at mongodb3 @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.29 2021/09/07 00:53:57 gdt Exp $ d3 2 a4 2 DISTNAME= unifi-6.2.26 PKGREVISION= 1 a27 1 d46 1 a46 1 INSTALLATION_DIRS= unifi share/doc/unifi d58 3 a60 1 .include "options.mk" a116 1 ${INSTALL_DATA} ${FILESDIR}/README.mongodb ${DESTDIR}${PREFIX}/share/doc/unifi @ 1.29 log @net/unifi: Update to 6.2.26 upstream changes are bugfixes and minor improvements plus: Improvements Allow dismissing UDM-Pro banner in dashboard page. Add "Firmware version" column to Devices page and change "Version" to "Firmware Status". Add alert that threat was detected or blocked. Add 'Sign Out' button for Software installation controller. Add USW-Enterprise-24-PoE images. Add USP-RPS panel overview and port diagram. Add status indicators to Clients table. Add date range to Statistics. Add L3 Switch routing support for Static Route. Live update performance improvements in all pages. Improve Statistics page performance. Improve Hotspot form performance. Improve alert client fingerprinting. Remove frequent alerts after 14 days. Update WiFiman Topology in property panel. Update admin role names (Administrator, Site Admin, View only, Hotspot Operator). Update VPN section. Column visibility for Device and Client tables. Save table columns only when leaving page. Updates to side navigation icons. Utilization-bar tooltip style updates. Capitalize MAC and WLAN text used in property panel. Always send connection alert for clients. Move table row actions to forms. Update UAP property panel. Remove survey modals from Dashboard and Settings. Traffic section design updates. Implement Device and Outlets sections for USP-RPS property panel. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.21 2021/05/31 17:11:33 gdt Exp $ d4 1 d28 1 d47 1 a47 1 INSTALLATION_DIRS= unifi d59 1 a59 3 # Upstream documents 3.4.15, but 3.4.4 actually works. Avoid mongodb4 because it # has a problematic license. DEPENDS+= mongodb>=3.4.4:../../databases/mongodb3 d116 1 @ 1.28 log @unifi: Adjust MACHINE_ARCH armv7->earmv7 per pkglint Those using unifi from pkgsrc on GNU/Linux earmv7, if they exist, are advised to test. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.27 2021/08/14 14:30:45 gdt Exp $ d3 1 a3 3 # Update to 6.2 (wip) is on hold pending reports that the greater # Unifi world thinks it is stable enough. -- gdt, 2021-06-01 DISTNAME= unifi-6.0.45 @ 1.27 log @unifi: Explain that github.mk does not support SITES. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.26 2021/08/13 17:25:06 wiz Exp $ d94 1 a94 1 . if (${MACHINE_ARCH} != "armv7") @ 1.26 log @unifi: honor LDFLAGS Fixes RELRO build. While here, switch to a WRKSRC that avoids having to use '..' in paths, and clean some pkglint. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.25 2021/08/13 14:45:53 abs Exp $ d34 2 @ 1.25 log @Mark RELRO_SUPPORTED=no @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.24 2021/07/25 13:20:47 gdt Exp $ d55 1 a55 1 WRKSRC= ${WRKDIR}/UniFi a69 1 RELRO_SUPPORTED= no d79 1 a79 1 find ${WRKSRC} -type f -print0 | xargs -0 chmod -x d89 1 a89 1 .if (${MACHINE_ARCH} != "aarch64") d91 2 a92 2 .endif .if (${MACHINE_ARCH} != "armv7") d94 2 a95 2 .endif .if (${MACHINE_ARCH} != "x86_64") d97 1 a97 1 .endif d102 1 a102 1 .if (${MACHINE_ARCH} != "x86_64") d104 1 a104 1 .endif d109 2 a110 2 rm -f ${WRKSRC}/bin/mongod ln -s ${PREFIX}/bin/mongod ${WRKSRC}/bin/mongod d114 1 a114 1 cd ${WRKSRC} && pax -rw . ${DESTDIR}${PREFIX}/unifi @ 1.24 log @net/unifi: Bump test requirement from NetBSD 8 to 9 This bump was overdue; NetBSD 8 has been crufty and 9 normal for a long time now. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.23 2021/07/20 16:01:03 abs Exp $ d70 1 @ 1.23 log @Remove openjdk11 from PKG_JVMS_ACCEPTED for now Running on NetBSD-9.2/amd64 under openjdk11, the unifi server fails to listen to https, so exclude openjdk11 for now. Confirmed by tnn@@ @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.22 2021/06/01 15:04:12 gdt Exp $ d11 1 a11 1 # at least NetBSD 8/amd64 with actual UBNT hardware. @ 1.22 log @net/unii: Declare intention not to update to 6.2 right now (This is a comment-only change.) @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.21 2021/05/31 17:11:33 gdt Exp $ d50 2 a51 1 PKG_JVMS_ACCEPTED= openjdk11 openjdk8 @ 1.21 log @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. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.19 2020/08/30 06:03:53 tnn Exp $ d3 2 @ 1.20 log @unifi: works with openjdk11 now (after openjdk11-1.11.0.10.9nb1) @ text @d3 1 a3 2 DISTNAME= unifi-5.14.23 PKGREVISION= 1 d79 24 @ 1.19 log @unifi: update to 5.14.23 for two bugfixes Remove false positive errors from controller logs. Fix overlapping firewall rule ID with port forward and DPI blocking enabled. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.18 2020/08/20 00:51:26 gdt Exp $ d4 1 d49 1 a49 1 PKG_JVMS_ACCEPTED= openjdk8 @ 1.18 log @net/unifi: Update to 5.14.22 Tested on NetBSD-8/amd64 with local APs. Upstream NEWS: [bugfixes] Improvements Move Analytics & Improvements toggle to UniFi OS settings (applicable only for UniFi OS systems). Disable DnsFilterAlert and IpReputationBlock events by default. Add support for UXG-Pro. Add Switch Port anomalies. Add ability to report incorrect WiFi score. Set default DTIM interval to 3. Auto-backup should be enabled by default. Disable Element Adopt on Connectivity Disable. Improve logging for Hotspot RADIUS. Improve power cycle behavior for USP Plug. Improve logging errors. Update translations. Update LCM idle timeout. Known issues Error with FileNotFoundException message in logs is a false positive - will be fixed in future release. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.17 2020/07/30 14:14:38 gdt Exp $ d3 1 a3 1 DISTNAME= unifi-5.14.22 @ 1.17 log @net/unifi: Update to 5.13.32 Tested on netbsd-8/amd64 with access points; updating was uneventful. Upstream changes: basically bugfixes. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.16 2020/06/16 17:33:11 gdt Exp $ d3 1 a3 1 DISTNAME= unifi-5.13.32 @ 1.16 log @net/unifi: Update to 5.13.29 Features Add L3 switching features for USW-Pro series. Improvements Add support for MongoDB 3.6. Auto-optimize enables Wi-Fi AI. Prioritize busy times in Wi-Fi AI logic. Update Hotspot 2.0 for WFA requirements. Add VHT160 option for Japan. Show client icons on DPI and statistics pages. Improve SSID validation. Improve support for USP Plug. Allow adopting UBB only if both devices are connected. Allow changing VHT mode for 5GHz radio on UBB. Adjust speed test statistics to longer intervals. Add LTS notifications. Add Analytics & Improvements opt-in modal which is displayed post upgrade. Add description of SNMPv3 security options. Allow sending test emails via Cloud Email service. Make timezones dropdown searchable. Update IANA timezone database. Update inter-VLAN routing Network form. Remove OP mode from Port Profiles. Add MAC column to Insights/Known Clients. Update available IDS/IPS categories to lessen false positives and improve resource use. Rename UDM-Beacon to UAP-BeaconHD. Improve Property Panel for USW Leaf. Handle LCM sync event notifications on UDM. Support U-LTE on UDM devices. Support WAN failover for UDM devices. Add UDM boot sound checkbox. Various fixes and improvements in Beta Settings. Various performance improvements. Update translations and add missing events. Known issues Don't remind me button for LTS notifications doesn't function properly. Blocking countries in map is not working, workaround is using the classic settings. Incorrect DPI Statistics. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.15 2020/03/14 13:43:40 gdt Exp $ d3 1 a3 1 DISTNAME= unifi-5.13.29 @ 1.15 log @net/unifi: Update to 5.12.35 (Tested on NetBSD 8/amd64 with up-to-date dependencies from pkgsrc head. This is notable as only recently does mongodb3 work (fdatasync) and build with up-to-date boost. Thanks to Paul Ripke and Adam for fixes.) Upstream changes since last pkgsrc update: Features Cloud Email.* Netconsole logging for USG. New Settings. Push notification support. RADIUS DAS/DAC/CoA support. Release channel selection for controller and firmware updates (New Settings). Wi-Fi AI (New Settings). Wi-Fi Schedule enhancements (New Settings). *Cloud Email notes: Enabled after successful Remote Access login. This will send (all) admin invites, alert/event, and password recovery emails via UniFi Cloud Access without requiring a SMTP server to be configured. We plan to add support for password recovery without having Remote Access or SMTP configured in a future update. If SMTP is configured then that will be used instead of Cloud Email. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.14 2019/10/25 14:48:02 gdt Exp $ d3 1 a3 1 DISTNAME= unifi-5.12.35 @ 1.14 log @net/unifi: Update to 5.11.50 Updating note: This is major update from 5.10.x, and for me, it wanted to restore from an internal backup. So as is always good advice, back up everything before you start in case. And for this, if you can do an in-app backup just before, that may reduce lossage of historical data. Release Notes for 5.11.46 (upstream does not reliably publish findable release notes). Java 8 must be installed on the system hosting the controller software. Java 9 and later are not yet supported. Minimum supported device firmware for UAP/USW is 4.0.9, and for USG it’s 4.4.34 – multi-tenanted instances will be force-upgraded (for the greater good), single-tenanted instances can opt to defer the controller upgrade for up to 90 days. If you have any ‘service dns forwarding options’ configuration defined in config.gateway.json, it will overwrite the provisioning of statically defined name servers, leaving you with no DNS. Either remove the ‘service dns forwarding options’ portion of config.gateway.json, or add additional ‘options’ lines defining name servers, such as ‘server=1.1.1.1’, ‘server=8.8.8.8’, etc. PoE passthrough control was implemented for UAP-IW-HD which means that the default for PoE passthrough is now disabled instead of enabled. If you were using this feature before then you will need to re-enable it via the device property panel. (Many bugfixes.) @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.13 2019/10/25 00:41:37 gdt Exp $ d3 1 a3 1 DISTNAME= unifi-5.11.50 d76 1 a76 1 find ${WRKSRC} -type f -print | xargs chmod -x @ 1.13 log @net/unif: Add comment about why update to 5.11.50 is on hold @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.12 2019/08/08 16:47:26 gdt Exp $ d3 1 a3 2 # Update to 5.11.50 is on old because of crashing. DISTNAME= unifi-5.10.26 @ 1.12 log @net/unifi: Store blog URL The content that belongs in NEWS are often in a blog. Thanks to thorpej@@ for pointing this out; perhaps in-lieu-of-upstream-NEWS contents will be better in future commits. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.11 2019/08/08 13:24:41 gdt Exp $ d3 1 d9 2 @ 1.11 log @net/unif: Improve comments @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.10 2019/08/08 13:18:06 gdt Exp $ d10 2 @ 1.10 log @net/unifi: Update to 5.10.26 Upstream lacks a changelog, but this appears to be bugfixes. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.9 2019/07/09 00:38:40 gdt Exp $ d14 1 a14 1 RESTRICTED= No redistribution allowed d40 4 a43 1 # emulated JDK doesn't work; epoll issues. Also needs native libraries. d50 3 a52 2 # mongodb 3.4.4 is known to work well with unifi; avoid mongodb4 for now. DEPENDS+= mongodb>=2.4.14:../../databases/mongodb3 d77 1 a77 1 # bundled mongod is a linux binary, replace with symlink to native binary @ 1.9 log @net/unifi: Update to 5.10.25 (Upstream splash screen weakly indicates changes are only bugfixes.) @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.8 2019/06/29 14:40:01 gdt Exp $ d3 1 a3 1 DISTNAME= unifi-5.10.25 @ 1.8 log @net/unifi: Fix MASTER_SITES to avoid nbN This is just the usual use of PKGVERSION_NOREV. Pointed out by Oskar. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.7 2019/06/28 16:41:06 gdt Exp $ d3 1 a3 2 DISTNAME= unifi-5.10.24 PKGREVISION= 1 @ 1.7 log @net/unifi: Change mongodb dependency to mongodb3 The server side public license, used by databases/mongodb (version 4), appears to be incompatible with ubiquiti-license. Also, databases/mongodb does not build on platforms where net/unifi works (e.g., netbsd-8 amd64). @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.6 2019/06/07 15:18:13 gdt Exp $ d6 1 a6 1 MASTER_SITES= -http://dl.ubnt.com/unifi/${PKGVERSION}/UniFi.unix.zip @ 1.6 log @net/unifi: Update to 5.10.24 Note that mongodb does not build, and hence this was tested with mongodb 3.4.4. This is a minor update, from .23. Upstream does not apear to publish change information, and this is opaque proprietary software. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.5 2019/05/20 01:36:37 gdt Exp $ d4 1 d9 1 a9 1 MAINTAINER= pkgsrc-users@@NetBSD.org d48 2 a49 1 DEPENDS+= mongodb>=2.4.14:../../databases/mongodb @ 1.5 log @net/unifi: Update to 5.10.23 Upstream does not apear to publish chagne information, and this is opaque proprietary software. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.4 2018/12/19 12:50:15 tnn Exp $ d3 1 a3 1 DISTNAME= unifi-5.10.23 @ 1.4 log @unifi: update to 5.9.29 New Features: New Dashboard. IPS Dashboard. IPS Signature Suppression. Add support IPS signature categories control. Add per radio uplink control. Add speed and duplex config for USG interfaces. Add Fallback VLAN support for USW when using 802.1X. Add local SSO login. Add Controller HD and Micro SD free space monitoring to admin notification settings. Analytic Reporting. New Cloud Access integration. Various bug fixes and improvements. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.3 2018/08/20 21:25:10 tnn Exp $ d3 1 a3 1 DISTNAME= unifi-5.9.29 @ 1.3 log @unifi: update to unifi-5.8.28 New features (omitting bugfixes) since ~5.5.28: -Add BaseStationXG LED bar color control to the device properties panel. -Local SSO login. -Add app switcher. -Add speed and duplex config for USG interfaces. -Add WiFi Happiness to client STA statistics. -Allow users to opt-out wireless uplinking/meshing on per-radio basis. -Assign USG Physical Ports to Logical Networks. -Add netconsole logging to site config. -Allow setting Management VLAN at Access Points. -Property Panel: Show images of most popular client devices. -Added support for USC8 switch. -Add WeChat authentication to Hotspot. -Add Elite Device service. -Allow setting opacity on Image-type maps. -New Channel Distribution widget. -Add Scheduled Upgrades support (Beta). -Add site VPN route distance. -Add app switcher. -Allow users to opt-out wireless uplinking/meshing on per-radio basis. -Support Antenna selection for internal antenna. -Add Intrusion Prevention System (IPS) [beta]. -Link to property panel from Location on Neighboring Access Points page. -Add IPv6 support (Beta). -Add restart devices permission. -Add support for new Elite Device service. -Add Bulgarian translations to the Hotspot Portal. -Batch remove vouchers. -Customize voucher columns. -Ability to display historical statistics per Client (traffic, packets, signal power etc.). -Add support for SNMPv3. -Add GeoIP Filtering options to settings [Beta]. -Add Virtual devices on Maps to plan coverage. -Add SSH keys to authenticate to device. -Add Auto Channel feature on Maps. -Add Release Notes. -Add ability to create and set user defined DHCP options. -Add Wireless Uplink priority. -Add support for new Elite Device service. -Add RADIUS MAC Authentication. -Add Firmware Manager to cache locally firmwares. -Add AirView (SHD exclusive). -Add Switch Port Profiles. -Add USG Performance Graphs. -Add AirTime for UAP-SHD [alpha]. -Add temperatures to USG-Pro properties window. -Add Facebook Wi-Fi Authentication [Alpha]. -Add DPI blocking per categories [Alpha]. -Add Insights / Controller Logs page. -Add LAN traffic statistics for client in Property Panel. -Add Debug Dashboard to Statistics section (Beta). -Batch add and remove device tags. -Add Arabic language to Hotspot Portal. -Add permissions options when inviting a site admin (device adoption, etc.). -Allow configure 8 SSIDs per radio (on supported devices). -Add Finnish and Hungarian to the languages supported by Hotspot Portal. -Add LLDP MED configuration. -Add Outdoor / Indoor Switch. -Add NTP server fields. -Add batch device provision. -Add DB migration page and show upgrade progress. -Add date header to email notifications. -Install and run service as `unifi` user instead of as root on Debian/Ubuntu. -Add Logging settings. -Add batch edit switches. -Add UPnP service (moved from config.properties). -Add Multicast DNS Service (moved from config.properties). -Add RADIUS-based authorization in Hotspot [BETA]. -Add new type of map with predictive coverage [BETA]. -Add Ubiquiti store (buy devices directly from the controller) [BETA]. -Add EDU SIP settings. -Add Greek translations. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.2 2017/09/10 12:20:01 tnn Exp $ d3 1 a3 1 DISTNAME= unifi-5.8.28 @ 1.2 log @Update to unifi-5.5.20. Changes: - UI bugfixes - "security improvements"(?) - bundled firmware update @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.1 2017/06/24 14:16:37 tnn Exp $ d3 1 a3 1 DISTNAME= unifi-5.5.20 @ 1.1 log @Import unifi-5.4.16 as net/unifi. UniFi is a web portal for setting up and provisioning network products made by Ubiquiti Networks, inc. @ text @d1 1 a1 1 # $NetBSD$ d3 1 a3 1 DISTNAME= unifi-5.4.16 @