* [gentoo-commits] gentoo-x86 commit in dev-perl/mogilefs-server: ChangeLog mogilefs-server-2.34.ebuild
@ 2009-12-08 21:41 Robin H. Johnson (robbat2)
0 siblings, 0 replies; only message in thread
From: Robin H. Johnson (robbat2) @ 2009-12-08 21:41 UTC (permalink / raw
To: gentoo-commits
robbat2 09/12/08 21:41:20
Modified: ChangeLog
Added: mogilefs-server-2.34.ebuild
Log:
Version bump.
(Portage version: 2.2_rc56/cvs/Linux x86_64)
Revision Changes Path
1.13 dev-perl/mogilefs-server/ChangeLog
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-perl/mogilefs-server/ChangeLog?rev=1.13&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-perl/mogilefs-server/ChangeLog?rev=1.13&content-type=text/plain
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-perl/mogilefs-server/ChangeLog?r1=1.12&r2=1.13
Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/dev-perl/mogilefs-server/ChangeLog,v
retrieving revision 1.12
retrieving revision 1.13
diff -p -w -b -B -u -u -r1.12 -r1.13
--- ChangeLog 29 Nov 2009 01:01:09 -0000 1.12
+++ ChangeLog 8 Dec 2009 21:41:20 -0000 1.13
@@ -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.12 2009/11/29 01:01:09 robbat2 Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-perl/mogilefs-server/ChangeLog,v 1.13 2009/12/08 21:41:20 robbat2 Exp $
+
+*mogilefs-server-2.34 (08 Dec 2009)
+
+ 08 Dec 2009; Robin H. Johnson <robbat2@gentoo.org>
+ +mogilefs-server-2.34.ebuild:
+ Version bump.
*mogilefs-server-2.33-r1 (29 Nov 2009)
1.1 dev-perl/mogilefs-server/mogilefs-server-2.34.ebuild
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-perl/mogilefs-server/mogilefs-server-2.34.ebuild?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-perl/mogilefs-server/mogilefs-server-2.34.ebuild?rev=1.1&content-type=text/plain
Index: mogilefs-server-2.34.ebuild
===================================================================
# Copyright 1999-2009 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.34.ebuild,v 1.1 2009/12/08 21:41:20 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.73
dev-perl/IO-AIO
dev-perl/libwww-perl
>=dev-perl/MogileFS-Client-1.09
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
}
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2009-12-08 21:41 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-12-08 21:41 [gentoo-commits] gentoo-x86 commit in dev-perl/mogilefs-server: ChangeLog mogilefs-server-2.34.ebuild Robin H. Johnson (robbat2)
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox