📄 ntop-3.0_pre2.ebuild
字号:
# Copyright 1999-2003 Gentoo Technologies, Inc.# Distributed under the terms of the GNU General Public License v2# $Header: /export/home/ntop/ntop/packages/Gentoo/ntop-3.0_pre2.ebuild,v 1.1 2004/03/08 16:46:44 burton Exp $IUSE="ssl tcpd"S=${WORKDIR}/ntop-3.0pre2DESCRIPTION="ntop is a unix tool that shows network usage like top"SRC_URI="mirror://sourceforge/ntop/ntop-3.0pre2.tgz"HOMEPAGE="http://www.ntop.org/ntop.html"SLOT="0"LICENSE="GPL-2"KEYWORDS="x86 ~ppc ~sparc hppa"DEPEND=">=sys-libs/gdbm-1.8.0 >=net-libs/libpcap-0.6.2 tcpd? ( >=sys-apps/tcp-wrappers-7.6-r4 ) ssl? ( >=dev-libs/openssl-0.9.6 ) media-libs/libgd media-libs/libpng"DEPEND=">=sys-libs/gdbm-1.8.0 >=net-libs/libpcap-0.6.2 media-libs/libgd media-libs/libpng"src_compile() { cd ${S} mv configure.in configure.zzz cat configure.zzz | \ sed -e 's/NTOP_VERSION_EXTRA=""/NTOP_VERSION_EXTRA="Gentoo ebuild"/' > configure.in local myconf use tcpd || myconf="${myconf} --with-tcpwrap" use ssl || myconf="${myconf} --without-ssl" # ntop 3.0 ships with its own version of rrd, myrrd. # ntop must be built with the static version it ships with econf ${myconf} || die "configure problem" make || die "compile problem"}src_install () { make DESTDIR=${D} install || die "install problem" doman ntop.8 dodoc AUTHORS ChangeLog CONTENTS COPYING INSTALL MANIFESTO dodoc NEWS PORTING README SUPPORT_NTOP.txt THANKS dodoc docs/* dohtml ntop.html faq.html exeinto /etc/init.d ; newexe ${FILESDIR}/ntop-init ntop insinto /etc/conf.d ; newins ${FILESDIR}/ntop-confd ntop dodir /var/lib/ntop fowners nobody:nobody /var/lib/ntop keepdir /var/lib/ntop}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -