# ChangeLog for net-analyzer/trafd
# Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-analyzer/trafd/ChangeLog,v 1.11 2007/03/20 20:19:23 armin76 Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-analyzer/trafd/ChangeLog,v 1.12 2007/04/22 08:48:48 pva Exp $
+
+ 22 Apr 2007; <pva@gentoo.org> -trafd-3.0.1.ebuild:
+ Cleaning old ebuild. This fixes bug #174266.
20 Mar 2007; Raúl Porcel <armin76@gentoo.org> trafd-3.0.1-r1.ebuild:
x86 stable
+++ /dev/null
-MD5 c61d8f5b9824763bd5b93708048f4727 tcpdump-richard-1.7.tar.gz 198587
-RMD160 1a1d9adc6bee35eeab84d34f807f12dafa43f6c1 tcpdump-richard-1.7.tar.gz 198587
-SHA256 572a6544182fa57ec7c89e5093f0fd972be751a0145bfd13b93ef4063168c99a tcpdump-richard-1.7.tar.gz 198587
-MD5 4b6f61f2b3fd985efc935d1ec1f52ce2 trafd-3.0.1-gentoo.tar.bz2 2618
-RMD160 4399242036aa3c6e1196bd6070eeb5c6653729b0 trafd-3.0.1-gentoo.tar.bz2 2618
-SHA256 45904e1251772e703da24b7e51f298f6cfbb4c84bb4dc0f812da5f3a01ca26db trafd-3.0.1-gentoo.tar.bz2 2618
-MD5 6a5abb246e95b68f0d53ebf789bda4fb trafd-3.0.1.tgz 35365
-RMD160 65ac4b09cbb6f014ce6e643f3607a280d13dcd7f trafd-3.0.1.tgz 35365
-SHA256 29164f69e6fcfeeefa6fe7f3bb07f415de03a45fa7985cfc76a99c423bc39db9 trafd-3.0.1.tgz 35365
+++ /dev/null
-# Copyright 1999-2006 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-analyzer/trafd/trafd-3.0.1.ebuild,v 1.10 2006/02/17 16:26:25 jokey Exp $
-
-inherit eutils
-
-DESCRIPTION="The BPF Traffic Collector"
-SRC_URI="ftp://ftp.riss-telecom.ru/pub/dev/trafd/${P}.tgz
- http://metalab.unc.edu/pub/Linux/system/network/management/tcpdump-richard-1.7.tar.gz
- mirror://gentoo/${P}-gentoo.tar.bz2"
-HOMEPAGE="ftp://ftp.riss-telecom.ru/pub/dev/trafd/"
-
-SLOT="0"
-LICENSE="BSD"
-KEYWORDS="x86"
-IUSE=""
-
-# -lbpft -lpcap -lcurses -ltermcap -lfl
-DEPEND="net-libs/libpcap
- sys-libs/ncurses
- sys-devel/flex"
-
-PATCHDIR=${WORKDIR}/${P}-gentoo
-
-src_unpack() {
- unpack ${A}
- cd ${S}
- epatch ${PATCHDIR}/${PF}-gentoo.diff
-
- sed -i "44s:-O2$:${CFLAGS}:; 52s:^INCLUDE.*:& -I../../tcpdump-richard-1.7/libpcap-0.0/bpf/:" Makefile
-}
-
-src_install () {
- dodir /usr/bin /etc /usr/share/doc/trafd-3.0.1 /var/trafd
- make install DESTDIR=${D} || die
- exeinto /etc/init.d ; newexe ${PATCHDIR}/trafd.init trafd
- insinto /etc/conf.d ; newins ${PATCHDIR}/trafd.conf trafd
-}
-
-pkg_postinst() {
- ewarn "NOTE: if you want to run trafd on boot then execute"
- ewarn "rc-update add trafd default"
- ewarn "change interfaces in /etc/conf.d/trafd (default is eth0)"
-}