public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/gentoo:master commit in: dev-perl/mogilefs-server/files/, dev-perl/mogilefs-server/
@ 2016-03-14 23:07 Andreas Hüttel
  0 siblings, 0 replies; 4+ messages in thread
From: Andreas Hüttel @ 2016-03-14 23:07 UTC (permalink / raw
  To: gentoo-commits

commit:     752bbd3a05fb6f01e649f01eb0194298992c4805
Author:     Kent Fredric <kentfredric <AT> gmail <DOT> com>
AuthorDate: Sat Mar 12 16:32:11 2016 +0000
Commit:     Andreas Hüttel <dilfridge <AT> gentoo <DOT> org>
CommitDate: Mon Mar 14 23:06:37 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=752bbd3a

dev-perl/mogilefs-server: remove from tree, moved to MogileFS-Server

 dev-perl/mogilefs-server/Manifest                  |  1 -
 .../mogilefs-server/files/mogautomount-init.d-2.50 | 22 -----
 .../mogilefs-server/files/mogilefsd-conf.d-2.16    |  4 -
 .../mogilefs-server/files/mogilefsd-init.d-2.66    | 29 -------
 dev-perl/mogilefs-server/files/mogilefsd.conf-2.30 | 36 --------
 .../mogilefs-server/files/mogstored-conf.d-2.30    |  4 -
 .../mogilefs-server/files/mogstored-init.d-2.66    | 30 -------
 dev-perl/mogilefs-server/files/mogstored.conf-2.16 | 23 -----
 dev-perl/mogilefs-server/metadata.xml              | 75 ----------------
 .../mogilefs-server-2.700.0-r2.ebuild              | 99 ----------------------
 10 files changed, 323 deletions(-)

diff --git a/dev-perl/mogilefs-server/Manifest b/dev-perl/mogilefs-server/Manifest
deleted file mode 100644
index 34fd0ab..0000000
--- a/dev-perl/mogilefs-server/Manifest
+++ /dev/null
@@ -1 +0,0 @@
-DIST MogileFS-Server-2.70.tar.gz 199850 SHA256 686f328a4a6dacdb6c6153e7c1837875580d8437bf91ebd74ef197b1caefa7a6 SHA512 e5dd7dbfd8422d69d1ffbe9d6cf5f8845e33484a7c812fe60285c0aa17d812a5de33d1a0503972749d70fed92767eedc1119bea650712150d9d5d4e4fdbccb8f WHIRLPOOL c47a79e0002b38d605d1b4407bab886a53f818f3b664421e6e83696a2db152fb71cd093acbaecc6fc46f2bb69a43339c105d4bf566af1e834492aa4a44adedcd

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 3275ed5..0000000
--- a/dev-perl/mogilefs-server/files/mogautomount-init.d-2.50
+++ /dev/null
@@ -1,22 +0,0 @@
-#!/sbin/runscript
-# $Id$
-
-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 63efe02..0000000
--- a/dev-perl/mogilefs-server/files/mogilefsd-conf.d-2.16
+++ /dev/null
@@ -1,4 +0,0 @@
-# $Id$
-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 8439854..0000000
--- a/dev-perl/mogilefs-server/files/mogilefsd-init.d-2.66
+++ /dev/null
@@ -1,29 +0,0 @@
-#!/sbin/runscript
-# $Id$
-
-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 dc6fbc8..0000000
--- a/dev-perl/mogilefs-server/files/mogilefsd.conf-2.30
+++ /dev/null
@@ -1,36 +0,0 @@
-# $Id$
-
-# 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 1d6403b..0000000
--- a/dev-perl/mogilefs-server/files/mogstored-conf.d-2.30
+++ /dev/null
@@ -1,4 +0,0 @@
-# $Id$
-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 5f48de5..0000000
--- a/dev-perl/mogilefs-server/files/mogstored-init.d-2.66
+++ /dev/null
@@ -1,30 +0,0 @@
-#!/sbin/runscript
-# $Id$
-
-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.conf-2.16 b/dev-perl/mogilefs-server/files/mogstored.conf-2.16
deleted file mode 100644
index 5cc00a8..0000000
--- a/dev-perl/mogilefs-server/files/mogstored.conf-2.16
+++ /dev/null
@@ -1,23 +0,0 @@
-# $Id$
-
-# 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

diff --git a/dev-perl/mogilefs-server/metadata.xml b/dev-perl/mogilefs-server/metadata.xml
deleted file mode 100644
index dbd7d0f..0000000
--- a/dev-perl/mogilefs-server/metadata.xml
+++ /dev/null
@@ -1,75 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
-  <maintainer type="person">
-    <email>robbat2@gentoo.org</email>
-    <description>Primary Maintainer</description>
-  </maintainer>
-  <maintainer type="project">
-    <email>perl@gentoo.org</email>
-    <name>Gentoo Perl Project</name>
-  </maintainer>
-  <upstream>
-    <remote-id type="cpan">MogileFS-Server</remote-id>
-    <remote-id type="cpan-module">Mgd</remote-id>
-    <remote-id type="cpan-module">MogPath</remote-id>
-    <remote-id type="cpan-module">MogileFS</remote-id>
-    <remote-id type="cpan-module">MogileFS::Checksum</remote-id>
-    <remote-id type="cpan-module">MogileFS::Class</remote-id>
-    <remote-id type="cpan-module">MogileFS::Config</remote-id>
-    <remote-id type="cpan-module">MogileFS::Connection::Client</remote-id>
-    <remote-id type="cpan-module">MogileFS::Connection::Mogstored</remote-id>
-    <remote-id type="cpan-module">MogileFS::Connection::Worker</remote-id>
-    <remote-id type="cpan-module">MogileFS::DevFID</remote-id>
-    <remote-id type="cpan-module">MogileFS::Device</remote-id>
-    <remote-id type="cpan-module">MogileFS::DeviceState</remote-id>
-    <remote-id type="cpan-module">MogileFS::Domain</remote-id>
-    <remote-id type="cpan-module">MogileFS::Exception</remote-id>
-    <remote-id type="cpan-module">MogileFS::FID</remote-id>
-    <remote-id type="cpan-module">MogileFS::Factory</remote-id>
-    <remote-id type="cpan-module">MogileFS::Factory::Class</remote-id>
-    <remote-id type="cpan-module">MogileFS::Factory::Device</remote-id>
-    <remote-id type="cpan-module">MogileFS::Factory::Domain</remote-id>
-    <remote-id type="cpan-module">MogileFS::Factory::Host</remote-id>
-    <remote-id type="cpan-module">MogileFS::HTTPFile</remote-id>
-    <remote-id type="cpan-module">MogileFS::Host</remote-id>
-    <remote-id type="cpan-module">MogileFS::IOStatWatch::Client</remote-id>
-    <remote-id type="cpan-module">MogileFS::IOStatWatcher</remote-id>
-    <remote-id type="cpan-module">MogileFS::ProcManager</remote-id>
-    <remote-id type="cpan-module">MogileFS::Rebalance</remote-id>
-    <remote-id type="cpan-module">MogileFS::ReplicationPolicy</remote-id>
-    <remote-id type="cpan-module">MogileFS::ReplicationPolicy::MultipleHosts</remote-id>
-    <remote-id type="cpan-module">MogileFS::ReplicationPolicy::Union</remote-id>
-    <remote-id type="cpan-module">MogileFS::ReplicationRequest</remote-id>
-    <remote-id type="cpan-module">MogileFS::Server</remote-id>
-    <remote-id type="cpan-module">MogileFS::Store</remote-id>
-    <remote-id type="cpan-module">MogileFS::Store::MySQL</remote-id>
-    <remote-id type="cpan-module">MogileFS::Store::Postgres</remote-id>
-    <remote-id type="cpan-module">MogileFS::Store::SQLite</remote-id>
-    <remote-id type="cpan-module">MogileFS::Test</remote-id>
-    <remote-id type="cpan-module">MogileFS::Util</remote-id>
-    <remote-id type="cpan-module">MogileFS::Worker</remote-id>
-    <remote-id type="cpan-module">MogileFS::Worker::Delete</remote-id>
-    <remote-id type="cpan-module">MogileFS::Worker::Fsck</remote-id>
-    <remote-id type="cpan-module">MogileFS::Worker::JobMaster</remote-id>
-    <remote-id type="cpan-module">MogileFS::Worker::Monitor</remote-id>
-    <remote-id type="cpan-module">MogileFS::Worker::Query</remote-id>
-    <remote-id type="cpan-module">MogileFS::Worker::Reaper</remote-id>
-    <remote-id type="cpan-module">MogileFS::Worker::Replicate</remote-id>
-    <remote-id type="cpan-module">Mogstored::ChildProcess</remote-id>
-    <remote-id type="cpan-module">Mogstored::ChildProcess::DiskUsage</remote-id>
-    <remote-id type="cpan-module">Mogstored::ChildProcess::IOStat</remote-id>
-    <remote-id type="cpan-module">Mogstored::FIDStatter</remote-id>
-    <remote-id type="cpan-module">Mogstored::HTTPServer</remote-id>
-    <remote-id type="cpan-module">Mogstored::HTTPServer::Apache</remote-id>
-    <remote-id type="cpan-module">Mogstored::HTTPServer::Lighttpd</remote-id>
-    <remote-id type="cpan-module">Mogstored::HTTPServer::None</remote-id>
-    <remote-id type="cpan-module">Mogstored::HTTPServer::Perlbal</remote-id>
-    <remote-id type="cpan-module">Mogstored::SideChannelClient</remote-id>
-    <remote-id type="cpan-module">Mogstored::SideChannelListener</remote-id>
-    <remote-id type="cpan-module">Mogstored::TaskQueue</remote-id>
-    <remote-id type="cpan-module">MogstoredHandle</remote-id>
-    <remote-id type="cpan-module">ProcessHandle</remote-id>
-    <remote-id type="cpan-module">TrackerHandle</remote-id>
-  </upstream>
-</pkgmetadata>

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 faac9da..0000000
--- a/dev-perl/mogilefs-server/mogilefs-server-2.700.0-r2.ebuild
+++ /dev/null
@@ -1,99 +0,0 @@
-# Copyright 1999-2014 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-EAPI=5
-
-MY_PN=MogileFS-Server
-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
-}


