diff options
author | Markus Ullmann <jokey@gentoo.org> | 2007-07-24 21:13:25 +0000 |
---|---|---|
committer | Markus Ullmann <jokey@gentoo.org> | 2007-07-24 21:13:25 +0000 |
commit | 154a3f091b3ac97acac536bf69252c9a924b5fe6 (patch) | |
tree | 4ef12415921abb91dda2a708e63e31b5f54930ff /net-analyzer/ntop/ntop-3.1.ebuild | |
parent | Clean out old versions (diff) | |
download | gentoo-2-154a3f091b3ac97acac536bf69252c9a924b5fe6.tar.gz gentoo-2-154a3f091b3ac97acac536bf69252c9a924b5fe6.tar.bz2 gentoo-2-154a3f091b3ac97acac536bf69252c9a924b5fe6.zip |
Clean out old versions
(Portage version: 2.1.3_rc8)
Diffstat (limited to 'net-analyzer/ntop/ntop-3.1.ebuild')
-rw-r--r-- | net-analyzer/ntop/ntop-3.1.ebuild | 89 |
1 files changed, 0 insertions, 89 deletions
diff --git a/net-analyzer/ntop/ntop-3.1.ebuild b/net-analyzer/ntop/ntop-3.1.ebuild deleted file mode 100644 index 46fa91b07512..000000000000 --- a/net-analyzer/ntop/ntop-3.1.ebuild +++ /dev/null @@ -1,89 +0,0 @@ -# Copyright 1999-2007 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-analyzer/ntop/ntop-3.1.ebuild,v 1.12 2007/07/11 23:49:24 mr_bones_ Exp $ - -inherit eutils - -DESCRIPTION="tool that shows network usage like top" -HOMEPAGE="http://www.ntop.org/ntop.html" -SRC_URI="mirror://sourceforge/ntop/${P}.tgz" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~x86 ~ppc ~sparc ~hppa ~amd64 ~ppc64" -IUSE="ssl readline tcpd nls" - -DEPEND="virtual/libc - sys-apps/gawk - >=sys-devel/libtool-1.4 - >=sys-libs/gdbm-1.8.0 - net-libs/libpcap - >=media-libs/gd-2.0.22 - >=media-libs/libpng-1.2.5 - tcpd? ( >=sys-apps/tcp-wrappers-7.6-r4 ) - ssl? ( >=dev-libs/openssl-0.9.6 ) - readline? ( >=sys-libs/readline-4.1 )" - -# Needed by xmldumpPlugin - couldn't get it to work -# dev-libs/gdome2 -# >=dev-libs/glib-2" - -pkg_setup() { - enewgroup ntop - enewuser ntop -1 -1 /var/lib/ntop ntop -} - -src_unpack() { - unpack ${A} - mv "${WORKDIR}"/ntop "${WORKDIR}"/ntop-3.1 - cd "${S}" - epatch "${FILESDIR}"/globals-core.c.diff -} - -src_compile() { - local myconf - - # Dodge include paths for glib.h, gdome.h and xmlversion.h - sed -i -e "s:/usr/local/include:/usr/include/libxml2/libxml -I/usr/include/glib-1.2 -I/usr/include/libgdome:g" \ - configure - - use readline || myconf="${myconf} --without-readline" - use tcpd || myconf="${myconf} --with-tcpwrap" - if use ssl - then - myconf="${myconf} --enable-sslv3 --enable-sslwatchdog" - - else - myconf="${myconf} --without-ssl" - fi - - econf ${myconf} `use_enable nls i18n` || die "configure problem" - emake CPPFLAGS="${CXXFLAGS}" || die "compile problem" -} - -src_install() { - sed -i Makefile -e 's;mkdir -p $(CFG_DBFILE_DIR);mkdir -p $(DESTDIR)$(CFG_DBFILE_DIR);' - 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 ChangeLog MANIFESTO NEWS - dodoc PORTING README SUPPORT_NTOP.txt THANKS docs/* - - chown -R root:0 "${D}"/etc/ntop "${D}"/usr/share/${PN}/html \ - "${D}"/usr/lib/ntop - - dohtml ntop.html - - keepdir /var/lib/ntop - fowner ntop:ntop /var/lib/ntop - fperms 750 /var/lib/ntop - - newinitd "${FILESDIR}"/ntop-init ntop - newconfd "${FILESDIR}"/ntop-confd ntop - - echo 'NTOP_OPTS="-u ntop -P /var/lib/ntop"' >> "${D}"/etc/conf.d/ntop -} |