Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 29 Dec 2020 12:26:41 +0000 (UTC)
From:      Juraj Lutter <otis@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r559570 - head/net-mgmt/unifi6
Message-ID:  <202012291226.0BTCQflL077943@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: otis
Date: Tue Dec 29 12:26:41 2020
New Revision: 559570
URL: https://svnweb.freebsd.org/changeset/ports/559570

Log:
  net-mgmt/unifi6: Update to 6.0.43
  
  Update UniFi controller software to version 6.0.43
  
  * Improvements:
    - Disable ATF toggle for certain devices.
    - Add Advanced Feature Toggles, Data Rate Controls, MAC Authorisation in WiFi
      form.
    - Rename Client Groups to Bandwidth Profiles.
    - Display Site Switcher on Cloud Key with UniFi OS and multiple sites.
    - Add an option to download server log file in new Settings.
  
  * Bugfixes:
    - Fix provisioning WLAN changes for USP-Plug & USP-Strip and their uplinks.
    - Fix adoption of USP-Plug & USP-Strip if user has separate 5GHz only WiFi.
    - Fix issues during migration if Site has incorrect config.
    - Fix Unknown device names in Cloud Emails.
    - Fix Firmware cache table columns and their height.
    - Fix overlapping column headers in Alert.
    - Fix alerts page crashing.
    - Fix event message rendering.
    - Fix historical U-LTE data stat processing.
    - Fix loading translations while using CORS.
    - Fix models names for APs.
    - Fix list of available backups to restore during the Setup of controller.
    - Fix headings for UDM and UBB radio details.
    - Fix blinking ports on UDM icon on Dashboard.
    - Fix blinking IPs and text messages.
    - Display Meshing settings only for last of 5GHz radios.
    - Disable Bluetooth after Setup is completed on UDM-Pro.
    - Resolve UCK-G2 identification issues.
    - Migrate minimum RSSI settings to new range (from -67 to -90 dBm).
    - Update minimum RSSI radio range in slider.
    - Update UI for WiFi form Advanced section.
    - Prevent deletion of WAN2 network on UXG-Pro.
  
  Full changelog:
  https://community.ui.com/releases/UniFi-Network-Controller-6-0-43/b28bb453-927a-4dd8-82f7-40af28505510
  
  And while here, also:
    - reformat Makefile according to portfmt, portclippy
    - Replace ${CP} by ${INSTALL_DATA}
  
  Reviewed by:	osa (mentor)
  Approved by:	osa (mentor)
  Differential Revision:	https://reviews.freebsd.org/D27802

Modified:
  head/net-mgmt/unifi6/Makefile
  head/net-mgmt/unifi6/distinfo

Modified: head/net-mgmt/unifi6/Makefile
==============================================================================
--- head/net-mgmt/unifi6/Makefile	Tue Dec 29 12:22:02 2020	(r559569)
+++ head/net-mgmt/unifi6/Makefile	Tue Dec 29 12:26:41 2020	(r559570)
@@ -2,64 +2,61 @@
 # $FreeBSD$
 
 PORTNAME=	unifi6
-PORTVERSION=	6.0.41
+PORTVERSION=	6.0.43
 CATEGORIES=	net-mgmt java
 MASTER_SITES=	http://dl.ubnt.com/unifi/%SUBDIR%/:unifi \
 		https://repo1.maven.org/maven2/%SUBDIR%/:jax
 MASTER_SITE_SUBDIR=	${PORTVERSION}/:unifi \
-			javax/activation/${JAX_DISTNAME}/${JAX_VERSION}/:jax
+			javax/activation/${_JAX_DISTNAME}/${_JAX_VERSION}/:jax
 DISTFILES=	unifi_sysvinit_all.deb:unifi \
-		${JAX_DISTNAME}-${JAX_VERSION}.jar:jax
+		${_JAX_DISTNAME}-${_JAX_VERSION}.jar:jax
 DIST_SUBDIR=	${PORTNAME}-${PORTVERSION}
 EXTRACT_ONLY=	unifi_sysvinit_all.deb
 
 MAINTAINER=	otis@FreeBSD.org
 COMMENT=	UniFi Controller v6
 
+LICENSE=	NONE
+
 RUN_DEPENDS=	mongodb36>0:databases/mongodb36 \
 		snappyjava>0:archivers/snappy-java
 
 USES=		cpe
 
