diff options
author | Kent Fredric <kentnl@gentoo.org> | 2018-06-10 19:12:41 +1200 |
---|---|---|
committer | Kent Fredric <kentnl@gentoo.org> | 2018-06-10 19:20:41 +1200 |
commit | de1b896be93ffc5e42514c8b138ca654fa6ecf21 (patch) | |
tree | 9b7337193952b4c2444ed9b1dd4ee205f4b58afc /dev-perl/MogileFS-Server | |
parent | dev-perl/MogileFS-Network: Cleanup old version 0.060.0-r1 (diff) | |
download | gentoo-de1b896be93ffc5e42514c8b138ca654fa6ecf21.tar.gz gentoo-de1b896be93ffc5e42514c8b138ca654fa6ecf21.tar.bz2 gentoo-de1b896be93ffc5e42514c8b138ca654fa6ecf21.zip |
dev-perl/MogileFS-Server: Cleanup old versions 2.700*
Closes: https://bugs.gentoo.org/450472
Package-Manager: Portage-2.3.29, Repoman-2.3.9
Diffstat (limited to 'dev-perl/MogileFS-Server')
11 files changed, 0 insertions, 363 deletions
diff --git a/dev-perl/MogileFS-Server/Manifest b/dev-perl/MogileFS-Server/Manifest index 50e5f572a4e5..2df344166844 100644 --- a/dev-perl/MogileFS-Server/Manifest +++ b/dev-perl/MogileFS-Server/Manifest @@ -1,2 +1 @@ -DIST MogileFS-Server-2.70.tar.gz 199850 BLAKE2B e3a69243cdcadce2155e3ab023b974a131cbdd13854e8d7b7a122cb4b82aa7c6a96a6632d69cdabdd8d14774225a8330aff4ec22218593dda20c54b206768400 SHA512 e5dd7dbfd8422d69d1ffbe9d6cf5f8845e33484a7c812fe60285c0aa17d812a5de33d1a0503972749d70fed92767eedc1119bea650712150d9d5d4e4fdbccb8f DIST MogileFS-Server-2.72.tar.gz 200057 BLAKE2B 835a7799389e536b42ed000b8ce07225609501ee6a4c002253a0018d0b17c815e8825a56f78ee0c0604d57cafea45ac044fda4e6e6bc33e0b60b8ed5b51a7e10 SHA512 4076ba33123c984f9d7c56db7d308b4d857e852caa8d811d86ed551b9ab74a6dfc93b034d034ec2802376035799860c613aef2bdd3898c1225e37727fda34ade diff --git a/dev-perl/MogileFS-Server/MogileFS-Server-2.700.0-r2.ebuild b/dev-perl/MogileFS-Server/MogileFS-Server-2.700.0-r2.ebuild deleted file mode 100644 index 9479d19042cb..000000000000 --- a/dev-perl/MogileFS-Server/MogileFS-Server-2.700.0-r2.ebuild +++ /dev/null @@ -1,97 +0,0 @@ -# Copyright 1999-2016 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=5 - -MODULE_AUTHOR=DORMANDO -MODULE_VERSION=${PV%0.0} -inherit user perl-module - -DESCRIPTION="Server for the MogileFS distributed file system" -HOMEPAGE="http://www.danga.com/mogilefs/ ${HOMEPAGE}" - -IUSE="mysql sqlite postgres" - -SLOT="0" -LICENSE="|| ( Artistic GPL-2 )" -KEYWORDS="~amd64 ~ppc ~x86" - -# Upstream site recommends this, -# but it breaks Perlbal -# dev-perl/Perlbal-XS-HTTPHeaders -RDEPEND="dev-perl/Net-Netmask - >=dev-perl/Danga-Socket-1.610.0 - >=dev-perl/Sys-Syscall-0.220.0 - >=dev-perl/Perlbal-1.790 - >=dev-perl/IO-AIO-4 - dev-perl/libwww-perl - >=dev-perl/MogileFS-Client-1.170.0 - >=dev-perl/MogileFS-Utils-2.280.0 - dev-perl/Cache-Memcached - mysql? ( dev-perl/DBD-mysql ) - postgres? ( dev-perl/DBD-Pg ) - sqlite? ( dev-perl/DBD-SQLite )" -DEPEND="${RDEPEND}" - -# You need a local MySQL or Postgresql server for this -#SRC_TEST="do" - -#PATCHES=( ) - -MOGILE_USER="mogile" - -pkg_setup() { - # Warning! It is important that the uid is constant over Gentoo machines - # As mogilefs may be used with non-local block devices that move! - enewuser ${MOGILE_USER} 460 -1 -1 -} - -src_prepare() { - for f in Makefile.PL MANIFEST ; do - if [ -f "${S}"/${f}.orig ]; then - cp -f "${S}"/${f}{.orig,} - else - cp -f "${S}"/${f}{,.orig} - fi - done - # If we are not in a cutting edge Git source, we would prefer to not install - # duplicates of these. - sed -i -e '/directory.*mogdeps/d' "${S}"/Makefile.PL - sed -i -e '/^lib\/mogdeps/d' "${S}"/MANIFEST - mv -f "${S}/lib/mogdeps" "${S}" -} - -src_compile() { - export MOGILE_NO_BUILTIN_DEPS=1 - perl-module_src_compile || die "perl-module_src_compile failed" -} - -src_install() { - export MOGILE_NO_BUILTIN_DEPS=1 - perl-module_src_install || die "perl-module_src_install failed" - cd "${S}" - - newconfd "${FILESDIR}"/mogilefsd-conf.d-2.16 mogilefsd - newinitd "${FILESDIR}"/mogilefsd-init.d-2.66 mogilefsd - - newconfd "${FILESDIR}"/mogstored-conf.d-2.30 mogstored - newinitd "${FILESDIR}"/mogstored-init.d-2.66 mogstored - - newinitd "${FILESDIR}"/mogautomount-init.d-2.50 mogautomount - - diropts -m 700 -o ${MOGILE_USER} - keepdir /var/run/mogile - keepdir /var/mogdata - diropts -m 755 -o root - - dodir /etc/mogilefs - insinto /etc/mogilefs - insopts -m 600 -o root -g ${MOGILE_USER} - newins "${FILESDIR}"/mogilefsd.conf-2.30 mogilefsd.conf - newins "${FILESDIR}"/mogstored.conf-2.16 mogstored.conf -} - -pkg_postinst() { - chmod 640 "${ROOT}"/etc/mogilefs/{mogilefsd,mogstored}.conf - chown root:${MOGILE_USER} "${ROOT}"/etc/mogilefs/{mogilefsd,mogstored}.conf -} diff --git a/dev-perl/MogileFS-Server/MogileFS-Server-2.700.0-r3.ebuild b/dev-perl/MogileFS-Server/MogileFS-Server-2.700.0-r3.ebuild deleted file mode 100644 index 31168ffc29c5..000000000000 --- a/dev-perl/MogileFS-Server/MogileFS-Server-2.700.0-r3.ebuild +++ /dev/null @@ -1,97 +0,0 @@ -# Copyright 1999-2017 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=5 - -MODULE_AUTHOR=DORMANDO -MODULE_VERSION=${PV%0.0} -inherit user perl-module - -DESCRIPTION="Server for the MogileFS distributed file system" -HOMEPAGE="http://www.danga.com/mogilefs/ ${HOMEPAGE}" - -IUSE="mysql sqlite postgres" - -SLOT="0" -LICENSE="|| ( Artistic GPL-2 )" -KEYWORDS="~amd64 ~ppc ~x86" - -# Upstream site recommends this, -# but it breaks Perlbal -# dev-perl/Perlbal-XS-HTTPHeaders -RDEPEND="dev-perl/Net-Netmask - >=dev-perl/Danga-Socket-1.610.0 - >=dev-perl/Sys-Syscall-0.220.0 - >=dev-perl/Perlbal-1.790 - >=dev-perl/IO-AIO-4 - dev-perl/libwww-perl - >=dev-perl/MogileFS-Client-1.170.0 - >=dev-perl/MogileFS-Utils-2.280.0 - dev-perl/Cache-Memcached - mysql? ( dev-perl/DBD-mysql ) - postgres? ( dev-perl/DBD-Pg ) - sqlite? ( dev-perl/DBD-SQLite )" -DEPEND="${RDEPEND}" - -# You need a local MySQL or Postgresql server for this -#SRC_TEST="do" - -#PATCHES=( ) - -MOGILE_USER="mogile" - -pkg_setup() { - # Warning! It is important that the uid is constant over Gentoo machines - # As mogilefs may be used with non-local block devices that move! - enewuser ${MOGILE_USER} 460 -1 -1 -} - -src_prepare() { - for f in Makefile.PL MANIFEST ; do - if [ -f "${S}"/${f}.orig ]; then - cp -f "${S}"/${f}{.orig,} - else - cp -f "${S}"/${f}{,.orig} - fi - done - # If we are not in a cutting edge Git source, we would prefer to not install - # duplicates of these. - sed -i -e '/directory.*mogdeps/d' "${S}"/Makefile.PL - sed -i -e '/^lib\/mogdeps/d' "${S}"/MANIFEST - mv -f "${S}/lib/mogdeps" "${S}" -} - -src_compile() { - export MOGILE_NO_BUILTIN_DEPS=1 - perl-module_src_compile || die "perl-module_src_compile failed" -} - -src_install() { - export MOGILE_NO_BUILTIN_DEPS=1 - perl-module_src_install || die "perl-module_src_install failed" - cd "${S}" - - newconfd "${FILESDIR}"/mogilefsd-conf.d-2.16 mogilefsd - newinitd "${FILESDIR}"/mogilefsd-init.d-2.66 mogilefsd - - newconfd "${FILESDIR}"/mogstored-conf.d-2.30 mogstored - newinitd "${FILESDIR}"/mogstored-init.d-2.70 mogstored - - newinitd "${FILESDIR}"/mogautomount-init.d-2.50 mogautomount - - diropts -m 700 -o ${MOGILE_USER} - keepdir /var/run/mogile - keepdir /var/mogdata - diropts -m 755 -o root - - dodir /etc/mogilefs - insinto /etc/mogilefs - insopts -m 600 -o root -g ${MOGILE_USER} - newins "${FILESDIR}"/mogilefsd.conf-2.30 mogilefsd.conf - newins "${FILESDIR}"/mogstored.conf-2.16 mogstored.conf -} - -pkg_postinst() { - chmod 640 "${ROOT}"/etc/mogilefs/{mogilefsd,mogstored}.conf - chown root:${MOGILE_USER} "${ROOT}"/etc/mogilefs/{mogilefsd,mogstored}.conf -} diff --git a/dev-perl/MogileFS-Server/files/mogautomount-init.d-2.50 b/dev-perl/MogileFS-Server/files/mogautomount-init.d-2.50 deleted file mode 100644 index f28736610f4f..000000000000 --- a/dev-perl/MogileFS-Server/files/mogautomount-init.d-2.50 +++ /dev/null @@ -1,21 +0,0 @@ -#!/sbin/openrc-run - -NAME="mogautomount" -BINARY="/usr/bin/mogautomount" - -depend() { - use net - before mogstored -} - -start() { - ebegin "Mounting MogileFS disks" - ${BINARY} --chmod-mountpoints - eend $? -} - -stop() { - : -} - -# vim: ft=gentoo-init-d: diff --git a/dev-perl/MogileFS-Server/files/mogilefsd-conf.d-2.16 b/dev-perl/MogileFS-Server/files/mogilefsd-conf.d-2.16 deleted file mode 100644 index b6968d1aa991..000000000000 --- a/dev-perl/MogileFS-Server/files/mogilefsd-conf.d-2.16 +++ /dev/null @@ -1,3 +0,0 @@ -PIDFILE="/var/run/mogile/mogilefsd.pid" -MOGILEFSD_OPTS="--daemonize --pidfile=${PIDFILE}" -# vim: ft=gentoo-conf-d: diff --git a/dev-perl/MogileFS-Server/files/mogilefsd-init.d-2.66 b/dev-perl/MogileFS-Server/files/mogilefsd-init.d-2.66 deleted file mode 100644 index 0667fedb78a5..000000000000 --- a/dev-perl/MogileFS-Server/files/mogilefsd-init.d-2.66 +++ /dev/null @@ -1,28 +0,0 @@ -#!/sbin/openrc-run - -NAME="mogilefsd" -BINARY="/usr/bin/mogilefsd" -MOGILE_UID="mogile" -MOGILE_GID="mogile" - -depend() { - use net mysql postgresql - after mysql postgresql -} - -start() { - install -o $MOGILE_UID -g $MOGILE_GID -d $(dirname $PIDFILE) - ebegin "Starting $NAME" - start-stop-daemon --chuid ${MOGILE_UID}:${MOGILE_GID} --start \ - --pidfile ${PIDFILE} --exec ${BINARY} \ - -- ${MOGILEFSD_OPTS} - eend $? -} - -stop() { - ebegin "Stopping $NAME" - start-stop-daemon --stop --quiet --pidfile="${PIDFILE}" - eend $? -} - -# vim: ft=gentoo-init-d: diff --git a/dev-perl/MogileFS-Server/files/mogilefsd.conf-2.30 b/dev-perl/MogileFS-Server/files/mogilefsd.conf-2.30 deleted file mode 100644 index df50e2304745..000000000000 --- a/dev-perl/MogileFS-Server/files/mogilefsd.conf-2.30 +++ /dev/null @@ -1,34 +0,0 @@ -# System user -user = mogile -# These are set inside the Gentoo conf.d/mogilefsd -#pidfile = /var/run/mogile/mogilefsd.pid -#daemonize = 1 - -# Database settings -db_dsn = DBI:mysql:mogilefs -db_user = mogile -# You must insert your password here! -db_pass = __PASSWORD__ - -# Network settings -#conf_port = 7001 -#listen = 10.0.0.1:7001, - -# Storage -#mog_root = /mnt/mogilefs - -# Plugins -#plugins = ... - -# Tuning knobs -#query_jobs = 20 -#delete_jobs = 1 -#replicate_jobs = 1 -#monitor_jobs = 1 -#reaper_jobs = 1 -#min_free_space = 100 -#max_disk_age = 5 -#node_timeout = 2 -#old_repl_compat = 1 -#default_mindevcount = 2 -#no_unreachable_tracking = 1 diff --git a/dev-perl/MogileFS-Server/files/mogstored-conf.d-2.30 b/dev-perl/MogileFS-Server/files/mogstored-conf.d-2.30 deleted file mode 100644 index aa3cb631210c..000000000000 --- a/dev-perl/MogileFS-Server/files/mogstored-conf.d-2.30 +++ /dev/null @@ -1,3 +0,0 @@ -PIDFILE="/var/run/mogile/mogstored.pid" -MOGSTORED_OPTS="" -# vim: ft=gentoo-conf-d: diff --git a/dev-perl/MogileFS-Server/files/mogstored-init.d-2.66 b/dev-perl/MogileFS-Server/files/mogstored-init.d-2.66 deleted file mode 100644 index 98e1c1b6e994..000000000000 --- a/dev-perl/MogileFS-Server/files/mogstored-init.d-2.66 +++ /dev/null @@ -1,29 +0,0 @@ -#!/sbin/openrc-run - -NAME="mogstored" -BINARY="/usr/bin/mogstored" -MOGILE_UID="mogile" -MOGILE_GID="mogile" - -depend() { - use net - before mogilefsd - need mogautomount -} - -start() { - install -o $MOGILE_UID -g $MOGILE_GID -d $(dirname $PIDFILE) - ebegin "Starting $NAME" - start-stop-daemon --start --quiet \ - --pidfile=${PIDFILE} --exec ${BINARY} \ - -- --daemonize --pidfile=${PIDFILE} ${MOGSTORED_OPTS} - eend $? -} - -stop() { - ebegin "Stopping $NAME" - start-stop-daemon --stop --quiet --pidfile="${PIDFILE}" - eend $? -} - -# vim: ft=gentoo-init-d: diff --git a/dev-perl/MogileFS-Server/files/mogstored-init.d-2.70 b/dev-perl/MogileFS-Server/files/mogstored-init.d-2.70 deleted file mode 100644 index d28a8536cdeb..000000000000 --- a/dev-perl/MogileFS-Server/files/mogstored-init.d-2.70 +++ /dev/null @@ -1,29 +0,0 @@ -#!/sbin/openrc-run - -NAME="mogstored" -BINARY="/usr/bin/mogstored" -MOGILE_UID="mogile" -MOGILE_GID="mogile" - -depend() { - use net logger - before mogilefsd - need mogautomount -} - -start() { - install -o $MOGILE_UID -g $MOGILE_GID -d $(dirname $PIDFILE) - ebegin "Starting $NAME" - start-stop-daemon --start --quiet \ - --pidfile=${PIDFILE} --exec ${BINARY} \ - -- --daemonize --pidfile=${PIDFILE} ${MOGSTORED_OPTS} - eend $? -} - -stop() { - ebegin "Stopping $NAME" - start-stop-daemon --stop --quiet --pidfile="${PIDFILE}" - eend $? -} - -# vim: ft=gentoo-init-d: diff --git a/dev-perl/MogileFS-Server/files/mogstored.conf-2.16 b/dev-perl/MogileFS-Server/files/mogstored.conf-2.16 deleted file mode 100644 index 100a8c3adeed..000000000000 --- a/dev-perl/MogileFS-Server/files/mogstored.conf-2.16 +++ /dev/null @@ -1,21 +0,0 @@ -# These are set inside the Gentoo conf.d/mogilefsd -#pidfile = /var/run/mogile/mogstored.pid -#daemonize = 1 - -# Network settings -#httplisten = 0.0.0.0:7500 -#mgmtlisten = 0.0.0.0:7501 - -# Storage -#docroot = /var/mogdata - -# Server type -# Perlbal is the default -#server = perlbal -# But lighttpd is supported too -#server = lighttpd -#serverbin = /usr/sbin/lighttpd - -# Tuning knobs -#max_conns = 10000 -#opt_iostat 1 |