Lines 2-8
Link Here
|
2 |
|
2 |
|
3 |
PORTNAME= mongodb |
3 |
PORTNAME= mongodb |
4 |
DISTVERSIONPREFIX= r |
4 |
DISTVERSIONPREFIX= r |
5 |
DISTVERSION= 4.0.12 |
5 |
DISTVERSION= 4.2.6 |
6 |
CATEGORIES= databases net |
6 |
CATEGORIES= databases net |
7 |
MASTER_SITES= https://fastdl.mongodb.org/src/ \ |
7 |
MASTER_SITES= https://fastdl.mongodb.org/src/ \ |
8 |
http://fastdl.mongodb.org/src/ \ |
8 |
http://fastdl.mongodb.org/src/ \ |
Lines 10-28
Link Here
|
10 |
PKGNAMESUFFIX= ${PORTVERSION:R:S/.//} |
10 |
PKGNAMESUFFIX= ${PORTVERSION:R:S/.//} |
11 |
DISTNAME= mongodb-src-${DISTVERSIONPREFIX}${DISTVERSION} |
11 |
DISTNAME= mongodb-src-${DISTVERSIONPREFIX}${DISTVERSION} |
12 |
|
12 |
|
13 |
MAINTAINER= dev.ashevchuk@gmail.com |
13 |
MAINTAINER= ronald-lists@klop.ws |
14 |
COMMENT= Distributed document-oriented "NoSQL" database |
14 |
COMMENT= Distributed document-oriented "NoSQL" database (4.2.x Branch) |
15 |
|
15 |
|
16 |
# mongodb is AGPLv3, C++ driver is APACHE20 |
16 |
# mongodb is SSPL, C++ driver is APACHE20 |
17 |
LICENSE= AGPLv3 APACHE20 |
17 |
LICENSE= SSPL APACHE20 |
18 |
LICENSE_COMB= multi |
18 |
LICENSE_COMB= multi |
19 |
|
19 |
|
|
|
20 |
LICENSE_FILE_SSPL= ${WRKSRC}/LICENSE-Community.txt |
21 |
LICENSE_NAME_SSPL= Server Side Public License |
22 |
LICENSE_PERMS_SSPL= dist-mirror dist-sell pkg-mirror pkg-sell auto-accept |
23 |
|
20 |
ONLY_FOR_ARCHS= aarch64 amd64 |
24 |
ONLY_FOR_ARCHS= aarch64 amd64 |
21 |
ONLY_FOR_ARCHS_REASON= "Only supported on amd64 and aarch64 (i386 deprecated in v3)" |
25 |
ONLY_FOR_ARCHS_REASON= "Only supported on amd64 and aarch64 (i386 deprecated in v3)" |
22 |
|
26 |
|
23 |
BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}cheetah>=2.4.4:devel/py-cheetah@${PY_FLAVOR} \ |
27 |
BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}cheetah3>0:devel/py-cheetah3@${PY_FLAVOR} \ |
24 |
${PY_TYPING} \ |
28 |
${PY_TYPING} \ |
25 |
${PYTHON_PKGNAMEPREFIX}yaml>=3.11:devel/py-yaml@${PY_FLAVOR} \ |
29 |
${PYTHON_PKGNAMEPREFIX}yaml>=3.11:devel/py-yaml@${PY_FLAVOR} \ |
|
|
30 |
${PYTHON_PKGNAMEPREFIX}psutil>0:sysutils/py-psutil@${PY_FLAVOR} \ |
26 |
${LOCALBASE}/bin/ar:devel/binutils |
31 |
${LOCALBASE}/bin/ar:devel/binutils |
27 |
LIB_DEPENDS= libboost_system.so:devel/boost-libs \ |
32 |
LIB_DEPENDS= libboost_system.so:devel/boost-libs \ |
28 |
libpcre.so:devel/pcre \ |
33 |
libpcre.so:devel/pcre \ |
Lines 29-56
Link Here
|
29 |
libcurl.so:ftp/curl \ |
34 |
libcurl.so:ftp/curl \ |
30 |
libsnappy.so:archivers/snappy |
35 |
libsnappy.so:archivers/snappy |
31 |
|
36 |
|
32 |
USES= compiler:c++14-lang cpe python:2.7,build scons shebangfix |
37 |
USES= compiler:c++17-lang cpe python:3.5+,build scons shebangfix |
33 |
USE_RC_SUBR= mongod |
38 |
USE_RC_SUBR= mongod |
34 |
|
39 |
|
35 |
CONFLICTS_BUILD= mongo-cxx-driver |
40 |
CONFLICTS_BUILD= mongo-cxx-driver |
36 |
CONFLICTS_INSTALL= mongodb3[46] |
41 |
CONFLICTS_INSTALL= mongodb3[46] mongodb40 |
37 |
|
42 |
|
|
|
43 |
OPTIONS_DEFINE= SASL SSL |
44 |
OPTIONS_DEFAULT= SASL SSL |
45 |
|
38 |
SHEBANG_FILES= src/mongo/installer/compass/install_compass.in |
46 |
SHEBANG_FILES= src/mongo/installer/compass/install_compass.in |
39 |
python_OLD_CMD= @python_interpreter@ |
47 |
python_OLD_CMD= @python_interpreter@ |
40 |
MAKE_ARGS= --prefix=${STAGEDIR}${PREFIX} \ |
48 |
MAKE_ARGS= --prefix=${STAGEDIR}${PREFIX} \ |
41 |
--use-system-pcre --use-system-snappy \ |
49 |
--use-system-zlib \ |
42 |
--use-system-boost --use-system-zlib \ |
50 |
--use-system-pcre \ |
43 |
--cxx-std=14 --libc++ \ |
51 |
--use-system-snappy \ |
|
|
52 |
--use-system-boost \ |
53 |
--libc++ \ |
54 |
--cxx-std=17 \ |
44 |
--runtime-hardening=on \ |
55 |
--runtime-hardening=on \ |
|
|
56 |
-j ${MAKE_JOBS_NUMBER} \ |
45 |
--disable-warnings-as-errors \ |
57 |
--disable-warnings-as-errors \ |
46 |
VERBOSE=on AR=${PREFIX}/bin/ar |
58 |
VERBOSE=on \ |
|
|
59 |
AR=${PREFIX}/bin/ar |
47 |
|
60 |
|
|
|
61 |
.include <bsd.port.pre.mk> |
62 |
|
48 |
USERS= mongodb |
63 |
USERS= mongodb |
49 |
GROUPS= mongodb |
64 |
GROUPS= mongodb |
50 |
|
65 |
|
51 |
OPTIONS_DEFINE= SASL SSL |
|
|
52 |
OPTIONS_DEFAULT= SASL SSL |
53 |
|
54 |
SASL_LIB_DEPENDS= libsasl2.so:security/cyrus-sasl2 |
66 |
SASL_LIB_DEPENDS= libsasl2.so:security/cyrus-sasl2 |
55 |
SASL_MAKE_ARGS= --use-sasl-client |
67 |
SASL_MAKE_ARGS= --use-sasl-client |
56 |
|
68 |
|
Lines 57-64
Link Here
|
57 |
SSL_USES= ssl |
69 |
SSL_USES= ssl |
58 |
SSL_MAKE_ARGS= --ssl |
70 |
SSL_MAKE_ARGS= --ssl |
59 |
|
71 |
|
60 |
.include <bsd.port.options.mk> |
|
|
61 |
|
62 |
.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1200057 |
72 |
.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1200057 |
63 |
SUB_LIST+= LEGACY_LIMITS="@comment " MODERN_LIMITS="" |
73 |
SUB_LIST+= LEGACY_LIMITS="@comment " MODERN_LIMITS="" |
64 |
.else |
74 |
.else |