diff options
author | Robin H. Johnson <robbat2@gentoo.org> | 2009-11-29 01:01:09 +0000 |
---|---|---|
committer | Robin H. Johnson <robbat2@gentoo.org> | 2009-11-29 01:01:09 +0000 |
commit | 72afdfba254fb6ab28082bcba153ff1700011458 (patch) | |
tree | d687693da3e89f02640bb969fe9aad2d05612b75 | |
parent | Initial addition. (diff) | |
download | historical-72afdfba254fb6ab28082bcba153ff1700011458.tar.gz historical-72afdfba254fb6ab28082bcba153ff1700011458.tar.bz2 historical-72afdfba254fb6ab28082bcba153ff1700011458.zip |
Clean up the install warnings.
Package-Manager: portage-2.2_rc51/cvs/Linux x86_64
-rw-r--r-- | dev-perl/mogilefs-server/ChangeLog | 8 | ||||
-rw-r--r-- | dev-perl/mogilefs-server/Manifest | 3 | ||||
-rw-r--r-- | dev-perl/mogilefs-server/mogilefs-server-2.33-r1.ebuild | 94 |
3 files changed, 103 insertions, 2 deletions
diff --git a/dev-perl/mogilefs-server/ChangeLog b/dev-perl/mogilefs-server/ChangeLog index f873e5bd64c8..be6df015e4ea 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-2009 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-perl/mogilefs-server/ChangeLog,v 1.11 2009/11/28 23:11:46 robbat2 Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-perl/mogilefs-server/ChangeLog,v 1.12 2009/11/29 01:01:09 robbat2 Exp $ + +*mogilefs-server-2.33-r1 (29 Nov 2009) + + 29 Nov 2009; Robin H. Johnson <robbat2@gentoo.org> + +mogilefs-server-2.33-r1.ebuild: + Clean up the install warnings. 28 Nov 2009; Robin H. Johnson <robbat2@gentoo.org> mogilefs-server-2.33.ebuild: diff --git a/dev-perl/mogilefs-server/Manifest b/dev-perl/mogilefs-server/Manifest index b0b0e954fca5..1bbcb4d05834 100644 --- a/dev-perl/mogilefs-server/Manifest +++ b/dev-perl/mogilefs-server/Manifest @@ -10,6 +10,7 @@ DIST mogilefs-server-2.32.tar.gz 295422 RMD160 eb0d44e9afcd25cb64b0388e39ae3e870 DIST mogilefs-server-2.33.tar.gz 268622 RMD160 9a27911e321dd43c4b367135d09e19b10531c600 SHA1 3112aca5a1e8111afe06eea2fe881515405e4342 SHA256 b51d54a2dd1338cc4feb2b9f412003d0bbaa30892b440fc17fcd30fb4b58ada5 EBUILD mogilefs-server-2.30.ebuild 2231 RMD160 5747a845de2ce2646d9f0df49012156db0c1f814 SHA1 2aec6ff026641c89b5b6cbc56903fe968cd13c18 SHA256 01fc79adc33fa98d3884e393b6fc620f1526b08c27b7a86a2b0184ffdb483f6f EBUILD mogilefs-server-2.32.ebuild 2457 RMD160 f7d5c315727a7938f4e331df4e3baf274bec9df2 SHA1 e79196d72a3cbb8c35a634877babad71360b5313 SHA256 4c9104a5bcfc79492e4c711376f0413fa5069b22c793ed189a4c252b12ae1723 +EBUILD mogilefs-server-2.33-r1.ebuild 2587 RMD160 86217f1696a277d8ad85c81b249abdc9105aa306 SHA1 ab6d90c52bbef9bfb7e2b6367eab03da51d8a8a3 SHA256 b29643a5e3dbe3d53e892ca4c5d40af4e0ffd3219de7af04df7b48a4d3eb1831 EBUILD mogilefs-server-2.33.ebuild 2392 RMD160 c91869406239f4ebd3e0d626aeb3de9f927e56bb SHA1 38a2d94b0efb9fceaac3f9a269e4cb39f19782c5 SHA256 4864de652ebc84192cac8370289d9523d6e5fd27e068e1a480f54fc8c6d7043c -MISC ChangeLog 2683 RMD160 ad7a40b54bbff2cb28a700f169fe7a8c6bdd7398 SHA1 5d1176d27571fa84486d7cdb1ed4b8e0fbc50098 SHA256 8e9544b635aa0d3bad99e81000ec9a767d8c3aa89f36909f193469a6b041d395 +MISC ChangeLog 2845 RMD160 79babe0f11c455d3cc8944cf672b4f655268eadb SHA1 0b271f2ed0b139df4ef366c7faedcbedbfdb7293 SHA256 c00689dd0b153352ca0eebeff4845f2921487123bb881eb7d3bbc44b07f73cba MISC metadata.xml 271 RMD160 33d1e6d38b3ecde19f2a3a873476e4fc03fd0a41 SHA1 1b49b2ba691f42cbf4f86231769f560b7232453a SHA256 0670df6d1cf19fc80b5a9b574234d0d260f42c2c1889155d94922b0d63976ac2 diff --git a/dev-perl/mogilefs-server/mogilefs-server-2.33-r1.ebuild b/dev-perl/mogilefs-server/mogilefs-server-2.33-r1.ebuild new file mode 100644 index 000000000000..2bfb163b764c --- /dev/null +++ b/dev-perl/mogilefs-server/mogilefs-server-2.33-r1.ebuild @@ -0,0 +1,94 @@ +# 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.33-r1.ebuild,v 1.1 2009/11/29 01:01:09 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 +} |