git: 5ba37575b568 - main - databases/galera: Remove expired port
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 11 Jun 2024 17:02:19 UTC
The branch main has been updated by rene: URL: https://cgit.FreeBSD.org/ports/commit/?id=5ba37575b568610af5b5910817a0181adf95b5de commit 5ba37575b568610af5b5910817a0181adf95b5de Author: Rene Ladan <rene@FreeBSD.org> AuthorDate: 2024-06-11 17:01:34 +0000 Commit: Rene Ladan <rene@FreeBSD.org> CommitDate: 2024-06-11 17:01:34 +0000 databases/galera: Remove expired port 2024-06-08 databases/galera: Does not build. Superseded by galera26 --- MOVED | 1 + databases/Makefile | 1 - databases/galera/Makefile | 59 -------------- databases/galera/distinfo | 5 -- databases/galera/files/garb.sh.in | 95 ---------------------- .../galera/files/patch-gcomm_src_asio__tcp.cpp | 20 ----- databases/galera/pkg-descr | 3 - databases/galera/pkg-message | 8 -- 8 files changed, 1 insertion(+), 191 deletions(-) diff --git a/MOVED b/MOVED index 95df41333d1e..7eab23916bde 100644 --- a/MOVED +++ b/MOVED @@ -3300,3 +3300,4 @@ www/larbin||2024-06-11|Has expired: Abandonware, obsolete web crawler audio/rebot3||2024-06-11|Has expired: Depends on legacy service/protocol that's requires registration net/nepenthes||2024-06-11|Has expired: Abandonware, last update in 2008 and upstream is gone sysutils/hploscripts||2024-06-11|Has expired: Abandonware, outdated version +databases/galera|databases/galera26|2024-06-11|Has expired: Does not build. Superseded by galera26 diff --git a/databases/Makefile b/databases/Makefile index ff7358f11224..d61b256145b1 100644 --- a/databases/Makefile +++ b/databases/Makefile @@ -78,7 +78,6 @@ SUBDIR += freetds-devel SUBDIR += frontbase-jdbc SUBDIR += futuresql - SUBDIR += galera SUBDIR += galera26 SUBDIR += gdbm SUBDIR += geoserver-mysql-plugin diff --git a/databases/galera/Makefile b/databases/galera/Makefile deleted file mode 100644 index 758a5fcf27ad..000000000000 --- a/databases/galera/Makefile +++ /dev/null @@ -1,59 +0,0 @@ -PORTNAME= galera -PORTVERSION?= 25.3.37 -PORTREVISION= 5 -DISTVERSIONPREFIX?= release_ -CATEGORIES= databases - -MAINTAINER= devel@galeracluster.com -COMMENT= Synchronous multi-master replication engine -WWW= https://galeracluster.com/ - -LICENSE= GPLv2 -LICENSE_FILE= ${WRKSRC}/LICENSE - -DEPRECATED= Does not build. Superseded by galera26 -EXPIRATION_DATE=2024-06-08 - -BROKEN_aarch64= fails to compile: gu_int128.h: use of undeclared identifier '__bswap64_var' -BROKEN_armv6= fails to compile: gu_int128.h: use of undeclared identifier '__bswap64_var' -BROKEN_armv7= fails to compile: gu_int128.h: use of undeclared identifier '__bswap64_var' -NOT_FOR_ARCHS= i386 powerpc -# On i386 older versions of clang produce: -# cannot compile this atomic library call yet ... __atomic_add_fetch -# whereas newer ones generate a call to __atomic_add_fetch which ends up with -# undefined reference at link time: -# undefined reference to `__atomic_fetch_add_8' -# https://bugs.llvm.org//show_bug.cgi?id=23262 -# https://bugs.llvm.org//show_bug.cgi?id=24908 -# https://tracker.crystax.net/issues/1263 -NOT_FOR_ARCHS_REASON_i386=Uses 64 bit atomics that clang cannot generate on i386 -NOT_FOR_ARCHS_REASON_powerpc=Uses 64 bit atomics that clang cannot generate on i386 - -BUILD_DEPENDS= checkmk:devel/check \ - ${LOCALBASE}/include/boost/shared_ptr.hpp:devel/boost-libs \ - objdump:devel/binutils -LIB_DEPENDS= libboost_date_time.so:devel/boost-libs - -USES= compiler:c++11-lang python:build cmake ssl - -USE_CXXSTD= c++11 -USE_LDCONFIG= yes - -USE_GITHUB= yes -GH_TUPLE?= codership:galera:${DISTVERSIONPREFIX}${PORTVERSION}${DISTVERSIONSUFFIX} \ - codership:wsrep-API:eab2d5d5a31672c0b7d116ef1629ff18392fd7d0:dummy/wsrep/src - -CMAKE_ARGS+= -DGALERA_REVISION=${GH_TAGNAME} - -CONFLICTS_INSTALL= galera26 - -USE_RC_SUBR= garb.sh - -PLIST_FILES= bin/garbd \ - lib/libgalera.so \ - lib/libgalera_smm.so - -post-install: - ${RLN} ${STAGEDIR}/${PREFIX}/lib/libgalera_smm.so ${STAGEDIR}/${PREFIX}/lib/libgalera.so - -.include <bsd.port.mk> diff --git a/databases/galera/distinfo b/databases/galera/distinfo deleted file mode 100644 index de1f2b70e41f..000000000000 --- a/databases/galera/distinfo +++ /dev/null @@ -1,5 +0,0 @@ -TIMESTAMP = 1653386053 -SHA256 (codership-galera-release_25.3.37_GH0.tar.gz) = f149474c4f4840e7c986fe2028e32fbf92a0b86e1e219c76f8cb4795eb7962c8 -SIZE (codership-galera-release_25.3.37_GH0.tar.gz) = 3341396 -SHA256 (codership-wsrep-API-eab2d5d5a31672c0b7d116ef1629ff18392fd7d0_GH0.tar.gz) = 3c235868ed330d8d702e7b7541c24c1926b1fd9e6b8aa673b032a2318896e8a0 -SIZE (codership-wsrep-API-eab2d5d5a31672c0b7d116ef1629ff18392fd7d0_GH0.tar.gz) = 47032 diff --git a/databases/galera/files/garb.sh.in b/databases/galera/files/garb.sh.in deleted file mode 100644 index 97ba0b4c0b28..000000000000 --- a/databases/galera/files/garb.sh.in +++ /dev/null @@ -1,95 +0,0 @@ -#!/bin/sh -# -# garb.sh for rc.d usage (c) 2013 Codership Oy -# $Id$ - -# PROVIDE: garb -# REQUIRE: LOGIN -# KEYWORD: shutdown -# -# Add the following line to /etc/rc.conf to enable Galera Arbitrator Daemon (garbd): -# garb_enable (bool): Set to "NO" by default. -# Set it to "YES" to enable Galera Arbitrator Daemon. -# garb_galera_nodes (str): A space-separated list of node addresses (address[:port]) in the cluster -# (default empty). -# garb_galera_group (str): Galera cluster name, should be the same as on the rest of the nodes. -# (default empty). -# Optional: -# garb_galera_options (str): Optional Galera internal options string (e.g. SSL settings) -# see http://www.codership.com/wiki/doku.php?id=galera_parameters -# (default empty). -# garb_log_file (str): Log file for garbd (default empty). Optional, by default logs to syslog -# garb_pid_file (str): Custom PID file path and name. -# Default to "/var/run/garb.pid". -# - -. /etc/rc.subr - -name="garb" -rcvar=garb_enable - -load_rc_config $name - -# set defaults -: ${garb_enable="NO"} -: ${garb_galera_nodes=""} -: ${garb_galera_group=""} -: ${garb_galera_options=""} -: ${garb_log_file=""} -: ${garb_pid_file="/var/run/garbd"} - -procname="/usr/local/bin/garbd" -command="/usr/sbin/daemon" -command_args="-c -f -u nobody -p $garb_pid_file $procname" -start_precmd="${name}_prestart" -#start_cmd="${name}_start" -start_postcmd="${name}_poststart" -stop_precmd="${name}_prestop" -#stop_cmd="${name}_stop" -#stop_postcmd="${name}_poststop" -#extra_commands="reload" -#reload_cmd="${name}_reload" -#export LD_LIBRARY_PATH=/usr/local/lib/gcc44 - -garb_prestart() -{ - [ "$(id -ur)" != "0" ] && err 4 "root rights are required to start $name" - [ -r "$garb_pid_file" ] && err 0 "$procname is already running with PID $(cat $garb_pid_file)" - [ -x "$procname" ] || err 5 "$procname is not found" - - # check that node addresses are configured - [ -z "$garb_galera_nodes" ] && err 6 "List of garb_galera_nodes is not configured" - [ -z "$garb_galera_group" ] && err 6 "garb_galera_group name is not configured" - - GALERA_PORT=${GALERA_PORT:-4567} - - # Concatenate all nodes in the list (for backward compatibility) - ADDRESS= - for NODE in ${garb_galera_nodes}; do - [ -z "$ADDRESS" ] && ADDRESS="$NODE" || ADDRESS="$ADDRESS,$NODE" - done - - command_args="$command_args -a gcomm://$ADDRESS" - [ -n "$garb_galera_group" ] && command_args="$command_args -g $garb_galera_group" - [ -n "$garb_galera_options" ] && command_args="$command_args -o '$garb_galera_options'" - [ -n "$garb_log_file" ] && command_args="$command_args -l $garb_log_file" - return 0 -} - -garb_poststart() -{ - local timeout=15 - while [ ! -f "$garb_pid_file" -a $timeout -gt 0 ]; do - timeout=$(( timeout - 1 )) - sleep 1 - done - return 0 -} - -garb_prestop() { - [ "$(id -ur)" != "0" ] && err 4 "root rights are required to stop $name" - [ -r $garb_pid_file ] || err 0 "" - return 0 -} - -run_rc_command "$1" diff --git a/databases/galera/files/patch-gcomm_src_asio__tcp.cpp b/databases/galera/files/patch-gcomm_src_asio__tcp.cpp deleted file mode 100644 index 222fc74dae73..000000000000 --- a/databases/galera/files/patch-gcomm_src_asio__tcp.cpp +++ /dev/null @@ -1,20 +0,0 @@ ---- gcomm/src/asio_tcp.cpp.orig 2020-12-29 14:45:24 UTC -+++ gcomm/src/asio_tcp.cpp -@@ -775,7 +775,7 @@ void gcomm::AsioTcpSocket::assign_remote_addr() - gcomm::SocketStats gcomm::AsioTcpSocket::stats() const - { - SocketStats ret; --#if defined(__linux__) || defined(__FreeBSD__) -+#if defined(__linux__) - struct tcp_info tcpi; - memset(&tcpi, 0, sizeof(tcpi)); - socklen_t tcpi_len(sizeof(tcpi)); -@@ -807,7 +807,7 @@ gcomm::SocketStats gcomm::AsioTcpSocket::stats() const - ret.send_queue_bytes = send_q_.queued_bytes(); - ret.send_queue_segments = send_q_.segments(); - } --#endif /* __linux__ || __FreeBSD__ */ -+#endif /* __linux__ */ - return ret; - } - diff --git a/databases/galera/pkg-descr b/databases/galera/pkg-descr deleted file mode 100644 index 8034a9cfb653..000000000000 --- a/databases/galera/pkg-descr +++ /dev/null @@ -1,3 +0,0 @@ -Galera wsrep provider library for Galera Cluster for MySQL, an easy-to-use -high-availability solution with high system up-time, no data loss, -and scalability for future growth. diff --git a/databases/galera/pkg-message b/databases/galera/pkg-message deleted file mode 100644 index ef615df77dc4..000000000000 --- a/databases/galera/pkg-message +++ /dev/null @@ -1,8 +0,0 @@ -[ -{ type: install - message: <<EOM -Find the Galera Cluster documentation at -https://galeracluster.com/library/documentation/index.html -EOM -} -]