diff options
author | Chuck Short <zul@gentoo.org> | 2003-08-28 23:37:59 +0000 |
---|---|---|
committer | Chuck Short <zul@gentoo.org> | 2003-08-28 23:37:59 +0000 |
commit | a0d047a917635408cca71588f9affb143108a5f2 (patch) | |
tree | 2a9365cb5ed0e4ab2cdb5ea1c4feb469b6788d6b /sys-cluster | |
parent | Initial Version (diff) | |
download | historical-a0d047a917635408cca71588f9affb143108a5f2.tar.gz historical-a0d047a917635408cca71588f9affb143108a5f2.tar.bz2 historical-a0d047a917635408cca71588f9affb143108a5f2.zip |
Initial Version
Diffstat (limited to 'sys-cluster')
-rw-r--r-- | sys-cluster/xmlsysd/Manifest | 4 | ||||
-rw-r--r-- | sys-cluster/xmlsysd/files/digest-xmlsysd-0.1.5 | 1 | ||||
-rw-r--r-- | sys-cluster/xmlsysd/files/xmlsysd.xinetd | 20 | ||||
-rw-r--r-- | sys-cluster/xmlsysd/xmlsysd-0.1.5.ebuild | 51 |
4 files changed, 75 insertions, 1 deletions
diff --git a/sys-cluster/xmlsysd/Manifest b/sys-cluster/xmlsysd/Manifest index 4c37c8e00ee3..896b3294fc47 100644 --- a/sys-cluster/xmlsysd/Manifest +++ b/sys-cluster/xmlsysd/Manifest @@ -1,2 +1,4 @@ -MD5 36fd88f6fcd87de9ead169e44e506e06 xmlsysd-0.1.5.ebuild 1114 +MD5 a21cdac831163d790e4670d33e938392 ChangeLog 357 +MD5 4ee7707cbf5edd4a908e48a006d38fd3 xmlsysd-0.1.5.ebuild 1214 MD5 0528b886e5382516cbe9c57dbaa814ab files/digest-xmlsysd-0.1.5 56 +MD5 12fc753f112c9c92326cb50caf79a3c8 files/xmlsysd.xinetd 621 diff --git a/sys-cluster/xmlsysd/files/digest-xmlsysd-0.1.5 b/sys-cluster/xmlsysd/files/digest-xmlsysd-0.1.5 new file mode 100644 index 000000000000..d5d9976b5bf4 --- /dev/null +++ b/sys-cluster/xmlsysd/files/digest-xmlsysd-0.1.5 @@ -0,0 +1 @@ +MD5 5cc388483d4b03a544bb38e3fa9c0150 xmlsysd.tgz 325916 diff --git a/sys-cluster/xmlsysd/files/xmlsysd.xinetd b/sys-cluster/xmlsysd/files/xmlsysd.xinetd new file mode 100644 index 000000000000..8e4e3ad9a95e --- /dev/null +++ b/sys-cluster/xmlsysd/files/xmlsysd.xinetd @@ -0,0 +1,20 @@ +# default: on +# description: The xmlsysd daemon, to be managed by xinetd. +# Uncomment the "only_from" line below and edit it to permit access from +# only private internal network hosts and/or specific networks. Or leave +# it as is and control via ipchains or iptables. The default is to +# permit connections from any host, which may not be right for your site. +service xmlsysd +{ + disable = yes + socket_type = stream + protocol = tcp + wait = no + user = nobody + group = nobody + server = /usr/sbin/xmlsysd + server_args = -i 7887 + port = 7887 + instances = 10 +# only_from = 10.0.0.0,172.16.0,0,192.168.0.0 +} diff --git a/sys-cluster/xmlsysd/xmlsysd-0.1.5.ebuild b/sys-cluster/xmlsysd/xmlsysd-0.1.5.ebuild new file mode 100644 index 000000000000..6403d5800a81 --- /dev/null +++ b/sys-cluster/xmlsysd/xmlsysd-0.1.5.ebuild @@ -0,0 +1,51 @@ +# Copyright 1999-2003 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sys-cluster/xmlsysd/xmlsysd-0.1.5.ebuild,v 1.1 2003/08/28 23:37:47 zul Exp $ + +DESCRIPTION="A beowulf monitor daemon." +SRC_URI="http://www.phy.duke.edu/~rgb/Beowulf/xmlsysd/${PN}.tgz" +HOMEPAGE="http://www.phy.duke.edu/~rgb/Beowulf/xmlsysd.php" + +KEYWORDS="~x86" +SLOT="0" +LICENSE="GPL-2" +IUSE="" + +DEPEND="virtual/inetd + virtual/glibc + dev-libs/libxml + sys-libs/zlib + sys-libs/ncurses" +RDEPEND="" + +S=${WORKDIR}/${PN} + +src_compile() { + make || die "Make failed" +} + +src_install() { + into /usr + dosbin xmlsysd + doman xmlsysd.8 + + insinto /etc/xinetd.d + newins ${FILESDIR}/xmlsysd.xinetd xmlsysd + dodoc CHANGES DESIGN README TODO +} + + +pkg_postinst() { + einfo "If you havent done so already please execute the following command" + einfo "\"ebuild /var/db/pkg/sys-cluster/${PF}/${PF}.ebuild config\"" + einfo "to add xmlsysd to /etc/services." + einfo "" + einfo "Be sure to edit /etc/xinetd.d/xmylsysd to suit your own options." + einfo "" +} + +pkg_config() { + echo "xmlsysd 7887/tcp # xmlsysd remote system stats" >> /etc/services + einfo "Added xmlsysd to /etc/services" +} + |