diff options
Diffstat (limited to 'net/unifi/Makefile')
-rw-r--r-- | net/unifi/Makefile | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/net/unifi/Makefile b/net/unifi/Makefile index 0faebc18875..5ccb0940794 100644 --- a/net/unifi/Makefile +++ b/net/unifi/Makefile @@ -1,7 +1,7 @@ -# $NetBSD: Makefile,v 1.30 2021/12/06 15:33:27 abs Exp $ +# $NetBSD: Makefile,v 1.31 2021/12/11 17:28:25 gdt Exp $ -DISTNAME= unifi-6.2.26 -PKGREVISION= 1 +# Please do not drop this; a new update cycle is likely very soon. +DISTNAME= unifi-6.5.54 CATEGORIES= net MASTER_SITES= -http://dl.ubnt.com/unifi/${PKGVERSION_NOREV}/UniFi.unix.zip EXTRACT_SUFX= .zip @@ -25,7 +25,6 @@ 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 @@ -44,7 +43,7 @@ DISTFILES+= ${SNAPPY}.tar.gz EXTRACT_ONLY+= ${SNAPPY}.tar.gz CHECK_SHLIBS_SKIP= unifi/lib/native/* -INSTALLATION_DIRS= unifi share/doc/unifi +INSTALLATION_DIRS= unifi # Emulated JDK doesn't work due to epoll issues. Also, would require # matching emulated native libraries, and we only compile actual @@ -56,7 +55,9 @@ USE_LANGUAGES= c c++ # for snappy JNI library USE_TOOLS+= gmake pax WRKSRC= ${WRKDIR} -.include "options.mk" +# 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 FILES_SUBST+= UNIFI_USER=${UNIFI_USER:Q} UNIFI_GROUP=${UNIFI_GROUP:Q} FILES_SUBST+= JAVA=${PKG_JAVA_HOME}/bin/java @@ -113,7 +114,6 @@ do-build: 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" |