diff options
author | Robin H. Johnson <robbat2@gentoo.org> | 2012-05-19 18:36:13 +0000 |
---|---|---|
committer | Robin H. Johnson <robbat2@gentoo.org> | 2012-05-19 18:36:13 +0000 |
commit | 62c1c29569cbd349f85f12abaeb4217254ece955 (patch) | |
tree | 3de11cc02d348bde741080693bdbaf5e277665c5 /dev-perl/mogilefs-server | |
parent | Make libpostproc optional. Again thanks to Nikoli. (diff) | |
download | historical-62c1c29569cbd349f85f12abaeb4217254ece955.tar.gz historical-62c1c29569cbd349f85f12abaeb4217254ece955.tar.bz2 historical-62c1c29569cbd349f85f12abaeb4217254ece955.zip |
Version bump.
Package-Manager: portage-2.2.0_alpha107/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.610.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 9fb6b97cbbaf..bbd52e0a93b9 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.34 2012/04/21 02:29:20 robbat2 Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-perl/mogilefs-server/ChangeLog,v 1.35 2012/05/19 18:36:13 robbat2 Exp $ + +*mogilefs-server-2.610.0 (19 May 2012) + + 19 May 2012; Robin H. Johnson <robbat2@gentoo.org> + +mogilefs-server-2.610.0.ebuild: + Version bump. 21 Apr 2012; Robin H. Johnson <robbat2@gentoo.org> mogilefs-server-2.600.0.ebuild: diff --git a/dev-perl/mogilefs-server/Manifest b/dev-perl/mogilefs-server/Manifest index 7320457ca93d..014734e99ae9 100644 --- a/dev-perl/mogilefs-server/Manifest +++ b/dev-perl/mogilefs-server/Manifest @@ -18,6 +18,7 @@ DIST MogileFS-Server-2.57.tar.gz 153876 RMD160 3089f0f8930bf37cd4f09b68ffb6333cf DIST MogileFS-Server-2.58.tar.gz 155061 RMD160 a46aa3353bc2fda92acfc471f6a7888b204f1b80 SHA1 4b0466d62d945950da2afe81e65385f0ce09cedc SHA256 e93f25bda03fbe8ac57b62a2d60f9f478387343f584c85453e658dcb348460c6 DIST MogileFS-Server-2.59.tar.gz 155095 RMD160 69f81853542361991ffaf5e9c4b79926eba054d1 SHA1 048cb1accb1889b7b81e0922c7031020286a5ca7 SHA256 edd64d6d5dbb645848bab7c6bdf37fd45f6fd11268560bc8eb5a8bf186848e04 DIST MogileFS-Server-2.60.tar.gz 166840 RMD160 8194f2e652a6348c49f11ae5f684baae92404840 SHA1 c9223ebd12779eba483fdf84b0f029703a6a82df SHA256 430b47ff0152f225c3af867910afa60516472d740f9b44f6e0c36a8a919238e2 +DIST MogileFS-Server-2.61.tar.gz 173555 RMD160 9e762a23b0614219a269c0ffbe6f5d5a40217a2c SHA1 cf0b17191e4ea1fc858dbc943a0e47a0a5407d34 SHA256 c3a92c7b1006ce5e0b41875b716ea0049585360195abc61125d2756ddfaaf8e6 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 @@ -33,5 +34,6 @@ EBUILD mogilefs-server-2.570.0.ebuild 2719 RMD160 85f08509dc3e890bb36f159eaac60e EBUILD mogilefs-server-2.580.0.ebuild 2719 RMD160 f66226529eedaac6e0884cfaf4acdac7ea5f9133 SHA1 389354c660eef8dd0c49d962b48b0e2ab67b6439 SHA256 ba96a0c3e06e551a9f722afe8ba83bbcab50daafa68bb67da208fe8f73f732d7 EBUILD mogilefs-server-2.590.0.ebuild 2719 RMD160 983c92dbf0396f0c0bb53b912c6aad070dd71d03 SHA1 11fafcc102d687cb67014f8067824e8c21d1e4e7 SHA256 6f0d95d57462466119f2be81399aff165fa0947b196925e0832a5f709aa580a1 EBUILD mogilefs-server-2.600.0.ebuild 2723 RMD160 4a5c0ef4f9b4ac0b17b6e9823b2dbd0ce6fd38c6 SHA1 013579efe39fe438ffad00b185d46c030592e986 SHA256 e1032484d1969c7276108958466fadf74501c97dea95b71f33c6225690112371 -MISC ChangeLog 7023 RMD160 4919660069fccc0fbaa4af799f766f703cb24cfc SHA1 07d98d3ce2e1f8a5cbd6d58ae631d87f7028f1ee SHA256 c2d4ee589d508d23442511e9b9dc29bf02f5de3c9b454e2bdb2b2797ad0a7ac4 +EBUILD mogilefs-server-2.610.0.ebuild 2723 RMD160 a0b8de2e97953569ebca0519614be14dab0b035f SHA1 93267b77e57612def8ce66a2e326a2e01e79cedd SHA256 806d70bb7158454d05cf91ffac8300e4ecf666e093171235c10c345afabd57c5 +MISC ChangeLog 7168 RMD160 46b841bea0cb8463f9b1e8f23b41c7f670ef633e SHA1 6e37a9377e91c1a91c2c64c5878a610d4dc57cab SHA256 4f11856dd15e0cd859663e789fe478dcf0103b11cd4b012c48aa2e82eda6fffe MISC metadata.xml 360 RMD160 f6ce42bd1c42b4738b39bf0a05851e438c1a69f5 SHA1 0bfa3dbe0e07890581839a87642e2d96e94a4038 SHA256 279908dc10b27953563091baaa63a6990aa4a43f419d13053a7811bff25164f1 diff --git a/dev-perl/mogilefs-server/mogilefs-server-2.610.0.ebuild b/dev-perl/mogilefs-server/mogilefs-server-2.610.0.ebuild new file mode 100644 index 000000000000..19e29775dbfd --- /dev/null +++ b/dev-perl/mogilefs-server/mogilefs-server-2.610.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.610.0.ebuild,v 1.1 2012/05/19 18:36:13 robbat2 Exp $ + +EAPI=4 + +MY_PN=MogileFS-Server +MODULE_AUTHOR=DORMANDO +MODULE_VERSION=${PV%0.0} +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-4 + dev-perl/libwww-perl + >=dev-perl/MogileFS-Client-1.16 + >=dev-perl/MogileFS-Utils-2.23 + 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 +} |