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:   abs
Date:           Mon Aug 28 19:34:24 UTC 2023

Modified Files:
        pkgsrc/net/unifi: options.mk

Log Message:
Fix mongodb4 option to install v4, and add mongodb6 option

Not bumping PKGREVISION as default build unaffected.

OKed by maintainer


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 pkgsrc/net/unifi/options.mk

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/options.mk
diff -u pkgsrc/net/unifi/options.mk:1.2 pkgsrc/net/unifi/options.mk:1.3
--- pkgsrc/net/unifi/options.mk:1.2     Mon Jul  3 12:53:32 2023
+++ pkgsrc/net/unifi/options.mk Mon Aug 28 19:34:24 2023
@@ -1,7 +1,7 @@
-# $NetBSD: options.mk,v 1.2 2023/07/03 12:53:32 wiz Exp $
+# $NetBSD: options.mk,v 1.3 2023/08/28 19:34:24 abs Exp $
 
 PKG_OPTIONS_VAR=               PKG_OPTIONS.unifi
-PKG_OPTIONS_GROUP.mongodb=     mongodb3 mongodb4
+PKG_OPTIONS_GROUP.mongodb=     mongodb3 mongodb4 mongodb6
 PKG_OPTIONS_REQUIRED_GROUPS=   mongodb
 PKG_SUGGESTED_OPTIONS=         mongodb3
 
@@ -16,5 +16,11 @@ DEPENDS+=            mongodb>=3.4.4<4:../../databa
 # For those happy with server-side-public-license
 # Note a backup/restore is required when switching versions
 .if !empty(PKG_OPTIONS:Mmongodb4)
-DEPENDS+=              mongodb>=4.0:../../databases/mongodb
+DEPENDS+=              mongodb>=4.0<6:../../databases/mongodb4
+.endif
+
+# For those happy with server-side-public-license
+# Note a backup/restore is required when switching versions
+.if !empty(PKG_OPTIONS:Mmongodb6)
+DEPENDS+=              mongodb>=6.0:../../databases/mongodb
 .endif



Home | Main Index | Thread Index | Old Index