summaryrefslogtreecommitdiff
path: root/databases/tarantool/files
diff options
context:
space:
mode:
authorPavel Balaev <mail@void.so>2023-12-29 14:38:02 +0300
committerGleb Popov <arrowd@FreeBSD.org>2023-12-29 23:10:53 +0300
commit1251766a70bf28970936cf4dcf7c32b5e519339a (patch)
treeb0f02f3f55318e628ce7f14f8089eb8569587a24 /databases/tarantool/files
parentgraphics/nvidia-drm-515-kmod: Fix build on CURRENT with iosys-map.h (diff)
databases/tarantool: Renamed to tarantool2
A new major version of the tarantool has been released. databases/tarantool renamed to databases/tarantool2. 2.11 is an LTS version and it is advisable to leave the option to install it. Signed-off-by: Pavel Balaev <mail@void.so>
Diffstat (limited to 'databases/tarantool/files')
-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
3 files changed, 0 insertions, 78 deletions
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"