summaryrefslogtreecommitdiff
path: root/databases/tarantool
diff options
context:
space:
mode:
Diffstat (limited to 'databases/tarantool')
-rw-r--r--databases/tarantool/Makefile62
-rw-r--r--databases/tarantool/distinfo3
-rw-r--r--databases/tarantool/files/patch-third_party-luajit-cmake-SetVersion.cmake11
-rw-r--r--databases/tarantool/files/pkg-message.in14
-rw-r--r--databases/tarantool/files/tarantool.in53
-rw-r--r--databases/tarantool/pkg-descr16
-rw-r--r--databases/tarantool/pkg-plist111
7 files changed, 0 insertions, 270 deletions
diff --git a/databases/tarantool/Makefile b/databases/tarantool/Makefile
deleted file mode 100644
index 728756daa8e3..000000000000
--- a/databases/tarantool/Makefile
+++ /dev/null
@@ -1,62 +0,0 @@
-PORTNAME= tarantool
-PORTVERSION= 2.11.2
-CATEGORIES= databases
-MASTER_SITES= https://download.tarantool.org/tarantool/src/
-
-MAINTAINER= balaev@tarantool.org
-COMMENT= NoSQL database running in a Lua application server
-WWW= https://tarantool.io/
-
-LICENSE= BSD2CLAUSE
-LICENSE_FILE= ${WRKSRC}/LICENSE
-
-BROKEN_aarch64= fails to compile: mmintrin.h:50:12: invalid conversion between vector type '__m64' (vector of 1 'long long' value) and integer type 'int' of different siz
-BROKEN_riscv64= fails to compile: mmintrin.h:50:12: invalid conversion between vector type '__m64' (vector of 1 'long long' value) and integer type 'int' of different siz
-NOT_FOR_ARCHS= armv6 i386 powerpc64 sparc64
-NOT_FOR_ARCHS_REASON= fails to build: Unsupported architecture
-
-BUILD_DEPENDS= gsed:textproc/gsed \
- msgpuck>=2.0_6:devel/msgpuck
-LIB_DEPENDS= libcurl.so:ftp/curl \
- libicui18n.so:devel/icu \
- libmsgpuck.so:devel/msgpuck \
- libyaml.so:textproc/libyaml \
- libzstd.so:archivers/zstd
-
-USES= cmake:noninja compiler:c++11-lang cpe gettext-runtime gmake iconv perl5 readline ssl
-USE_PERL5= build
-
-BINARY_ALIAS= sed=${LOCALBASE}/bin/gsed
-CMAKE_ARGS= -DCMAKE_INSTALL_FULL_SYSCONFDIR=${ETCDIR} \
- -DCMAKE_INSTALL_LOCALSTATEDIR=/var \
- -DCMAKE_INSTALL_MANDIR=${PREFIX}/share/man
-CMAKE_OFF= ENABLE_BUNDLED_LIBCURL \
- ENABLE_BUNDLED_LIBYAML \
- ENABLE_BUNDLED_MSGPUCK \
- ENABLE_BUNDLED_ZSTD
-CMAKE_ON= ENABLE_DIST
-MAKE_JOBS_UNSAFE= yes
-USE_LDCONFIG= yes
-USE_RC_SUBR= tarantool
-
-USERS= tarantool
-GROUPS= tarantool
-
-PLIST_SUB= TT_DATADIR=${TT_DATADIR} \
- TT_LOGDIR=${TT_LOGDIR}
-SUB_FILES= pkg-message
-
-TT_DATADIR?= /var/db/tarantool
-TT_LOGDIR?= /var/log/tarantool
-TT_RUNDIR?= /var/run/tarantool
-
-post-patch:
- @${ECHO_CMD} ${PORTVERSION}-0 > ${WRKSRC}/VERSION
- @${GREP} -lr 'msgpuck/msgpuck.h' ${WRKSRC}/ | ${XARGS} ${REINPLACE_CMD} -e 's|msgpuck/msgpuck.h|msgpuck.h|'
- @${REINPLACE_CMD} -e 's|libmsgpuck.a|libmsgpuck.so|' ${WRKSRC}/cmake/FindMsgPuck.cmake
- @${REINPLACE_CMD} -e 's|lib/msgpuck.h|msgpuck.h|' ${WRKSRC}/src/lib/core/decimal.c
-
-post-install:
- @${RMDIR} ${STAGEDIR}${PREFIX}/lib/tarantool/
-
-.include <bsd.port.mk>
diff --git a/databases/tarantool/distinfo b/databases/tarantool/distinfo
deleted file mode 100644
index 8a52b64a2520..000000000000
--- a/databases/tarantool/distinfo
+++ /dev/null
@@ -1,3 +0,0 @@
-TIMESTAMP = 1702046696
-SHA256 (tarantool-2.11.2.tar.gz) = 2f30215ad41f5148471c38c9148f3f8a6e931ed914af153c58a136e08c829d28
-SIZE (tarantool-2.11.2.tar.gz) = 42536437
diff --git a/databases/tarantool/files/patch-third_party-luajit-cmake-SetVersion.cmake b/databases/tarantool/files/patch-third_party-luajit-cmake-SetVersion.cmake
deleted file mode 100644
index 0b0c0b39bbd3..000000000000
--- a/databases/tarantool/files/patch-third_party-luajit-cmake-SetVersion.cmake
+++ /dev/null
@@ -1,11 +0,0 @@
---- third_party/luajit/cmake/SetVersion.cmake.orig 2021-04-19 14:24:28 UTC
-+++ third_party/luajit/cmake/SetVersion.cmake
-@@ -4,7 +4,7 @@
- # Copyright (C) 2015-2020 IPONWEB Ltd.
-
- function(SetVersion version majver minver patchver tweakver prerel)
-- find_package(Git QUIET REQUIRED)
-+ find_package(Git QUIET)
- if(EXISTS ${CMAKE_SOURCE_DIR}/.git AND Git_FOUND)
- # Read version from the project's VCS and store the result
- # into version.
diff --git a/databases/tarantool/files/pkg-message.in b/databases/tarantool/files/pkg-message.in
deleted file mode 100644
index 7f0d47f82080..000000000000
--- a/databases/tarantool/files/pkg-message.in
+++ /dev/null
@@ -1,14 +0,0 @@
-[
-{ type: install
- message: <<EOM
- After install, you'll need:
-
- Configuration at /etc/rc.conf:
-
- * Enable tarantool on startup:
- tarantool_enable="yes"
- * Path to storage link files of instances:
- tarantool_instances="%%ETCDIR%%/instances.enabled"
-EOM
-}
-]
diff --git a/databases/tarantool/files/tarantool.in b/databases/tarantool/files/tarantool.in
deleted file mode 100644
index 19a793b2c96a..000000000000
--- a/databases/tarantool/files/tarantool.in
+++ /dev/null
@@ -1,53 +0,0 @@
-#!/bin/sh
-
-# PROVIDE: tarantool
-# REQUIRE: LOGIN
-# KEYWORD: shutdown
-#
-# tarantool_enable="YES"
-# tarantool_instances=""
-#
-
-. /etc/rc.subr
-
-name="tarantool"
-rcvar=tarantool_enable
-
-load_rc_config "$name"
-
-tarantool_enable=${tarantool_enable:-"NO"}
-tarantool_instances=${tarantool_instances:-"%%ETCDIR%%/instances.enabled"}
-
-start_cmd="${name}_start"
-stop_cmd="${name}_stop"
-restart_cmd="${name}_restart"
-
-INSTANCES=$(find ${tarantool_instances} -type l -name '*.lua' 2>/dev/null)
-TDAEMON=%%PREFIX%%/bin/tarantool
-TCTL=%%PREFIX%%/bin/tarantoolctl
-
-tarantool_start()
-{
- echo "tarantool: Starting instances"
- for inst in ${INSTANCES}
- do
- ${TDAEMON} ${TCTL} start $(basename ${inst} .lua)
- done
-}
-
-tarantool_stop()
-{
- echo "tarantool: Stopping instances"
- for inst in ${INSTANCES}
- do
- ${TDAEMON} ${TCTL} stop $(basename ${inst} .lua)
- done
-}
-
-tarantool_restart()
-{
- tarantool_stop
- tarantool_start
-}
-
-run_rc_command "$1"
diff --git a/databases/tarantool/pkg-descr b/databases/tarantool/pkg-descr
deleted file mode 100644
index 83e64c66b137..000000000000
--- a/databases/tarantool/pkg-descr
+++ /dev/null
@@ -1,16 +0,0 @@
-Tarantool is an in-memory database and application server.
-
-Key features of the application server:
-- 100% compatible drop-in replacement for Lua 5.1, based on LuaJIT 2.1. Simply
- use #!/usr/bin/tarantool instead of #!/usr/bin/lua in your script.
-- full support for Lua modules and a rich set of own modules, including
- cooperative multitasking, non-blocking I/O, access to external databases, etc
-
-Key features of the database:
-- MsgPack data format and MsgPack based client-server protocol
-- two data engines: 100% in-memory with optional persistence and a 2-level
- disk-based B-tree, to use with large data sets
-- multiple index types: HASH, TREE, RTREE, BITSET
-- asynchronous master-master replication
-- authentication and access control
-- the database is just a C extension to the app server and can be turned off
diff --git a/databases/tarantool/pkg-plist b/databases/tarantool/pkg-plist
deleted file mode 100644
index 7e3b8bde6f25..000000000000
--- a/databases/tarantool/pkg-plist
+++ /dev/null
@@ -1,111 +0,0 @@
-bin/tarantool
-bin/tarantoolctl
-etc/tarantool/default/tarantool
-etc/tarantool/instances.available/example.lua
-include/tarantool/lauxlib.h
-include/tarantool/lmisclib.h
-include/tarantool/lua.h
-include/tarantool/lua.hpp
-include/tarantool/luaconf.h
-include/tarantool/luajit.h
-include/tarantool/lualib.h
-include/tarantool/module.h
-share/man/man1/tarantool.1.gz
-share/man/man1/tarantoolctl.1.gz
-%%DATADIR%%/luarocks/admin/cache.lua
-%%DATADIR%%/luarocks/admin/cmd/add.lua
-%%DATADIR%%/luarocks/admin/cmd/make_manifest.lua
-%%DATADIR%%/luarocks/admin/cmd/refresh_cache.lua
-%%DATADIR%%/luarocks/admin/cmd/remove.lua
-%%DATADIR%%/luarocks/admin/index.lua
-%%DATADIR%%/luarocks/argparse.lua
-%%DATADIR%%/luarocks/build.lua
-%%DATADIR%%/luarocks/build/builtin.lua
-%%DATADIR%%/luarocks/build/cmake.lua
-%%DATADIR%%/luarocks/build/command.lua
-%%DATADIR%%/luarocks/build/make.lua
-%%DATADIR%%/luarocks/cmd.lua
-%%DATADIR%%/luarocks/cmd/build.lua
-%%DATADIR%%/luarocks/cmd/config.lua
-%%DATADIR%%/luarocks/cmd/doc.lua
-%%DATADIR%%/luarocks/cmd/download.lua
-%%DATADIR%%/luarocks/cmd/init.lua
-%%DATADIR%%/luarocks/cmd/install.lua
-%%DATADIR%%/luarocks/cmd/lint.lua
-%%DATADIR%%/luarocks/cmd/list.lua
-%%DATADIR%%/luarocks/cmd/make.lua
-%%DATADIR%%/luarocks/cmd/new_version.lua
-%%DATADIR%%/luarocks/cmd/pack.lua
-%%DATADIR%%/luarocks/cmd/path.lua
-%%DATADIR%%/luarocks/cmd/purge.lua
-%%DATADIR%%/luarocks/cmd/remove.lua
-%%DATADIR%%/luarocks/cmd/search.lua
-%%DATADIR%%/luarocks/cmd/show.lua
-%%DATADIR%%/luarocks/cmd/test.lua
-%%DATADIR%%/luarocks/cmd/unpack.lua
-%%DATADIR%%/luarocks/cmd/upload.lua
-%%DATADIR%%/luarocks/cmd/which.lua
-%%DATADIR%%/luarocks/cmd/write_rockspec.lua
-%%DATADIR%%/luarocks/core/cfg.lua
-%%DATADIR%%/luarocks/core/dir.lua
-%%DATADIR%%/luarocks/core/hardcoded.lua
-%%DATADIR%%/luarocks/core/manif.lua
-%%DATADIR%%/luarocks/core/path.lua
-%%DATADIR%%/luarocks/core/persist.lua
-%%DATADIR%%/luarocks/core/sysdetect.lua
-%%DATADIR%%/luarocks/core/util.lua
-%%DATADIR%%/luarocks/core/vers.lua
-%%DATADIR%%/luarocks/deplocks.lua
-%%DATADIR%%/luarocks/deps.lua
-%%DATADIR%%/luarocks/dir.lua
-%%DATADIR%%/luarocks/download.lua
-%%DATADIR%%/luarocks/fetch.lua
-%%DATADIR%%/luarocks/fetch/cvs.lua
-%%DATADIR%%/luarocks/fetch/git.lua
-%%DATADIR%%/luarocks/fetch/git_file.lua
-%%DATADIR%%/luarocks/fetch/git_http.lua
-%%DATADIR%%/luarocks/fetch/git_https.lua
-%%DATADIR%%/luarocks/fetch/git_ssh.lua
-%%DATADIR%%/luarocks/fetch/hg.lua
-%%DATADIR%%/luarocks/fetch/hg_http.lua
-%%DATADIR%%/luarocks/fetch/hg_https.lua
-%%DATADIR%%/luarocks/fetch/hg_ssh.lua
-%%DATADIR%%/luarocks/fetch/sscm.lua
-%%DATADIR%%/luarocks/fetch/svn.lua
-%%DATADIR%%/luarocks/fs.lua
-%%DATADIR%%/luarocks/fs/lua.lua
-%%DATADIR%%/luarocks/fs/macosx.lua
-%%DATADIR%%/luarocks/fs/tools.lua
-%%DATADIR%%/luarocks/fs/unix.lua
-%%DATADIR%%/luarocks/fs/unix/tools.lua
-%%DATADIR%%/luarocks/fs/win32.lua
-%%DATADIR%%/luarocks/fs/win32/tools.lua
-%%DATADIR%%/luarocks/fun.lua
-%%DATADIR%%/luarocks/loader.lua
-%%DATADIR%%/luarocks/manif.lua
-%%DATADIR%%/luarocks/manif/writer.lua
-%%DATADIR%%/luarocks/pack.lua
-%%DATADIR%%/luarocks/path.lua
-%%DATADIR%%/luarocks/persist.lua
-%%DATADIR%%/luarocks/queries.lua
-%%DATADIR%%/luarocks/remove.lua
-%%DATADIR%%/luarocks/repos.lua
-%%DATADIR%%/luarocks/require.lua
-%%DATADIR%%/luarocks/results.lua
-%%DATADIR%%/luarocks/rockspecs.lua
-%%DATADIR%%/luarocks/search.lua
-%%DATADIR%%/luarocks/signing.lua
-%%DATADIR%%/luarocks/test.lua
-%%DATADIR%%/luarocks/test/busted.lua
-%%DATADIR%%/luarocks/test/command.lua
-%%DATADIR%%/luarocks/tools/patch.lua
-%%DATADIR%%/luarocks/tools/tar.lua
-%%DATADIR%%/luarocks/tools/zip.lua
-%%DATADIR%%/luarocks/type/manifest.lua
-%%DATADIR%%/luarocks/type/rockspec.lua
-%%DATADIR%%/luarocks/type_check.lua
-%%DATADIR%%/luarocks/upload/api.lua
-%%DATADIR%%/luarocks/upload/multipart.lua
-%%DATADIR%%/luarocks/util.lua
-@dir(tarantool,tarantool,) %%TT_DATADIR%%
-@dir(tarantool,tarantool,) %%TT_LOGDIR%%