diff options
author | Pacho Ramos <pacho@gentoo.org> | 2018-04-29 20:13:13 +0200 |
---|---|---|
committer | Pacho Ramos <pacho@gentoo.org> | 2018-04-29 20:13:36 +0200 |
commit | ec7079c0c95dd1dac40e7b67fba9383a5498dcb8 (patch) | |
tree | 6eb1dba2c2ead27248000017adc912b6ada44446 /sys-cluster/gearmand | |
parent | games-board/freedoko: Drop old (diff) | |
download | gentoo-ec7079c0c95dd1dac40e7b67fba9383a5498dcb8.tar.gz gentoo-ec7079c0c95dd1dac40e7b67fba9383a5498dcb8.tar.bz2 gentoo-ec7079c0c95dd1dac40e7b67fba9383a5498dcb8.zip |
Remove masked for removal package
Diffstat (limited to 'sys-cluster/gearmand')
-rw-r--r-- | sys-cluster/gearmand/Manifest | 1 | ||||
-rw-r--r-- | sys-cluster/gearmand/files/gearmand-0.34-stdbool-h.patch | 26 | ||||
-rw-r--r-- | sys-cluster/gearmand/files/gearmand.conf.d | 39 | ||||
-rw-r--r-- | sys-cluster/gearmand/files/gearmand.init.d.2 | 78 | ||||
-rw-r--r-- | sys-cluster/gearmand/gearmand-0.34-r1.ebuild | 96 | ||||
-rw-r--r-- | sys-cluster/gearmand/metadata.xml | 17 |
6 files changed, 0 insertions, 257 deletions
diff --git a/sys-cluster/gearmand/Manifest b/sys-cluster/gearmand/Manifest deleted file mode 100644 index 141c4c62fc2e..000000000000 --- a/sys-cluster/gearmand/Manifest +++ /dev/null @@ -1 +0,0 @@ -DIST gearmand-0.34.tar.gz 842579 BLAKE2B 439fcec297ae874cecbc355526b4681329fde2ac39ccc9f6e14413979e7cdbc6c88f2e8cc34e2af1f166f873415a1d5b353716a227894c36bbde66f30b900e56 SHA512 8263cd19337f56cb692209efb4867b54954081a907c109b4828c1a7dfd8e1dec803f9c06e0f09e1ec6cc4271299bf77bcd5069b765647b31559480b4e7e756ba diff --git a/sys-cluster/gearmand/files/gearmand-0.34-stdbool-h.patch b/sys-cluster/gearmand/files/gearmand-0.34-stdbool-h.patch deleted file mode 100644 index 37d2db62741d..000000000000 --- a/sys-cluster/gearmand/files/gearmand-0.34-stdbool-h.patch +++ /dev/null @@ -1,26 +0,0 @@ -Ignore configure checks and include stdbool.h -unconditionally, we're in 2016. - ---- gearmand-0.34/libhostile/called.c -+++ gearmand-0.34/libhostile/called.c -@@ -41,6 +41,7 @@ - #include <assert.h> - #include <stdio.h> - #include <stdlib.h> -+#include <stdbool.h> - - __thread bool is_called_= false; - static __thread char** unique_ptr= NULL; ---- gearmand-0.34/libhostile/called.h -+++ gearmand-0.34/libhostile/called.h -@@ -36,9 +36,7 @@ - - #pragma once - --#ifdef HAVE_STDBOOL_H --# include <stdbool.h> --#endif -+#include <stdbool.h> - - bool is_called(void); - void set_called(); diff --git a/sys-cluster/gearmand/files/gearmand.conf.d b/sys-cluster/gearmand/files/gearmand.conf.d deleted file mode 100644 index aeb49d5c6b9e..000000000000 --- a/sys-cluster/gearmand/files/gearmand.conf.d +++ /dev/null @@ -1,39 +0,0 @@ -# /etc/conf.d/gearmand: config file for /etc/init.d/gearmand - -# Persistent queue store -# The following queue stores are available: -# drizzle|memcache|mysql|postgre|sqlite|tokyocabinet|none -# If you do not wish to use persistent queues, leave this option commented out. -# Note that persistent queue mechanisms are mutally exclusive. -#PERSISTENT="" - -# Persistent queue settings for drizzle, mysql and postgre -#PERSISTENT_SOCKET="" -#PERSISTENT_HOST="" -#PERSISTENT_PORT="" -#PERSISTENT_USER="" -#PERSISTENT_PASS="" -#PERSISTENT_DB="" -#PERSISTENT_TABLE="" - -# Persistent queue settings for sqlite -#PERSISTENT_FILE="" - -# Persistent queue settings for memcache -#PERSISTENT_SERVERLIST="" - -# General settings -# -# -j, --job-retries=RETRIES Number of attempts to run the job before the job -# server removes it. Thisis helpful to ensure a bad -# job does not crash all available workers. Default -# is no limit. -# -L, --listen=ADDRESS Address the server should listen on. Default is -# INADDR_ANY. -# -p, --port=PORT Port the server should listen on. Default=4730. -# -r, --protocol=PROTOCOL Load protocol module. -# -t, --threads=THREADS Number of I/O threads to use. Default=0. -# -v, --verbose Increase verbosity level by one. -# -w, --worker-wakeup=WORKERS Number of workers to wakeup for each job received. -# The default is to wakeup all available workers. -GEARMAND_PARAMS="" diff --git a/sys-cluster/gearmand/files/gearmand.init.d.2 b/sys-cluster/gearmand/files/gearmand.init.d.2 deleted file mode 100644 index 48d19bd1dc8b..000000000000 --- a/sys-cluster/gearmand/files/gearmand.init.d.2 +++ /dev/null @@ -1,78 +0,0 @@ -#!/sbin/openrc-run -# Copyright 2009-2012 Pavel Stratil, senbonzakura.eu -# Distributed under the terms of the MIT license - -pidfile=/var/run/gearmand/gearmand.pid -command=/usr/sbin/gearmand - -depend() { - use localmount - - case $PERSISTENT in - drizzle) - use drizzle - ;; - memcache) - use memcache - ;; - mysql) - use mysql - ;; - postgre) - use postgresql - ;; - *) - ;; - esac -} - -start() { - case ${PERSISTENT:-none} in - drizzle|mysql) - GEARMAND_PARAMS="${GEARMAND_PARAMS} -q libdrizzle" - [ ${PERSISTENT_HOST} ] && GEARMAND_PARAMS="${GEARMAND_PARAMS} --libdrizzle-host=${PERSISTENT_HOST}" - [ ${PERSISTENT_USER} ] && GEARMAND_PARAMS="${GEARMAND_PARAMS} --libdrizzle-user=${PERSISTENT_USER}" - [ ${PERSISTENT_PASS} ] && GEARMAND_PARAMS="${GEARMAND_PARAMS} --libdrizzle-password=${PERSISTENT_PASS}" - [ ${PERSISTENT_DB} ] && GEARMAND_PARAMS="${GEARMAND_PARAMS} --libdrizzle-db=${PERSISTENT_DB}" - [ ${PERSISTENT_TABLE} ] && GEARMAND_PARAMS="${GEARMAND_PARAMS} --libdrizzle-table=${PERSISTENT_TABLE}" - [ ${PERSISTENT_PORT} ] && GEARMAND_PARAMS="${GEARMAND_PARAMS} --libdrizzle-port=${PERSISTENT_PORT}" - [ ${PERSISTENT_SOCKET} ] && GEARMAND_PARAMS="${GEARMAND_PARAMS} --libdrizzle-uds=${PERSISTENT_SOCKET}" - [ ${PERSISTENT} == "mysql" ] && GEARMAND_PARAMS="${GEARMAND_PARAMS} --libdrizzle-mysql" - ;; - memcache) - [ ${PERSISTENT_SERVERLIST} ] && GEARMAND_PARAMS="${GEARMAND_PARAMS} -q libmemcached --libmemcached-servers=${PERSISTENT_SERVERLIST}" - ;; - postgre) - GEARMAND_PARAMS="${GEARMAND_PARAMS} -q libpq" - [ ${PERSISTENT_HOST} ] && GEARMAND_PARAMS="${GEARMAND_PARAMS} --libpq-host=${PERSISTENT_HOST}" - [ ${PERSISTENT_USER} ] && GEARMAND_PARAMS="${GEARMAND_PARAMS} --libpq-user=${PERSISTENT_USER}" - [ ${PERSISTENT_PASS} ] && GEARMAND_PARAMS="${GEARMAND_PARAMS} --libpq-password=${PERSISTENT_PASS}" - [ ${PERSISTENT_DB} ] && GEARMAND_PARAMS="${GEARMAND_PARAMS} --libpq-dbname=${PERSISTENT_DB}" - [ ${PERSISTENT_PORT} ] && GEARMAND_PARAMS="${GEARMAND_PARAMS} --libpq-port=${PERSISTENT_PORT}" - [ ${PERSISTENT_TABLE} ] && ewarn "Libpq doesn't recognise 'table' parameter." - [ ${PERSISTENT_SOCKET} ] && ewarn "Libpq doesn't recognise 'socket' parameter. If no host is set, it automatically falls back to a socket." - ;; - tokyocabinet) - GEARMAND_PARAMS="${GEARMAND_PARAMS} -q libtokyocabinet --libtokyocabinet-file=${PERSISTENT_FILE}" - ;; - sqlite) - GEARMAND_PARAMS="${GEARMAND_PARAMS} -q libsqlite3 --libsqlite3-db=${PERSISTENT_FILE}" - ;; - none) - ;; - *) - eerror "Wrong persistent queue store setting in /etc/conf.d/gearmand." - return 1 - ;; - esac - - - checkpath -d -m 0755 -o gearmand:nogroup /var/run/gearmand /var/log/gearmand - - ebegin "Starting ${SVCNAME}" - start-stop-daemon --pidfile /var/run/gearmand/gearmand.pid --start \ - --exec /usr/sbin/gearmand -- --pid-file=/var/run/gearmand/gearmand.pid \ - --user=gearmand --daemon \ - --log-file=/var/log/gearmand/gearmand.log ${GEARMAND_PARAMS} - eend $? -} diff --git a/sys-cluster/gearmand/gearmand-0.34-r1.ebuild b/sys-cluster/gearmand/gearmand-0.34-r1.ebuild deleted file mode 100644 index 846d47261961..000000000000 --- a/sys-cluster/gearmand/gearmand-0.34-r1.ebuild +++ /dev/null @@ -1,96 +0,0 @@ -# Copyright 1999-2016 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=5 - -AUTOTOOLS_AUTORECONF=1 - -inherit autotools-utils eutils flag-o-matic libtool user - -DESCRIPTION="Generic framework to farm out work to other machines" -HOMEPAGE="http://www.gearman.org/" -SRC_URI="https://launchpad.net/gearmand/trunk/${PV}/+download/${P}.tar.gz" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="debug tcmalloc +memcache sqlite tokyocabinet postgres" - -RDEPEND="dev-libs/libevent - >=dev-libs/boost-1.39:=[threads(+)] - || ( >=sys-apps/util-linux-2.16 <sys-libs/e2fsprogs-libs-1.41.8 ) - tcmalloc? ( dev-util/google-perftools ) - memcache? ( >=dev-libs/libmemcached-0.47 ) - sqlite? ( dev-db/sqlite:3 ) - tokyocabinet? ( dev-db/tokyocabinet ) - postgres? ( >=dev-db/postgresql-9.0:* )" -DEPEND="${RDEPEND} - virtual/pkgconfig - >=sys-devel/boost-m4-0.4_p20160328" - -pkg_setup() { - enewuser gearmand -1 -1 /dev/null nogroup -} - -src_prepare() { - # fixes bug 574558, which is due to an outdated bundled boost.m4 - rm m4/boost.m4 || die - sed -i -e 's/AM_INIT_AUTOMAKE.*//g' m4/pandora_canonical.m4 || die - epatch -p1 "${FILESDIR}/${P}-stdbool-h.patch" - autotools-utils_src_prepare -} - -src_configure() { - local myeconfargs=( - $(use_enable memcache libmemcached) - $(use_enable tcmalloc) - $(use_enable tokyocabinet libtokyocabinet) - $(use_with postgres postgresql) - $(use_with sqlite sqlite3) - --disable-mtmalloc - --disable-static - ) - - # Don't ever use --enable-assert since configure.ac is broken, and - # only does --disable-assert correctly. - if use debug; then - # Since --with-debug would turn off optimisations as well as - # enabling debug, we just enable debug through the - # preprocessor then. - append-cppflags -DDEBUG - fi - - # Explicitly enable c++11 mode - append-cxxflags -std=c++11 - - autotools-utils_src_configure -} - -src_test() { - # Since libtool is stupid and doesn't discard /usr/lib64 from the - # load path, we'd end up testing against the installed copy of - # gearmand (bad). - # - # We thus cheat and "fix" the scripts by hand. - sed -i -e '/LD_LIBRARY_PATH=/s|/usr/lib64:||' "${BUILD_DIR}"/tests/*_test \ - || die "test fixing failed" - - autotools-utils_src_test -} - -DOCS=( README AUTHORS ChangeLog ) - -src_install() { - autotools-utils_src_install - - newinitd "${FILESDIR}"/gearmand.init.d.2 gearmand - newconfd "${FILESDIR}"/gearmand.conf.d gearmand -} - -pkg_postinst() { - elog "" - elog "Unless you set the PERSISTENT_TABLE option in" - elog "/etc/conf.d/gearmand, Gearmand will use table 'queue'." - elog "If such table doesn't exist, Gearmand will create it for you" - elog "" -} diff --git a/sys-cluster/gearmand/metadata.xml b/sys-cluster/gearmand/metadata.xml deleted file mode 100644 index d08fb72aef86..000000000000 --- a/sys-cluster/gearmand/metadata.xml +++ /dev/null @@ -1,17 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> -<!-- maintainer-needed --> - <use> - <flag name="memcache"> - Support memcache daemon (via <pkg>dev-libs/libmemcached</pkg>) - for the queue storage. - </flag> - <flag name="tokyocabinet"> - Support <pkg>dev-db/tokyocabinet</pkg> for the queue storage. - </flag> - </use> - <upstream> - <remote-id type="launchpad">gearmand</remote-id> - </upstream> -</pkgmetadata> |