summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'net-analyzer/nessus-plugins/nessus-plugins-2.2.9.ebuild')
-rw-r--r--net-analyzer/nessus-plugins/nessus-plugins-2.2.9.ebuild23
1 files changed, 16 insertions, 7 deletions
diff --git a/net-analyzer/nessus-plugins/nessus-plugins-2.2.9.ebuild b/net-analyzer/nessus-plugins/nessus-plugins-2.2.9.ebuild
index 351ae9332edd..6fba5e796554 100644
--- a/net-analyzer/nessus-plugins/nessus-plugins-2.2.9.ebuild
+++ b/net-analyzer/nessus-plugins/nessus-plugins-2.2.9.ebuild
@@ -1,22 +1,31 @@
-# Copyright 1999-2007 Gentoo Foundation
+# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-analyzer/nessus-plugins/nessus-plugins-2.2.9.ebuild,v 1.3 2007/07/11 23:49:24 mr_bones_ Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-analyzer/nessus-plugins/nessus-plugins-2.2.9.ebuild,v 1.4 2011/04/20 11:00:43 jlec Exp $
+
+EAPI="1"
inherit toolchain-funcs
-S="${WORKDIR}/${PN}"
DESCRIPTION="A remote security scanner for Linux (nessus-plugins)"
HOMEPAGE="http://www.nessus.org/"
SRC_URI="ftp://ftp.nessus.org/pub/nessus/nessus-${PV}/src/nessus-plugins-GPL-${PV}.tar.gz"
-DEPEND=">=net-analyzer/nessus-core-${PV}"
+
SLOT="0"
IUSE=""
LICENSE="GPL-2"
KEYWORDS="~alpha ~amd64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd"
+DEPEND="
+ dev-libs/openssl:0
+ ~net-analyzer/nessus-core-${PV}
+ net-libs/libpcap"
+RDEPEND="${DEPEND}"
+
+S="${WORKDIR}/${PN}"
+
src_compile() {
- export CC="$(tc-getCC)"
- econf || die
+ tc-export CC
+ econf
emake || die
}
@@ -24,5 +33,5 @@ src_install() {
emake \
DESTDIR="${D}" \
install || die "make install failed"
- dodoc docs/*.txt plugins/accounts/accounts.txt
+ dodoc docs/*.txt
}