diff options
author | Peter Alfredsen <loki_val@gentoo.org> | 2008-07-06 11:21:48 +0000 |
---|---|---|
committer | Peter Alfredsen <loki_val@gentoo.org> | 2008-07-06 11:21:48 +0000 |
commit | 7a6cca7d924688628b6ac3ef6a9da33dbb7be05d (patch) | |
tree | a03c7ad9a14a4a36cec46c12f378442ee8f91213 /app-misc | |
parent | bump to r10. xulrunner-1.9 enabled ebuild. (diff) | |
download | historical-7a6cca7d924688628b6ac3ef6a9da33dbb7be05d.tar.gz historical-7a6cca7d924688628b6ac3ef6a9da33dbb7be05d.tar.bz2 historical-7a6cca7d924688628b6ac3ef6a9da33dbb7be05d.zip |
Initial commit. Thanks Vadim Efimov <evadim@evadim.ru> of bug #210192 for the ebuild.
Package-Manager: portage-2.2_rc1/cvs/Linux 2.6.25.8 i686
Diffstat (limited to 'app-misc')
-rw-r--r-- | app-misc/g15stats/ChangeLog | 12 | ||||
-rw-r--r-- | app-misc/g15stats/Manifest | 6 | ||||
-rw-r--r-- | app-misc/g15stats/files/g15stats-1.0.confd | 10 | ||||
-rw-r--r-- | app-misc/g15stats/files/g15stats-1.0.initd | 24 | ||||
-rw-r--r-- | app-misc/g15stats/g15stats-1.0.ebuild | 42 | ||||
-rw-r--r-- | app-misc/g15stats/metadata.xml | 10 |
6 files changed, 104 insertions, 0 deletions
diff --git a/app-misc/g15stats/ChangeLog b/app-misc/g15stats/ChangeLog new file mode 100644 index 000000000000..9ddee4a59d28 --- /dev/null +++ b/app-misc/g15stats/ChangeLog @@ -0,0 +1,12 @@ +# ChangeLog for app-misc/g15stats +# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/app-misc/g15stats/ChangeLog,v 1.1 2008/07/06 11:21:48 loki_val Exp $ + +*g15stats-1.0 (06 Jul 2008) + + 06 Jul 2008; Peter Alfredsen <loki_val@gentoo.org> + +files/g15stats-1.0.confd, +files/g15stats-1.0.initd, +metadata.xml, + +g15stats-1.0.ebuild: + Initial commit. Thanks Vadim Efimov <evadim@evadim.ru> of bug #210192 for + the ebuild. + diff --git a/app-misc/g15stats/Manifest b/app-misc/g15stats/Manifest new file mode 100644 index 000000000000..1d8f8dcfbb43 --- /dev/null +++ b/app-misc/g15stats/Manifest @@ -0,0 +1,6 @@ +AUX g15stats-1.0.confd 339 RMD160 56e9a020f98d5fda2389772b6b3f5a0377d393d1 SHA1 552c595ad4bd3d9ea5011cf016077b4f9afd028a SHA256 97c64ab95603f9b08c3570c4fadf5802fc138253b7c1e87165d7ad7a9d477bbe +AUX g15stats-1.0.initd 638 RMD160 9c3508bffeeb06950e6a2188a57acb1e63618d1c SHA1 68076d916c6c1f30401b1051d7bd77ed8704822b SHA256 4760092b826772a0436655b670a299b650df777fc6d8ec81415d0044f2205b0c +DIST g15stats-1.0.tar.bz2 216343 RMD160 9708e5e881b81867120f7fddee09822843a40627 SHA1 88c40017740ba8799a135a5e7523ff57840626cb SHA256 5ad5ff2bf65369b7ba30340551b022e69f32fd1e69e4a414a59c4bde8dc3ce62 +EBUILD g15stats-1.0.ebuild 981 RMD160 1e3399d071d84a3248911edae0894058c81d1d31 SHA1 5e0493bfcaeb710c73cb16700c07c101b5439760 SHA256 1f0c198588057accd36ad5e13cb0a5719faf62615347101ce39801a9aeb6fa46 +MISC ChangeLog 477 RMD160 1edb01b76129a528365263a700fdc946d3cd7cd1 SHA1 d90849e8d8db02ec01d9b426698fd8eb675a3f29 SHA256 50aa4cc3dd1e97f9085a465795e07d433e25952f15f25a2f50b552d64daf32ff +MISC metadata.xml 254 RMD160 6c27a782dbac1887325ef84cecbe5070b69f5ea4 SHA1 cdbc29ed9187d58efe47f58147aaa1f0e210b45b SHA256 114737da2bcb4ce2124f594e1cc07a41531b19d489c8c6ce6eb9b20d784a9aaa diff --git a/app-misc/g15stats/files/g15stats-1.0.confd b/app-misc/g15stats/files/g15stats-1.0.confd new file mode 100644 index 000000000000..85895706fde9 --- /dev/null +++ b/app-misc/g15stats/files/g15stats-1.0.confd @@ -0,0 +1,10 @@ +# /etc/conf.d/g15stats: Configuration for the G15 stats + +#Gather statistics from named interface (ie eth0) +#Network Screen displays Total bytes In/Out, history graph, Peak speed. +IFACE="eth0" + +#-nsa +#Scale network graphs against highest speed recorded. The +#default is to scale against the highest peak in the current graph. +EXTRA_OPTS=""
\ No newline at end of file diff --git a/app-misc/g15stats/files/g15stats-1.0.initd b/app-misc/g15stats/files/g15stats-1.0.initd new file mode 100644 index 000000000000..2e69478398ea --- /dev/null +++ b/app-misc/g15stats/files/g15stats-1.0.initd @@ -0,0 +1,24 @@ +#!/sbin/runscript +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-misc/g15stats/files/g15stats-1.0.initd,v 1.1 2008/07/06 11:21:48 loki_val Exp $ + +PIDFILE=/var/run/${SVCNAME}.pid + +depend() { + need g15daemon + after xdm +} + +start() { + ebegin "Starting ${SVCNAME}" + start-stop-daemon --start --background --make-pidfile --pidfile ${PIDFILE} --exec \ + /usr/bin/g15stats -- --interface "${IFACE}" "${EXTRA_OPTS}" + eend $? +} + +stop() { + ebegin "Stoping ${SVCNAME}" + start-stop-daemon --stop --pidfile ${PIDFILE} --name g15stats + eend $? +} diff --git a/app-misc/g15stats/g15stats-1.0.ebuild b/app-misc/g15stats/g15stats-1.0.ebuild new file mode 100644 index 000000000000..3ed3c7b50c09 --- /dev/null +++ b/app-misc/g15stats/g15stats-1.0.ebuild @@ -0,0 +1,42 @@ +# Copyright 1999-2008 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-misc/g15stats/g15stats-1.0.ebuild,v 1.1 2008/07/06 11:21:48 loki_val Exp $ + +DESCRIPTION="A simple message/alert client for G15daemon" +HOMEPAGE="http://g15daemon.sourceforge.net/" +SRC_URI="mirror://sourceforge/g15daemon/${P}.tar.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~x86" +IUSE="" + +RDEPEND=">=app-misc/g15daemon-1.9.0 + dev-libs/libg15 + dev-libs/libg15render + sys-libs/zlib + gnome-base/libgtop" + +DEPEND="${DEPEND} + dev-util/pkgconfig" + +src_compile() { + export CPPFLAGS=$CFLAGS + econf || die + emake || die +} + +src_install() { + emake DESTDIR="${D}" install || die "make install failed" + rm "$D"/usr/share/doc/${P}/{COPYING,NEWS} + + newconfd "${FILESDIR}/${P}.confd" ${PN} + newinitd "${FILESDIR}/${P}.initd" ${PN} + + prepalldocs +} + +pkg_postinst() { + elog "Remember to set the interface you want monitored in" + elog "/etc/conf.d/g15stats" +} diff --git a/app-misc/g15stats/metadata.xml b/app-misc/g15stats/metadata.xml new file mode 100644 index 000000000000..96397185f69c --- /dev/null +++ b/app-misc/g15stats/metadata.xml @@ -0,0 +1,10 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>no-herd</herd> +<maintainer> + <email>loki_val@gentoo.org</email> + <name>Peter Alfredsen</name> +</maintainer> +</pkgmetadata> + |