-SUB_LIST+=	GROUPS=${GROUPS} \
-		JAVA=${JAVA} \
-		JAVA_HOME=${JAVA_HOME} \
-		JAVASHAREDIR=${JAVASHAREDIR} \
-		USERS=${USERS}
-
-EXTRACT_CMD=	${AR}
-EXTRACT_BEFORE_ARGS=	-p
-EXTRACT_AFTER_ARGS=	data.tar.xz | ${TAR} -xf -
-
 CPE_VENDOR=	ubnt
 CPE_PRODUCT=	unifi_controller
 USE_JAVA=	yes
-JAVA_VERSION=	1.8+
+JAVA_VERSION=	8+
 JAVA_OS=	native
 JAVA_VENDOR=	openjdk bsdjava
 JAVA_RUN=	yes
+USE_RC_SUBR=	unifi
 
-NO_BUILD=	yes
+CONFLICTS=	unifi-devel-* unifi-lts-* unifi5-*
+
+EXTRACT_CMD=	${AR}
+EXTRACT_BEFORE_ARGS=	-p
+EXTRACT_AFTER_ARGS=	data.tar.xz | ${TAR} -xf -
+
 NO_ARCH=	yes
+NO_BUILD=	yes
+SUB_LIST+=	GROUPS=${GROUPS} \
+		JAVA=${JAVA} \
+		JAVA_HOME=${JAVA_HOME} \
+		JAVASHAREDIR=${JAVASHAREDIR} \
+		USERS=${USERS}
 
-USE_RC_SUBR=	unifi
+NO_WRKSUBDIR=	yes
 
 USERS=		unifi
 GROUPS=		unifi
 
-JAX_DISTNAME=	javax.activation-api
-JAX_VERSION=	1.2.0
+_DIR_LIST=	conf data logs run work
+_JAX_DISTNAME=	javax.activation-api
+_JAX_VERSION=	1.2.0
 
-NO_WRKSUBDIR=	yes
-
-CONFLICTS=	unifi-devel-*
-CONFLICTS+=	unifi-lts-*
-CONFLICTS+=	unifi5-*
-
-DIR_LIST=	conf data logs run work
-
 post-extract:
-	${CP} ${DISTDIR}/${DIST_SUBDIR}/${JAX_DISTNAME}-${JAX_VERSION}.jar \
+	${INSTALL_DATA} ${DISTDIR}/${DIST_SUBDIR}/${_JAX_DISTNAME}-${_JAX_VERSION}.jar \
 		${WRKSRC}/usr/lib/unifi/lib/
 
 post-patch:
@@ -80,7 +77,7 @@ do-install:
 post-install:
 	@${FIND} -s ${STAGEDIR}${JAVASHAREDIR}/unifi -not -type d | \
 		${SORT} | ${SED} -e 's#^${STAGEDIR}${PREFIX}/##' >> ${TMPPLIST}
-.for dir in ${DIR_LIST}
+.for dir in ${_DIR_LIST}
 	@${ECHO} "@dir(unifi,wheel,) ${JAVASHAREDIR}/unifi/${dir}" >> \
 		${TMPPLIST}
 .endfor

Modified: head/net-mgmt/unifi6/distinfo
==============================================================================
--- head/net-mgmt/unifi6/distinfo	Tue Dec 29 12:22:02 2020	(r559569)
+++ head/net-mgmt/unifi6/distinfo	Tue Dec 29 12:26:41 2020	(r559570)
@@ -1,5 +1,5 @@
-TIMESTAMP = 1607011626
-SHA256 (unifi6-6.0.41/unifi_sysvinit_all.deb) = 82bf8dc9df881ec7a70d7c288d426dbd7d107d51f4cd01fdddb83e4416830fd6
-SIZE (unifi6-6.0.41/unifi_sysvinit_all.deb) = 196057532
-SHA256 (unifi6-6.0.41/javax.activation-api-1.2.0.jar) = 43fdef0b5b6ceb31b0424b208b930c74ab58fac2ceeb7b3f6fd3aeb8b5ca4393
-SIZE (unifi6-6.0.41/javax.activation-api-1.2.0.jar) = 56674
+TIMESTAMP = 1609174518
+SHA256 (unifi6-6.0.43/unifi_sysvinit_all.deb) = 7ecaa303ad4900811e2e20030243a3236ca7983f7790d5c392245f201ce137b5
+SIZE (unifi6-6.0.43/unifi_sysvinit_all.deb) = 115258006
+SHA256 (unifi6-6.0.43/javax.activation-api-1.2.0.jar) = 43fdef0b5b6ceb31b0424b208b930c74ab58fac2ceeb7b3f6fd3aeb8b5ca4393
+SIZE (unifi6-6.0.43/javax.activation-api-1.2.0.jar) = 56674



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202012291226.0BTCQflL077943>