# 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.5 2006/11/29 16:53:30 jokey Exp $
+# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/net-analyzer/nessus-bin/ChangeLog,v 1.6 2007/01/30 03:14:41 vanquirius Exp $
+
+*nessus-bin-3.0.5 (30 Jan 2007)
+
+ 30 Jan 2007; Marcelo Goes <vanquirius@gentoo.org>
+ +nessus-bin-3.0.5.ebuild:
+ 3.0.5 version bump. Thanks to ChazeFroy <chazefroy at gmail dot com>. Fixes
+ bug 162614.
*nessus-bin-3.0.4 (29 Nov 2006)
------BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA1
-
AUX 90nessus-bin 25 RMD160 f1cc25bf803550981521bf78a0a01fe3d442ddf6 SHA1 94fc6e4f765a14c18cdbe50635673cbde79f5898 SHA256 2343d5e672abb085400173f26df960d6f2b98ffa7b5b7b431675dd5b98d164cb
MD5 8a4fa0135b297c0c37459868d11f5acc files/90nessus-bin 25
RMD160 f1cc25bf803550981521bf78a0a01fe3d442ddf6 files/90nessus-bin 25
RMD160 7f9806514bd39cd7e848b77190b5e1e6f4d92557 files/nessusd-initd 666
SHA256 d49fe49998be6f9e30a5350280d9af258a5b40562681abb51ff769338fe0e9bc files/nessusd-initd 666
DIST Nessus-3.0.4-suse10.0.i586.rpm 5682928 RMD160 ce74d55930de29c244430016739a556892aa4010 SHA1 85213ace2ce1e70d2485b154b22744b06fa90d49 SHA256 4f72646866383a4f757b69b8e6fe37e91d6feac12d5eb5e3081a509bfa3d6202
+DIST Nessus-3.0.5-suse10.0.i586.rpm 5864011 RMD160 a989c44608f71ea707a3d6ecb4888e3ee4f0248f SHA1 182af3a2478feabae6ade176dba56761af1974ca SHA256 e75ad0aaa30d1d2ef45663db1a34e8ad04e1ef4fd0cb6c976e687be9909ebb3b
EBUILD nessus-bin-3.0.4.ebuild 1905 RMD160 dc6c9b1ecc53a74de1f828ad7fb381414aba9c20 SHA1 2913419e2612713a8ca1e358cfc61a605ffae012 SHA256 bc29276f9c957618eb99b3cd272dac132f1bea9672fc1e9a381b592e6f487ec3
MD5 6f4afc23f498e4d45a8947b6c57941e1 nessus-bin-3.0.4.ebuild 1905
RMD160 dc6c9b1ecc53a74de1f828ad7fb381414aba9c20 nessus-bin-3.0.4.ebuild 1905
SHA256 bc29276f9c957618eb99b3cd272dac132f1bea9672fc1e9a381b592e6f487ec3 nessus-bin-3.0.4.ebuild 1905
-MISC ChangeLog 1140 RMD160 90c2cd90b234a25049cbaa1c29635f50d1f9bad2 SHA1 e3a98992042a55529575685f6af7e3cc53e85c19 SHA256 6432d692f2fabe5916b4fe69c88cb70e4800298ed814c34c4d881e513a47f350
-MD5 ff8513a4d40553904a6915bb32cdd5c0 ChangeLog 1140
-RMD160 90c2cd90b234a25049cbaa1c29635f50d1f9bad2 ChangeLog 1140
-SHA256 6432d692f2fabe5916b4fe69c88cb70e4800298ed814c34c4d881e513a47f350 ChangeLog 1140
+EBUILD nessus-bin-3.0.5.ebuild 1914 RMD160 2db8d0d83f516195883ca90ea01c57689b439b70 SHA1 794e6b422b0cb4916ad308b57879fdacc50bb2f6 SHA256 df060d7794c271672b7198c6d568126c80080ac45ffdb073f06a1a6b1d0a76b7
+MD5 eb45dfc03ce6b711d53b6896f64a8646 nessus-bin-3.0.5.ebuild 1914
+RMD160 2db8d0d83f516195883ca90ea01c57689b439b70 nessus-bin-3.0.5.ebuild 1914
+SHA256 df060d7794c271672b7198c6d568126c80080ac45ffdb073f06a1a6b1d0a76b7 nessus-bin-3.0.5.ebuild 1914
+MISC ChangeLog 1351 RMD160 4c0a099e7d7cd3900dee7d364ca875e0028e712b SHA1 2d34e3b17265e6d8817d09d94cd9528b0250d92d SHA256 8fb9304aa96fd86bfc55f93869642d267efd4dffaa8b9ed3e6e6d321eb47e686
+MD5 e5fe534b580a27ce0597a1a16aff10cb ChangeLog 1351
+RMD160 4c0a099e7d7cd3900dee7d364ca875e0028e712b ChangeLog 1351
+SHA256 8fb9304aa96fd86bfc55f93869642d267efd4dffaa8b9ed3e6e6d321eb47e686 ChangeLog 1351
MISC metadata.xml 230 RMD160 d2b42cc4a1f23bdc47b0d7fbd00f6b5da0887726 SHA1 912ac3ed9c9389f18e0d154a358c3a3cfc33a742 SHA256 ca6db48cc0b51c9d0cde223b5da8fe2678478a7a706381908a32880ac6b85a1e
MD5 34584a1d914e5d8b669b988fbf594ece metadata.xml 230
RMD160 d2b42cc4a1f23bdc47b0d7fbd00f6b5da0887726 metadata.xml 230
MD5 3ceff799c0eb612b025f91356bb37ece files/digest-nessus-bin-3.0.4 274
RMD160 dcab8b9bd9abab7ce0061a4ff0918f512d27fabe files/digest-nessus-bin-3.0.4 274
SHA256 f44914a25805bd97e1c2e593547a1d2e81c3b65fc339436fcaf8432487cd9b04 files/digest-nessus-bin-3.0.4 274
------BEGIN PGP SIGNATURE-----
-Version: GnuPG v1.4.5 (GNU/Linux)
-
-iD8DBQFFbbrvz974XjDVpbkRAkPXAJ42mMgKIDL0ywhqdJMamVQY36TicwCfS00O
-GVmoW8uqQAv9pRfjut10ucQ=
-=LJbO
------END PGP SIGNATURE-----
+MD5 e5404c9be14f2562b1e5e363d36be839 files/digest-nessus-bin-3.0.5 274
+RMD160 a5556b66cfce186e0a53e91627f09f953ffa754b files/digest-nessus-bin-3.0.5 274
+SHA256 cdd8d247ae770d1c5fb730e28d95a4aded593bdbd7cd5ffc65d4cedc3a4f21d2 files/digest-nessus-bin-3.0.5 274
--- /dev/null
+MD5 4887c3c7e4b3d5575078ebaf51bda216 Nessus-3.0.5-suse10.0.i586.rpm 5864011
+RMD160 a989c44608f71ea707a3d6ecb4888e3ee4f0248f Nessus-3.0.5-suse10.0.i586.rpm 5864011
+SHA256 e75ad0aaa30d1d2ef45663db1a34e8ad04e1ef4fd0cb6c976e687be9909ebb3b Nessus-3.0.5-suse10.0.i586.rpm 5864011
--- /dev/null
+# Copyright 1999-2007 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.5.ebuild,v 1.1 2007/01/30 03:14:41 vanquirius 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://www.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-initd 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/"
+}