diff options
author | Robin H. Johnson <robbat2@gentoo.org> | 2010-10-29 03:34:52 +0000 |
---|---|---|
committer | Robin H. Johnson <robbat2@gentoo.org> | 2010-10-29 03:34:52 +0000 |
commit | 88b0c7515a3ea53308c6f2ab06c82363565ac0b1 (patch) | |
tree | 7bbe810ae98a1c298ca35219a82e16c3644335ec /dev-perl | |
parent | Stable for HPPA (bug #342431). (diff) | |
download | historical-88b0c7515a3ea53308c6f2ab06c82363565ac0b1.tar.gz historical-88b0c7515a3ea53308c6f2ab06c82363565ac0b1.tar.bz2 historical-88b0c7515a3ea53308c6f2ab06c82363565ac0b1.zip |
Version bump via perl-bump experimental tool.
Package-Manager: portage-2.2.0_alpha1/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.43.ebuild | 100 |
3 files changed, 110 insertions, 2 deletions
diff --git a/dev-perl/mogilefs-server/ChangeLog b/dev-perl/mogilefs-server/ChangeLog index 69468ea41912..129875ea6f90 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-2010 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-perl/mogilefs-server/ChangeLog,v 1.17 2010/10/29 03:28:45 robbat2 Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-perl/mogilefs-server/ChangeLog,v 1.18 2010/10/29 03:34:52 robbat2 Exp $ + +*mogilefs-server-2.43 (29 Oct 2010) + + 29 Oct 2010; Robin H. Johnson <robbat2@gentoo.org> + +mogilefs-server-2.43.ebuild: + Version bump via perl-bump experimental tool. 29 Oct 2010; Robin H. Johnson <robbat2@gentoo.org> -mogilefs-server-2.30.ebuild, diff --git a/dev-perl/mogilefs-server/Manifest b/dev-perl/mogilefs-server/Manifest index d57dfc322a29..80fa19f93b5b 100644 --- a/dev-perl/mogilefs-server/Manifest +++ b/dev-perl/mogilefs-server/Manifest @@ -4,7 +4,9 @@ AUX mogilefsd.conf-2.30 754 RMD160 7354099a80998906b764f0f44a6939a7939d9337 SHA1 AUX mogstored-conf.d-2.30 222 RMD160 044a8b3b32a9fe565d40439cf535ba0c6e1bd97f SHA1 c58c8fa019f89898a56dc9e2e969b419295ef084 SHA256 5e2c0feab38ea178d065210478c76c82fa3e21e61dd69543acd529828fd945e0 AUX mogstored-init.d-2.30 511 RMD160 bb5d935656054795d502e92b3be3d547400e5e28 SHA1 f89a5d86057ff64150521f0c898b546a19c70d10 SHA256 258dabda95cdff8a96a096a60207a6ab18219d701c362a24c2c1a352f9ca98e1 AUX mogstored.conf-2.16 533 RMD160 cd71a9c0dff8603bdf7202fe7e99eda0d420382b SHA1 4d38d398a1bd32b610cf2b7f139d39dcc1f894a9 SHA256 dab55055cc503ce98baa456be94e71666e51a0aae2ee890a7681f28e46115ea1 +DIST MogileFS-Server-2.43.tar.gz 271957 RMD160 8972dbf672ab5d771310986f4d9a09f08a4089f8 SHA1 e61a735334811aed8de6a76baf442c7df34ef328 SHA256 8bbe01b9b640b5ff18a470f27744a80d2dc6e32e6d9da9ece1ae90762af195c6 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 -MISC ChangeLog 3927 RMD160 4f0e64db8e562cc40dc79dcab45bc284bdb5b603 SHA1 215efe5a0e03487adc60aae625c20f303b76d399 SHA256 d1bfa04725289979afa64b34366956619116b64b88bef7e5308107ecf47ca764 +EBUILD mogilefs-server-2.43.ebuild 2731 RMD160 28b10483cb2b8a84be65126b2b8ceecea0675d77 SHA1 c578412b63b5bd2d940174a758f90cb56da733d7 SHA256 eec898a602986da75daf227f3f3c24715e60f0bf2a1496626b2acff1bd1baa91 +MISC ChangeLog 4098 RMD160 6c9a546377b4085a531b4a19e058da890ab1112c SHA1 d5d0a99ea60988e2643420143d39aed4cca58c1c SHA256 9559e094ea1ae294622382c4f2dcf4ce6421b7a0cd7f4c7acd5eeeaf20f81e1d MISC metadata.xml 360 RMD160 568953ab03aca03d45b075964d64bc3e7f84ce11 SHA1 594ff363b874c45ddfe14d7cf2622cd673542fbd SHA256 1432299bb530a599be0ba29834970720d0baec31e47b06a2ded155253f5f0603 diff --git a/dev-perl/mogilefs-server/mogilefs-server-2.43.ebuild b/dev-perl/mogilefs-server/mogilefs-server-2.43.ebuild new file mode 100644 index 000000000000..16b1b6cf7511 --- /dev/null +++ b/dev-perl/mogilefs-server/mogilefs-server-2.43.ebuild @@ -0,0 +1,100 @@ +# 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.43.ebuild,v 1.1 2010/10/29 03:34:52 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.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 )" +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.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 +} |