-
Notifications
You must be signed in to change notification settings - Fork 738
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
databases/foundationdb*: split, update to 7.1.59 & 7.3.41
Update FoundationDB to both main supported versions, and also split between server and client builds for convenience. PR: 277262 Reviewed by: dch Sponsored by: SkunkWerks, GmbH
- Loading branch information
Showing
53 changed files
with
805 additions
and
214 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
11 changes: 0 additions & 11 deletions
11
databases/foundationdb/files/patch-cmake_CompileBoost.cmake
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
11 changes: 0 additions & 11 deletions
11
databases/foundationdb/files/patch-fdbmonitor_CMakeLists.txt
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
PORTNAME= foundationdb | ||
PORTREVISION= 0 | ||
|
||
COMMENT= FoundationDB client | ||
|
||
MASTERDIR= ${.CURDIR}/../foundationdb71-server | ||
|
||
_CLIENT_ONLY= yes | ||
_COMPONENT= client | ||
|
||
.include "${MASTERDIR}/Makefile" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,103 @@ | ||
PORTNAME?= foundationdb | ||
DISTVERSION= 7.1.59 | ||
PORTREVISION?= 0 | ||
CATEGORIES?= databases | ||
PKGNAMESUFFIX?= ${DISTVERSION:C/([0-9]+)\.([0-9]+).*/\1\2/}-${_COMPONENT} | ||
|
||
MAINTAINER?= dmitry.wagin@ya.ru | ||
COMMENT?= FoundationDB is a large-scale distributed database | ||
WWW= https://www.foundationdb.org/ | ||
|
||
LICENSE= APACHE20 | ||
LICENSE_FILE= ${WRKSRC}/LICENSE | ||
|
||
BROKEN_aarch64= invalid asm rdtsc | ||
ONLY_FOR_ARCHS= aarch64 amd64 | ||
ONLY_FOR_ARCHS_REASON= not yet ported to anything else | ||
|
||
BUILD_DEPENDS= bash:shells/bash \ | ||
msgpack-cxx>0:devel/msgpack-cxx \ | ||
toml11>0:devel/toml11 | ||
LIB_DEPENDS= libboost_system.so:devel/boost-libs \ | ||
libeio.so:devel/libeio | ||
|
||
USES= cmake compiler:c++20-lang llvm:max=16 mono:build python:build \ | ||
shebangfix ssl | ||
USE_GITHUB= yes | ||
GH_ACCOUNT= apple | ||
GH_PROJECT= foundationdb | ||
USE_LDCONFIG= yes | ||
|
||
.if !defined(_CLIENT_ONLY) | ||
_SERVER_ONLY= yes | ||
_COMPONENT= server | ||
USE_RC_SUBR= foundationdb | ||
RUN_DEPENDS+= fdbcli:databases/${PORTNAME}${DISTVERSION:C/([0-9]+)\.([0-9]+).*/\1\2/}-client | ||
SUB_FILES+= foundationdb.conf | ||
.endif | ||
|
||
SHEBANG_FILES= bindings/c/generate_asm.py | ||
|
||
CMAKE_ARGS= -DOPENSSL_ROOT_DIR=${OPENSSLLIB} | ||
CMAKE_OFF= BUILD_DOCUMENTATION BUILD_GO_BINDING BUILD_JAVA_BINDING \ | ||
BUILD_PYTHON_BINDING BUILD_RUBY_BINDING DISABLE_TLS \ | ||
SSD_ROCKSDB_EXPERIMENTAL USE_DTRACE USE_JEMALLOC | ||
|
||
MAKE_ENV= MONO_REGISTRY_PATH=/tmp/registry | ||
|
||
CONFLICTS+= ${PORTNAME}*-${_COMPONENT}* | ||
|
||
SUB_LIST= ${SUB_FDB} | ||
|
||
USERS= ${FOUNDATIONDB_USER} | ||
GROUPS= ${FOUNDATIONDB_GROUP} | ||
|
||
PLIST= ${PKGDIR}/pkg-plist-${_COMPONENT} | ||
PLIST_SUB= ${SUB_FDB} | ||
|
||
FOUNDATIONDB_USER?= foundationdb | ||
FOUNDATIONDB_GROUP?= foundationdb | ||
FOUNDATIONDB_DBDIR?= /var/db/foundationdb | ||
FOUNDATIONDB_LOGDIR?= /var/log/foundationdb | ||
|
||
SUB_FDB= FOUNDATIONDB_USER=${FOUNDATIONDB_USER} \ | ||
FOUNDATIONDB_GROUP=${FOUNDATIONDB_GROUP} \ | ||
FOUNDATIONDB_DBDIR=${FOUNDATIONDB_DBDIR} \ | ||
FOUNDATIONDB_LOGDIR=${FOUNDATIONDB_LOGDIR} | ||
|
||
do-install: | ||
@${MKDIR} ${STAGEDIR}${ETCDIR} | ||
.if defined(_SERVER_ONLY) | ||
${MKDIR} ${STAGEDIR}${FOUNDATIONDB_DBDIR} | ||
${MKDIR} ${STAGEDIR}${FOUNDATIONDB_LOGDIR} | ||
${INSTALL_DATA} ${WRKDIR}/foundationdb.conf ${STAGEDIR}${ETCDIR}/foundationdb.conf.sample | ||
. for f in fdbserver fdbmonitor | ||
${INSTALL_PROGRAM} ${WRKDIR}/.build/bin/${f} ${STAGEDIR}${PREFIX}/sbin/ | ||
. endfor | ||
.endif # _SERVER_ONLY | ||
.if defined(_CLIENT_ONLY) | ||
${MKDIR} ${STAGEDIR}${PREFIX}/include/foundationdb | ||
${MKDIR} ${STAGEDIR}${PREFIX}/lib/foundationdb/backup_agent | ||
${INSTALL_PROGRAM} ${WRKDIR}/.build/bin/fdbcli ${STAGEDIR}${PREFIX}/bin/ | ||
. for l in libfdb_c.so | ||
${INSTALL_LIB} ${WRKDIR}/.build/lib/${l} ${STAGEDIR}/${PREFIX}/lib/ | ||
. endfor | ||
. for i in fdb_c.h fdb_c_internal.h fdb_c_types.h | ||
${INSTALL_DATA} ${WRKSRC}/bindings/c/foundationdb/${i} \ | ||
${STAGEDIR}/${PREFIX}/include/foundationdb/ | ||
. endfor | ||
. for i in fdb_c_options.g.h | ||
${INSTALL_DATA} ${WRKDIR}/.build/bindings/c/foundationdb/${i} \ | ||
${STAGEDIR}/${PREFIX}/include/foundationdb/ | ||
. endfor | ||
${INSTALL_DATA} ${WRKSRC}/fdbclient/vexillographer/fdb.options \ | ||
${STAGEDIR}/${PREFIX}/include/foundationdb/ | ||
${INSTALL_PROGRAM} ${WRKDIR}/.build/bin/fdbbackup \ | ||
${STAGEDIR}${PREFIX}/lib/foundationdb/backup_agent/backup_agent | ||
. for s in fdbbackup fdbrestore fdbdr dr_agent | ||
${RLN} ${STAGEDIR}${PREFIX}/lib/foundationdb/backup_agent/backup_agent \ | ||
${STAGEDIR}${PREFIX}/bin/${s} | ||
. endfor | ||
.endif # _CLIENT_ONLY | ||
|
||
.include <bsd.port.mk> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
TIMESTAMP = 1711226264 | ||
SHA256 (apple-foundationdb-7.1.59_GH0.tar.gz) = 8a5b7756b96969505ea94a9c6f6852b1ee1730f75672dc887616b92cc7cd64f1 | ||
SIZE (apple-foundationdb-7.1.59_GH0.tar.gz) = 11728251 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.