diff options
author | Nicholas Jones <carpaski@gentoo.org> | 2002-07-17 10:41:02 +0000 |
---|---|---|
committer | Nicholas Jones <carpaski@gentoo.org> | 2002-07-17 10:41:02 +0000 |
commit | be9a70d8752cd6b791b69fe9d862bc2be630915b (patch) | |
tree | 241946e45f1e42234591c3b1b8d279e2dc4e56ff /net-analyzer | |
parent | unmasked ppp (diff) | |
download | gentoo-2-be9a70d8752cd6b791b69fe9d862bc2be630915b.tar.gz gentoo-2-be9a70d8752cd6b791b69fe9d862bc2be630915b.tar.bz2 gentoo-2-be9a70d8752cd6b791b69fe9d862bc2be630915b.zip |
SLOT, KEYWORDS, LICENSE, 1.0.x unfriendly notice
Diffstat (limited to 'net-analyzer')
-rw-r--r-- | net-analyzer/nessus/ChangeLog | 10 | ||||
-rw-r--r-- | net-analyzer/nessus/files/digest-nessus-1.2.2-r1 | 4 | ||||
-rw-r--r-- | net-analyzer/nessus/nessus-1.2.2-r1.ebuild | 147 |
3 files changed, 160 insertions, 1 deletions
diff --git a/net-analyzer/nessus/ChangeLog b/net-analyzer/nessus/ChangeLog index b3277f210f1d..8fe4a8b1f66e 100644 --- a/net-analyzer/nessus/ChangeLog +++ b/net-analyzer/nessus/ChangeLog @@ -1,6 +1,14 @@ # 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.4 2002/07/02 13:31:24 blocke Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-analyzer/nessus/ChangeLog,v 1.5 2002/07/17 10:41:02 carpaski Exp $ + +*nessus-1.2.2-r1 (17 Jul 2002) + + 17 Jul 2002; Nicholas Jones <carpaski@gentoo.org> nessus-1.2.2-r1.ebuild: + + SLOT and KEYWORDS additions. + Removed duplicated 'make install' calls. + Added die comments. (Added notice about possible breaking with nessus-1.0.*) *nessus-1.2.2 (02 Jul 2002) diff --git a/net-analyzer/nessus/files/digest-nessus-1.2.2-r1 b/net-analyzer/nessus/files/digest-nessus-1.2.2-r1 new file mode 100644 index 000000000000..3febe0f97d36 --- /dev/null +++ b/net-analyzer/nessus/files/digest-nessus-1.2.2-r1 @@ -0,0 +1,4 @@ +MD5 d0899306ba952a10ed7c719de7183b6f nessus-libraries-1.2.2.tar.gz 411299 +MD5 ea521c50a64a2785cbd89fe42a415d70 nessus-core-1.2.2.tar.gz 587418 +MD5 2099c854c8c922f8c45a2afdf2c1e9a9 nessus-plugins-1.2.2.tar.gz 783386 +MD5 c03d21d0609cd559aa71ff186c47ff09 libnasl-1.2.2.tar.gz 292785 diff --git a/net-analyzer/nessus/nessus-1.2.2-r1.ebuild b/net-analyzer/nessus/nessus-1.2.2-r1.ebuild new file mode 100644 index 000000000000..e49c62933445 --- /dev/null +++ b/net-analyzer/nessus/nessus-1.2.2-r1.ebuild @@ -0,0 +1,147 @@ +# Copyright 2000-2002 Achim Gottinger +# Distributed under the GPL by Gentoo Technologies, Inc. +# $Header: /var/cvsroot/gentoo-x86/net-analyzer/nessus/nessus-1.2.2-r1.ebuild,v 1.1 2002/07/17 10:41:02 carpaski Exp $ + +LICENSE="GPL-2" +DESCRIPTION="A remote security scanner for Linux" +HOMEPAGE="http://www.nessus.org/" +SLOT="1" +KEYWORDS="x86 ppc" + +S=${WORKDIR} +SRC_URI="ftp://ftp.nessus.org/pub/${PN}/${P}/src/${PN}-libraries-${PV}.tar.gz + ftp://ftp.nessus.org/pub/${PN}/${P}/src/${PN}-core-${PV}.tar.gz + ftp://ftp.nessus.org/pub/${PN}/${P}/src/${PN}-plugins-${PV}.tar.gz + ftp://ftp.nessus.org/pub/${PN}/${P}/src/libnasl-${PV}.tar.gz" + +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*" + +RDEPEND="virtual/glibc virtual/x11 + >=dev-libs/gmp-3.1.1 + >=sys-libs/zlib-1.1.4 + =x11-libs/gtk+-1.2*" + + +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 \ + --prefix=/usr \ + --sysconfdir=/etc \ + --localstatedir=/var/state \ + --mandir=/usr/share/man \ + --enable-pthread || die "Configure failed" + + make || die "Compile failed nessus-libraries." + + 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 "Configure failed libnasl" + + make || die "Compile failed libnasl. (Try unmerging nessus-1.0.* if installed.)" + + 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 "Configure failed nessus-core" + + make || die "Compile failed nessus-core" + + echo "Compiling plugins..." + cd ${S}/nessus-plugins + ./configure \ + --host=${CHOST} \ + --prefix=/usr \ + --sysconfdir=/etc \ + --localstatedir=/var/state \ + --mandir=/usr/share/man || die "Configure failed nessus-plugins" + + make || die "Compile failed nessus-pluggins" + +} + +src_install() { + + cd ${S}/nessus-libraries + make \ + prefix=${D}/usr \ + sysconfdir=${D}/etc \ + localstatedir=${D}/var/state \ + mandir=${D}/usr/share/man \ + install || die "Install failed nessus-libraries." + + cd ${S}/libnasl + make \ + prefix=${D}/usr \ + sysconfdir=${D}/etc \ + localstatedir=${D}/var/state \ + mandir=${D}/usr/share/man \ + install || die "Install failed libnasl" + + cd ${S}/nessus-core + make \ + prefix=${D}/usr \ + sysconfdir=${D}/etc \ + localstatedir=${D}/var/state \ + mandir=${D}/usr/share/man \ + install || die "Install failed nessus-core" + + 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 "Install failed nessus-pluggins" + + 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 +} |