2016-07-14 00:05:55 +03:00
|
|
|
# Copyright 1999-2016 Gentoo Foundation
|
2012-02-06 16:39:49 +04:00
|
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
|
2016-07-14 00:05:55 +03:00
|
|
|
EAPI=5
|
2012-02-06 16:39:49 +04:00
|
|
|
|
|
|
|
inherit eutils toolchain-funcs
|
|
|
|
|
|
|
|
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"
|
|
|
|
|
|
|
|
SLOT="0"
|
|
|
|
LICENSE="GPL-2"
|
|
|
|
KEYWORDS="~alpha ~amd64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd"
|
2016-07-14 00:05:55 +03:00
|
|
|
IUSE="libressl"
|
2012-02-06 16:39:49 +04:00
|
|
|
|
|
|
|
RDEPEND="
|
2016-07-14 00:05:55 +03:00
|
|
|
!libressl? ( dev-libs/openssl:0= )
|
|
|
|
libressl? ( dev-libs/libressl:0= )
|
2012-02-06 16:39:49 +04:00
|
|
|
~net-analyzer/nessus-core-${PV}
|
|
|
|
~net-analyzer/nessus-libraries-${PV}
|
|
|
|
net-libs/libpcap"
|
|
|
|
DEPEND="${RDEPEND}"
|
|
|
|
|
|
|
|
S="${WORKDIR}"/${PN}
|
|
|
|
|
|
|
|
src_prepare() {
|
|
|
|
tc-export CC
|
|
|
|
epatch "${FILESDIR}"/${PV}-gentoo.patch
|
|
|
|
}
|
|
|
|
|
|
|
|
src_install() {
|
|
|
|
default
|
|
|
|
dodoc docs/*.txt
|
|
|
|
}
|