summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSeemant Kulleen <seemant@gentoo.org>2002-04-27 13:01:38 +0000
committerSeemant Kulleen <seemant@gentoo.org>2002-04-27 13:01:38 +0000
commitb819ba167d63563bf170faac12f2cab82cd8b0d2 (patch)
tree634a8d9daf9fc1e495f99696bebbc82c2db72f41 /net-analyzer
parentcleanup (diff)
downloadhistorical-b819ba167d63563bf170faac12f2cab82cd8b0d2.tar.gz
historical-b819ba167d63563bf170faac12f2cab82cd8b0d2.tar.bz2
historical-b819ba167d63563bf170faac12f2cab82cd8b0d2.zip
cleanup
Diffstat (limited to 'net-analyzer')
-rw-r--r--net-analyzer/sniffit/sniffit-0.3.7.ebuild19
-rw-r--r--net-analyzer/tcpstat/tcpstat-1.3.ebuild29
2 files changed, 19 insertions, 29 deletions
diff --git a/net-analyzer/sniffit/sniffit-0.3.7.ebuild b/net-analyzer/sniffit/sniffit-0.3.7.ebuild
index 64369d28f9e9..8a78782e81c9 100644
--- a/net-analyzer/sniffit/sniffit-0.3.7.ebuild
+++ b/net-analyzer/sniffit/sniffit-0.3.7.ebuild
@@ -1,32 +1,31 @@
# Copyright 1999-2002 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License, v2 or later
# Author Ben Lutgens <lamer@gentoo.org>, Ferry Meyndert <m0rpheus@poseidon.mine.nu>, Bruce A. Locke <blocke@shivan.org>
-# $Header: /var/cvsroot/gentoo-x86/net-analyzer/sniffit/sniffit-0.3.7.ebuild,v 1.1 2002/01/29 05:04:30 blocke Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-analyzer/sniffit/sniffit-0.3.7.ebuild,v 1.2 2002/04/27 12:58:48 seemant Exp $
-P=sniffit.0.3.7.beta
-S=${WORKDIR}/${P}
+MY_P=${P/-/.}.beta
+S=${WORKDIR}/${MY_P}
DESCRIPTION="Interactive Packet Sniffer"
-SRC_URI="http://reptile.rug.ac.be/~coder/sniffit/files/${P}.tar.gz
+SRC_URI="http://reptile.rug.ac.be/~coder/sniffit/files/${MY_P}.tar.gz
http://www.clan-tva.com/m0rpheus/sniffit_0.3.7.beta-10.diff"
HOMEPAGE="http://reptile.rug.ac.be/~coder/sniffit/sniffit.html"
DEPEND=">=net-libs/libpcap-0.6.2 >=sys-libs/ncurses-5.2"
src_unpack() {
- unpack ${P}.tar.gz
+ unpack ${MY_P}.tar.gz
cd ${S}
patch < ${DISTDIR}/sniffit_0.3.7.beta-10.diff || die
}
src_compile() {
- ./configure --infodir=/usr/share/info --mandir=/usr/share/man --prefix=/usr --host=${CHOST} || die
+ econf || die
emake OBJ_FLAG="-w -c ${CFLAGS}" EXE_FLAG="-w ${CFLAGS} -o sniffit" || die
}
src_install () {
- dobin sniffit
- doman sniffit.5 sniffit.8
- dodoc README.FIRST PLUGIN-HOWTO
+ dobin sniffit
+ doman sniffit.5 sniffit.8
+ dodoc README.FIRST PLUGIN-HOWTO
}
-
diff --git a/net-analyzer/tcpstat/tcpstat-1.3.ebuild b/net-analyzer/tcpstat/tcpstat-1.3.ebuild
index 1c59d1d7c983..2b8168f24d21 100644
--- a/net-analyzer/tcpstat/tcpstat-1.3.ebuild
+++ b/net-analyzer/tcpstat/tcpstat-1.3.ebuild
@@ -1,38 +1,29 @@
-# Copyright 1999-2000 Gentoo Technologies, Inc.
+# Copyright 1999-2002 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License, v2 or later
# Author Achim Gottinger <achim@gentoo.org>
-# $Header: /var/cvsroot/gentoo-x86/net-analyzer/tcpstat/tcpstat-1.3.ebuild,v 1.5 2001/05/29 17:28:19 achim Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-analyzer/tcpstat/tcpstat-1.3.ebuild,v 1.6 2002/04/27 13:01:38 seemant Exp $
-P=tcpstat-1.3
-A=${P}.tar.gz
S=${WORKDIR}/${P}
DESCRIPTION="Reports network interface statistics"
-SRC_URI="http://www.frenchfries.net/paul/tcpstat/${A}"
+SRC_URI="http://www.frenchfries.net/paul/tcpstat/${P}.tar.gz"
HOMEPAGE="http://www.frenchfries.net/paul/tcpstat/"
DEPEND="virtual/glibc
>=net-libs/libpcap-0.5.2
- berkdb? ( <sys-libs/db-2 )"
-
-RDEPEND="virtual/glibc
- >=net-libs/libpcap-0.5.2
- berkdb? ( <sys-libs/db-2 )"
+ berkdb? ( <sys-libs/db-2 )"
src_compile() {
- try ./configure --prefix=/usr --host=${CHOST}
- try make
+ econf || die
+ make || die
}
src_install () {
- try make DESTDIR=${D} install
- if [ "`use berkdb`" ] ; then
- dobin src/tcpprof
- fi
- dodoc AUTHORS ChangeLog COPYING LICENSE NEWS README*
+ make DESTDIR=${D} install || die
+ use berkdb && dobin src/tcpprof
+
+ dodoc AUTHORS ChangeLog COPYING LICENSE NEWS README*
}
-
-