summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexys Jacob <ultrabug@gentoo.org>2012-07-02 13:51:07 +0000
committerAlexys Jacob <ultrabug@gentoo.org>2012-07-02 13:51:07 +0000
commitb3b65cfaa3db9f4a9ce316d1de96046d33f2c198 (patch)
tree0c1aea31c43a9ae18f305ed3ea46ff2766cc8cfb /sys-cluster/moosefs
parentUpdate license on firefox-13 to MPL-2.0 (diff)
downloadgentoo-2-b3b65cfaa3db9f4a9ce316d1de96046d33f2c198.tar.gz
gentoo-2-b3b65cfaa3db9f4a9ce316d1de96046d33f2c198.tar.bz2
gentoo-2-b3b65cfaa3db9f4a9ce316d1de96046d33f2c198.zip
version bump
(Portage version: 2.1.11.3/cvs/Linux x86_64)
Diffstat (limited to 'sys-cluster/moosefs')
-rw-r--r--sys-cluster/moosefs/ChangeLog9
-rw-r--r--sys-cluster/moosefs/moosefs-1.6.25.ebuild61
2 files changed, 68 insertions, 2 deletions
diff --git a/sys-cluster/moosefs/ChangeLog b/sys-cluster/moosefs/ChangeLog
index 36ac0caa1197..eedce5404250 100644
--- a/sys-cluster/moosefs/ChangeLog
+++ b/sys-cluster/moosefs/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for sys-cluster/moosefs
-# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-cluster/moosefs/ChangeLog,v 1.3 2011/08/02 08:47:31 ultrabug Exp $
+# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/sys-cluster/moosefs/ChangeLog,v 1.4 2012/07/02 13:51:07 ultrabug Exp $
+
+*moosefs-1.6.25 (02 Jul 2012)
+
+ 02 Jul 2012; Ultrabug <ultrabug@gentoo.org> +moosefs-1.6.25.ebuild:
+ version bump
*moosefs-1.6.20-r2 (02 Aug 2011)
diff --git a/sys-cluster/moosefs/moosefs-1.6.25.ebuild b/sys-cluster/moosefs/moosefs-1.6.25.ebuild
new file mode 100644
index 000000000000..adefb87c8068
--- /dev/null
+++ b/sys-cluster/moosefs/moosefs-1.6.25.ebuild
@@ -0,0 +1,61 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sys-cluster/moosefs/moosefs-1.6.25.ebuild,v 1.1 2012/07/02 13:51:07 ultrabug Exp $
+
+EAPI=4
+
+inherit eutils
+
+MY_P="mfs-${PV}"
+S="${WORKDIR}/${MY_P}"
+
+DESCRIPTION="A filesystem for highly reliable petabyte storage"
+HOMEPAGE="http://www.moosefs.org/"
+SRC_URI="http://www.moosefs.org/tl_files/mfscode/${MY_P}.tar.gz"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="cgi +fuse static-libs"
+
+RDEPEND="
+ cgi? ( dev-lang/python )
+ fuse? ( >=sys-fs/fuse-2.6 )"
+DEPEND="${RDEPEND}"
+
+pkg_setup() {
+ enewgroup mfs
+ enewuser mfs -1 -1 -1 mfs
+}
+
+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" mfs
+ newconfd "${FILESDIR}/mfs.confd" mfs
+ if use cgi; then
+ newinitd "${FILESDIR}/mfscgiserver.initd" mfscgiserver
+ newconfd "${FILESDIR}/mfscgiserver.confd" mfscgiserver
+ fi
+
+ chown -R mfs:mfs "${D}/var/lib/mfs" || die
+ chmod 750 "${D}/var/lib/mfs" || die
+}