diff options
author | Seemant Kulleen <seemant@gentoo.org> | 2002-04-05 21:55:56 +0000 |
---|---|---|
committer | Seemant Kulleen <seemant@gentoo.org> | 2002-04-05 21:55:56 +0000 |
commit | 9c9e20d2f62a6441550efdf68fa23579618081f2 (patch) | |
tree | 234091395cabb545586818212fa2db6ec7e13e7e /net-analyzer | |
parent | new version (diff) | |
download | historical-9c9e20d2f62a6441550efdf68fa23579618081f2.tar.gz historical-9c9e20d2f62a6441550efdf68fa23579618081f2.tar.bz2 historical-9c9e20d2f62a6441550efdf68fa23579618081f2.zip |
Version bump
Diffstat (limited to 'net-analyzer')
-rw-r--r-- | net-analyzer/nessus/ChangeLog | 9 | ||||
-rw-r--r-- | net-analyzer/nessus/files/digest-nessus-1.0.10 | 4 | ||||
-rw-r--r-- | net-analyzer/nessus/nessus-1.0.10.ebuild | 173 |
3 files changed, 185 insertions, 1 deletions
diff --git a/net-analyzer/nessus/ChangeLog b/net-analyzer/nessus/ChangeLog index 7c5fed5ddfc0..3142f27483e0 100644 --- a/net-analyzer/nessus/ChangeLog +++ b/net-analyzer/nessus/ChangeLog @@ -1,6 +1,13 @@ # ChangeLog for net-analyzer/nessus # Copyright 2002 Gentoo Technologies, Inc.; Distributed under the GPL -# $Header: /var/cvsroot/gentoo-x86/net-analyzer/nessus/ChangeLog,v 1.1 2002/02/01 21:53:31 gbevin Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-analyzer/nessus/ChangeLog,v 1.2 2002/04/05 21:55:56 seemant Exp $ + +*nessus-1.0.10 (5 Apr 2002) + + 5 Apr 2002; Seemant Kulleen <seemant@gentoo.org> nessus-1.0.10.ebuild + files/digest-nessus-1.0.10 + + Version bump submitted by lotia@umich.edu (ali asad lotia) *nessus-1.0.9 (1 Feb 2002) diff --git a/net-analyzer/nessus/files/digest-nessus-1.0.10 b/net-analyzer/nessus/files/digest-nessus-1.0.10 new file mode 100644 index 000000000000..4a651fea6074 --- /dev/null +++ b/net-analyzer/nessus/files/digest-nessus-1.0.10 @@ -0,0 +1,4 @@ +MD5 f41b73efb9dcd7359d963388018d5aa4 nessus-libraries-1.0.10.tar.gz 1791769 +MD5 6585a1e39ff62ced75b35da441c38316 nessus-core-1.0.10.tar.gz 551850 +MD5 e71e7fab876c07a6ccdf2745f0ff3701 nessus-plugins-1.0.10.tar.gz 574526 +MD5 7fc38249bad2a4e42f91761acfcf07aa libnasl-1.0.10.tar.gz 231011 diff --git a/net-analyzer/nessus/nessus-1.0.10.ebuild b/net-analyzer/nessus/nessus-1.0.10.ebuild new file mode 100644 index 000000000000..0ccbd686f20d --- /dev/null +++ b/net-analyzer/nessus/nessus-1.0.10.ebuild @@ -0,0 +1,173 @@ +# Copyright 2000-2002 Achim Gottinger +# Distributed under the GPL by Gentoo Technologies, Inc. +# $Header: /var/cvsroot/gentoo-x86/net-analyzer/nessus/nessus-1.0.10.ebuild,v 1.1 2002/04/05 21:55:56 seemant Exp $ + + +# It's better to split it in four different packages + +A="nessus-libraries-${PV}.tar.gz nessus-core-${PV}.tar.gz + nessus-plugins-${PV}.tar.gz libnasl-${PV}.tar.gz" +S=${WORKDIR} +DESCRIPTION="A remote security scanner for Linux" +SRC_URI="ftp://ftp.nessus.org/pub/nessus/nessus-${PV}/src/nessus-libraries-${PV}.tar.gz + ftp://ftp.nessus.org/pub/nessus/nessus-${PV}/src/nessus-core-${PV}.tar.gz + ftp://ftp.nessus.org/pub/nessus/nessus-${PV}/src/nessus-plugins-${PV}.tar.gz + ftp://ftp.nessus.org/pub/nessus/nessus-${PV}/src/libnasl-${PV}.tar.gz" + +HOMEPAGE="http://www.nessus.org/" + +DEPEND="virtual/glibc virtual/x11 sys-devel/m4 + >=dev-libs/gmp-3.1.1 + >=sys-libs/zlib-1.1.4 + >=x11-libs/gtk+-1.2.10-r4" + +RDEPEND="virtual/glibc virtual/x11 + >=dev-libs/gmp-3.1.1 + >=sys-libs/zlib-1.1.4 + >=x11-libs/gtk+-1.2.10-r4" + + +src_compile() { + + export PATH=${D}/usr/bin:$PATH + export LD_LIBRARY_PATH=${D}/usr/lib:$LD_LIBRARY_PATH + + echo "Compiling libraries..." + cd ${S}/nessus-libraries + ./configure \ + --host=${CHOST} \ + --prefix=/usr \ + --sysconfdir=/etc \ + --localstatedir=/var/state \ + --mandir=/usr/share/man \ + --enable-pthread || die + make || die + make \ + prefix=${D}/usr \ + sysconfdir=${D}/etc \ + localstatedir=${D}/var/state \ + mandir=${D}/usr/share/man \ + install || die + + cd ${D}/usr/bin + cp nessus-config nessus-config.orig + sed -e "s:^PREFIX=:PREFIX=${D}:" \ + -e "s:-I/usr:-I${D}/usr: " nessus-config.orig > nessus-config + + + echo "Compiling libnasl..." + cd ${S}/libnasl + ./configure \ + --host=${CHOST} \ + --prefix=/usr \ + --sysconfdir=/etc \ + --localstatedir=/var/state \ + --mandir=/usr/share/man || die + make || die + make \ + prefix=${D}/usr \ + sysconfdir=${D}/etc \ + localstatedir=${D}/var/state \ + mandir=${D}/usr/share/man \ + install || die + + cd ${D}/usr/bin + cp nasl-config nasl-config.orig + sed -e "s:^PREFIX=:PREFIX=${D}:" nasl-config.orig > nasl-config + + echo "Compiling core..." + cd ${S}/nessus-core + ./configure \ + --host=${CHOST} \ + --prefix=/usr \ + --sysconfdir=/etc \ + --localstatedir=/var/state \ + --mandir=/usr/share/man || die + make || die + make \ + prefix=${D}/usr \ + sysconfdir=${D}/etc \ + localstatedir=${D}/var/state \ + mandir=${D}/usr/share/man \ + install || die + + + echo "Compiling plugins..." + cd ${S}/nessus-plugins + ./configure \ + --host=${CHOST} \ + --prefix=/usr \ + --sysconfdir=/etc \ + --localstatedir=/var/state \ + --mandir=/usr/share/man + make || die + make \ + prefix=${D}/usr \ + sysconfdir=${D}/etc \ + localstatedir=${D}/var/state \ + mandir=${D}/usr/share/man \ + install || die + +} + +src_install() { + + cd ${S}/nessus-libraries + make \ + prefix=${D}/usr \ + sysconfdir=${D}/etc \ + localstatedir=${D}/var/state \ + mandir=${D}/usr/share/man \ + install || die + + cd ${S}/libnasl + make \ + prefix=${D}/usr \ + sysconfdir=${D}/etc \ + localstatedir=${D}/var/state \ + mandir=${D}/usr/share/man \ + install || die + + cd ${S}/nessus-core + make \ + prefix=${D}/usr \ + sysconfdir=${D}/etc \ + localstatedir=${D}/var/state \ + mandir=${D}/usr/share/man \ + install || die + + cp ${ROOT}/config/nessusd.conf ${D}/etc/nessus/ + + cd ${S}/nessus-plugins + make \ + prefix=${D}/usr \ + sysconfdir=${D}/etc \ + localstatedir=${D}/var/state \ + mandir=${D}/usr/share/man \ + install || die + + cd ${S}/nessus-libraries + docinto nessus-libraries + dodoc README* + + cd ${S}/libnasl + docinto libnasl + dodoc COPYING TODO + + cd ${S}/nessus-core + docinto nessus-core + dodoc README* UPGRADE_README CHANGES + dodoc doc/*.txt doc/ntp/* + + cd ${S}/nessus-plugins + docinto nessus-plugins + dodoc docs/*.txt plugins/accounts/accounts.txt + + insinto /etc/init.d + insopts -m 755 + newins ${FILESDIR}/nessusd-r6 nessusd +} + + + + |