diff options
author | Brian Evans <grknight@gentoo.org> | 2015-08-18 16:41:08 -0400 |
---|---|---|
committer | Brian Evans <grknight@gentoo.org> | 2015-08-18 16:41:08 -0400 |
commit | 7bc2bba0d3610ed3c482bd329a39c81227008539 (patch) | |
tree | 59caf38fd04d8e27ed15a3c04c0a4be26692d9ed | |
parent | dev-python/django-crispy-forms: Version Bump (diff) | |
download | gentoo-7bc2bba0d3610ed3c482bd329a39c81227008539.tar.gz gentoo-7bc2bba0d3610ed3c482bd329a39c81227008539.tar.bz2 gentoo-7bc2bba0d3610ed3c482bd329a39c81227008539.zip |
sys-cluster/galera: Remove netcat which is no longer needed in the init
Upstream https://github.com/codership/galera/commit/6209a777da487764a728fcb6e9e1f20f82968ee0
removes it
Package-Manager: portage-2.2.20.1
-rw-r--r-- | sys-cluster/galera/files/garb.sh | 20 | ||||
-rw-r--r-- | sys-cluster/galera/galera-25.3.10.ebuild | 8 |
2 files changed, 4 insertions, 24 deletions
diff --git a/sys-cluster/galera/files/garb.sh b/sys-cluster/galera/files/garb.sh index 63e88dff5cdf..da7d55093f5d 100644 --- a/sys-cluster/galera/files/garb.sh +++ b/sys-cluster/galera/files/garb.sh @@ -1,5 +1,5 @@ -#!/sbin/runscript -# Copyright 1999-2014 Gentoo Foundation +#!/sbin/openrc-run +# Copyright 1999-2015 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 depend() { @@ -22,21 +22,7 @@ start() { GALERA_PORT="${GALERA_PORT:-4567}" - for ADDRESS in ${GALERA_NODES} 0; do - HOST=$(echo $ADDRESS | cut -d \: -f 1 ) - PORT=$(echo $ADDRESS | cut -d \: -f 2 ) - if [ "x${HOST}" = "x${PORT}" ]; then - PORT=${GALERA_PORT} - fi - PORT=${PORT:-$GALERA_PORT} - nc -z ${HOST} ${PORT} > /dev/null && break - done - if [ ${ADDRESS} = "0" ]; then - eerror "None of the nodes in GALERA_NODES is accessible" - return 1 - fi - - OPTIONS="-a gcomm://${ADDRESS} -g ${GALERA_GROUP}" + OPTIONS="-a gcomm://${GALERA_NODES// /,} -g ${GALERA_GROUP}" [ -n "${GALERA_OPTIONS}" ] && OPTIONS="${OPTIONS} -o ${GALERA_OPTIONS}" [ -n "${LOG_FILE}" ] && OPTIONS="${OPTIONS} -l ${LOG_FILE}" diff --git a/sys-cluster/galera/galera-25.3.10.ebuild b/sys-cluster/galera/galera-25.3.10.ebuild index bbaad5afa792..96a2e5c8f38a 100644 --- a/sys-cluster/galera/galera-25.3.10.ebuild +++ b/sys-cluster/galera/galera-25.3.10.ebuild @@ -28,13 +28,7 @@ DEPEND="${DEPEND} >=dev-cpp/asio-1.4.8[ssl?] " #Run time only -RDEPEND="${CDEPEND} - garbd? ( || ( - net-analyzer/netcat - net-analyzer/netcat6 - net-analyzer/gnu-netcat - net-analyzer/openbsd-netcat - ) )" +RDEPEND="${CDEPEND}" S="${WORKDIR}/${MY_P}" |