pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/net/unifi



Module Name:    pkgsrc
Committed By:   gdt
Date:           Sat Dec 11 17:30:07 UTC 2021

Modified Files:
        pkgsrc/net/unifi: Makefile

Log Message:
net/unifi: Restore mongo option lost in wip update


To generate a diff of this commit:
cvs rdiff -u -r1.31 -r1.32 pkgsrc/net/unifi/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/net/unifi/Makefile
diff -u pkgsrc/net/unifi/Makefile:1.31 pkgsrc/net/unifi/Makefile:1.32
--- pkgsrc/net/unifi/Makefile:1.31      Sat Dec 11 17:28:25 2021
+++ pkgsrc/net/unifi/Makefile   Sat Dec 11 17:30:07 2021
@@ -1,6 +1,5 @@
-# $NetBSD: Makefile,v 1.31 2021/12/11 17:28:25 gdt Exp $
+# $NetBSD: Makefile,v 1.32 2021/12/11 17:30:07 gdt Exp $
 
-# 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
@@ -25,6 +24,7 @@ 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
@@ -43,7 +43,7 @@ DISTFILES+=           ${SNAPPY}.tar.gz
 EXTRACT_ONLY+=         ${SNAPPY}.tar.gz
 
 CHECK_SHLIBS_SKIP=     unifi/lib/native/*
-INSTALLATION_DIRS=     unifi
+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
@@ -55,9 +55,7 @@ USE_LANGUAGES=                c c++   # for snappy JNI l
 USE_TOOLS+=            gmake pax
 WRKSRC=                        ${WRKDIR}
 
-# 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
+.include "options.mk"
 
 FILES_SUBST+=          UNIFI_USER=${UNIFI_USER:Q} UNIFI_GROUP=${UNIFI_GROUP:Q}
 FILES_SUBST+=          JAVA=${PKG_JAVA_HOME}/bin/java
@@ -114,6 +112,7 @@ 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"



Home | Main Index | Thread Index | Old Index