diff options
author | Robin H. Johnson <robbat2@gentoo.org> | 2012-02-01 18:11:26 +0000 |
---|---|---|
committer | Robin H. Johnson <robbat2@gentoo.org> | 2012-02-01 18:11:26 +0000 |
commit | ba8daa8df7f69a9f94f3c4854b994ca7ecb0b5e2 (patch) | |
tree | b30703133329fca020b1ac08789742b4371e823d /dev-perl | |
parent | readd x11-misc/ktsuss as a dependency (diff) | |
download | historical-ba8daa8df7f69a9f94f3c4854b994ca7ecb0b5e2.tar.gz historical-ba8daa8df7f69a9f94f3c4854b994ca7ecb0b5e2.tar.bz2 historical-ba8daa8df7f69a9f94f3c4854b994ca7ecb0b5e2.zip |
Version bump.
Package-Manager: portage-2.2.0_alpha84/cvs/Linux x86_64
Diffstat (limited to 'dev-perl')
-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.570.0.ebuild | 99 |
3 files changed, 109 insertions, 2 deletions
diff --git a/dev-perl/mogilefs-server/ChangeLog b/dev-perl/mogilefs-server/ChangeLog index d25438826885..dc1de4276636 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-2012 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-perl/mogilefs-server/ChangeLog,v 1.28 2012/01/28 05:09:34 robbat2 Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-perl/mogilefs-server/ChangeLog,v 1.29 2012/02/01 18:11:26 robbat2 Exp $ + +*mogilefs-server-2.570.0 (01 Feb 2012) + + 01 Feb 2012; Robin H. Johnson <robbat2@gentoo.org> + +mogilefs-server-2.570.0.ebuild: + Version bump. *mogilefs-server-2.560.0 (28 Jan 2012) diff --git a/dev-perl/mogilefs-server/Manifest b/dev-perl/mogilefs-server/Manifest index 8bc0f3998785..e1fe70f9bcaf 100644 --- a/dev-perl/mogilefs-server/Manifest +++ b/dev-perl/mogilefs-server/Manifest @@ -14,6 +14,7 @@ DIST MogileFS-Server-2.53.tar.gz 277664 RMD160 ae0ce3b1637996c3b5742f4ead390e82b DIST MogileFS-Server-2.54.tar.gz 278578 RMD160 59de5f1c9142b7c01a3f2c662c1eeacf82bf94ea SHA1 1219d845de6bd8bd608f26ee97d761b4bab9afeb SHA256 1ba639d82da72390576f4c13d64bd9843fd2ddbd09e2275a5c670ba97e392e33 DIST MogileFS-Server-2.55.tar.gz 278915 RMD160 7a5c95b5adc59b9c7bf4550ce135bec1425ed53e SHA1 f916538496e71c085c93a418d858fe148e2db8ab SHA256 479e4b36f0ca1aa54a3ab482ee89c34a65d3323575929e287d1b21c531b1715c DIST MogileFS-Server-2.56.tar.gz 153506 RMD160 9951d3733feb5a11072cfc6d1b6d906f9e5a4c75 SHA1 27bcfcacaf04a1d97e732427367f74b421b16c52 SHA256 58044213f7ee06eaf20e312f085190f89e57fbe57928df1190f661b3c58bb3fe +DIST MogileFS-Server-2.57.tar.gz 153876 RMD160 3089f0f8930bf37cd4f09b68ffb6333cfb871478 SHA1 e6838df81b769664488f088fb02a6f239272e649 SHA256 318c5ceece6465fef43613310ab3c84914bea528c58a667ccad01fa31a56bfe5 DIST mogilefs-server-2.37.tar.gz 267909 RMD160 a6e25bb945770bb6a1d395620a277b7798c77b39 SHA1 d4b0f4177e6401bab6676725edaad66baea47d3a SHA256 1fcac070057c54599b99c2836b5ff157fd8433a1315363949b2f0d601c114ca6 EBUILD mogilefs-server-2.37.ebuild 2686 RMD160 4d7129af3fb33a0aa8362b27c490736108b25ea7 SHA1 1fa668c4b2b52958492c50ea23091cda2c734432 SHA256 f184080b4b433590b3fffaaa5b37fe1cb629b35d157052372ccb66f22ec1c1ec EBUILD mogilefs-server-2.43.ebuild 2709 RMD160 0e02be05a2fabe0111d899e724104437f8719fb8 SHA1 67f41a7fe424a6723f3d562883c2e97ff1fda5c8 SHA256 e1abfe48dd02d52aac33cfbe55ba16143825a955080c6e5536ab6ca1b7fb141d @@ -25,5 +26,6 @@ EBUILD mogilefs-server-2.530.0.ebuild 2715 RMD160 2d40db1f561afab4a00078fb2bb6d1 EBUILD mogilefs-server-2.540.0.ebuild 2715 RMD160 a061f6eb60e8076e149f7587476352e052237a75 SHA1 25f20e3e8e7f81c9f690dffd8913d841f154e4f5 SHA256 6f00a89077898fbbc7428e791f4bd4f1e83080b9c4aaf7a916c03899a4474766 EBUILD mogilefs-server-2.550.0.ebuild 2720 RMD160 9660a3eb860438dedec8cc10c3e13eaa025fdab0 SHA1 9453734b2b67c22b4710d688474005d333c197df SHA256 455aab4e2450c2bacb5600dab94cc4f309c7dd21e3315487821b6c5771cb3d69 EBUILD mogilefs-server-2.560.0.ebuild 2719 RMD160 d9ce35667422a3956679f1b3abd070b571376fff SHA1 0551f5f9334e2442c201942a21fbaf4dc7a525de SHA256 fb2d0a08948e91e52d6649f06516dd3303387ff3d17cbbc6367ec83b1de72587 -MISC ChangeLog 6180 RMD160 36da3f9663378a050dedebd33fb91c1095d63bbf SHA1 24d2b83c3c8a0e020bfd8d41b30c15c39fca2d8f SHA256 e161f4a676abf9392cc47cc847f89ce04febcfb234755e499ad397b1037d9823 +EBUILD mogilefs-server-2.570.0.ebuild 2719 RMD160 85f08509dc3e890bb36f159eaac60e9661b6e9ec SHA1 29478b09eef211b47f89a531242b1f8c2a6303f2 SHA256 3d71e14ed55eb906d0e651b2f75eb14ee8f42822f4291eb88279a0217d59a469 +MISC ChangeLog 6325 RMD160 81501c5e0ad0f78ec4c93ed0432ca899d615ef6a SHA1 b2551e67c3896f115c428ec505d5a24541663a3d SHA256 8c24ada6fd8cf34233eed5d3c2a72b7531fe16175567de7945022d275a7bb12d MISC metadata.xml 360 RMD160 568953ab03aca03d45b075964d64bc3e7f84ce11 SHA1 594ff363b874c45ddfe14d7cf2622cd673542fbd SHA256 1432299bb530a599be0ba29834970720d0baec31e47b06a2ded155253f5f0603 diff --git a/dev-perl/mogilefs-server/mogilefs-server-2.570.0.ebuild b/dev-perl/mogilefs-server/mogilefs-server-2.570.0.ebuild new file mode 100644 index 000000000000..93c99337a06e --- /dev/null +++ b/dev-perl/mogilefs-server/mogilefs-server-2.570.0.ebuild @@ -0,0 +1,99 @@ +# Copyright 1999-2012 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.570.0.ebuild,v 1.1 2012/02/01 18:11:26 robbat2 Exp $ + +EAPI=4 + +MY_PN=MogileFS-Server +MODULE_AUTHOR=DORMANDO +MODULE_VERSION=${PV:0:4} +inherit perl-module + +DESCRIPTION="Server for the MogileFS distributed file system" +HOMEPAGE="http://www.danga.com/mogilefs/ ${HOMEPAGE}" + +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}" + +# 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 + 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 +} |