app-admin/mmc-agent: add missing dependencies

git-svn-id: https://svn.disconnected-by-peer.at/svn/linamh/trunk/mds@1528 6952d904-891a-0410-993b-d76249ca496b
This commit is contained in:
geos_one 2009-09-03 13:12:40 +00:00
parent a6768f581a
commit c4b5886025
3 changed files with 63 additions and 1 deletions

View File

@ -2,6 +2,12 @@
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
# $Header: $
*mmc-agent-2.3.2-r4 (03 Sep 2009)
03 Sep 2009; Mario Fetka <mario.fetka@gmail.com>
+mmc-agent-2.3.2-r4.ebuild:
add missing dependencies
*mmc-agent-2.3.2-r3 (04 Jul 2009)
04 Jul 2009; Mario Fetka <mario.fetka@gmail.com>

View File

@ -7,5 +7,6 @@ DIST mmc-agent-2.3.2.tar.gz 120949 RMD160 871b3b7766d69019de392e42ebf25a216d217c
EBUILD mmc-agent-2.3.2-r1.ebuild 1635 RMD160 774f66ecfc207a8c86dadc010f8d9d04b50d0dbf SHA1 1175dc65b8f3e5fadd3cedfd73249b91e8a24987 SHA256 f17934a3cd9623de2c1dd29d88857a16d392feb8c51db0cc69e5320ff5d3e17e
EBUILD mmc-agent-2.3.2-r2.ebuild 1557 RMD160 fd12dd7afc50f7d37dd4d9e0291ec2509cc057ba SHA1 cfa7d9721d4b45a52499c481c99e1449844eeb3b SHA256 1ed12652595fc95f9f98be38721899ae6d811746fd7854687911243dd1d59d6d
EBUILD mmc-agent-2.3.2-r3.ebuild 1557 RMD160 2a6e73ba6a2981f4e010fbb05af6439d39e096ad SHA1 35a64b2ec82aef8c5907c11861e7c53cefa0bf76 SHA256 d62618c640f6cf9c531c2a12780046fe1a53ea59712cd8964225a1c436ef4e25
MISC ChangeLog 1583 RMD160 f25bebf673d9ca95ea6e1d977c7456d93f4d45d8 SHA1 cd9a56d9a08f570ba3b2a72a70f08b7b85201afa SHA256 c78ec491e011f29dfa917fe23f968ed8d6758d301d9833ad1dc4c32420d51e04
EBUILD mmc-agent-2.3.2-r4.ebuild 1615 RMD160 b563d74e7d4edd7e36ee614a00776c53f082d14d SHA1 d19ac3d77e74a31222f74579a2eb6a76e8367ac8 SHA256 73ae0447c3bd65d59f2f2f13d5f8038e33d2686e775d13f454d0e9e89cf803c9
MISC ChangeLog 1727 RMD160 693d00f08bfc10e98553ee7741c634721607e4f9 SHA1 293dc63d61871488a168802574fed73de34e6030 SHA256 e66ac6dd244b12849bef54de5534463660a0a7ccc1742bd98f31d101c0555ce0
MISC metadata.xml 170 RMD160 645927a396fdc21cdeb089fe42c5397332420ea6 SHA1 ac7f48a14fec325926f9ce1be8fbf1f311b4f2e4 SHA256 d797a2ec6f9dc516c9f9c1a758ee87ad3e8c43101b5dc76c2f872d5bd4639b42

View File

@ -0,0 +1,55 @@
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
EAPI="2"
inherit distutils
DESCRIPTION="The MMC Agent and its Python plugins."
HOMEPAGE="http://mds.mandriva.org/"
SRC_URI="http://mds.mandriva.org/pub/mds/sources/${PV}/${P}.tar.gz"
LICENSE="GPL-2"
KEYWORDS="~alpha ~amd64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd"
IUSE=""
SLOT="0"
RDEPEND=">=dev-python/twisted-web-0.7.0
>=dev-python/python-ldap-2.2.1
>=dev-python/psycopg-2.0.2
>=dev-python/pyopenssl-0.6
=dev-python/sqlalchemy-0.4.6"
DEPEND=">=dev-python/setuptools-0.6_rc1"
src_prepare() {
epatch "${FILESDIR}"/${PN}-2.3.1-kerberos-1.patch
epatch "${FILESDIR}"/${PN}-2.3.2-printing-1.patch
epatch "${FILESDIR}"/${PN}-2.3.2-powerdns-2.patch
}
# from marienz's setuptools.eclass:
src_install() {
"${python}" setup.py install --root="${D}" --no-compile "$@" || die "install failed"
dosbin bin/* || die "bin install failed"
insinto etc/mmc/agent/keys
doins -r conf/agent/keys/* || die "key install failed"
insinto etc/mmc/agent
doins -r conf/agent/*.ini || die "agent ini install failed"
insinto etc/mmc/plugins
doins -r conf/plugins/*.ini || die "plugins ini install failed"
insinto usr/share/doc/${P}
doins -r contrib || die "ldap schemas install failed"
dodoc Changelog || die "doc install failed"
newinitd "${FILESDIR}"/mmc-agent.initd mmc-agent
}
pkg_postinst() {
elog "To disable some plugin in your mmc environments, you have to set"
elog "disable to 1 in /etc/mmc/plugins/*.ini"
elog "(one config file per service)"
elog "You can't disable the base plugin."
}