summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin H. Johnson <robbat2@gentoo.org>2007-10-27 01:16:03 +0000
committerRobin H. Johnson <robbat2@gentoo.org>2007-10-27 01:16:03 +0000
commit7a57bd6d45ef7c2c8f30411bf302400ae443b5b1 (patch)
tree616aef59e048a1bd9b8f1926866c09fa193fbbd6 /dev-perl/mogilefs-server
parentVersion bump. (diff)
downloadgentoo-2-7a57bd6d45ef7c2c8f30411bf302400ae443b5b1.tar.gz
gentoo-2-7a57bd6d45ef7c2c8f30411bf302400ae443b5b1.tar.bz2
gentoo-2-7a57bd6d45ef7c2c8f30411bf302400ae443b5b1.zip
Version bump.
(Portage version: 2.1.3.16)
Diffstat (limited to 'dev-perl/mogilefs-server')
-rw-r--r--dev-perl/mogilefs-server/ChangeLog8
-rw-r--r--dev-perl/mogilefs-server/files/digest-mogilefs-server-2.173
-rw-r--r--dev-perl/mogilefs-server/mogilefs-server-2.17.ebuild74
3 files changed, 84 insertions, 1 deletions
diff --git a/dev-perl/mogilefs-server/ChangeLog b/dev-perl/mogilefs-server/ChangeLog
index 9ec451118328..a87649a11454 100644
--- a/dev-perl/mogilefs-server/ChangeLog
+++ b/dev-perl/mogilefs-server/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for dev-perl/mogilefs-server
# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-perl/mogilefs-server/ChangeLog,v 1.3 2007/05/16 11:11:17 robbat2 Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-perl/mogilefs-server/ChangeLog,v 1.4 2007/10/27 01:16:02 robbat2 Exp $
+
+*mogilefs-server-2.17 (27 Oct 2007)
+
+ 27 Oct 2007; Robin H. Johnson <robbat2@gentoo.org>
+ +mogilefs-server-2.17.ebuild:
+ Version bump.
*mogilefs-server-2.16 (16 May 2007)
diff --git a/dev-perl/mogilefs-server/files/digest-mogilefs-server-2.17 b/dev-perl/mogilefs-server/files/digest-mogilefs-server-2.17
new file mode 100644
index 000000000000..e50e5d6d2873
--- /dev/null
+++ b/dev-perl/mogilefs-server/files/digest-mogilefs-server-2.17
@@ -0,0 +1,3 @@
+MD5 96814eb32b258557a1beea73d2ff4647 mogilefs-server-2.17.tar.gz 127923
+RMD160 14f439e4358f9945e49e010256875f3a32c3e978 mogilefs-server-2.17.tar.gz 127923
+SHA256 05ce0dcd8973dee68f9cf28e9111fa639a62eaea8836099717381de237ff0aee mogilefs-server-2.17.tar.gz 127923
diff --git a/dev-perl/mogilefs-server/mogilefs-server-2.17.ebuild b/dev-perl/mogilefs-server/mogilefs-server-2.17.ebuild
new file mode 100644
index 000000000000..0648e3847ab8
--- /dev/null
+++ b/dev-perl/mogilefs-server/mogilefs-server-2.17.ebuild
@@ -0,0 +1,74 @@
+# 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.17.ebuild,v 1.1 2007/10/27 01:16:02 robbat2 Exp $
+
+MODULE_AUTHOR="BRADFITZ"
+inherit perl-module
+
+DESCRIPTION="Server for the MogileFS distributed file system"
+HOMEPAGE="http://www.danga.com/mogilefs/"
+
+IUSE="mysql sqlite"
+
+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 )
+ dev-lang/perl"
+mydoc="CHANGES TODO"
+
+# You need a local MySQL server for this
+#SRC_TEST="do"
+
+# Merged upstream
+#PATCHES="${FILESDIR}/${PN}-2.16-Use-saner-name-in-process-listing.patch"
+
+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_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
+}