diff options
author | Donny Davies <woodchip@gentoo.org> | 2002-04-14 06:44:48 +0000 |
---|---|---|
committer | Donny Davies <woodchip@gentoo.org> | 2002-04-14 06:44:48 +0000 |
commit | ff8b1c9359f44df7ff160e4f415414d6a39cd4d5 (patch) | |
tree | 5b38303e940d5ddd91d873e03de99f2ef68d4a01 /net-analyzer | |
parent | Updated more descriptions. (diff) | |
download | gentoo-2-ff8b1c9359f44df7ff160e4f415414d6a39cd4d5.tar.gz gentoo-2-ff8b1c9359f44df7ff160e4f415414d6a39cd4d5.tar.bz2 gentoo-2-ff8b1c9359f44df7ff160e4f415414d6a39cd4d5.zip |
initial check-in. thanks goto Lukas Beeler <lb-gentoo@projectdream.org> for the submission.
Diffstat (limited to 'net-analyzer')
-rw-r--r-- | net-analyzer/nstats/ChangeLog | 9 | ||||
-rw-r--r-- | net-analyzer/nstats/files/digest-nstats-0.3.2-r2 | 1 | ||||
-rw-r--r-- | net-analyzer/nstats/files/nstats-0.3.2-r2-gentoo.diff | 16 | ||||
-rw-r--r-- | net-analyzer/nstats/nstats-0.3.2-r2.ebuild | 25 |
4 files changed, 51 insertions, 0 deletions
diff --git a/net-analyzer/nstats/ChangeLog b/net-analyzer/nstats/ChangeLog new file mode 100644 index 000000000000..9f89b83d9bee --- /dev/null +++ b/net-analyzer/nstats/ChangeLog @@ -0,0 +1,9 @@ +# ChangeLog for net-analyzer/nstats +# Copyright 2002 Gentoo Technologies, Inc.; Distributed under the GPL +# $Header: /var/cvsroot/gentoo-x86/net-analyzer/nstats/ChangeLog,v 1.1 2002/04/14 06:44:48 woodchip Exp $ + +*nstats-0.3.2-r2 (14 Apr 2002) + + 14 Apr 2002; Donny Davies <woodchip@gentoo.org> : + + Initial check-in. Thanks go to Lukas Beeler <lb-gentoo@projectdream.org>. diff --git a/net-analyzer/nstats/files/digest-nstats-0.3.2-r2 b/net-analyzer/nstats/files/digest-nstats-0.3.2-r2 new file mode 100644 index 000000000000..0adb7566a556 --- /dev/null +++ b/net-analyzer/nstats/files/digest-nstats-0.3.2-r2 @@ -0,0 +1 @@ +MD5 3b5dc0252c6e0d7706e3d221d40df90a nstats-0.3.2.tar.gz 12319 diff --git a/net-analyzer/nstats/files/nstats-0.3.2-r2-gentoo.diff b/net-analyzer/nstats/files/nstats-0.3.2-r2-gentoo.diff new file mode 100644 index 000000000000..916dd6a5e33c --- /dev/null +++ b/net-analyzer/nstats/files/nstats-0.3.2-r2-gentoo.diff @@ -0,0 +1,16 @@ +diff -ur nstats-0.3.2.orig/Makefile nstats-0.3.2/Makefile +--- nstats-0.3.2.orig/Makefile Sun Mar 3 19:34:19 2002 ++++ nstats-0.3.2/Makefile Sun Mar 3 19:46:20 2002 +@@ -12,8 +12,8 @@ + rm -f nstats *.o + + install: nstats +- mkdir -p $(PREFIX)/bin/ +- mkdir -p $(PREFIX)/share/man/man8/ +- install nstats $(PREFIX)/bin/ +- install nstats.8 $(PREFIX)/share/man/man8/ ++ mkdir -p $(DESTDIR)$(PREFIX)/bin/ ++ mkdir -p $(DESTDIR)$(PREFIX)/share/man/man8/ ++ install nstats $(DESTDIR)$(PREFIX)/bin/ ++ install nstats.8 $(DESTDIR)$(PREFIX)/share/man/man8/ + diff --git a/net-analyzer/nstats/nstats-0.3.2-r2.ebuild b/net-analyzer/nstats/nstats-0.3.2-r2.ebuild new file mode 100644 index 000000000000..96829d57e4b9 --- /dev/null +++ b/net-analyzer/nstats/nstats-0.3.2-r2.ebuild @@ -0,0 +1,25 @@ +# Copyright 1999-2002 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License, v2 or later +# Author: Lukas Beeler <lb-gentoo@projectdream.org> +# $Header: /var/cvsroot/gentoo-x86/net-analyzer/nstats/nstats-0.3.2-r2.ebuild,v 1.1 2002/04/14 06:44:48 woodchip Exp $ + +S=${WORKDIR}/${P} +DESCRIPTION="Displays statistics about ethernet traffic including protocol breakdown" +SRC_URI="http://reeler.org/nstats/files/${P}.tar.gz" +HOMEPAGE="http://reeler.org/nstats/" + +DEPEND="virtual/glibc >=net-libs/libpcap-0.6.2" + +src_unpack() { + unpack ${A} ; cd ${S} + patch -p1 < ${FILESDIR}/${PF}-gentoo.diff || die +} + +src_compile() { + emake CFLAGS="${CFLAGS} -Wall -D_GNU_SOURCE" || die "make failed" +} + +src_install () { + make DESTDIR=${D} install || die + dodoc COPYING +} |