diff options
author | 2008-01-03 17:31:50 -0800 | |
---|---|---|
committer | 2008-01-03 17:31:50 -0800 | |
commit | 28a3e656e0c6c1b4ee6b85c72c106c28b4384330 (patch) | |
tree | a1b0dc80947a6c8bca6b3ac70b5f39b6637a5ac0 | |
parent | Add WWW-Curl. (diff) | |
download | robbat2-28a3e656e0c6c1b4ee6b85c72c106c28b4384330.tar.gz robbat2-28a3e656e0c6c1b4ee6b85c72c106c28b4384330.tar.bz2 robbat2-28a3e656e0c6c1b4ee6b85c72c106c28b4384330.zip |
Add my personal mogilefs testing builds.
-rw-r--r-- | dev-perl/mogilefs-server/Manifest | 39 | ||||
-rw-r--r-- | dev-perl/mogilefs-server/files/mogilefsd-conf.d-2.16 | 4 | ||||
-rw-r--r-- | dev-perl/mogilefs-server/files/mogilefsd-init.d-2.16 | 28 | ||||
-rw-r--r-- | dev-perl/mogilefs-server/files/mogilefsd.conf-2.16 | 35 | ||||
-rw-r--r-- | dev-perl/mogilefs-server/files/mogstored-conf.d-2.16 | 5 | ||||
-rw-r--r-- | dev-perl/mogilefs-server/files/mogstored-init.d-2.16 | 26 | ||||
-rw-r--r-- | dev-perl/mogilefs-server/files/mogstored.conf-2.16 | 23 | ||||
-rw-r--r-- | dev-perl/mogilefs-server/metadata.xml | 9 | ||||
-rw-r--r-- | dev-perl/mogilefs-server/mogilefs-server-2.999-r9999.ebuild | 79 |
9 files changed, 248 insertions, 0 deletions
diff --git a/dev-perl/mogilefs-server/Manifest b/dev-perl/mogilefs-server/Manifest new file mode 100644 index 0000000..d507814 --- /dev/null +++ b/dev-perl/mogilefs-server/Manifest @@ -0,0 +1,39 @@ +AUX mogilefsd-conf.d-2.16 243 RMD160 16fbfb5cc01b66d5fccb6c6dde3a0fb44639d815 SHA1 4c64bb9436f0948bd91d874d97d598fd638dc217 SHA256 aa9346fa1945cf86a1a82a8e05f7f685b56cba4aa1803637e1df50efe23fc95d +MD5 391612bfc1a491fca4edeaf066ed7436 files/mogilefsd-conf.d-2.16 243 +RMD160 16fbfb5cc01b66d5fccb6c6dde3a0fb44639d815 files/mogilefsd-conf.d-2.16 243 +SHA256 aa9346fa1945cf86a1a82a8e05f7f685b56cba4aa1803637e1df50efe23fc95d files/mogilefsd-conf.d-2.16 243 +AUX mogilefsd-init.d-2.16 574 RMD160 7ee5c074cea7f3abad78cb423474681e073d5aef SHA1 53ed2fb0adcf8ec5c20b09c4d53d2d6c3309e7bf SHA256 0eb18535713ccb23c79cc5c1a5a80e3203b640b40a55db38b000f95d4f8257d6 +MD5 a72deba01b4337fc3cfacbc85c4b5def files/mogilefsd-init.d-2.16 574 +RMD160 7ee5c074cea7f3abad78cb423474681e073d5aef files/mogilefsd-init.d-2.16 574 +SHA256 0eb18535713ccb23c79cc5c1a5a80e3203b640b40a55db38b000f95d4f8257d6 files/mogilefsd-init.d-2.16 574 +AUX mogilefsd.conf-2.16 725 RMD160 31c211342c162a6e4ae12bd691ca0fc80800e0ca SHA1 57af6f8394157be83b689cf2d3f3e1181e6c157b SHA256 b65b5de23c2d1f2d37ea0de51c1f6d24f2b0ec4b4389b2155f13c6466c1bcefd +MD5 7c266dc9eb7464e2eda052df42117027 files/mogilefsd.conf-2.16 725 +RMD160 31c211342c162a6e4ae12bd691ca0fc80800e0ca files/mogilefsd.conf-2.16 725 +SHA256 b65b5de23c2d1f2d37ea0de51c1f6d24f2b0ec4b4389b2155f13c6466c1bcefd files/mogilefsd.conf-2.16 725 +AUX mogstored-conf.d-2.16 262 RMD160 150f954df0caa5a6811305549585842899e3d37f SHA1 c093682ea8f14a1288b6adccd8b18ae74c3e1308 SHA256 bb457a80ea94ecea031f72459ead7c095c13634c4db06639a9532a7435dcc7dc +MD5 10e220e159b3a81e5c719a4c8a1f1e7f files/mogstored-conf.d-2.16 262 +RMD160 150f954df0caa5a6811305549585842899e3d37f files/mogstored-conf.d-2.16 262 +SHA256 bb457a80ea94ecea031f72459ead7c095c13634c4db06639a9532a7435dcc7dc files/mogstored-conf.d-2.16 262 +AUX mogstored-init.d-2.16 489 RMD160 84d779d4de768bd6275df423c039781c30c22728 SHA1 8427da63409087146776405ef78211cbd7a467b0 SHA256 4ff22d3b92b560a5a9b4d1a9d3c2caccb9cf72800764ee9c2b612a7125279ce5 +MD5 f01d9e42d35946d7c36f38d425b6f9f4 files/mogstored-init.d-2.16 489 +RMD160 84d779d4de768bd6275df423c039781c30c22728 files/mogstored-init.d-2.16 489 +SHA256 4ff22d3b92b560a5a9b4d1a9d3c2caccb9cf72800764ee9c2b612a7125279ce5 files/mogstored-init.d-2.16 489 +AUX mogstored.conf-2.16 533 RMD160 cd71a9c0dff8603bdf7202fe7e99eda0d420382b SHA1 4d38d398a1bd32b610cf2b7f139d39dcc1f894a9 SHA256 dab55055cc503ce98baa456be94e71666e51a0aae2ee890a7681f28e46115ea1 +MD5 d4038e1ff2f9ab8ad6054cf74bf010af files/mogstored.conf-2.16 533 +RMD160 cd71a9c0dff8603bdf7202fe7e99eda0d420382b files/mogstored.conf-2.16 533 +SHA256 dab55055cc503ce98baa456be94e71666e51a0aae2ee890a7681f28e46115ea1 files/mogstored.conf-2.16 533 +EBUILD mogilefs-server-2.999-r9999.ebuild 2192 RMD160 d6d68188be5928815919b05616e21e17bc2f2e89 SHA1 3ac6ffc98b71c42f3784db30029102660f72918b SHA256 654971465ace7b0138f14f2116e1dae3c237c63e83230c0dfbe43ee6be287878 +MD5 0d25a09e71b0b8de5777c8335011efd1 mogilefs-server-2.999-r9999.ebuild 2192 +RMD160 d6d68188be5928815919b05616e21e17bc2f2e89 mogilefs-server-2.999-r9999.ebuild 2192 +SHA256 654971465ace7b0138f14f2116e1dae3c237c63e83230c0dfbe43ee6be287878 mogilefs-server-2.999-r9999.ebuild 2192 +MISC ChangeLog 1013 RMD160 a26ccf5d5c3d423ac376d9b2779678ebaebbec5b SHA1 358e7dd86d02df3c2d4d095f716da62724104377 SHA256 3f96ab5afaa458ec54b4f9a2e84318a1dac285437dbe2ae87fe2850a375efa7c +MD5 b694a209c6a5c03e69f85d2aec655238 ChangeLog 1013 +RMD160 a26ccf5d5c3d423ac376d9b2779678ebaebbec5b ChangeLog 1013 +SHA256 3f96ab5afaa458ec54b4f9a2e84318a1dac285437dbe2ae87fe2850a375efa7c ChangeLog 1013 +MISC metadata.xml 271 RMD160 33d1e6d38b3ecde19f2a3a873476e4fc03fd0a41 SHA1 1b49b2ba691f42cbf4f86231769f560b7232453a SHA256 0670df6d1cf19fc80b5a9b574234d0d260f42c2c1889155d94922b0d63976ac2 +MD5 2df9d8023d665f58666b098375350645 metadata.xml 271 +RMD160 33d1e6d38b3ecde19f2a3a873476e4fc03fd0a41 metadata.xml 271 +SHA256 0670df6d1cf19fc80b5a9b574234d0d260f42c2c1889155d94922b0d63976ac2 metadata.xml 271 +MD5 d41d8cd98f00b204e9800998ecf8427e files/digest-mogilefs-server-2.999-r9999 0 +RMD160 9c1185a5c5e9fc54612808977ee8f548b2258d31 files/digest-mogilefs-server-2.999-r9999 0 +SHA256 e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 files/digest-mogilefs-server-2.999-r9999 0 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..871c430 --- /dev/null +++ b/dev-perl/mogilefs-server/files/mogilefsd-conf.d-2.16 @@ -0,0 +1,4 @@ +# $Header: /var/cvsroot/gentoo-x86/dev-perl/mogilefs-server/files/mogilefsd-conf.d-2.16,v 1.1 2007/05/16 11:11:17 robbat2 Exp $ +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.16 b/dev-perl/mogilefs-server/files/mogilefsd-init.d-2.16 new file mode 100644 index 0000000..6a36e7d --- /dev/null +++ b/dev-perl/mogilefs-server/files/mogilefsd-init.d-2.16 @@ -0,0 +1,28 @@ +#!/sbin/runscript +# $Header: /var/cvsroot/gentoo-x86/dev-perl/mogilefs-server/files/mogilefsd-init.d-2.16,v 1.1 2007/05/16 11:11:17 robbat2 Exp $ + +NAME="mogilefsd" +BINARY="/usr/bin/mogilefsd" +MOGILE_UID="mogile" +MOGILE_GID="mogile" + +depend() { + use net + after mysql +} + +start() { + 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.16 b/dev-perl/mogilefs-server/files/mogilefsd.conf-2.16 new file mode 100644 index 0000000..3c79f0e --- /dev/null +++ b/dev-perl/mogilefs-server/files/mogilefsd.conf-2.16 @@ -0,0 +1,35 @@ +# $Header: /var/cvsroot/gentoo-x86/dev-perl/mogilefs-server/files/mogilefsd.conf-2.16,v 1.1 2007/05/16 11:11:17 robbat2 Exp $ + +# 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 diff --git a/dev-perl/mogilefs-server/files/mogstored-conf.d-2.16 b/dev-perl/mogilefs-server/files/mogstored-conf.d-2.16 new file mode 100644 index 0000000..965a962 --- /dev/null +++ b/dev-perl/mogilefs-server/files/mogstored-conf.d-2.16 @@ -0,0 +1,5 @@ +# $Header: /var/cvsroot/gentoo-x86/dev-perl/mogilefs-server/files/mogstored-conf.d-2.16,v 1.1 2007/05/16 11:11:17 robbat2 Exp $ +#Pidfile not yet supported by upstream +#PIDFILE="/var/run/mogile/mogstored.pid" +MOGSTORED_OPTS="--daemonize" +# vim: ft=gentoo-conf-d: diff --git a/dev-perl/mogilefs-server/files/mogstored-init.d-2.16 b/dev-perl/mogilefs-server/files/mogstored-init.d-2.16 new file mode 100644 index 0000000..878cb6d --- /dev/null +++ b/dev-perl/mogilefs-server/files/mogstored-init.d-2.16 @@ -0,0 +1,26 @@ +#!/sbin/runscript +# $Header: /var/cvsroot/gentoo-x86/dev-perl/mogilefs-server/files/mogstored-init.d-2.16,v 1.1 2007/05/16 11:11:17 robbat2 Exp $ + +NAME="mogstored" +BINARY="/usr/bin/mogstored" + +depend() { + use net + after mysql mogilefsd +} + +start() { + ebegin "Starting $NAME" + start-stop-daemon --start --quiet \ + --exec ${BINARY} -- ${MOGSTORED_OPTS} + eend $? +} + +stop() { + ebegin "Stopping $NAME" + start-stop-daemon --stop --quiet \ + --exec ${BINARY} + 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..834391d --- /dev/null +++ b/dev-perl/mogilefs-server/files/mogstored.conf-2.16 @@ -0,0 +1,23 @@ +# $Header: /var/cvsroot/gentoo-x86/dev-perl/mogilefs-server/files/mogstored.conf-2.16,v 1.1 2007/05/16 11:11:17 robbat2 Exp $ + +# 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..8ac7a1c --- /dev/null +++ b/dev-perl/mogilefs-server/metadata.xml @@ -0,0 +1,9 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <herd>perl</herd> + <maintainer> + <email>robbat2@gentoo.org</email> + <description>Primary Maintainer</description> + </maintainer> +</pkgmetadata> diff --git a/dev-perl/mogilefs-server/mogilefs-server-2.999-r9999.ebuild b/dev-perl/mogilefs-server/mogilefs-server-2.999-r9999.ebuild new file mode 100644 index 0000000..c4377b0 --- /dev/null +++ b/dev-perl/mogilefs-server/mogilefs-server-2.999-r9999.ebuild @@ -0,0 +1,79 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-perl/mogilefs-server/mogilefs-server-2.16.ebuild,v 1.2 2007/05/16 11:11:57 robbat2 Exp $ + +inherit perl-module git + +EGIT_REPO_URI=git+ssh://root@172.16.9.6/code/danga/mogilefs +S="${WORKDIR}/server" + +DESCRIPTION="Server for the MogileFS distributed file system" +HOMEPAGE="http://www.danga.com/mogilefs/" +#SRC_URI="mirror://cpan/authors/id/B/BR/BRADFITZ/${P}.tar.gz" + +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 +DEPEND="dev-perl/Net-Netmask + >=dev-perl/Danga-Socket-1.57 + >=dev-perl/Sys-Syscall-0.22 + >=dev-perl/Perlbal-1.57 + dev-perl/IO-AIO + dev-perl/Gearman-Server + dev-perl/Gearman-Client-Async + dev-perl/libwww-perl + dev-perl/Cache-Memcached + mysql? ( dev-perl/DBD-mysql ) + sqlite? ( dev-perl/DBD-SQLite ) + postgres? ( dev-perl/DBD-Pg ) + dev-lang/perl" +mydoc="CHANGES TODO" + +# You need a local MySQL server for this +#SRC_TEST="do" + +MOGILE_USER="mogile" + +src_unpack() { + S="${WORKDIR}" git_src_unpack +} + +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_install() { + 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.16 mogilefsd + + newconfd ${FILESDIR}/mogstored-conf.d-2.16 mogstored + newinitd ${FILESDIR}/mogstored-init.d-2.16 mogstored + + diropts -m 700 -o ${MOGILE_USER} + keepdir /var/run/mogile + keepdir /var/mogdata + keepdir /mnt/mogilefs + diropts -m 755 -o root + + dodir /etc/mogilefs + insinto /etc/mogilefs + insopts -m 600 -o root -g ${MOGILE_USER} + newins ${FILESDIR}/mogilefsd.conf-2.16 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 +} |