summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCharlie Shepherd <masterdriverz@gentoo.org>2007-04-14 23:11:29 +0000
committerCharlie Shepherd <masterdriverz@gentoo.org>2007-04-14 23:11:29 +0000
commit3d534fcea1a4374e628275e602e1a53c23744050 (patch)
treea78d458f440b06905b3f4b70f83dfa481a27f78c /app-misc/klive/klive-0.28.ebuild
parentVersion bump with fixes for JAVA_PKG_STRICT. (diff)
downloadgentoo-2-3d534fcea1a4374e628275e602e1a53c23744050.tar.gz
gentoo-2-3d534fcea1a4374e628275e602e1a53c23744050.tar.bz2
gentoo-2-3d534fcea1a4374e628275e602e1a53c23744050.zip
Clean out old ebuilds, bump to 0.28 and clean out old non-working ebuilds. Also fix the init script for later baselayouts. Thanks to Haplo and Jakub, bugs 162402 and 161320. Add myself explicitly to metadata since I use this package.
(Portage version: 2.1.2.2)
Diffstat (limited to 'app-misc/klive/klive-0.28.ebuild')
-rw-r--r--app-misc/klive/klive-0.28.ebuild59
1 files changed, 59 insertions, 0 deletions
diff --git a/app-misc/klive/klive-0.28.ebuild b/app-misc/klive/klive-0.28.ebuild
new file mode 100644
index 000000000000..da7b4c2bf1ad
--- /dev/null
+++ b/app-misc/klive/klive-0.28.ebuild
@@ -0,0 +1,59 @@
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-misc/klive/klive-0.28.ebuild,v 1.1 2007/04/14 23:11:29 masterdriverz 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="~alpha ~amd64 ~hppa ~ppc ~sparc ~x86"
+IUSE=""
+
+DEPEND="dev-lang/python
+ >=dev-python/twisted-2.0.0"
+RDEPEND="sys-apps/pciutils"
+
+S=${WORKDIR}/${PN}
+
+pkg_setup() {
+ enewuser klive -1 /bin/bash
+}
+
+src_install() {
+ insinto /usr/share/${PN}
+ doins client/klive.tac
+ newinitd ${FILESDIR}/klive.init.d klive || die "init.d failed"
+ dodoc README
+}
+
+pkg_postinst() {
+ echo
+
+ elog "To start klive, use the init script, e.g.:"
+ elog " # /etc/init.d/klive start"
+ echo
+
+ elog "You should add klive to your default runlevel so that it will be"
+ elog "started on on every bootup, e.g.:"
+ elog " # 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."
+ ewarn
+
+ ewarn "The data submitted is used to generate basic statistics which provide"
+ ewarn "insight as to how widely tested a particular kernel version is."
+ ewarn "These statistics are publically accessible at http://klive.cpushare.com"
+ ewarn
+
+ ewarn "If you have privacy/security concerns about the submission of this data"
+ ewarn "and/or its public availability, unmerge this package now."
+ echo
+}
+