diff options
author | Marcelo Góes <vanquirius@gentoo.org> | 2006-07-08 02:30:32 +0000 |
---|---|---|
committer | Marcelo Góes <vanquirius@gentoo.org> | 2006-07-08 02:30:32 +0000 |
commit | 3df61ed0979477c5b86992d083f350b4b145c3e0 (patch) | |
tree | 2e5e6fe674926d95a32f173f0715815febbc1d67 /net-analyzer | |
parent | fix digests, remove old version (diff) | |
download | gentoo-2-3df61ed0979477c5b86992d083f350b4b145c3e0.tar.gz gentoo-2-3df61ed0979477c5b86992d083f350b4b145c3e0.tar.bz2 gentoo-2-3df61ed0979477c5b86992d083f350b4b145c3e0.zip |
3.0.524 version bump. Updated init scripts to use eth0 by default, not pass --detach as an option. Also, new version does not use patch from version 2.6.
(Portage version: 2.1-r1)
Diffstat (limited to 'net-analyzer')
-rw-r--r-- | net-analyzer/darkstat/ChangeLog | 10 | ||||
-rw-r--r-- | net-analyzer/darkstat/darkstat-3.0.524.ebuild | 41 | ||||
-rw-r--r-- | net-analyzer/darkstat/files/darkstat-confd2 | 8 | ||||
-rw-r--r-- | net-analyzer/darkstat/files/darkstat-init2 | 20 | ||||
-rw-r--r-- | net-analyzer/darkstat/files/digest-darkstat-3.0.524 | 3 |
5 files changed, 81 insertions, 1 deletions
diff --git a/net-analyzer/darkstat/ChangeLog b/net-analyzer/darkstat/ChangeLog index 740fa91b3ca4..6d359ae33e6c 100644 --- a/net-analyzer/darkstat/ChangeLog +++ b/net-analyzer/darkstat/ChangeLog @@ -1,6 +1,14 @@ # ChangeLog for net-analyzer/darkstat # Copyright 2000-2006 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-analyzer/darkstat/ChangeLog,v 1.15 2006/02/25 23:46:38 vanquirius Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-analyzer/darkstat/ChangeLog,v 1.16 2006/07/08 02:30:32 vanquirius Exp $ + +*darkstat-3.0.524 (08 Jul 2006) + + 08 Jul 2006; Marcelo Goes <vanquirius@gentoo.org> +files/darkstat-confd2, + +files/darkstat-init2, +darkstat-3.0.524.ebuild: + 3.0.524 version bump. Updated init scripts to use eth0 by default, not pass + --detach as an option. Also, new version does not use patch from version + 2.6. 26 Feb 2006; Marcelo Goes <vanquirius@gentoo.org> -darkstat-2.6.ebuild, darkstat-2.6-r1.ebuild: diff --git a/net-analyzer/darkstat/darkstat-3.0.524.ebuild b/net-analyzer/darkstat/darkstat-3.0.524.ebuild new file mode 100644 index 000000000000..140b3525254d --- /dev/null +++ b/net-analyzer/darkstat/darkstat-3.0.524.ebuild @@ -0,0 +1,41 @@ +# Copyright 1999-2006 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-analyzer/darkstat/darkstat-3.0.524.ebuild,v 1.1 2006/07/08 02:30:32 vanquirius Exp $ + +inherit eutils + +DESCRIPTION="darkstat is a network traffic analyzer" +HOMEPAGE="http://dmr.ath.cx/net/darkstat/" +SRC_URI="http://dmr.ath.cx/net/darkstat/${P}.tar.bz2" + +KEYWORDS="~amd64 ~ppc ~ppc-macos ~x86" +IUSE="nls" +LICENSE="GPL-2" +SLOT="0" + +DEPEND="net-libs/libpcap + nls? ( sys-devel/gettext )" +RDEPEND="nls? ( virtual/libintl )" + +src_compile() { + use nls && myconf="`use_with nls`" + ./configure \ + --host=${CHOST} \ + --prefix=/usr \ + --infodir=/usr/share/info \ + --mandir=/usr/share/man \ + ${myconf} || die "./configure failed" + emake || die +} + +src_install() { + make DESTDIR="${D}" install || die + + dodir /var/spool/darkstat + + dodoc AUTHORS README THANKS + + newinitd "${FILESDIR}"/darkstat-init2 darkstat + newconfd "${FILESDIR}"/darkstat-confd2 darkstat +} + diff --git a/net-analyzer/darkstat/files/darkstat-confd2 b/net-analyzer/darkstat/files/darkstat-confd2 new file mode 100644 index 000000000000..a54d0a245356 --- /dev/null +++ b/net-analyzer/darkstat/files/darkstat-confd2 @@ -0,0 +1,8 @@ +# /etc/conf.d/darkstat +# Config file for /etc/init.d/darkstat +# Copyright 1999-2006 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-analyzer/darkstat/files/darkstat-confd2,v 1.1 2006/07/08 02:30:32 vanquirius Exp $ + +# Set preferred options here +DARKSTAT_OPTS="-i eth0" diff --git a/net-analyzer/darkstat/files/darkstat-init2 b/net-analyzer/darkstat/files/darkstat-init2 new file mode 100644 index 000000000000..abcd54d62112 --- /dev/null +++ b/net-analyzer/darkstat/files/darkstat-init2 @@ -0,0 +1,20 @@ +#!/sbin/runscript +# Copyright 1999-2006 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-analyzer/darkstat/files/darkstat-init2,v 1.1 2006/07/08 02:30:32 vanquirius Exp $ + +depend() { + need net +} + +start() { + ebegin "Starting darkstat" + start-stop-daemon --start --quiet --exec /usr/sbin/darkstat -- -d /var/spool/darkstat ${DARKSTAT_OPTS} >/dev/null + eend $? +} + +stop() { + ebegin "Stopping darkstat" + start-stop-daemon --stop --quiet --retry 5 --exec /usr/sbin/darkstat + eend $? +} diff --git a/net-analyzer/darkstat/files/digest-darkstat-3.0.524 b/net-analyzer/darkstat/files/digest-darkstat-3.0.524 new file mode 100644 index 000000000000..4a36b7a5597e --- /dev/null +++ b/net-analyzer/darkstat/files/digest-darkstat-3.0.524 @@ -0,0 +1,3 @@ +MD5 f4a18ccb9c77c3d2317c1a041519a21e darkstat-3.0.524.tar.bz2 74605 +RMD160 42380b23902cef4cc348fd1f736542dd17296b54 darkstat-3.0.524.tar.bz2 74605 +SHA256 767b27882ff26ac041517a951c366e49c18cea92bf3d4a0e779136a5dcbe9ee2 darkstat-3.0.524.tar.bz2 74605 |