diff options
author | Ian Delaney <idella4@gentoo.org> | 2013-09-08 15:36:35 +0000 |
---|---|---|
committer | Ian Delaney <idella4@gentoo.org> | 2013-09-08 15:36:35 +0000 |
commit | e55b063f830500f460af48e67c3d5d45db7495eb (patch) | |
tree | 39078bab47c61350f37ecd4c8987b7c421cb56bf /dev-perl/mogilefs-server | |
parent | Version bump. (diff) | |
download | gentoo-2-e55b063f830500f460af48e67c3d5d45db7495eb.tar.gz gentoo-2-e55b063f830500f460af48e67c3d5d45db7495eb.tar.bz2 gentoo-2-e55b063f830500f460af48e67c3d5d45db7495eb.zip |
remove old
(Portage version: 2.2.0/cvs/Linux x86_64, signed Manifest commit with key 0xB8072B0D)
Diffstat (limited to 'dev-perl/mogilefs-server')
-rw-r--r-- | dev-perl/mogilefs-server/ChangeLog | 8 | ||||
-rw-r--r-- | dev-perl/mogilefs-server/mogilefs-server-2.37.ebuild | 98 | ||||
-rw-r--r-- | dev-perl/mogilefs-server/mogilefs-server-2.43.ebuild | 99 | ||||
-rw-r--r-- | dev-perl/mogilefs-server/mogilefs-server-2.46.ebuild | 99 | ||||
-rw-r--r-- | dev-perl/mogilefs-server/mogilefs-server-2.50.ebuild | 101 | ||||
-rw-r--r-- | dev-perl/mogilefs-server/mogilefs-server-2.51.ebuild | 101 | ||||
-rw-r--r-- | dev-perl/mogilefs-server/mogilefs-server-2.53.ebuild | 101 |
7 files changed, 7 insertions, 600 deletions
diff --git a/dev-perl/mogilefs-server/ChangeLog b/dev-perl/mogilefs-server/ChangeLog index 6cabc1c2881d..011645f3cdad 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-2013 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-perl/mogilefs-server/ChangeLog,v 1.45 2013/08/19 18:29:23 robbat2 Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-perl/mogilefs-server/ChangeLog,v 1.46 2013/09/08 15:36:35 idella4 Exp $ + + 08 Sep 2013; Ian Delaney <idella4@gentoo.org> -mogilefs-server-2.37.ebuild, + -mogilefs-server-2.43.ebuild, -mogilefs-server-2.46.ebuild, + -mogilefs-server-2.50.ebuild, -mogilefs-server-2.51.ebuild, + -mogilefs-server-2.53.ebuild: + remove old *mogilefs-server-2.700.0-r1 (19 Aug 2013) diff --git a/dev-perl/mogilefs-server/mogilefs-server-2.37.ebuild b/dev-perl/mogilefs-server/mogilefs-server-2.37.ebuild deleted file mode 100644 index 14f8866d0698..000000000000 --- a/dev-perl/mogilefs-server/mogilefs-server-2.37.ebuild +++ /dev/null @@ -1,98 +0,0 @@ -# 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.37.ebuild,v 1.4 2012/06/03 16:31:19 tove Exp $ - -EAPI=2 -MODULE_AUTHOR="DORMANDO" -MY_PN=mogilefs-server -MY_P="${MY_PN}-${PV}" -MODULE_A="${MY_P}.tar.gz" -inherit user 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 - 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 -} diff --git a/dev-perl/mogilefs-server/mogilefs-server-2.43.ebuild b/dev-perl/mogilefs-server/mogilefs-server-2.43.ebuild deleted file mode 100644 index 4fb4b7928d93..000000000000 --- a/dev-perl/mogilefs-server/mogilefs-server-2.43.ebuild +++ /dev/null @@ -1,99 +0,0 @@ -# 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.43.ebuild,v 1.3 2012/06/03 16:31:18 tove 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 user 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 - 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 -} diff --git a/dev-perl/mogilefs-server/mogilefs-server-2.46.ebuild b/dev-perl/mogilefs-server/mogilefs-server-2.46.ebuild deleted file mode 100644 index d8c107fe6537..000000000000 --- a/dev-perl/mogilefs-server/mogilefs-server-2.46.ebuild +++ /dev/null @@ -1,99 +0,0 @@ -# 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.46.ebuild,v 1.4 2012/06/03 16:31:19 tove 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 user 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.76 - 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 - 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 -} diff --git a/dev-perl/mogilefs-server/mogilefs-server-2.50.ebuild b/dev-perl/mogilefs-server/mogilefs-server-2.50.ebuild deleted file mode 100644 index a45d17589840..000000000000 --- a/dev-perl/mogilefs-server/mogilefs-server-2.50.ebuild +++ /dev/null @@ -1,101 +0,0 @@ -# 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.50.ebuild,v 1.3 2012/06/03 16:31:19 tove 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 user 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.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}" -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.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 -} diff --git a/dev-perl/mogilefs-server/mogilefs-server-2.51.ebuild b/dev-perl/mogilefs-server/mogilefs-server-2.51.ebuild deleted file mode 100644 index 848962a8636a..000000000000 --- a/dev-perl/mogilefs-server/mogilefs-server-2.51.ebuild +++ /dev/null @@ -1,101 +0,0 @@ -# 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.51.ebuild,v 1.3 2012/06/03 16:31:18 tove 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 user 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.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}" -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.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 -} diff --git a/dev-perl/mogilefs-server/mogilefs-server-2.53.ebuild b/dev-perl/mogilefs-server/mogilefs-server-2.53.ebuild deleted file mode 100644 index 3a39164a3896..000000000000 --- a/dev-perl/mogilefs-server/mogilefs-server-2.53.ebuild +++ /dev/null @@ -1,101 +0,0 @@ -# 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.53.ebuild,v 1.3 2012/06/03 16:31:19 tove 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 user 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.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}" -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.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 -} |