add python part of pulse
git-svn-id: https://svn.disconnected-by-peer.at/svn/linamh/trunk/mds@932 6952d904-891a-0410-993b-d76249ca496b
This commit is contained in:
3
app-admin/pulse2-inventory-server/Manifest
Normal file
3
app-admin/pulse2-inventory-server/Manifest
Normal file
@@ -0,0 +1,3 @@
|
||||
AUX pulse2-inventory-server.initd 512 RMD160 5b606759f56264ae61d9bf151c815aa1c67c13db SHA1 2ca136a346b2cf68620ac663aac2d36ae86d2541 SHA256 dd52665b29cf60d100a8909455ecd7edb2d047c96e5654be343b8a4e97856c94
|
||||
DIST pulse2-inventory-server-1.2.0.tar.gz 25833 RMD160 30f9395e9160d6872bee225d421bb28243cc2e7f SHA1 2f71b783e357c62fe415e853baaa4666c4702ed3 SHA256 fc4b9599ff8be7b63e1c4019a97b8a6cf4a245b8a5c8f9dbaa758f59b1658b37
|
||||
EBUILD pulse2-inventory-server-1.2.0.ebuild 1183 RMD160 67a333a6e12089a2e4aa7607386fe7942d044fd0 SHA1 bc0acced19ed1385937ff48de8223cf23e2587a6 SHA256 bfd2f651659888a1b74a0ee8c75da0f830468545ef74d8c2e888a7b6069a42f1
|
||||
20
app-admin/pulse2-inventory-server/files/pulse2-inventory-server.initd
Executable file
20
app-admin/pulse2-inventory-server/files/pulse2-inventory-server.initd
Executable file
@@ -0,0 +1,20 @@
|
||||
#!/sbin/runscript
|
||||
# Copyright 1999-2007 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: $
|
||||
|
||||
depend() {
|
||||
need net mmc-agent
|
||||
}
|
||||
|
||||
start() {
|
||||
ebegin "Starting Pulse2 Inventory Server"
|
||||
eval start-stop-daemon --start --quiet --exec /usr/sbin/pulse2-inventory-server --pidfile /var/run/pulse2-inventory-server.pid
|
||||
eend $?
|
||||
}
|
||||
|
||||
stop() {
|
||||
ebegin "Stopping Pulse2 Inventory Server"
|
||||
start-stop-daemon --stop --quiet --pidfile /var/run/pulse2-inventory-server.pid
|
||||
eend $?
|
||||
}
|
||||
@@ -0,0 +1,44 @@
|
||||
# Copyright 1999-2009 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: $
|
||||
|
||||
inherit distutils
|
||||
|
||||
# ESVN_REPO_URI="http://mds.mandriva.org/svn/mmc-agent"
|
||||
DESCRIPTION="The MMC Agent and its Python plugins."
|
||||
HOMEPAGE="http://mds.mandriva.org/"
|
||||
SRC_URI="http://mds.mandriva.org/pub/pulse2/sources/${PV}/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
KEYWORDS="~amd64 ~ppc64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
SLOT="0"
|
||||
|
||||
RDEPEND=">=dev-python/twisted-web-0.7.0
|
||||
>=app-admin/pulse2-common-1.2.0"
|
||||
|
||||
DEPEND=">=dev-python/setuptools-0.6_rc1"
|
||||
|
||||
# from marienz's setuptools.eclass:
|
||||
src_install() {
|
||||
"${python}" setup.py install --root="${D}" --no-compile "$@" || die "install failed"
|
||||
dosbin bin/pulse2-inventory-server
|
||||
dosbin bin/pulse2-inventory-ssl-proxy
|
||||
insinto etc/mmc/pulse2/inventory-server/keys
|
||||
doins -r conf/keys/*
|
||||
insinto etc/mmc/pulse2/inventory-server
|
||||
doins -r conf/inventory-server/*.ini
|
||||
# insinto etc/pulse2/plugins
|
||||
# doins -r conf/plugins/*.ini
|
||||
insinto usr/share/doc/${P}
|
||||
doins -r contrib
|
||||
dodoc Changelog
|
||||
|
||||
newinitd "${FILESDIR}"/pulse2-inventory-server.initd pulse2-inventory-server
|
||||
}
|
||||
|
||||
src_test() {
|
||||
"${python}" setup.py test || die "tests failed"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user