diff options
author | Daniel Black <dragonheart@gentoo.org> | 2005-01-16 04:23:21 +0000 |
---|---|---|
committer | Daniel Black <dragonheart@gentoo.org> | 2005-01-16 04:23:21 +0000 |
commit | 07ac7a540abcc399ccca76bebf67df34dab33424 (patch) | |
tree | e4ea46894e057efd7e1cb332248b1115e1f3d728 /net-analyzer/ntop/ntop-2.2c.ebuild | |
parent | =net-analyzer/ntop-3.1 segv (diff) | |
download | gentoo-2-07ac7a540abcc399ccca76bebf67df34dab33424.tar.gz gentoo-2-07ac7a540abcc399ccca76bebf67df34dab33424.tar.bz2 gentoo-2-07ac7a540abcc399ccca76bebf67df34dab33424.zip |
Cleanout and Version bump as per bug #75812
(Portage version: 2.0.51-r13)
Diffstat (limited to 'net-analyzer/ntop/ntop-2.2c.ebuild')
-rw-r--r-- | net-analyzer/ntop/ntop-2.2c.ebuild | 106 |
1 files changed, 0 insertions, 106 deletions
diff --git a/net-analyzer/ntop/ntop-2.2c.ebuild b/net-analyzer/ntop/ntop-2.2c.ebuild deleted file mode 100644 index a79969c5b0f9..000000000000 --- a/net-analyzer/ntop/ntop-2.2c.ebuild +++ /dev/null @@ -1,106 +0,0 @@ -# Copyright 1999-2004 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-analyzer/ntop/ntop-2.2c.ebuild,v 1.10 2004/10/04 22:57:27 pvdabeel Exp $ - -inherit eutils - -IUSE="ssl readline tcpd ncurses" - -S=${WORKDIR}/${PN}/${PN} -DESCRIPTION="ntop is a unix tool that shows network usage like top" -SRC_URI="mirror://sourceforge/ntop/${P}.tgz" -HOMEPAGE="http://www.ntop.org/ntop.html" - -SLOT="0" -LICENSE="GPL-2" -KEYWORDS="x86 ppc sparc hppa ~amd64" - -DEPEND=">=sys-libs/gdbm-1.8.0 - >=net-libs/libpcap-0.5.2 - tcpd? ( >=sys-apps/tcp-wrappers-7.6-r4 ) - ssl? ( >=dev-libs/openssl-0.9.6 ) - readline? ( >=sys-libs/readline-4.1 ) - ncurses? ( sys-libs/ncurses )" - - -src_unpack() { - unpack ${A} - - cd ${S}/../gdchart0.94c/zlib-1.1.4/ - epatch ${FILESDIR}/zlib-1.1.4-gzprintf.patch - epatch ${FILESDIR}/zlib-1.1.4-glibc.patch - epatch ${FILESDIR}/zlib-1.1.4-build-fPIC.patch - epatch ${FILESDIR}/zlib-1.1.4-mapfile.patch - epatch ${FILESDIR}/zlib-1.1.4-build-static-with-fpic.patch - - cd ${S}/../gdchart0.94c/ - epatch ${FILESDIR}/gdchart0.94c-fpic.patch - - cd ${S}/../gdchart0.94c/gd-1.8.3/ - epatch ${FILESDIR}/gd-1.8.3-fpic.patch - - cd ${S}/../gdchart0.94c/gd-1.8.3/libpng-1.2.4/ - epatch ${FILESDIR}/libpng-1.2.4-fpic.patch - -} - -src_compile() { - cd ${S} - - local myconf - - use readline || myconf="${myconf} --without-readline" - use tcpd || myconf="${myconf} --with-tcpwrap" - use ssl || myconf="${myconf} --without-ssl" - use ncurses || myconf="${myconf} --without-curses" - - # ntop 2.0 ships with its own version of gdchart... gdchart should - # get its own package but ntop should be built with the version it - # shipped with just in case future versions are incompatible -- blocke - - # compile gdchart - einfo "Configure gdchart" - cd ../gdchart0.94c - ./configure || die "gdchart configure problem" - - # subtree #1 - einfo "Compiling libpng" - cd gd-1.8.3/libpng-1.2.4 - make -f scripts/makefile.linux CFLAGS="${CFLAGS}" || die "libpng compile problem" - - # subtree #2 - einfo "Compiling zlib" - cd ../../zlib-1.1.4/ - ./configure || die "zlib configure problem" - make || die "zlib compile problem" - - # gdchart make - einfo "Compiling gdchart" - cd ../ - make CFLAGS="${CFLAGS}" || die "gdchart compile problem" - - # now ntop itself... - einfo "Compiling ntop" - cd ../ntop - econf ${myconf} || die "configure problem" - make || die "compile problem" -} - -src_install () { - make DESTDIR=${D} install || die "install problem" - - # fixme: bad handling of plugins (in /usr/lib with unsuggestive names) - # (don't know if there is a clean way to handle it) - - doman ntop.8 - - dodoc AUTHORS CONTENTS COPYING ChangeLog MANIFESTO NEWS - dodoc PORTING README SUPPORT_NTOP.txt THANKS docs/* - - dohtml ntop.html - - keepdir /var/lib/ntop - - exeinto /etc/init.d ; newexe ${FILESDIR}/ntop-init ntop - insinto /etc/conf.d ; newins ${FILESDIR}/ntop-confd ntop -} |