diff options
author | Daniel Drake <dsd@gentoo.org> | 2005-09-11 22:54:19 +0000 |
---|---|---|
committer | Daniel Drake <dsd@gentoo.org> | 2005-09-11 22:54:19 +0000 |
commit | cb1363c7b4c2b94ff8902732e9d3a53b4c8c4107 (patch) | |
tree | d83c531d948f635bfd1e2282cba73fd6db1595f6 /app-misc/klive | |
parent | Apply errno patch if ipv6 patch is not applied. (diff) | |
download | historical-cb1363c7b4c2b94ff8902732e9d3a53b4c8c4107.tar.gz historical-cb1363c7b4c2b94ff8902732e9d3a53b4c8c4107.tar.bz2 historical-cb1363c7b4c2b94ff8902732e9d3a53b4c8c4107.zip |
Initial import, ebuild by Christoph Brill on bug #104276 with some modifications of my own.
Package-Manager: portage-1.589-cvs
Diffstat (limited to 'app-misc/klive')
-rw-r--r-- | app-misc/klive/ChangeLog | 11 | ||||
-rw-r--r-- | app-misc/klive/Manifest | 15 | ||||
-rw-r--r-- | app-misc/klive/files/digest-klive-0.7 | 1 | ||||
-rw-r--r-- | app-misc/klive/files/klive.init.d | 22 | ||||
-rw-r--r-- | app-misc/klive/klive-0.7.ebuild | 55 | ||||
-rw-r--r-- | app-misc/klive/metadata.xml | 5 |
6 files changed, 109 insertions, 0 deletions
diff --git a/app-misc/klive/ChangeLog b/app-misc/klive/ChangeLog new file mode 100644 index 000000000000..295f31167a5a --- /dev/null +++ b/app-misc/klive/ChangeLog @@ -0,0 +1,11 @@ +# ChangeLog for app-misc/klive +# Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/app-misc/klive/ChangeLog,v 1.1 2005/09/11 22:54:19 dsd Exp $ + +*klive-0.7 (11 Sep 2005) + + 11 Sep 2005; Daniel Drake <dsd@gentoo.org> +files/klive.init.d, + +metadata.xml, +klive-0.7.ebuild: + Initial import, ebuild by Christoph Brill on bug #104276 with some + modifications of my own. + diff --git a/app-misc/klive/Manifest b/app-misc/klive/Manifest new file mode 100644 index 000000000000..dd3d7c95b7e3 --- /dev/null +++ b/app-misc/klive/Manifest @@ -0,0 +1,15 @@ +-----BEGIN PGP SIGNED MESSAGE----- +Hash: SHA1 + +MD5 204749aa27f29d10f7e61d6f762f9363 ChangeLog 423 +MD5 a76f13cb946fc2720c04b189616da2de metadata.xml 159 +MD5 ffca7feab85c540b640dc995297878bf klive-0.7.ebuild 1597 +MD5 d79cf8a685b1c71464a6836cf5c2c163 files/klive.init.d 570 +MD5 f7cd4dbca47bd47f154dfd03b00a0f3f files/digest-klive-0.7 61 +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v1.4.2 (GNU/Linux) + +iD8DBQFDJLWyTOXg++0VvJQRAtpdAJ9h1umB3g7IX6YVEVAi5pvPUe1MFwCeLj9Z +rsmxrA1e8k2CeBI9FKimXFE= +=EkEj +-----END PGP SIGNATURE----- diff --git a/app-misc/klive/files/digest-klive-0.7 b/app-misc/klive/files/digest-klive-0.7 new file mode 100644 index 000000000000..7cf2aa96c09f --- /dev/null +++ b/app-misc/klive/files/digest-klive-0.7 @@ -0,0 +1 @@ +MD5 3a39b7a81a5491804836862f37288536 klive-0.7.tar.bz2 19260 diff --git a/app-misc/klive/files/klive.init.d b/app-misc/klive/files/klive.init.d new file mode 100644 index 000000000000..7db5f418b724 --- /dev/null +++ b/app-misc/klive/files/klive.init.d @@ -0,0 +1,22 @@ +#!/sbin/runscript +# Copyright 1999-2005 Gentoo Foundation +# Distributed under the terms of the GNU General Public License, v2 or later +# $Header: /var/cvsroot/gentoo-x86/app-misc/klive/files/klive.init.d,v 1.1 2005/09/11 22:54:19 dsd Exp $ + +depend() { + need net +} + +start() { + ebegin "Starting KLive" + /bin/su - klive -c "twistd --syslog --pidfile=/tmp/klive.pid -oy /usr/share/klive/klive.tac" > /dev/null + eend $? +} + +stop() { + ebegin "Stopping KLive" + start-stop-daemon --stop --pidfile /tmp/klive.pid + eend $? + [[ -e /tmp/klive.pid ]] && rm /tmp/klive.pid + return 0 +} diff --git a/app-misc/klive/klive-0.7.ebuild b/app-misc/klive/klive-0.7.ebuild new file mode 100644 index 000000000000..fed04a484c62 --- /dev/null +++ b/app-misc/klive/klive-0.7.ebuild @@ -0,0 +1,55 @@ +# Copyright 1999-2005 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-misc/klive/klive-0.7.ebuild,v 1.1 2005/09/11 22:54:19 dsd Exp $ + +inherit eutils + +DESCRIPTION="Linux Kernel Live Usage Monitor" +HOMEPAGE="http://klive.cpushare.com/" +SRC_URI="http://klive.cpushare.com/downloads/${P}.tar.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~x86" +IUSE="" + +DEPEND="dev-lang/python + >=dev-python/twisted-1.3" + +S=${WORKDIR}/${PN} + +src_install() { + enewuser klive -1 /bin/bash + insinto /usr/share/${PN} + doins client/klive.tac + newinitd ${FILESDIR}/klive.init.d klive || die "init.d failed" + dodoc README +} + +pkg_postinst() { + echo + + einfo "To start klive, use the init script, e.g.:" + einfo " # /etc/init.d/klive start" + echo + + einfo "You should add klive to your default runlevel so that it will be" + einfo "started on on every bootup, e.g.:" + einfo " # rc-update add klive default" + echo + + ewarn "klive periodically submits basic information about the configuration of" + ewarn "your running kernel to a 3rd-party server which is NOT controlled by" + ewarn "Gentoo. This data is probably privately logged against your IP address." + echo + + einfo "The data submitted is used to generate basic statistics which provide" + einfo "insight as to how widely tested a particular kernel version is." + einfo "These statistics are publically accessible at http://klive.cpushare.com" + echo + + ewarn "If you have privacy/security concerns about the submission of this data" + ewarn "and/or its public availability, unmerge this package now." + echo +} + diff --git a/app-misc/klive/metadata.xml b/app-misc/klive/metadata.xml new file mode 100644 index 000000000000..d39740bd1d61 --- /dev/null +++ b/app-misc/klive/metadata.xml @@ -0,0 +1,5 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>kernel</herd> +</pkgmetadata> |