Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 158409 Details for
Bug 228007
net-analyzer/nessus-bin-3.2.1 and net-analyzer/nessus-client-3.2.1 version bump
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
nessus-bin-3.2.1.ebuild
nessus-bin-3.2.1.ebuild (text/plain), 2.74 KB, created by
Jared B.
on 2008-06-25 15:34:53 UTC
(
hide
)
Description:
nessus-bin-3.2.1.ebuild
Filename:
MIME Type:
Creator:
Jared B.
Created:
2008-06-25 15:34:53 UTC
Size:
2.74 KB
patch
obsolete
># Copyright 1999-2008 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.2 2008/05/15 11:18:37 ingmar Exp $ > >inherit rpm > >MY_P="Nessus-${PV}-es5" ># We are using the Red Hat/CentOS binary > >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="X" > >DEPEND="=sys-libs/db-4.3* > >=dev-libs/openssl-0.9.8 > >=app-arch/rpm2targz-9.0-r7" > >PDEPEND="X? ( net-analyzer/nessus-client )" > >pkg_nofetch() { > if use x86; then > einfo "Please download ${MY_P}.i386.rpm from ${HOMEPAGE}/download" > einfo "The archive should then be placed into ${DISTDIR}." > fi > > if use amd64; then > einfo "Please download ${MY_P}.x86_64.rpm from ${HOMEPAGE}/download" > einfo "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 nessusd-bin > > dosym /usr/lib/libssl.so.0.9.8 /usr/lib/libssl.so.6 > dosym /usr/lib/libcrypto.so.0.9.8 /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 "If this is a new installation, you need to register" > elog "Nessus in order to update plugins. You can register here:" > elog "http://www.nessus.org/register" > elog > elog "Then, activate Nessus and update plugins:" > elog "/opt/nessus/bin/nessus-fetch --register <license code>" > elog > elog "For more information about nessus, please visit" > elog "${HOMEPAGE}/documentation/" >}
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 228007
: 158409