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: Change mongodb dependency to mong...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/45bae6a9a9cf
branches:  trunk
changeset: 397519:45bae6a9a9cf
user:      gdt <gdt%pkgsrc.org@localhost>
date:      Fri Jun 28 16:41:06 2019 +0000

description:
net/unifi: Change mongodb dependency to mongodb3

The server side public license, used by databases/mongodb (version 4),
appears to be incompatible with ubiquiti-license.  Also,
databases/mongodb does not build on platforms where net/unifi works
(e.g., netbsd-8 amd64).

diffstat:

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

diffs (28 lines):

diff -r 08c089bb7139 -r 45bae6a9a9cf net/unifi/Makefile
--- a/net/unifi/Makefile        Fri Jun 28 16:31:51 2019 +0000
+++ b/net/unifi/Makefile        Fri Jun 28 16:41:06 2019 +0000
@@ -1,11 +1,12 @@
-# $NetBSD: Makefile,v 1.6 2019/06/07 15:18:13 gdt Exp $
+# $NetBSD: Makefile,v 1.7 2019/06/28 16:41:06 gdt Exp $
 
 DISTNAME=      unifi-5.10.24
+PKGREVISION=   1
 CATEGORIES=    net
 MASTER_SITES=  -http://dl.ubnt.com/unifi/${PKGVERSION}/UniFi.unix.zip
 EXTRACT_SUFX=  .zip
 
-MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
+MAINTAINER=    gdt%NetBSD.org@localhost
 HOMEPAGE=      https://www.ubnt.com/download/unifi/
 COMMENT=       Provisioning software for network products made by Ubiquiti
 LICENSE=       ubiquiti-license
@@ -44,7 +45,8 @@
 USE_TOOLS+=            gmake pax
 WRKSRC=                        ${WRKDIR}/UniFi
 
-DEPENDS+=              mongodb>=2.4.14:../../databases/mongodb
+# mongodb 3.4.4 is known to work well with unifi; avoid mongodb4 for now.
+DEPENDS+=              mongodb>=2.4.14:../../databases/mongodb3
 
 FILES_SUBST+=          UNIFI_USER=${UNIFI_USER:Q} UNIFI_GROUP=${UNIFI_GROUP:Q}
 FILES_SUBST+=          JAVA=${PKG_JAVA_HOME}/bin/java



Home | Main Index | Thread Index | Old Index