diff options
author | Robin H. Johnson <robbat2@gentoo.org> | 2011-08-12 19:43:22 +0000 |
---|---|---|
committer | Robin H. Johnson <robbat2@gentoo.org> | 2011-08-12 19:43:22 +0000 |
commit | 481468d6b4efa2632514000c991896540a7fdfc9 (patch) | |
tree | 70f5a1af096cfa8bb0312090df20e319c853f22e /dev-perl/mogilefs-server | |
parent | Fix unaligned access on alpha (bug #371561 by Tobias Klausmann). Thanks to An... (diff) | |
download | historical-481468d6b4efa2632514000c991896540a7fdfc9.tar.gz historical-481468d6b4efa2632514000c991896540a7fdfc9.tar.bz2 historical-481468d6b4efa2632514000c991896540a7fdfc9.zip |
Version bump. Contains a critical fix for any users of 2.50-2.52.
Package-Manager: portage-2.2.0_alpha50/cvs/Linux x86_64
Diffstat (limited to 'dev-perl/mogilefs-server')
-rw-r--r-- | dev-perl/mogilefs-server/ChangeLog | 8 | ||||
-rw-r--r-- | dev-perl/mogilefs-server/Manifest | 4 | ||||
-rw-r--r-- | dev-perl/mogilefs-server/mogilefs-server-2.53.ebuild | 102 |
3 files changed, 112 insertions, 2 deletions
diff --git a/dev-perl/mogilefs-server/ChangeLog b/dev-perl/mogilefs-server/ChangeLog index 1bb14c1d8a4d..74bb7408e45c 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-2011 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-perl/mogilefs-server/ChangeLog,v 1.22 2011/06/27 19:28:19 robbat2 Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-perl/mogilefs-server/ChangeLog,v 1.23 2011/08/12 19:43:22 robbat2 Exp $ + +*mogilefs-server-2.53 (12 Aug 2011) + + 12 Aug 2011; Robin H. Johnson <robbat2@gentoo.org> + +mogilefs-server-2.53.ebuild: + Version bump. Contains a critical fix for any users of 2.50-2.52. *mogilefs-server-2.51 (27 Jun 2011) diff --git a/dev-perl/mogilefs-server/Manifest b/dev-perl/mogilefs-server/Manifest index 3c6d26eff2cf..b7853f2ffbe4 100644 --- a/dev-perl/mogilefs-server/Manifest +++ b/dev-perl/mogilefs-server/Manifest @@ -10,11 +10,13 @@ DIST MogileFS-Server-2.43.tar.gz 271957 RMD160 8972dbf672ab5d771310986f4d9a09f08 DIST MogileFS-Server-2.46.tar.gz 277119 RMD160 566ce2e806a7dd23b7400be1319bd6149621fda8 SHA1 07cf7f163bd8913c8e6eb06366cfe118fa96b324 SHA256 56c249f6779f3ae81e0878c9cb33c252ca8ec4596066d96885a15abb520b5fc0 DIST MogileFS-Server-2.50.tar.gz 278807 RMD160 864950ff82ee3c650192c15314a7789443097a0f SHA1 140cb2d1a82d9aaf216c08d2dff25f2fed6047dd SHA256 5ee60f015f9193189bcbbc311305918695a96ca24a6c49838fdaa95773eeccc2 DIST MogileFS-Server-2.51.tar.gz 279038 RMD160 657d2b4c1f9c5491a2c488ed875b5f4475b970d1 SHA1 c0f3dd91f057fb8987b7f95557528b96de3b4375 SHA256 8b02b5cd6760495c00bacd09bba77223d92a32bfa03d3e3db7c097ed623a844a +DIST MogileFS-Server-2.53.tar.gz 277664 RMD160 ae0ce3b1637996c3b5742f4ead390e82be87f00c SHA1 b8f5be66b7ad6f047ac5771884ee5f44fa76092e SHA256 e2e451efe4bad5cca4e0715883198bfcff0a1bec0655248bcadba50ff3722c21 DIST mogilefs-server-2.37.tar.gz 267909 RMD160 a6e25bb945770bb6a1d395620a277b7798c77b39 SHA1 d4b0f4177e6401bab6676725edaad66baea47d3a SHA256 1fcac070057c54599b99c2836b5ff157fd8433a1315363949b2f0d601c114ca6 EBUILD mogilefs-server-2.37.ebuild 2708 RMD160 25f689220426676e78c7ee9add40f02987bc24a2 SHA1 0be52bf9c5f8f51084b69d4a17e65ed5e585747c SHA256 d2db0335e9e82768268267b7d8f0189fb616c1b14da1a7fd2d2c1a075b1a1fd1 EBUILD mogilefs-server-2.43.ebuild 2731 RMD160 28b10483cb2b8a84be65126b2b8ceecea0675d77 SHA1 c578412b63b5bd2d940174a758f90cb56da733d7 SHA256 eec898a602986da75daf227f3f3c24715e60f0bf2a1496626b2acff1bd1baa91 EBUILD mogilefs-server-2.46.ebuild 2731 RMD160 95f6395bb49091de7bcc2838f39abd744643ee4f SHA1 61105f25e83b62a1828e4e16fc44d7b4a9dc5432 SHA256 82234d68cce126eef3bb0fba9c570b5c6505a2d0d759d56c98ab4244475a247a EBUILD mogilefs-server-2.50.ebuild 2795 RMD160 c06ea29f2632f4f3d9fe77b5a1bd15caae8b36af SHA1 855904727997e7e8c6c7da5551ae2e1e8671a79b SHA256 6068761328e443cd45f46ff609cda55d114c2a1d9f77843714a008d0685dbd7c EBUILD mogilefs-server-2.51.ebuild 2795 RMD160 b833df8ad7220af1868936a60a0a964e343940da SHA1 c22a469cd936bf12d36cbe8580124b3e29037361 SHA256 09ab2a6b282baae6ec46d2543645283676ffa9fc8bfd63c50aa9880ea7d01f01 -MISC ChangeLog 4771 RMD160 ce01e908f5e4a99fadae997f10f20add754853a7 SHA1 913f6c1fe98fb614fcdb1fc272cc6742e15af01d SHA256 0dae9b29016b3c3947c229fa073ce198097730fd2e6cc376c52ee3e38037b5a1 +EBUILD mogilefs-server-2.53.ebuild 2795 RMD160 fe03f1a353f23c5809e98b6352dadee4ffe2f32f SHA1 12cd3fc15716749373920b4a96ebe14117f496ba SHA256 3e18102dc2038ffcc2f69d9698254a694cc215633ac95a2423c6cc3359f66bf6 +MISC ChangeLog 4962 RMD160 df64fbc058190d018560410190298ca013f25f0e SHA1 102d780f75086c88b3338cbcf02519f58ada38b1 SHA256 389ba915ee4dd48c55c465ede9a071d80bb345e799111c797e888aba47e804b8 MISC metadata.xml 360 RMD160 568953ab03aca03d45b075964d64bc3e7f84ce11 SHA1 594ff363b874c45ddfe14d7cf2622cd673542fbd SHA256 1432299bb530a599be0ba29834970720d0baec31e47b06a2ded155253f5f0603 diff --git a/dev-perl/mogilefs-server/mogilefs-server-2.53.ebuild b/dev-perl/mogilefs-server/mogilefs-server-2.53.ebuild new file mode 100644 index 000000000000..93e63604e452 --- /dev/null +++ b/dev-perl/mogilefs-server/mogilefs-server-2.53.ebuild @@ -0,0 +1,102 @@ +# Copyright 1999-2011 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.53.ebuild,v 1.1 2011/08/12 19:43:22 robbat2 Exp $ + +EAPI=2 +MODULE_AUTHOR="DORMANDO" +MY_PN=MogileFS-Server +MY_P="${MY_PN}-${PV}" +MODULE_A="${MY_P}.tar.gz" +S="${WORKDIR}/${MY_P}" +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 +RDEPEND="dev-perl/Net-Netmask + >=dev-perl/Danga-Socket-1.61 + >=dev-perl/Sys-Syscall-0.22 + >=dev-perl/Perlbal-1.790 + dev-perl/IO-AIO + dev-perl/libwww-perl + >=dev-perl/MogileFS-Client-1.14 + >=dev-perl/MogileFS-Utils-2.20 + dev-perl/Cache-Memcached + mysql? ( dev-perl/DBD-mysql ) + postgres? ( dev-perl/DBD-Pg ) + sqlite? ( dev-perl/DBD-SQLite )" +DEPEND="${RDEPEND}" +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.50 mogstored + + newinitd "${FILESDIR}"/mogautomount-init.d-2.50 mogautomount + + 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 +} |