Version bump via perl-bump experimental tool.
authorRobin H. Johnson <robbat2@gentoo.org>
Sat, 3 Apr 2010 00:00:29 +0000 (00:00 +0000)
committerRobin H. Johnson <robbat2@gentoo.org>
Sat, 3 Apr 2010 00:00:29 +0000 (00:00 +0000)
Package-Manager: portage-2.2_rc67/cvs/Linux x86_64

dev-perl/MogileFS-Client/ChangeLog
dev-perl/MogileFS-Client/MogileFS-Client-1.11.ebuild [new file with mode: 0644]
dev-perl/MogileFS-Utils/ChangeLog
dev-perl/MogileFS-Utils/MogileFS-Utils-2.16.ebuild [new file with mode: 0644]
dev-perl/mogilefs-server/ChangeLog
dev-perl/mogilefs-server/mogilefs-server-2.35.ebuild [new file with mode: 0644]

index 2165ddb9413329ecf6350aee46e4af578e519b19..06a1d45a8de37a440276d33765a595f2c573bd62 100644 (file)
@@ -1,6 +1,12 @@
 # ChangeLog for dev-perl/MogileFS-Client
-# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-perl/MogileFS-Client/ChangeLog,v 1.6 2009/12/18 03:23:19 robbat2 Exp $
+# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-perl/MogileFS-Client/ChangeLog,v 1.7 2010/04/02 23:57:32 robbat2 Exp $
+
+*MogileFS-Client-1.11 (02 Apr 2010)
+
+  02 Apr 2010; Robin H. Johnson <robbat2@gentoo.org>
+  +MogileFS-Client-1.11.ebuild:
+  Version bump via perl-bump experimental tool.
 
 *MogileFS-Client-1.10 (18 Dec 2009)
 
diff --git a/dev-perl/MogileFS-Client/MogileFS-Client-1.11.ebuild b/dev-perl/MogileFS-Client/MogileFS-Client-1.11.ebuild
new file mode 100644 (file)
index 0000000..36a2923
--- /dev/null
@@ -0,0 +1,22 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-perl/MogileFS-Client/MogileFS-Client-1.11.ebuild,v 1.1 2010/04/02 23:57:32 robbat2 Exp $
+
+MODULE_AUTHOR="DORMANDO"
+inherit perl-module
+
+DESCRIPTION="Client library for the MogileFS distributed file system"
+
+IUSE=""
+
+SLOT="0"
+LICENSE="|| ( Artistic GPL-2 )"
+KEYWORDS="~amd64 ~ppc ~x86"
+
+DEPEND=">=dev-perl/IO-stringy-2.110
+               dev-perl/libwww-perl
+               dev-lang/perl"
+
+# Tests only available if you have a local mogilefsd on 127.0.0.1:7001
+#SRC_TEST="do"
+mydoc="CHANGES TODO"
index 70e8ce6caeab156edb94d8e25ccc7288864dc3d0..6d29f24822086cf02ba894d8cddb86bb9b3ac5f5 100644 (file)
@@ -1,6 +1,12 @@
 # ChangeLog for dev-perl/MogileFS-Utils
-# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-perl/MogileFS-Utils/ChangeLog,v 1.11 2009/12/18 03:23:51 robbat2 Exp $
+# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-perl/MogileFS-Utils/ChangeLog,v 1.12 2010/04/02 23:58:38 robbat2 Exp $
+
+*MogileFS-Utils-2.16 (02 Apr 2010)
+
+  02 Apr 2010; Robin H. Johnson <robbat2@gentoo.org>
+  +MogileFS-Utils-2.16.ebuild:
+  Version bump via perl-bump experimental tool.
 
 *MogileFS-Utils-2.15 (18 Dec 2009)
 
diff --git a/dev-perl/MogileFS-Utils/MogileFS-Utils-2.16.ebuild b/dev-perl/MogileFS-Utils/MogileFS-Utils-2.16.ebuild
new file mode 100644 (file)
index 0000000..ad1abd1
--- /dev/null
@@ -0,0 +1,18 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-perl/MogileFS-Utils/MogileFS-Utils-2.16.ebuild,v 1.1 2010/04/02 23:58:38 robbat2 Exp $
+
+MODULE_AUTHOR="DORMANDO"
+inherit perl-module
+
+DESCRIPTION="Server for the MogileFS distributed file system"
+
+IUSE=""
+
+SLOT="0"
+LICENSE="|| ( Artistic GPL-2 )"
+KEYWORDS="~amd64 ~ppc ~x86"
+
+DEPEND="virtual/perl-IO-Compress
+               dev-perl/libwww-perl
+               >=dev-perl/MogileFS-Client-1.11"
index 6fe1f2622687178a251ff61778e7a5349f986a1a..a309c2a2ac2972848eeb939ae6eeb0ed9dae0658 100644 (file)
@@ -1,6 +1,12 @@
 # ChangeLog for dev-perl/mogilefs-server
-# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-perl/mogilefs-server/ChangeLog,v 1.13 2009/12/08 21:41:20 robbat2 Exp $
+# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-perl/mogilefs-server/ChangeLog,v 1.14 2010/04/03 00:00:29 robbat2 Exp $
+
+*mogilefs-server-2.35 (03 Apr 2010)
+
+  03 Apr 2010; Robin H. Johnson <robbat2@gentoo.org>
+  +mogilefs-server-2.35.ebuild:
+  Version bump via perl-bump experimental tool.
 
 *mogilefs-server-2.34 (08 Dec 2009)
 
diff --git a/dev-perl/mogilefs-server/mogilefs-server-2.35.ebuild b/dev-perl/mogilefs-server/mogilefs-server-2.35.ebuild
new file mode 100644 (file)
index 0000000..eae46d0
--- /dev/null
@@ -0,0 +1,95 @@
+# Copyright 1999-2010 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.35.ebuild,v 1.1 2010/04/03 00:00:29 robbat2 Exp $
+
+EAPI=2
+MODULE_AUTHOR="DORMANDO"
+inherit perl-module
+
+DESCRIPTION="Server for the MogileFS distributed file system"
+HOMEPAGE="http://www.danga.com/mogilefs/"
+
+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.61
+               >=dev-perl/Sys-Syscall-0.22
+               >=dev-perl/Perlbal-1.74
+               dev-perl/IO-AIO
+               dev-perl/libwww-perl
+               >=dev-perl/MogileFS-Client-1.11
+               >=dev-perl/MogileFS-Utils-2.16
+               dev-perl/Cache-Memcached
+               mysql? ( dev-perl/DBD-mysql )
+               postgres? ( dev-perl/DBD-Pg )
+               sqlite? ( dev-perl/DBD-SQLite )"
+mydoc="CHANGES TODO"
+
+# 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.16 mogilefsd
+
+       newconfd "${FILESDIR}"/mogstored-conf.d-2.30 mogstored
+       newinitd "${FILESDIR}"/mogstored-init.d-2.30 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.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
+}