diff options
author | Patrick Kursawe <phosphan@gentoo.org> | 2004-02-09 14:27:42 +0000 |
---|---|---|
committer | Patrick Kursawe <phosphan@gentoo.org> | 2004-02-09 14:27:42 +0000 |
commit | 8266bc06c8364f02aa223d912ea572abb3b749aa (patch) | |
tree | c0e364af6638afc54baf5f50c0e60f903c7c4bc3 /net-analyzer | |
parent | Version bump. (diff) | |
download | historical-8266bc06c8364f02aa223d912ea572abb3b749aa.tar.gz historical-8266bc06c8364f02aa223d912ea572abb3b749aa.tar.bz2 historical-8266bc06c8364f02aa223d912ea572abb3b749aa.zip |
Version bump.
Diffstat (limited to 'net-analyzer')
-rw-r--r-- | net-analyzer/nessus-core/Manifest | 4 | ||||
-rw-r--r-- | net-analyzer/nessus-core/nessus-core-2.0.10a.ebuild | 68 |
2 files changed, 70 insertions, 2 deletions
diff --git a/net-analyzer/nessus-core/Manifest b/net-analyzer/nessus-core/Manifest index 8d7f7f3d1ae3..4e0b41d7f231 100644 --- a/net-analyzer/nessus-core/Manifest +++ b/net-analyzer/nessus-core/Manifest @@ -1,9 +1,9 @@ MD5 77d06884357f3244aeaad9afb981f311 nessus-core-2.0.8a.ebuild 2057 -MD5 10612d181ba23842f2e5315946cd929a nessus-core-2.0.10a.ebuild 1794 +MD5 275d4e9b7a502188ab5a494c0921baad nessus-core-2.0.10a.ebuild 1796 MD5 c543c8098fe41be92e923af6588ddf0d nessus-core-2.0.7.ebuild 1611 MD5 834db601c98ee809f6f041e7ddc81343 nessus-core-2.0.7-r1.ebuild 2036 MD5 0fe8839e56d29158b717662d604c157f nessus-core-2.0.9.ebuild 1793 -MD5 7523da1f22603f7f1af6ffeceaefc19c ChangeLog 4758 +MD5 04feb63d25bd214a410250d4b96097cf ChangeLog 4894 MD5 d4441c33afe4e07685509a894b5254f3 files/digest-nessus-core-2.0.10a 140 MD5 23192ff5f68a5dcd5ac8483ee86a03eb files/digest-nessus-core-2.0.7-r1 138 MD5 5c6426f630e46de4a016d442909c36bd files/digest-nessus-core-2.0.8a 139 diff --git a/net-analyzer/nessus-core/nessus-core-2.0.10a.ebuild b/net-analyzer/nessus-core/nessus-core-2.0.10a.ebuild new file mode 100644 index 000000000000..d5d0bf144a35 --- /dev/null +++ b/net-analyzer/nessus-core/nessus-core-2.0.10a.ebuild @@ -0,0 +1,68 @@ +# Copyright 1999-2004 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-analyzer/nessus-core/nessus-core-2.0.10a.ebuild,v 1.1 2004/02/09 14:27:32 phosphan Exp $ + +DESCRIPTION="A remote security scanner for Linux (nessus-core)" +HOMEPAGE="http://www.nessus.org/" +SRC_URI="ftp://ftp.nessus.org/pub/nessus/nessus-${PV}/src/${P}.tar.gz + prelude? ( http://www.exaprobe.com/labs/downloads/Nessus_Patch/patch_0.nessus-core.2.0.7 )" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~x86 ~ppc ~sparc ~alpha" +IUSE="X tcpd gtk2 debug prelude" + +DEPEND="=net-analyzer/libnasl-${PV} + tcpd? ( sys-apps/tcp-wrappers ) + X? ( virtual/x11 + !gtk2? ( =x11-libs/gtk+-1.2* ) + gtk2? ( =x11-libs/gtk+-2* ) + ) + prelude? ( dev-libs/libprelude )" + +S=${WORKDIR}/${PN} + +src_unpack() { + unpack ${A} + use prelude && ( + epatch ${DISTDIR}/patch_0.nessus-core.2.0.7 + epatch ${FILESDIR}/patch_1.nessus-core.2.0.7 + ) +} + +src_compile() { + local myconf + # no use_enable because of bug 31670 + if [ `use tcpd` ]; then + myconf="${myconf} --enable-tcpwrappers" + fi + if [ `use debug` ]; then + myconf="${myconf} --enable-debug" + else + myconf="${myconf} --disable-debug" + fi + if [ `use prelude` ]; then + export LIBPRELUDE_CONFIG=/usr/bin/libprelude-config + fi + use X || myconf="${myconf} --disable-gtk" + econf ${myconf} || die "configure failed" + emake || die "emake failed" + +} + +src_install() { + make \ + prefix=${D}/usr \ + sysconfdir=${D}/etc \ + localstatedir=${D}/var/lib \ + mandir=${D}/usr/share/man \ + install || die "Install failed nessus-core" + cd ${S} + dodoc README* UPGRADE_README CHANGES + dodoc doc/*.txt doc/ntp/* + insinto /etc/init.d + insopts -m 755 + newins ${FILESDIR}/nessusd-r6 nessusd + keepdir /var/lib/nessus/logs + keepdir /var/lib/nessus/users +} |