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:
parent
945bbf7ef3
commit
be00bd9b31
2
app-admin/pulse2-common/Manifest
Normal file
2
app-admin/pulse2-common/Manifest
Normal file
@ -0,0 +1,2 @@
|
||||
DIST pulse2-common-1.2.0.tar.gz 26285 RMD160 b48734df580c1c3003a9df2c4346c968d612adf3 SHA1 f58aaab14040f61a620998797b382591ce6aa447 SHA256 95981580e35437bbf96d3debd782c67bbc51cc24882993a5de428b811dcb6934
|
||||
EBUILD pulse2-common-1.2.0.ebuild 711 RMD160 90d1a71c60a63d7e8faf4308f9b6a5c31be9e209 SHA1 c97c89130e584d9bd7417865e1c2145041a6c6a1 SHA256 8da64cc7ff60454a7e28da68e33d495eca0692116a848660e7ebefdb97f9e0a5
|
30
app-admin/pulse2-common/pulse2-common-1.2.0.ebuild
Normal file
30
app-admin/pulse2-common/pulse2-common-1.2.0.ebuild
Normal file
@ -0,0 +1,30 @@
|
||||
# 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"
|
||||
|
||||
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"
|
||||
}
|
||||
|
||||
src_test() {
|
||||
"${python}" setup.py test || die "tests failed"
|
||||
}
|
||||
|
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"
|
||||
}
|
||||
|
4
app-admin/pulse2-launcher/Manifest
Normal file
4
app-admin/pulse2-launcher/Manifest
Normal file
@ -0,0 +1,4 @@
|
||||
AUX pulse2-launchers.initd 499 RMD160 1f0437bf606ab8e2660b66df2b01abb3dc3c53f7 SHA1 c92c22ab26721d073b0fdb410a39c7d7784217ed SHA256 37e8b59a98a91663a33e1ef404ae1024aa2c96c3228452ea9ed3eb9481d70dd4
|
||||
DIST pulse2-launcher-1.2.0.tar.gz 54073 RMD160 056181e67629fa4e74d9a4fe9a338de853b3d994 SHA1 000b368a6f988cbe1df5582e4bbded60ad6a65b4 SHA256 6626c3c7e64ca2785fc7d6bdad25829ae7d9737b6fd1a2570f79a6543cb5b118
|
||||
DIST wol-0.7.1.tar.gz 445648 RMD160 856fefe482db4326df47f10f07ec97396f23870d SHA1 7edd1a8c2d4baffc3b6baf8fcd12e786f9fc1fbd SHA256 e0086c9b9811df2bdf763ec9016dfb1bcb7dba9fa6d7858725b0929069a12622
|
||||
EBUILD pulse2-launcher-1.2.0.ebuild 1318 RMD160 1efdbf5b17c0a5d3e479b6183738ec988c861bad SHA1 94e0cb959f2021afe2f9ebeff716ed8c4340b121 SHA256 d8fdea6a132c69e5a15c69357a25b5a2d1ae7d60079ae631e03c920e34db811d
|
20
app-admin/pulse2-launcher/files/pulse2-launchers.initd
Executable file
20
app-admin/pulse2-launcher/files/pulse2-launchers.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 Launcher"
|
||||
eval start-stop-daemon --start --quiet --exec /usr/sbin/pulse2-launchers-manager --pidfile /var/run/pulse2-launchers-manager.pid
|
||||
eend $?
|
||||
}
|
||||
|
||||
stop() {
|
||||
ebegin "Stopping Pulse2 Launcher"
|
||||
start-stop-daemon --stop --quiet --pidfile /var/run/pulse2-launchers-manager.pid
|
||||
eend $?
|
||||
}
|
53
app-admin/pulse2-launcher/pulse2-launcher-1.2.0.ebuild
Normal file
53
app-admin/pulse2-launcher/pulse2-launcher-1.2.0.ebuild
Normal file
@ -0,0 +1,53 @@
|
||||
# Copyright 1999-2009 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: $
|
||||
|
||||
inherit distutils
|
||||
|
||||
WOL_PV="0.7.1"
|
||||
|
||||
# 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
|
||||
mirror://sourceforge/ahh/wol-${WOL_PV}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
KEYWORDS="~amd64 ~ppc64 ~x86"
|
||||
IUSE="nls"
|
||||
|
||||
SLOT="0"
|
||||
|
||||
RDEPEND=">=dev-python/twisted-web-0.7.0
|
||||
>=app-admin/pulse2-common-1.2.0"
|
||||
|
||||
DEPEND=">=dev-python/setuptools-0.6_rc1"
|
||||
|
||||
src_compile() {
|
||||
cd ../wol-${WOL_PV}
|
||||
econf $(use_enable nls) || die "configure failed"
|
||||
emake || die "make failed"
|
||||
}
|
||||
|
||||
# from marienz's setuptools.eclass:
|
||||
src_install() {
|
||||
"${python}" setup.py install --root="${D}" --no-compile "$@" || die "install failed"
|
||||
dosbin bin/*
|
||||
newsbin ../wol-${WOL_PV}/src/wol pulse2-wol
|
||||
insinto etc/mmc/pulse2/launchers/keys
|
||||
doins -r conf/launchers/keys/*
|
||||
insinto etc/mmc/pulse2/launchers
|
||||
doins -r conf/launchers/*.ini
|
||||
# insinto etc/pulse2/plugins
|
||||
# doins -r conf/plugins/*.ini
|
||||
insinto usr/share/doc/${P}
|
||||
doins -r contrib
|
||||
dodoc Changelog
|
||||
|
||||
newinitd "${FILESDIR}"/pulse2-launchers.initd pulse2-launchers
|
||||
}
|
||||
|
||||
src_test() {
|
||||
"${python}" setup.py test || die "tests failed"
|
||||
}
|
||||
|
3
app-admin/pulse2-package-server/Manifest
Normal file
3
app-admin/pulse2-package-server/Manifest
Normal file
@ -0,0 +1,3 @@
|
||||
AUX pulse2-package-server.initd 502 RMD160 d59eabd0b308763f84c5c1122d3be51efa9b936b SHA1 8baca6587a44a0e5a703cbbdcb49d7047bbf830b SHA256 fdbeb24053631223c1634e85712d16b24d177a0309d2bacb28562ca02e7fe4e4
|
||||
DIST pulse2-package-server-1.2.0.tar.gz 43959 RMD160 8bf50fe814e1d621b5444eecb66ff3028bb262e9 SHA1 1e09bb177d799345cc0d72007694b952f62a7b90 SHA256 6c8f2d900afd14a5edf414305fa5cafc01096eb454d2448b1f7f6903beb21132
|
||||
EBUILD pulse2-package-server-1.2.0.ebuild 1087 RMD160 c2c587f77fae17fc39e20dfc8e49a6cc569e7a14 SHA1 8689bf368c41c25701d34ccca53c7a214da3f5ac SHA256 884eb19b527ca0fb777c6e41388d5480014425e15dc0adf028d23632ed5eef69
|
20
app-admin/pulse2-package-server/files/pulse2-package-server.initd
Executable file
20
app-admin/pulse2-package-server/files/pulse2-package-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 Package Server"
|
||||
eval start-stop-daemon --start --quiet --exec /usr/sbin/pulse2-package-server --pidfile /var/run/pulse2-package-server.pid
|
||||
eend $?
|
||||
}
|
||||
|
||||
stop() {
|
||||
ebegin "Stopping Pulse2 Package Server"
|
||||
start-stop-daemon --stop --quiet --pidfile /var/run/pulse2-package-server.pid
|
||||
eend $?
|
||||
}
|
@ -0,0 +1,43 @@
|
||||
# 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-package-server
|
||||
insinto etc/mmc/pulse2/pserver/keys
|
||||
doins -r conf/keys/*
|
||||
insinto etc/mmc/pulse2/pserver
|
||||
doins -r conf/*.ini
|
||||
# insinto etc/pulse2/plugins
|
||||
# doins -r conf/plugins/*.ini
|
||||
insinto usr/share/doc/${P}
|
||||
doins -r contrib
|
||||
dodoc Changelog
|
||||
|
||||
newinitd "${FILESDIR}"/pulse2-package-server.initd pulse2-package-server
|
||||
}
|
||||
|
||||
src_test() {
|
||||
"${python}" setup.py test || die "tests failed"
|
||||
}
|
||||
|
4
app-admin/pulse2-scheduler/Manifest
Normal file
4
app-admin/pulse2-scheduler/Manifest
Normal file
@ -0,0 +1,4 @@
|
||||
AUX pulse2-scheduler-1.2.0-python-1.patch 645 RMD160 2a9d109334f93b9f746e81e74be61fc82c291afb SHA1 f73bbdc3bbaa7ee8adb6bfcc4df711eb549bd716 SHA256 b44594ebd4017efb8da193b44a1453625da724829f1e57c5029d3bd19fb89144
|
||||
AUX pulse2-scheduler.initd 501 RMD160 c50840c22f9886463bf8228d539a6143dbc46296 SHA1 67e7ad16e9c1969a8fa561aebe9949778ccf1f73 SHA256 0cd1ba84b7339ec7eaa6b57ee52f13ac96f4934c8d7a408fe327a5e1cad5147f
|
||||
DIST pulse2-scheduler-1.2.0.tar.gz 38785 RMD160 d88cae5b94b50124f5d19be1478b9d80e05b3f3d SHA1 f907784e94be6827e84c3ed60b4db4cdd092bdfe SHA256 c19d1e2a67e7224b46e156cfccab980447d989b829f69c4296c1fd194282fdda
|
||||
EBUILD pulse2-scheduler-1.2.0.ebuild 1173 RMD160 28aa99fb19099c1b8b6110e93f2f41d38798a64b SHA1 8e421aa27b0978cc1d4055d73ba0d42b147f7026 SHA256 c3fd64738ecde97f84497dc7fcf0fff8bf32272c9d3a7117fcf3d58731079bab
|
@ -0,0 +1,19 @@
|
||||
Submitted By: Mario Fetka (mario dot fetka at gmail dot com)
|
||||
Date: 2009-04-07
|
||||
Initial Package Version: 1.2.0
|
||||
Origin: me
|
||||
Upstream Status: corrected
|
||||
Description: correct setup.py package name typo
|
||||
|
||||
diff -Naur pulse2-scheduler-1.2.0.orig/setup.py pulse2-scheduler-1.2.0/setup.py
|
||||
--- pulse2-scheduler-1.2.0.orig/setup.py 2008-12-09 18:35:55.000000000 +0000
|
||||
+++ pulse2-scheduler-1.2.0/setup.py 2009-04-07 14:16:31.103465380 +0000
|
||||
@@ -23,7 +23,7 @@
|
||||
from distutils.core import setup
|
||||
|
||||
setup(
|
||||
- name = "pulse2-launcher",
|
||||
+ name = "pulse2-scheduler",
|
||||
version = "1.0",
|
||||
url = "http://pulse2.mandriva.org",
|
||||
author = "Nicolas Rueff",
|
20
app-admin/pulse2-scheduler/files/pulse2-scheduler.initd
Executable file
20
app-admin/pulse2-scheduler/files/pulse2-scheduler.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 Scheduler"
|
||||
eval start-stop-daemon --start --quiet --exec /usr/sbin/pulse2-scheduler-manager --pidfile /var/run/pulse2-scheduler-manager.pid
|
||||
eend $?
|
||||
}
|
||||
|
||||
stop() {
|
||||
ebegin "Stopping Pulse2 Scheduler"
|
||||
start-stop-daemon --stop --quiet --pidfile /var/run/pulse2-scheduler-manager.pid
|
||||
eend $?
|
||||
}
|
49
app-admin/pulse2-scheduler/pulse2-scheduler-1.2.0.ebuild
Normal file
49
app-admin/pulse2-scheduler/pulse2-scheduler-1.2.0.ebuild
Normal file
@ -0,0 +1,49 @@
|
||||
# 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="nls"
|
||||
|
||||
SLOT="0"
|
||||
|
||||
RDEPEND=">=dev-python/twisted-web-0.7.0
|
||||
>=app-admin/pulse2-common-1.2.0"
|
||||
|
||||
DEPEND=">=dev-python/setuptools-0.6_rc1"
|
||||
|
||||
src_unpack() {
|
||||
unpack ${A}
|
||||
cd ${S}
|
||||
epatch "${FILESDIR}"/${PN}-1.2.0-python-1.patch
|
||||
}
|
||||
|
||||
# from marienz's setuptools.eclass:
|
||||
src_install() {
|
||||
"${python}" setup.py install --root="${D}" --no-compile "$@" || die "install failed"
|
||||
dosbin bin/*
|
||||
insinto etc/mmc/pulse2/scheduler/keys
|
||||
doins -r conf/scheduler/keys/*
|
||||
insinto etc/mmc/pulse2/scheduler
|
||||
doins -r conf/scheduler/*.ini
|
||||
# insinto etc/pulse2/plugins
|
||||
# doins -r conf/plugins/*.ini
|
||||
insinto usr/share/doc/${P}
|
||||
doins -r contrib
|
||||
dodoc Changelog
|
||||
|
||||
newinitd "${FILESDIR}"/pulse2-scheduler.initd pulse2-scheduler
|
||||
}
|
||||
|
||||
src_test() {
|
||||
"${python}" setup.py test || die "tests failed"
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user