diff --git a/net-mgmt/unifi8/Makefile b/net-mgmt/unifi8/Makefile index cd3009087fad..9fc08b8afa61 100644 --- a/net-mgmt/unifi8/Makefile +++ b/net-mgmt/unifi8/Makefile @@ -1,97 +1,97 @@ PORTNAME= unifi8 -PORTVERSION= 8.3.32 +PORTVERSION= 8.4.59 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 DISTFILES= unifi_sysvinit_all.deb:unifi \ ${_JAX_DISTNAME}-${_JAX_VERSION}.jar:jax DIST_SUBDIR= ${PORTNAME}-${PORTVERSION} EXTRACT_ONLY= unifi_sysvinit_all.deb MAINTAINER= otis@FreeBSD.org COMMENT= UniFi Controller v8 WWW= https://help.ui.com/hc/en-us/categories/200320654-UniFi-Wireless RUN_DEPENDS= snappyjava>0:archivers/snappy-java FLAVORS= default externaldb FLAVOR?= ${FLAVORS:[1]} externaldb_PKGNAMESUFFIX= -externaldb USES= cpe CPE_VENDOR= ui CPE_PRODUCT= unifi_controller USE_JAVA= yes JAVA_VERSION= 17 JAVA_RUN= jre USE_RC_SUBR= unifi CONFLICTS_INSTALL= unifi7 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} NO_WRKSUBDIR= yes USERS= unifi GROUPS= unifi OPTIONS_DEFINE= EXTERNALDB .if ${FLAVOR:U} == externaldb OPTIONS_DEFAULT+= EXTERNALDB .endif EXTERNALDB_DESC= Use external MongoDB server EXTERNALDB_VARS= PKGMESSAGE+=${WRKSRC}/pkg-message.extdb \ SUB_FILES+=pkg-message.extdb EXTERNALDB_VARS_OFF= RUN_DEPENDS+=mongodb60>0:databases/mongodb60 _DIR_LIST= conf data logs run work _JAX_DISTNAME= javax.activation-api _JAX_VERSION= 1.2.0 post-extract: ${INSTALL_DATA} ${DISTDIR}/${DIST_SUBDIR}/${_JAX_DISTNAME}-${_JAX_VERSION}.jar \ ${WRKSRC}/usr/lib/unifi/lib/ post-patch: (cd ${WRKSRC}/usr/lib/unifi/lib && \ ${LN} -f -s ${JAVAJARDIR}/snappy-java.jar snappy-java-*.jar) ${RM} -r ${WRKSRC}/usr/lib/unifi/lib/native do-install: ${MKDIR} ${STAGEDIR}${JAVASHAREDIR}/unifi (cd ${WRKSRC}/usr/lib/unifi && \ ${COPYTREE_SHARE} \* ${STAGEDIR}${JAVASHAREDIR}/unifi/) # Create directories that will be writable by unifi .for i in data logs run work ${MKDIR} ${STAGEDIR}/${JAVASHAREDIR}/unifi/${i} .endfor do-install-EXTERNALDB-off: ${LN} -sf ${PREFIX}/bin/mongod ${STAGEDIR}${JAVASHAREDIR}/unifi/bin/mongod post-install: @${FIND} -s ${STAGEDIR}${JAVASHAREDIR}/unifi -not -type d | \ ${SORT} | ${SED} -e 's#^${STAGEDIR}${PREFIX}/##' >> ${TMPPLIST} .for dir in ${_DIR_LIST} @${ECHO} "@dir(unifi,wheel,) ${JAVASHAREDIR}/unifi/${dir}" >> \ ${TMPPLIST} .endfor .include diff --git a/net-mgmt/unifi8/distinfo b/net-mgmt/unifi8/distinfo index 83a67c5442aa..22c2b34a17d6 100644 --- a/net-mgmt/unifi8/distinfo +++ b/net-mgmt/unifi8/distinfo @@ -1,5 +1,5 @@ -TIMESTAMP = 1721661618 -SHA256 (unifi8-8.3.32/unifi_sysvinit_all.deb) = a6aca50a500442d90413120f398d69462ca699816f5b138e72acbe882916c79c -SIZE (unifi8-8.3.32/unifi_sysvinit_all.deb) = 149899426 -SHA256 (unifi8-8.3.32/javax.activation-api-1.2.0.jar) = 43fdef0b5b6ceb31b0424b208b930c74ab58fac2ceeb7b3f6fd3aeb8b5ca4393 -SIZE (unifi8-8.3.32/javax.activation-api-1.2.0.jar) = 56674 +TIMESTAMP = 1725368538 +SHA256 (unifi8-8.4.59/unifi_sysvinit_all.deb) = 57046f53e20726ceae4e1756174b8eab1cf871e801ca463307f7c3d3f0063da3 +SIZE (unifi8-8.4.59/unifi_sysvinit_all.deb) = 149557430 +SHA256 (unifi8-8.4.59/javax.activation-api-1.2.0.jar) = 43fdef0b5b6ceb31b0424b208b930c74ab58fac2ceeb7b3f6fd3aeb8b5ca4393 +SIZE (unifi8-8.4.59/javax.activation-api-1.2.0.jar) = 56674