diff options
Diffstat (limited to 'dev-perl/mogilefs-server')
-rw-r--r-- | dev-perl/mogilefs-server/ChangeLog | 8 | ||||
-rw-r--r-- | dev-perl/mogilefs-server/Manifest | 14 | ||||
-rw-r--r-- | dev-perl/mogilefs-server/mogilefs-server-2.600.0.ebuild | 99 |
3 files changed, 109 insertions, 12 deletions
diff --git a/dev-perl/mogilefs-server/ChangeLog b/dev-perl/mogilefs-server/ChangeLog index 10698734db35..e3f62c86f37d 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.32 2012/04/12 17:48:17 tove Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-perl/mogilefs-server/ChangeLog,v 1.33 2012/04/20 18:17:11 robbat2 Exp $ + +*mogilefs-server-2.600.0 (20 Apr 2012) + + 20 Apr 2012; Robin H. Johnson <robbat2@gentoo.org> + +mogilefs-server-2.600.0.ebuild: + Version bump. 12 Apr 2012; Torsten Veller <tove@gentoo.org> metadata.xml: Fix cpan distribution in metadata.xml diff --git a/dev-perl/mogilefs-server/Manifest b/dev-perl/mogilefs-server/Manifest index 1f0ef3eb5d7b..3306f7b95e40 100644 --- a/dev-perl/mogilefs-server/Manifest +++ b/dev-perl/mogilefs-server/Manifest @@ -1,6 +1,3 @@ ------BEGIN PGP SIGNED MESSAGE----- -Hash: SHA256 - AUX mogautomount-init.d-2.50 370 RMD160 4b7b00d9ecfea92dbc4797e4d20d9bf1e7c0f23f SHA1 fad746f9a7381c4323180dd42c61f8aadc8d3a24 SHA256 266f436ed16ede2d198411666722e463a1c5a7b3eb7fed49f088e4ed69dd07d5 AUX mogilefsd-conf.d-2.16 243 RMD160 16fbfb5cc01b66d5fccb6c6dde3a0fb44639d815 SHA1 4c64bb9436f0948bd91d874d97d598fd638dc217 SHA256 aa9346fa1945cf86a1a82a8e05f7f685b56cba4aa1803637e1df50efe23fc95d AUX mogilefsd-init.d-2.16 602 RMD160 26beec8da787d4764f2275ce0d9300b59227f0bc SHA1 7b20c373a49981bec0beaa62daa1727fbc91d776 SHA256 2472391d9e20bf6d71c27071f087476365ec7902b4e3b00951e75af436faa75e @@ -20,6 +17,7 @@ DIST MogileFS-Server-2.56.tar.gz 153506 RMD160 9951d3733feb5a11072cfc6d1b6d906f9 DIST MogileFS-Server-2.57.tar.gz 153876 RMD160 3089f0f8930bf37cd4f09b68ffb6333cfb871478 SHA1 e6838df81b769664488f088fb02a6f239272e649 SHA256 318c5ceece6465fef43613310ab3c84914bea528c58a667ccad01fa31a56bfe5 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.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 @@ -34,12 +32,6 @@ EBUILD mogilefs-server-2.560.0.ebuild 2719 RMD160 d9ce35667422a3956679f1b3abd070 EBUILD mogilefs-server-2.570.0.ebuild 2719 RMD160 85f08509dc3e890bb36f159eaac60e9661b6e9ec SHA1 29478b09eef211b47f89a531242b1f8c2a6303f2 SHA256 3d71e14ed55eb906d0e651b2f75eb14ee8f42822f4291eb88279a0217d59a469 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 -MISC ChangeLog 6747 RMD160 e8988e1a00d52c1313d610a5a84ecc73690bc10f SHA1 c285b7ac6763986913eb42f9ffdc5dd871bf8fc0 SHA256 5cdefac5a3181e3c9b9fed7b9446e47da607fb7c83c9ec959250fe5be157f793 +EBUILD mogilefs-server-2.600.0.ebuild 2719 RMD160 3ce72ce22bf64b0791ba45cedf5cdb506611dc97 SHA1 754cdd09bb0525f5cf52c136ed8e1fc85b60aeb6 SHA256 af84ddc12d654b787f3b8a10010959f31a513f87843b031ad63b140faf318112 +MISC ChangeLog 6895 RMD160 2f087a19afc3746213df42025259c9e20719d35b SHA1 3ed27dbb5009b750d2c02111b2ccc751c80d2248 SHA256 50d326171e3173d37b7fce4a6d6ca51b2d2fdbf2d6a72fdb2503271a73c80b47 MISC metadata.xml 360 RMD160 f6ce42bd1c42b4738b39bf0a05851e438c1a69f5 SHA1 0bfa3dbe0e07890581839a87642e2d96e94a4038 SHA256 279908dc10b27953563091baaa63a6990aa4a43f419d13053a7811bff25164f1 ------BEGIN PGP SIGNATURE----- -Version: GnuPG v2.0.19 (GNU/Linux) - -iEYEAREIAAYFAk+HFWYACgkQV3J2n04Eaux+cACghYV+MeUdaMDBfoo6jwmB722Y -QoEAoKJqmG4BWBuILqNS3cBGE6lxxngO -=tiu0 ------END PGP SIGNATURE----- diff --git a/dev-perl/mogilefs-server/mogilefs-server-2.600.0.ebuild b/dev-perl/mogilefs-server/mogilefs-server-2.600.0.ebuild new file mode 100644 index 000000000000..99fef607a2c4 --- /dev/null +++ b/dev-perl/mogilefs-server/mogilefs-server-2.600.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.600.0.ebuild,v 1.1 2012/04/20 18:17:11 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 +} |