diff options
author | 2005-09-11 22:54:19 +0000 | |
---|---|---|
committer | 2005-09-11 22:54:19 +0000 | |
commit | f480d853b6c36ef2682e638c6d3cf816da3820e2 (patch) | |
tree | 2f53ccf55ebe9167c916f61905ae0875fe49a28b /app-misc/klive | |
parent | Apply errno patch if ipv6 patch is not applied. (diff) | |
download | gentoo-2-f480d853b6c36ef2682e638c6d3cf816da3820e2.tar.gz gentoo-2-f480d853b6c36ef2682e638c6d3cf816da3820e2.tar.bz2 gentoo-2-f480d853b6c36ef2682e638c6d3cf816da3820e2.zip |
Initial import, ebuild by Christoph Brill on bug #104276 with some modifications of my own.
(Portage version: 1.589-cvs)
Diffstat (limited to 'app-misc/klive')
-rw-r--r-- | app-misc/klive/ChangeLog | 11 | ||||
-rw-r--r-- | app-misc/klive/Manifest | 5 | ||||
-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, 99 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..1429cf08ce24 --- /dev/null +++ b/app-misc/klive/Manifest @@ -0,0 +1,5 @@ +MD5 7399835714f99f5401c37d8393909e28 ChangeLog 340 +MD5 a76f13cb946fc2720c04b189616da2de metadata.xml 159 +MD5 03f43a0e92a68651dc8645cf166401fc klive-0.7.ebuild 1507 +MD5 3e653ab991f5a79999bf63b82854f0cc files/klive.init.d 478 +MD5 f7cd4dbca47bd47f154dfd03b00a0f3f files/digest-klive-0.7 61 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> |