^ permalink raw reply related	[flat|nested] 4+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: dev-perl/MogileFS-Server/files/, dev-perl/MogileFS-Server/
@ 2016-03-14 23:07 Andreas Hüttel
  0 siblings, 0 replies; 4+ messages in thread
From: Andreas Hüttel @ 2016-03-14 23:07 UTC (permalink / raw
  To: gentoo-commits

commit:     0499e08973625afca52fd525e5cf2352fc17b193
Author:     Kent Fredric <kentfredric <AT> gmail <DOT> com>
AuthorDate: Sat Mar 12 16:27:07 2016 +0000
Commit:     Andreas Hüttel <dilfridge <AT> gentoo <DOT> org>
CommitDate: Mon Mar 14 23:06:37 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0499e089

dev-perl/MogileFS-Server: Copy from dev-perl/mogilefs-server

Migrating to a name closer to upstream conventions

Package-Manager: portage-2.2.27

 dev-perl/MogileFS-Server/Manifest                  |  1 +
 .../MogileFS-Server-2.700.0-r2.ebuild              | 98 ++++++++++++++++++++++
 .../MogileFS-Server/files/mogautomount-init.d-2.50 | 22 +++++
 .../MogileFS-Server/files/mogilefsd-conf.d-2.16    |  4 +
 .../MogileFS-Server/files/mogilefsd-init.d-2.66    | 29 +++++++
 dev-perl/MogileFS-Server/files/mogilefsd.conf-2.30 | 36 ++++++++
 .../MogileFS-Server/files/mogstored-conf.d-2.30    |  4 +
 .../MogileFS-Server/files/mogstored-init.d-2.66    | 30 +++++++
 dev-perl/MogileFS-Server/files/mogstored.conf-2.16 | 23 +++++
 dev-perl/MogileFS-Server/metadata.xml              | 75 +++++++++++++++++
 10 files changed, 322 insertions(+)

diff --git a/dev-perl/MogileFS-Server/Manifest b/dev-perl/MogileFS-Server/Manifest
new file mode 100644
index 0000000..34fd0ab
--- /dev/null
+++ b/dev-perl/MogileFS-Server/Manifest
@@ -0,0 +1 @@
+DIST MogileFS-Server-2.70.tar.gz 199850 SHA256 686f328a4a6dacdb6c6153e7c1837875580d8437bf91ebd74ef197b1caefa7a6 SHA512 e5dd7dbfd8422d69d1ffbe9d6cf5f8845e33484a7c812fe60285c0aa17d812a5de33d1a0503972749d70fed92767eedc1119bea650712150d9d5d4e4fdbccb8f WHIRLPOOL c47a79e0002b38d605d1b4407bab886a53f818f3b664421e6e83696a2db152fb71cd093acbaecc6fc46f2bb69a43339c105d4bf566af1e834492aa4a44adedcd

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
new file mode 100644
index 0000000..95a79a7
--- /dev/null
+++ b/dev-perl/MogileFS-Server/MogileFS-Server-2.700.0-r2.ebuild
@@ -0,0 +1,98 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+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/files/mogautomount-init.d-2.50 b/dev-perl/MogileFS-Server/files/mogautomount-init.d-2.50
new file mode 100644
index 0000000..3275ed5
--- /dev/null
+++ b/dev-perl/MogileFS-Server/files/mogautomount-init.d-2.50
@@ -0,0 +1,22 @@
+#!/sbin/runscript
+# $Id$
+
+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
new file mode 100644
index 0000000..63efe02
--- /dev/null
+++ b/dev-perl/MogileFS-Server/files/mogilefsd-conf.d-2.16
@@ -0,0 +1,4 @@
+# $Id$
+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
new file mode 100644
index 0000000..8439854
--- /dev/null
+++ b/dev-perl/MogileFS-Server/files/mogilefsd-init.d-2.66
@@ -0,0 +1,29 @@
+#!/sbin/runscript
+# $Id$
+
+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
new file mode 100644
index 0000000..dc6fbc8
--- /dev/null
+++ b/dev-perl/MogileFS-Server/files/mogilefsd.conf-2.30
@@ -0,0 +1,36 @@
+# $Id$
+
+# 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
new file mode 100644
index 0000000..1d6403b
--- /dev/null
+++ b/dev-perl/MogileFS-Server/files/mogstored-conf.d-2.30
@@ -0,0 +1,4 @@
+# $Id$
+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
new file mode 100644
index 0000000..5f48de5
--- /dev/null
+++ b/dev-perl/MogileFS-Server/files/mogstored-init.d-2.66
@@ -0,0 +1,30 @@
+#!/sbin/runscript
+# $Id$
+
+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.conf-2.16 b/dev-perl/MogileFS-Server/files/mogstored.conf-2.16
new file mode 100644
index 0000000..5cc00a8
--- /dev/null
+++ b/dev-perl/MogileFS-Server/files/mogstored.conf-2.16
@@ -0,0 +1,23 @@
+# $Id$
+
+# 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

diff --git a/dev-perl/MogileFS-Server/metadata.xml b/dev-perl/MogileFS-Server/metadata.xml
new file mode 100644
index 0000000..dbd7d0f
--- /dev/null
+++ b/dev-perl/MogileFS-Server/metadata.xml
@@ -0,0 +1,75 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+  <maintainer type="person">
+    <email>robbat2@gentoo.org</email>
+    <description>Primary Maintainer</description>
+  </maintainer>
+  <maintainer type="project">
+    <email>perl@gentoo.org</email>
+    <name>Gentoo Perl Project</name>
+  </maintainer>
+  <upstream>
+    <remote-id type="cpan">MogileFS-Server</remote-id>
+    <remote-id type="cpan-module">Mgd</remote-id>
+    <remote-id type="cpan-module">MogPath</remote-id>
+    <remote-id type="cpan-module">MogileFS</remote-id>
+    <remote-id type="cpan-module">MogileFS::Checksum</remote-id>
+    <remote-id type="cpan-module">MogileFS::Class</remote-id>
+    <remote-id type="cpan-module">MogileFS::Config</remote-id>
+    <remote-id type="cpan-module">MogileFS::Connection::Client</remote-id>
+    <remote-id type="cpan-module">MogileFS::Connection::Mogstored</remote-id>
+    <remote-id type="cpan-module">MogileFS::Connection::Worker</remote-id>
+    <remote-id type="cpan-module">MogileFS::DevFID</remote-id>
+    <remote-id type="cpan-module">MogileFS::Device</remote-id>
+    <remote-id type="cpan-module">MogileFS::DeviceState</remote-id>
+    <remote-id type="cpan-module">MogileFS::Domain</remote-id>
+    <remote-id type="cpan-module">MogileFS::Exception</remote-id>
+    <remote-id type="cpan-module">MogileFS::FID</remote-id>
+    <remote-id type="cpan-module">MogileFS::Factory</remote-id>
+    <remote-id type="cpan-module">MogileFS::Factory::Class</remote-id>
+    <remote-id type="cpan-module">MogileFS::Factory::Device</remote-id>
+    <remote-id type="cpan-module">MogileFS::Factory::Domain</remote-id>
+    <remote-id type="cpan-module">MogileFS::Factory::Host</remote-id>
+    <remote-id type="cpan-module">MogileFS::HTTPFile</remote-id>
+    <remote-id type="cpan-module">MogileFS::Host</remote-id>
+    <remote-id type="cpan-module">MogileFS::IOStatWatch::Client</remote-id>
+    <remote-id type="cpan-module">MogileFS::IOStatWatcher</remote-id>
+    <remote-id type="cpan-module">MogileFS::ProcManager</remote-id>
+    <remote-id type="cpan-module">MogileFS::Rebalance</remote-id>
+    <remote-id type="cpan-module">MogileFS::ReplicationPolicy</remote-id>
+    <remote-id type="cpan-module">MogileFS::ReplicationPolicy::MultipleHosts</remote-id>
+    <remote-id type="cpan-module">MogileFS::ReplicationPolicy::Union</remote-id>
+    <remote-id type="cpan-module">MogileFS::ReplicationRequest</remote-id>
+    <remote-id type="cpan-module">MogileFS::Server</remote-id>
+    <remote-id type="cpan-module">MogileFS::Store</remote-id>
+    <remote-id type="cpan-module">MogileFS::Store::MySQL</remote-id>
+    <remote-id type="cpan-module">MogileFS::Store::Postgres</remote-id>
+    <remote-id type="cpan-module">MogileFS::Store::SQLite</remote-id>
+    <remote-id type="cpan-module">MogileFS::Test</remote-id>
+    <remote-id type="cpan-module">MogileFS::Util</remote-id>
+    <remote-id type="cpan-module">MogileFS::Worker</remote-id>
+    <remote-id type="cpan-module">MogileFS::Worker::Delete</remote-id>
+    <remote-id type="cpan-module">MogileFS::Worker::Fsck</remote-id>
+    <remote-id type="cpan-module">MogileFS::Worker::JobMaster</remote-id>
+    <remote-id type="cpan-module">MogileFS::Worker::Monitor</remote-id>
+    <remote-id type="cpan-module">MogileFS::Worker::Query</remote-id>
+    <remote-id type="cpan-module">MogileFS::Worker::Reaper</remote-id>
+    <remote-id type="cpan-module">MogileFS::Worker::Replicate</remote-id>
+    <remote-id type="cpan-module">Mogstored::ChildProcess</remote-id>
+    <remote-id type="cpan-module">Mogstored::ChildProcess::DiskUsage</remote-id>
+    <remote-id type="cpan-module">Mogstored::ChildProcess::IOStat</remote-id>
+    <remote-id type="cpan-module">Mogstored::FIDStatter</remote-id>
+    <remote-id type="cpan-module">Mogstored::HTTPServer</remote-id>
+    <remote-id type="cpan-module">Mogstored::HTTPServer::Apache</remote-id>
+    <remote-id type="cpan-module">Mogstored::HTTPServer::Lighttpd</remote-id>
+    <remote-id type="cpan-module">Mogstored::HTTPServer::None</remote-id>
+    <remote-id type="cpan-module">Mogstored::HTTPServer::Perlbal</remote-id>
+    <remote-id type="cpan-module">Mogstored::SideChannelClient</remote-id>
+    <remote-id type="cpan-module">Mogstored::SideChannelListener</remote-id>
+    <remote-id type="cpan-module">Mogstored::TaskQueue</remote-id>
+    <remote-id type="cpan-module">MogstoredHandle</remote-id>
+    <remote-id type="cpan-module">ProcessHandle</remote-id>
+    <remote-id type="cpan-module">TrackerHandle</remote-id>
+  </upstream>
+</pkgmetadata>


^ permalink raw reply related	[flat|nested] 4+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: dev-perl/MogileFS-Server/files/, dev-perl/MogileFS-Server/
@ 2017-03-11 19:28 Andreas Hüttel
  0 siblings, 0 replies; 4+ messages in thread
From: Andreas Hüttel @ 2017-03-11 19:28 UTC (permalink / raw
  To: gentoo-commits

commit:     52c3efcd764da4509a630359b6c547d5bbcf5d40
Author:     Andreas K. Hüttel <dilfridge <AT> gentoo <DOT> org>
AuthorDate: Sat Mar 11 19:28:05 2017 +0000
Commit:     Andreas Hüttel <dilfridge <AT> gentoo <DOT> org>
CommitDate: Sat Mar 11 19:28:20 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=52c3efcd

dev-perl/MogileFS-Server: Add trivial fix for bug 304369

Package-Manager: Portage-2.3.3, Repoman-2.3.1

 .../MogileFS-Server-2.700.0-r3.ebuild              | 97 ++++++++++++++++++++++
 .../MogileFS-Server/files/mogstored-init.d-2.70    | 29 +++++++
 2 files changed, 126 insertions(+)

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
new file mode 100644
index 00000000000..31168ffc29c
--- /dev/null
+++ b/dev-perl/MogileFS-Server/MogileFS-Server-2.700.0-r3.ebuild
@@ -0,0 +1,97 @@
+# 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/mogstored-init.d-2.70 b/dev-perl/MogileFS-Server/files/mogstored-init.d-2.70
new file mode 100644
index 00000000000..d28a8536cde
--- /dev/null
+++ b/dev-perl/MogileFS-Server/files/mogstored-init.d-2.70
@@ -0,0 +1,29 @@
+#!/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:


^ permalink raw reply related	[flat|nested] 4+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: dev-perl/MogileFS-Server/files/, dev-perl/MogileFS-Server/
@ 2018-06-10  7:20 Kent Fredric
  0 siblings, 0 replies; 4+ messages in thread
From: Kent Fredric @ 2018-06-10  7:20 UTC (permalink / raw
  To: gentoo-commits

commit:     de1b896be93ffc5e42514c8b138ca654fa6ecf21
Author:     Kent Fredric <kentnl <AT> gentoo <DOT> org>
AuthorDate: Sun Jun 10 07:12:41 2018 +0000
Commit:     Kent Fredric <kentnl <AT> gentoo <DOT> org>
CommitDate: Sun Jun 10 07:20:41 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=de1b896b

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

 dev-perl/MogileFS-Server/Manifest                  |  1 -
 .../MogileFS-Server-2.700.0-r2.ebuild              | 97 ----------------------
 .../MogileFS-Server-2.700.0-r3.ebuild              | 97 ----------------------
 .../MogileFS-Server/files/mogautomount-init.d-2.50 | 21 -----
 .../MogileFS-Server/files/mogilefsd-conf.d-2.16    |  3 -
 .../MogileFS-Server/files/mogilefsd-init.d-2.66    | 28 -------
 dev-perl/MogileFS-Server/files/mogilefsd.conf-2.30 | 34 --------
 .../MogileFS-Server/files/mogstored-conf.d-2.30    |  3 -
 .../MogileFS-Server/files/mogstored-init.d-2.66    | 29 -------
 .../MogileFS-Server/files/mogstored-init.d-2.70    | 29 -------
 dev-perl/MogileFS-Server/files/mogstored.conf-2.16 | 21 -----
 11 files changed, 363 deletions(-)

diff --git a/dev-perl/MogileFS-Server/Manifest b/dev-perl/MogileFS-Server/Manifest
index 50e5f572a4e..2df34416684 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 9479d19042c..00000000000
--- 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 31168ffc29c..00000000000
--- 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 f28736610f4..00000000000
--- 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 b6968d1aa99..00000000000
--- 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 0667fedb78a..00000000000
--- 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 df50e230474..00000000000
--- 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 aa3cb631210..00000000000
--- 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 98e1c1b6e99..00000000000
--- 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 d28a8536cde..00000000000
--- 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 100a8c3adee..00000000000
--- 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


^ permalink raw reply related	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2018-06-10  7:21 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-03-11 19:28 [gentoo-commits] repo/gentoo:master commit in: dev-perl/MogileFS-Server/files/, dev-perl/MogileFS-Server/ Andreas Hüttel
  -- strict thread matches above, loose matches on Subject: below --
2018-06-10  7:20 Kent Fredric
2016-03-14 23:07 [gentoo-commits] repo/gentoo:master commit in: dev-perl/mogilefs-server/files/, dev-perl/mogilefs-server/ Andreas Hüttel
2016-03-14 23:07 [gentoo-commits] repo/gentoo:master commit in: dev-perl/MogileFS-Server/files/, dev-perl/MogileFS-Server/ Andreas Hüttel

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox