diff options
author | Markus Ullmann <jokey@gentoo.org> | 2006-10-09 11:55:08 +0000 |
---|---|---|
committer | Markus Ullmann <jokey@gentoo.org> | 2006-10-09 11:55:08 +0000 |
commit | f8d54063b06196e30f89006a3419aa5ea3c85c3a (patch) | |
tree | b997e37582f15e78cdbe9e1d7f77c789a88e4470 /net-analyzer/nessus-bin | |
parent | version bump (diff) | |
download | gentoo-2-f8d54063b06196e30f89006a3419aa5ea3c85c3a.tar.gz gentoo-2-f8d54063b06196e30f89006a3419aa5ea3c85c3a.tar.bz2 gentoo-2-f8d54063b06196e30f89006a3419aa5ea3c85c3a.zip |
Version bump wrt bug #149378
(Portage version: 2.1.2_pre2-r6)
Diffstat (limited to 'net-analyzer/nessus-bin')
-rw-r--r-- | net-analyzer/nessus-bin/ChangeLog | 8 | ||||
-rw-r--r-- | net-analyzer/nessus-bin/files/digest-nessus-bin-3.0.3 | 3 | ||||
-rw-r--r-- | net-analyzer/nessus-bin/nessus-bin-3.0.2.ebuild | 4 | ||||
-rw-r--r-- | net-analyzer/nessus-bin/nessus-bin-3.0.3.ebuild | 70 |
4 files changed, 82 insertions, 3 deletions
diff --git a/net-analyzer/nessus-bin/ChangeLog b/net-analyzer/nessus-bin/ChangeLog index f44fc31a1367..3c64251b315f 100644 --- a/net-analyzer/nessus-bin/ChangeLog +++ b/net-analyzer/nessus-bin/ChangeLog @@ -1,6 +1,12 @@ # 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.3 2006/10/09 10:42:33 jokey Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-analyzer/nessus-bin/ChangeLog,v 1.4 2006/10/09 11:55:08 jokey Exp $ + +*nessus-bin-3.0.3 (09 Oct 2006) + + 09 Oct 2006; Markus Ullmann <jokey@gentoo.org> nessus-bin-3.0.2.ebuild, + +nessus-bin-3.0.3.ebuild: + Version bump wrt bug #149378 09 Oct 2006; Markus Ullmann <jokey@gentoo.org> -nessus-bin-3.0.1.ebuild, nessus-bin-3.0.2.ebuild: diff --git a/net-analyzer/nessus-bin/files/digest-nessus-bin-3.0.3 b/net-analyzer/nessus-bin/files/digest-nessus-bin-3.0.3 new file mode 100644 index 000000000000..0a7b06517ef8 --- /dev/null +++ b/net-analyzer/nessus-bin/files/digest-nessus-bin-3.0.3 @@ -0,0 +1,3 @@ +MD5 665116a9d007820808b0c3f405aa9df8 Nessus-3.0.3-suse10.0.i586.rpm 5049013 +RMD160 4116cc8fff214215999aa910f7ec0e6622a10e8e Nessus-3.0.3-suse10.0.i586.rpm 5049013 +SHA256 4bc9f8620038931b770039a5da907066038e8059c69845c308f558bd30f29055 Nessus-3.0.3-suse10.0.i586.rpm 5049013 diff --git a/net-analyzer/nessus-bin/nessus-bin-3.0.2.ebuild b/net-analyzer/nessus-bin/nessus-bin-3.0.2.ebuild index 702ddd616807..0e8b5fecb1a8 100644 --- a/net-analyzer/nessus-bin/nessus-bin-3.0.2.ebuild +++ b/net-analyzer/nessus-bin/nessus-bin-3.0.2.ebuild @@ -1,6 +1,6 @@ # 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.2 2006/10/09 10:42:33 jokey Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-analyzer/nessus-bin/nessus-bin-3.0.2.ebuild,v 1.3 2006/10/09 11:55:08 jokey Exp $ inherit rpm @@ -18,7 +18,7 @@ KEYWORDS="~x86" IUSE="X" DEPEND="=sys-libs/db-4.3* - >=dev-libs/openssl-0.9.7e-r2" + dev-libs/openssl" PDEPEND="X? ( net-analyzer/nessus-client )" diff --git a/net-analyzer/nessus-bin/nessus-bin-3.0.3.ebuild b/net-analyzer/nessus-bin/nessus-bin-3.0.3.ebuild new file mode 100644 index 000000000000..db239641d705 --- /dev/null +++ b/net-analyzer/nessus-bin/nessus-bin-3.0.3.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.3.ebuild,v 1.1 2006/10/09 11:55:08 jokey Exp $ + +inherit rpm + +MY_P="Nessus-${PV}-suse10.0.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" + +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/" +} |