summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarcelo Góes <vanquirius@gentoo.org>2006-03-09 17:57:31 +0000
committerMarcelo Góes <vanquirius@gentoo.org>2006-03-09 17:57:31 +0000
commit1a1c100f2dcd0b62ae90597aa1dc4d74fa1261b1 (patch)
tree79496d0fd18d21134638af0833abd8d68bab24b3 /net-analyzer/nessus-bin
parentadded patch against a segfault (diff)
downloadgentoo-2-1a1c100f2dcd0b62ae90597aa1dc4d74fa1261b1.tar.gz
gentoo-2-1a1c100f2dcd0b62ae90597aa1dc4d74fa1261b1.tar.bz2
gentoo-2-1a1c100f2dcd0b62ae90597aa1dc4d74fa1261b1.zip
3.0.2 version bump for bug 125520, thanks to ChazeFroy <chazefroy at gmail dot com>.
(Portage version: 2.0.54 vanquished edition)
Diffstat (limited to 'net-analyzer/nessus-bin')
-rw-r--r--net-analyzer/nessus-bin/ChangeLog9
-rw-r--r--net-analyzer/nessus-bin/Manifest2
-rw-r--r--net-analyzer/nessus-bin/files/digest-nessus-bin-3.0.21
-rw-r--r--net-analyzer/nessus-bin/nessus-bin-3.0.2.ebuild70
4 files changed, 81 insertions, 1 deletions
diff --git a/net-analyzer/nessus-bin/ChangeLog b/net-analyzer/nessus-bin/ChangeLog
index b5d6a8512137..032c83e9c6c7 100644
--- a/net-analyzer/nessus-bin/ChangeLog
+++ b/net-analyzer/nessus-bin/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for net-analyzer/nessus-bin
# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-analyzer/nessus-bin/ChangeLog,v 1.1 2006/02/04 16:55:13 vanquirius Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-analyzer/nessus-bin/ChangeLog,v 1.2 2006/03/09 17:57:31 vanquirius Exp $
+
+*nessus-bin-3.0.2 (09 Mar 2006)
+
+ 09 Mar 2006; Marcelo Goes <vanquirius@gentoo.org>
+ +nessus-bin-3.0.2.ebuild:
+ 3.0.2 version bump for bug 125520, thanks to ChazeFroy <chazefroy at gmail
+ dot com>.
*nessus-bin-3.0.1 (04 Feb 2006)
diff --git a/net-analyzer/nessus-bin/Manifest b/net-analyzer/nessus-bin/Manifest
index 7c562541e4be..265253297525 100644
--- a/net-analyzer/nessus-bin/Manifest
+++ b/net-analyzer/nessus-bin/Manifest
@@ -1,6 +1,8 @@
MD5 7caf13ca9466dc23c491060e85042cd6 ChangeLog 425
MD5 8a4fa0135b297c0c37459868d11f5acc files/90nessus-bin 25
MD5 812a46ca087786ba885d6e6588c34f2f files/digest-nessus-bin-3.0.1 75
+MD5 3f333465f7890da1d21875417183cb20 files/digest-nessus-bin-3.0.2 75
MD5 89b6ae2bef17587a0a81f93ff328f729 files/nessusd-r8 668
MD5 34584a1d914e5d8b669b988fbf594ece metadata.xml 230
MD5 87421cbf13572ad406738fea77dfbc4d nessus-bin-3.0.1.ebuild 1921
+MD5 87421cbf13572ad406738fea77dfbc4d nessus-bin-3.0.2.ebuild 1921
diff --git a/net-analyzer/nessus-bin/files/digest-nessus-bin-3.0.2 b/net-analyzer/nessus-bin/files/digest-nessus-bin-3.0.2
new file mode 100644
index 000000000000..fc3e37a6f7ae
--- /dev/null
+++ b/net-analyzer/nessus-bin/files/digest-nessus-bin-3.0.2
@@ -0,0 +1 @@
+MD5 2c1442be38c3c3dbf51a743ab1b8bcf1 Nessus-3.0.2-suse9.3.i586.rpm 4791987
diff --git a/net-analyzer/nessus-bin/nessus-bin-3.0.2.ebuild b/net-analyzer/nessus-bin/nessus-bin-3.0.2.ebuild
new file mode 100644
index 000000000000..7be5ba075cab
--- /dev/null
+++ b/net-analyzer/nessus-bin/nessus-bin-3.0.2.ebuild
@@ -0,0 +1,70 @@
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-analyzer/nessus-bin/nessus-bin-3.0.2.ebuild,v 1.1 2006/03/09 17:57:31 vanquirius Exp $
+
+inherit rpm
+
+MY_P="Nessus-${PV}-suse9.3.i586"
+# We are using SuSE's binary
+
+DESCRIPTION="A remote security scanner for Linux"
+HOMEPAGE="http://nessus.org"
+SRC_URI="${MY_P}.rpm"
+RESTRICT="nomirror fetch nostrip"
+
+LICENSE="Nessus-EULA"
+SLOT="0"
+KEYWORDS="-* ~x86"
+IUSE="X"
+
+DEPEND="=sys-libs/db-4.3*
+ >=dev-libs/openssl-0.9.7e-r2"
+
+PDEPEND="X? ( net-analyzer/nessus-client )"
+
+pkg_nofetch() {
+ einfo "Please download ${MY_P}.rpm from ${HOMEPAGE}/download"
+ einfo "The archive should then be placed into ${DISTDIR}."
+}
+
+pkg_setup() {
+ case ${CHOST} in
+ i586-pc-linux-gnu*) einfo "Found compatible architecture." ;;
+ i686-pc-linux-gnu*) einfo "Found compatible architecture." ;;
+ *) die "No compatible architecture found." ;;
+ esac
+}
+
+src_install() {
+ # copy files
+ cp -pPR "${WORKDIR}"/opt "${D}"
+
+ # make sure these directories do not vanish
+ # nessus will not run properly without them
+ keepdir /opt/nessus/etc/nessus
+ keepdir /opt/nessus/var/nessus/jobs
+ keepdir /opt/nessus/var/nessus/logs
+ keepdir /opt/nessus/var/nessus/tmp
+ keepdir /opt/nessus/var/nessus/users
+
+ # add /opt/nessus/lib to LD_PATH
+ # nessus will not run properly without it
+ doenvd "${FILESDIR}"/90nessus-bin
+
+ # we have /bin/gzip, not /usr/bin/gzip
+ sed -i -e "s:/usr/bin/gzip:/bin/gzip:g" \
+ "${D}"/opt/nessus/sbin/nessus-update-plugins
+
+ # init script
+ newinitd "${FILESDIR}"/nessusd-r8 nessusd-bin
+}
+
+pkg_postinst() {
+ einfo "You can get started running the following commands:"
+ einfo "/opt/nessus/sbin/nessus-add-first-user"
+ einfo "/opt/nessus/sbin/nessus-mkcert"
+ einfo "/etc/init.d/nessusd-bin start"
+ einfo
+ einfo "For more information about nessus, please visit"
+ einfo "${HOMEPAGE}/documentation/"
+}