diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2019-06-02 21:45:28 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2019-06-02 21:45:28 +0100 |
commit | 2018227e9344edb9da15fc6a4a8298086cc2aa77 (patch) | |
tree | c18e1c09e605e94e2a1e93345ad25746cc9e14b9 /sys-cluster/moosefs | |
parent | 6f8038813c460b4f0572d5ef595cdfa94af3a94d (diff) |
gentoo resync : 02.06.2019
Diffstat (limited to 'sys-cluster/moosefs')
-rw-r--r-- | sys-cluster/moosefs/Manifest | 9 | ||||
-rw-r--r-- | sys-cluster/moosefs/files/mfs.confd | 11 | ||||
-rw-r--r-- | sys-cluster/moosefs/files/mfs.initd-r1 | 96 | ||||
-rw-r--r-- | sys-cluster/moosefs/files/mfscgiserver.confd | 9 | ||||
-rw-r--r-- | sys-cluster/moosefs/files/mfscgiserver.initd-r1 | 29 | ||||
-rw-r--r-- | sys-cluster/moosefs/metadata.xml | 16 | ||||
-rw-r--r-- | sys-cluster/moosefs/moosefs-1.6.26-r1.ebuild | 65 | ||||
-rw-r--r-- | sys-cluster/moosefs/moosefs-1.6.27.ebuild | 65 |
8 files changed, 0 insertions, 300 deletions
diff --git a/sys-cluster/moosefs/Manifest b/sys-cluster/moosefs/Manifest deleted file mode 100644 index 2acbb3caf2fb..000000000000 --- a/sys-cluster/moosefs/Manifest +++ /dev/null @@ -1,9 +0,0 @@ -AUX mfs.confd 368 BLAKE2B 278812cfd177669cb857bbd61433a1b8fa36700d87412ea30477f813162714370a8c0a02a1db34800d3a243ad1fca95657797d854e97f9d2afdbbb42c98a3318 SHA512 508b1d99befd1340d3685df3d548399789321edf7f73f11b32baa88291b65dfcba98436b6f85b1975924ae596b962c501391fd783562b12f7cc3862183646e56 -AUX mfs.initd-r1 1526 BLAKE2B b1e120537d62b983a50a07e4a7f321492497b8aff5d5d593aad5eba2e681e210366637c7e7e8f482d5f12d6c11f55fc25300e363cd9d3d266f5af9c62b9d2d46 SHA512 01341b6c67adf7bb2503cbcfd9b039f704763ef5326c132e864ba7265b887a37bb3475b704878c5fb3a238ec46f69498adb5e6840e09ef695716369834131583 -AUX mfscgiserver.confd 180 BLAKE2B b2428d214bed3f1eb2126f71d7815e703a5174b34106b40d33ed64b49a833df4d0a633125d90396afdc7def9d0128c5a1207d714d19519d0c9a66783af2d163b SHA512 d0389a3200f3ccad16578970d7c0e4c649df8d35eb25b586ac23ad828d06ce9280a5b977174e7a1d03d67af28817fc35df5544e0190a159b3e7ad1aebb92cc7c -AUX mfscgiserver.initd-r1 543 BLAKE2B a22c5d574e23c76ec119643aab0a18dde20171821b95aad7775d78307fbfe1728cd06da9ef44b7a956895107fa21771ffea0839aeafa63a5eeb9d43e97d8bf19 SHA512 48697c15938f4781d0b2240daa3dfa5680af1d78c5dc8dc2f8a3dc7f4410dd9c251cfe0923b371bd1286508e624e52a4c9e466db41d7e8b06220f368cdc63d51 -DIST mfs-1.6.26.tar.gz 754573 BLAKE2B d03b48599baa8aecc13171ba6cb7da99c02e74336ecf6e8d1608e534cf6bf220552bc22549839591e1890190e56f89b53a9afc9369d674c7d8689c9cb8ddeb52 SHA512 42fdf2b43f3d4a81068ecad48da5519adbc9fb753931198f48741e6d7235b80864ee7d8e3c04b5de2e9536be9459b72e3a5b12037adfdb97bf2a7695595e9ec5 -DIST mfs-1.6.27-1.tar.gz 771983 BLAKE2B 688367bd24e8295d9472c2880786146cfca70aaa6f4c9ac5b50befaa0646b90ace2897ef82b6b77be15ef54d3c4c1ae047304c799f2606da290e0b378a991922 SHA512 8e222c0741b09206e7fb6c792d679d2defa4d7f4de4c20551c236453604153fdb6e5ec049c14c675a80afa2d9df283bb4eb2e407f70cd55dbe204c325a473d59 -EBUILD moosefs-1.6.26-r1.ebuild 1533 BLAKE2B 594a0d7fe9a3f0b683b17388bc5d860762fe8c33767ad516199ed76591f643b2e903051cbb97fc180be841b4a3963e720a5313ce7405499ff893e45e9782116b SHA512 04a26d39a9ecaec7639129aabb1f6d0d1fabf70a6d9fd30a7291f8e9756de5e61c115c32498e89aee1e4a302c0f6eea8cac2249480bf5e6548ebf09b47a3a791 -EBUILD moosefs-1.6.27.ebuild 1535 BLAKE2B acd0294f8d3bb0e5aac203c07fc6a414a1a1a44cfda39b6d65b547b2bbade5165d736c354e6b08896436917ae8aa9bd6e655c75887f9286ce5633771514dca72 SHA512 7b3c51b9b649f03f15c0f85b2ecd6f78a384259d967512d3e29e0a1e2ae1ad7adb5abf4142bde1e5c75dbca81b39a68cef0fec2e506eff00cd3699c8acf39085 -MISC metadata.xml 657 BLAKE2B 8650afc1a345278a71eb384dd960f238be88df661ba15190d0e50c4faedd0e42951f4a95972cda3188eb08c4d697291e12267a70b4f07813272698f57953fa52 SHA512 0557bc8c5bd3a63fdd08cd8da09e813cc3dff52b6d51292da5c797324cee2b393c2eae5aaedf5f82b0dafc614376f72be2a7e5ba75836189bb0302ab9924d3a4 diff --git a/sys-cluster/moosefs/files/mfs.confd b/sys-cluster/moosefs/files/mfs.confd deleted file mode 100644 index 423795e33355..000000000000 --- a/sys-cluster/moosefs/files/mfs.confd +++ /dev/null @@ -1,11 +0,0 @@ -# Which mooseFS roles should we start ? -# -# NOTE: The roles are stopped in *reverse* order of the given list -# so make sure to list mfsmaster *before* the other roles. -# -# Possible values: mfsmaster mfsmetalogger mfschunkserver -#ROLES="" - -# If the role mfsmaster fails to start, should we try to run mfsmetarestore -a ? -# Possible values: 0 (no), 1 (yes) -AUTORESTORE=0
\ No newline at end of file diff --git a/sys-cluster/moosefs/files/mfs.initd-r1 b/sys-cluster/moosefs/files/mfs.initd-r1 deleted file mode 100644 index 89715bf310c9..000000000000 --- a/sys-cluster/moosefs/files/mfs.initd-r1 +++ /dev/null @@ -1,96 +0,0 @@ -#!/sbin/openrc-run - -extra_started_commands="reload" - -depend() { - need net -} - -chkconfig() { - [ -z "${ROLES}" ] && { eerror "No role defined !"; return 1;} - for ROLE in ${ROLES}; do - if [ ! -f /etc/mfs/${ROLE}.cfg ]; then - eerror "Missing configuration file for role ${ROLE} !" - return 1 - fi - done - return 0 -} - -autorestore() { - einfo "AUTORESTORE set, trying to restore metadata files" - mfsmetarestore -a &>/dev/null - return $? -} - -start_role() { - local ROLE=$1 - local RETURN=0 - - ebegin "${ROLE}" - start-stop-daemon -q --start --exec "${ROLE}" -- start >/dev/null - RETURN=$? - eend ${RETURN} - - return ${RETURN} -} - -start_roles() { - local RETURN=0 - - eindent - for ROLE in ${ROLES}; do - - start_role ${ROLE} || RETURN=$? - eend ${RETURN} - - if [ "${RETURN}" != "0" ] && [ "${ROLE}" == "mfsmaster" ] && [ ${AUTORESTORE} -eq 1 ]; then - eindent - autorestore && start_role ${ROLE} - RETURN=$? - eoutdent - fi - - [ "${RETURN}" != "0" ] && break - done - eoutdent - - return ${RETURN} -} - -start() { - ebegin "Starting mfs node" - chkconfig && start_roles - eend $? -} - -stop() { - local RETURN=0 - - ebegin "Stopping mfs node" - eindent - local REVERSE=$(echo ${ROLES} | tac -s' ') - for ROLE in ${REVERSE}; do - ebegin "${ROLE}" - start-stop-daemon -q --stop -n ${ROLE} || RETURN=$? - eend ${RETURN} - done - eoutdent - - eend ${RETURN} -} - -reload() { - local RETURN=0 - - ebegin "Reloading mfs node" - eindent - for ROLE in ${ROLES}; do - ebegin "${ROLE}" - start-stop-daemon --signal HUP -n ${ROLE} - eend ${RETURN} - done - eoutdent - - eend ${RETURN} -} diff --git a/sys-cluster/moosefs/files/mfscgiserver.confd b/sys-cluster/moosefs/files/mfscgiserver.confd deleted file mode 100644 index ae93c54f4f94..000000000000 --- a/sys-cluster/moosefs/files/mfscgiserver.confd +++ /dev/null @@ -1,9 +0,0 @@ -# MooseFS HTTP/CGI server configuration. - -# BIND_HOST: local address to listen on -# default: any -BIND_HOST="0.0.0.0" - -# BIND_PORT: port to listen on -# default: 9425 -BIND_PORT=9425 diff --git a/sys-cluster/moosefs/files/mfscgiserver.initd-r1 b/sys-cluster/moosefs/files/mfscgiserver.initd-r1 deleted file mode 100644 index d60cf8034cd5..000000000000 --- a/sys-cluster/moosefs/files/mfscgiserver.initd-r1 +++ /dev/null @@ -1,29 +0,0 @@ -#!/sbin/openrc-run - -PIDFILE=/var/run/mfscgiserv.pid - -extra_started_commands="reload" - -depend() { - need net -} - -start() { - ebegin "Starting mfs CGI server" - start-stop-daemon --start --quiet --exec /usr/sbin/mfscgiserv \ - --pidfile "${PIDFILE}" --make-pidfile --background \ - -- -H ${BIND_HOST} -P ${BIND_PORT} -f - eend $? -} - -stop() { - ebegin "Stopping mfs CGI server" - start-stop-daemon --stop -q --pidfile "${PIDFILE}" - eend $? -} - -reload() { - ebegin "Reloading mfs CGI server" - start-stop-daemon --signal HUP --pidfile "${PIDFILE}" - eend $? -} diff --git a/sys-cluster/moosefs/metadata.xml b/sys-cluster/moosefs/metadata.xml deleted file mode 100644 index d42432463d97..000000000000 --- a/sys-cluster/moosefs/metadata.xml +++ /dev/null @@ -1,16 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <maintainer type="project"> - <email>cluster@gentoo.org</email> - <name>Gentoo Cluster Project</name> - </maintainer> - <longdescription>MooseFS is a fault tolerant, network distributed file system. - It spreads data over several physical servers which are visible to the user as one resource. - For standard file operations MooseFS acts as other Unix-alike file systems - </longdescription> - <use> - <flag name="cgi">Install CGI server and scripts.</flag> - <flag name="fuse">Install the mfsmount utility.</flag> - </use> -</pkgmetadata> diff --git a/sys-cluster/moosefs/moosefs-1.6.26-r1.ebuild b/sys-cluster/moosefs/moosefs-1.6.26-r1.ebuild deleted file mode 100644 index cdcf22ba0780..000000000000 --- a/sys-cluster/moosefs/moosefs-1.6.26-r1.ebuild +++ /dev/null @@ -1,65 +0,0 @@ -# Copyright 1999-2017 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI="5" - -PYTHON_COMPAT=( python2_7 ) - -inherit eutils python-single-r1 user - -MY_P="mfs-${PV}" -S="${WORKDIR}/${MY_P}" - -DESCRIPTION="A filesystem for highly reliable petabyte storage" -HOMEPAGE="http://www.moosefs.org/" -SRC_URI="http://pro.hit.gemius.pl/hitredir/id=p4CVHPOzkVa0JJIK.m0Ee6dyHZEgoQb1KaiPmVK29EX.M7/url=moosefs.org/tl_files/mfscode/${MY_P}.tar.gz" - -LICENSE="GPL-3" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="cgi +fuse static-libs" -REQUIRED_USE="${PYTHON_REQUIRED_USE}" - -RDEPEND=" - ${PYTHON_DEPS} - fuse? ( >=sys-fs/fuse-2.6 )" -DEPEND="${RDEPEND}" - -pkg_setup() { - enewgroup mfs - enewuser mfs -1 -1 -1 mfs - python-single-r1_pkg_setup -} - -src_prepare() { - # rename dist config files - sed -i 's@\.cfg\.dist@\.cfg@g' mfsdata/Makefile.in || die -} - -src_configure() { - local myopts="" - use fuse || myopts="--disable-mfsmount" - econf \ - --sysconfdir=/etc/mfs \ - --with-default-user=mfs \ - --with-default-group=mfs \ - $(use_enable cgi mfscgi) \ - $(use_enable cgi mfscgiserv) \ - $(use_enable static-libs static) \ - ${myopts} -} - -src_install() { - emake DESTDIR="${D}" install - - newinitd "${FILESDIR}/mfs.initd-r1" mfs - newconfd "${FILESDIR}/mfs.confd" mfs - if use cgi; then - python_fix_shebang "${D}"/usr/sbin/mfscgiserv - newinitd "${FILESDIR}/mfscgiserver.initd-r1" mfscgiserver - newconfd "${FILESDIR}/mfscgiserver.confd" mfscgiserver - fi - - chown -R mfs:mfs "${D}/var/lib/mfs" || die - chmod 750 "${D}/var/lib/mfs" || die -} diff --git a/sys-cluster/moosefs/moosefs-1.6.27.ebuild b/sys-cluster/moosefs/moosefs-1.6.27.ebuild deleted file mode 100644 index 87cbdf9bdb5b..000000000000 --- a/sys-cluster/moosefs/moosefs-1.6.27.ebuild +++ /dev/null @@ -1,65 +0,0 @@ -# Copyright 1999-2017 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI="5" - -PYTHON_COMPAT=( python2_7 ) - -inherit eutils python-single-r1 user - -MY_P="mfs-${PV}" -S="${WORKDIR}/${MY_P}" - -DESCRIPTION="A filesystem for highly reliable petabyte storage" -HOMEPAGE="http://www.moosefs.org/" -SRC_URI="http://pro.hit.gemius.pl/hitredir/id=.WCbG2t.7Ln5k1s3Q9xPg8cPfX.wVMc5kyXfrKcJTDH.c7/url=moosefs.org/tl_files/mfscode/${MY_P}-1.tar.gz" - -LICENSE="GPL-3" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="cgi +fuse static-libs" -REQUIRED_USE="${PYTHON_REQUIRED_USE}" - -RDEPEND=" - ${PYTHON_DEPS} - fuse? ( >=sys-fs/fuse-2.6 )" -DEPEND="${RDEPEND}" - -pkg_setup() { - enewgroup mfs - enewuser mfs -1 -1 -1 mfs - python-single-r1_pkg_setup -} - -src_prepare() { - # rename dist config files - sed -i 's@\.cfg\.dist@\.cfg@g' mfsdata/Makefile.in || die -} - -src_configure() { - local myopts="" - use fuse || myopts="--disable-mfsmount" - econf \ - --sysconfdir=/etc/mfs \ - --with-default-user=mfs \ - --with-default-group=mfs \ - $(use_enable cgi mfscgi) \ - $(use_enable cgi mfscgiserv) \ - $(use_enable static-libs static) \ - ${myopts} -} - -src_install() { - emake DESTDIR="${D}" install - - newinitd "${FILESDIR}/mfs.initd-r1" mfs - newconfd "${FILESDIR}/mfs.confd" mfs - if use cgi; then - python_fix_shebang "${D}"/usr/sbin/mfscgiserv - newinitd "${FILESDIR}/mfscgiserver.initd-r1" mfscgiserver - newconfd "${FILESDIR}/mfscgiserver.confd" mfscgiserver - fi - - chown -R mfs:mfs "${D}/var/lib/mfs" || die - chmod 750 "${D}/var/lib/mfs" || die -} |