pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/net/unifi net/unifi: Restore mongo option lost in wip ...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/a34beaa9ea2d
branches:  trunk
changeset: 770968:a34beaa9ea2d
user:      gdt <gdt%pkgsrc.org@localhost>
date:      Sat Dec 11 17:30:07 2021 +0000

description:
net/unifi: Restore mongo option lost in wip update

diffstat:

 net/unifi/Makefile |  11 +++++------
 1 files changed, 5 insertions(+), 6 deletions(-)

diffs (47 lines):

diff -r 1a8af45ca2e5 -r a34beaa9ea2d net/unifi/Makefile
--- a/net/unifi/Makefile        Sat Dec 11 17:28:38 2021 +0000
+++ b/net/unifi/Makefile        Sat Dec 11 17:30:07 2021 +0000
@@ -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 @@
 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 @@
 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_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-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