mirror of
https://github.com/pentoo/pentoo-overlay
synced 2026-04-19 21:31:10 +02:00
nessus-bin ebuild: version bump to 5.0.0
This commit is contained in:
parent
8c53c1dd5e
commit
087b7188c7
2 changed files with 89 additions and 0 deletions
|
|
@ -6,6 +6,9 @@ DIST Nessus-4.4.0-es5.i386.rpm 12241399 RMD160 06c4c67ce7ca511017671471bc4bee338
|
|||
DIST Nessus-4.4.0-es5.x86_64.rpm 13478055 RMD160 05529890b323e29817a51ddf177eb857ca527304 SHA1 effc8002fcbf6a948b6b6868b141d55593484599 SHA256 10e5a3dc25ed5dfea46ddb59125f1fd22cc3c78c71e3ec7c0ec1c306c60de219
|
||||
DIST Nessus-4.4.1-es5.i386.rpm 12322638 RMD160 c62b85c08bb1e23cf778d1949da4fc5362de819e SHA1 92e06360958122a130aaa46ed6ce68950e49f3a1 SHA256 170f7526270fa92f1f61d1a72093d2d226eb842ef6322b32febbd830796c75b8
|
||||
DIST Nessus-4.4.1-es5.x86_64.rpm 13574983 RMD160 60a518603d7bb06114ef76c32be138fe80fb4eef SHA1 85f12ede88bfa61cfa18b3a4cf4032b512a7a622 SHA256 cdd0ea2125f54c5a731742e1c0812bc19d8ee20eeca16e623f4319c6e3991185
|
||||
DIST Nessus-5.0.0-es5.i386.rpm 22292299 RMD160 99bdc66ce33e5aa3523c2240a9606349c5268130 SHA1 c82699f3ed7bb88dd96acd3549f3a152cac1b86e SHA256 9aafcb54fa7d98e5cef4be1fb8f47c8c9702a2794204a5c9b7dda2cd4b3e131a
|
||||
DIST Nessus-5.0.0-es5.x86_64.rpm 24603705 RMD160 4b7b4eb55374a56eede55a09b608bdc0ed189518 SHA1 449fa3ee5b9b438167afb59df013340db28da866 SHA256 b7ecd0d5b0984b7b0c00aa22cb66e8a9055f41543b5224261e5b0b1164ba3ba9
|
||||
EBUILD nessus-bin-4.2.2-r1.ebuild 2518 RMD160 34532390f92a2983fab81ed07ebc77766fe82fcb SHA1 9b77cd19094dc00a4c4a801d9d7aa6565c143c66 SHA256 349f812a31dcb7ba2f854f5edede72f83754e41c3e6aec5340d1d4c605c046c8
|
||||
EBUILD nessus-bin-4.4.0.ebuild 2475 RMD160 1cc78e9e3930ccfad9ac734d9768e6f1f52fdef3 SHA1 113317c212829e1162f9afe7eb65e440dd628232 SHA256 383603026551e58f5186d57ff8f03498b5bc337a050f2ff01e58c471abc04f9d
|
||||
EBUILD nessus-bin-4.4.1.ebuild 2475 RMD160 a80b2dbe3e86ad4dec009b052e10b578964ae53b SHA1 fb2d85b26c815c74f7189df932e69ddaabcccfda SHA256 ff985407e6e652a6c712fd13f8b76bb3e9cb9574d2548f88040823819fcf0879
|
||||
EBUILD nessus-bin-5.0.0.ebuild 2475 RMD160 a80b2dbe3e86ad4dec009b052e10b578964ae53b SHA1 fb2d85b26c815c74f7189df932e69ddaabcccfda SHA256 ff985407e6e652a6c712fd13f8b76bb3e9cb9574d2548f88040823819fcf0879
|
||||
|
|
|
|||
86
net-analyzer/nessus-bin/nessus-bin-5.0.0.ebuild
Normal file
86
net-analyzer/nessus-bin/nessus-bin-5.0.0.ebuild
Normal file
|
|
@ -0,0 +1,86 @@
|
|||
# Copyright 1999-2009 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.2.0.ebuild,v 1.3 2009/07/07 23:03:49 flameeyes Exp $
|
||||
|
||||
inherit rpm
|
||||
|
||||
# We are using the Red Hat/CentOS binary
|
||||
MY_P="Nessus-${PV}-es5"
|
||||
|
||||
DESCRIPTION="A remote security scanner for Linux"
|
||||
HOMEPAGE="http://www.nessus.org"
|
||||
SRC_URI="x86? ( ${MY_P}.i386.rpm )
|
||||
amd64? ( ${MY_P}.x86_64.rpm )"
|
||||
RESTRICT="mirror fetch strip"
|
||||
|
||||
LICENSE="Nessus-EULA"
|
||||
SLOT="0"
|
||||
KEYWORDS="~x86 ~amd64"
|
||||
IUSE=""
|
||||
|
||||
DEPEND="=sys-libs/db-4.3*
|
||||
>=dev-libs/openssl-0.9.8
|
||||
>=app-arch/rpm2targz-9.0-r7"
|
||||
|
||||
pkg_nofetch() {
|
||||
if use x86; then
|
||||
elog "Please download ${MY_P}.i386.rpm from ${HOMEPAGE}/download"
|
||||
elog "The archive should then be placed into ${DISTDIR}."
|
||||
fi
|
||||
|
||||
if use amd64; then
|
||||
elog "Please download ${MY_P}.x86_64.rpm from ${HOMEPAGE}/download"
|
||||
elog "The archive should then be placed into ${DISTDIR}."
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_setup() {
|
||||
case ${CHOST} in
|
||||
i586-pc-linux-gnu*) einfo "Found compatible architecture." ;;
|
||||
i686-pc-linux-gnu*) einfo "Found compatible architecture." ;;
|
||||
x86_64-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-42 nessusd-bin
|
||||
|
||||
# nessusd is linked against these
|
||||
dosym libssl.so /usr/lib/libssl.so.6
|
||||
dosym libcrypto.so /usr/lib/libcrypto.so.6
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
elog "You can get started running the following commands:"
|
||||
elog "/opt/nessus/sbin/nessus-adduser"
|
||||
elog "/opt/nessus/sbin/nessus-mkcert"
|
||||
elog "/etc/init.d/nessusd-bin start"
|
||||
elog
|
||||
elog "If you had a previous version of Nessus installed, use"
|
||||
elog "the following command to update the plugin database:"
|
||||
elog "/opt/nessus/sbin/nessusd -R"
|
||||
elog
|
||||
elog "For more information about nessus, please visit"
|
||||
elog "${HOMEPAGE}/documentation/"
|
||||
}
|
||||
Loading…
Reference in a new issue