Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 177759 Details for
Bug 254100
app-forensics/rkhunter-1.3.4 refuses to run
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
rkhunter-1.3.4.ebuild.patch
rkhunter-1.3.4.ebuild.patch (text/plain), 2.90 KB, created by
Christian Ruppert (idl0r)
on 2009-01-08 14:59:37 UTC
(
hide
)
Description:
rkhunter-1.3.4.ebuild.patch
Filename:
MIME Type:
Creator:
Christian Ruppert (idl0r)
Created:
2009-01-08 14:59:37 UTC
Size:
2.90 KB
patch
obsolete
>--- /usr/portage/app-forensics/rkhunter/rkhunter-1.3.4.ebuild 2009-01-05 18:26:49.000000000 +0100 >+++ rkhunter-1.3.4.ebuild 2009-01-07 18:03:13.000000000 +0100 >@@ -1,16 +1,18 @@ > # Copyright 1999-2009 Gentoo Foundation > # Distributed under the terms of the GNU General Public License v2 >-# $Header: /var/cvsroot/gentoo-x86/app-forensics/rkhunter/rkhunter-1.3.4.ebuild,v 1.1 2009/01/05 17:26:49 patrick Exp $ >+# $Header: $ >+ >+EAPI=2 > > inherit eutils bash-completion > > DESCRIPTION="Rootkit Hunter scans for known and unknown rootkits, backdoors, and sniffers." > HOMEPAGE="http://rkhunter.sf.net/" >-SRC_URI="mirror://sourceforge/rkhunter/${P}.tar.gz" >+SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" > > LICENSE="GPL-2" > SLOT="0" >-KEYWORDS="~alpha ~amd64 ~mips ~ppc ~sparc ~x86" >+KEYWORDS="~amd64" > IUSE="" > > RDEPEND="virtual/mta >@@ -20,45 +22,46 @@ RDEPEND="virtual/mta > > S="${WORKDIR}/${P}/files" > >-src_unpack() { >- unpack ${A} >- cd "${S}" >- #epatch "${FILESDIR}"/${PN}-1.2.1-create-tmpdir.diff >- #epatch "${FILESDIR}"/${PN}-1.2.9-ppc64.patch >+src_prepare() { >+ epatch "${FILESDIR}/${PN}.conf.patch" >+ epatch "${FILESDIR}/${PN}-ppc64.patch" > } > > src_install() { >- insinto /usr/lib/rkhunter/db >- doins *.dat || die "failed to install dat files" >- >- exeinto /usr/lib/rkhunter/scripts >- doexe *.pl check_update.sh || die "failed to install scripts" >+ # rkhunter requires to be root >+ dosbin ${PN} > >- dobin rkhunter || die "failed to install rkhunter script" >+ # rkhunter doesn't create it by itself >+ dodir /var/lib/${PN}/tmp > > insinto /etc >- doins rkhunter.conf || die "failed to install rkhunter.conf" >- dosed 's:^#\(DBDIR=.*\)local\(.*\)$:\1lib\2\nINSTALLDIR=/usr:' \ >- /etc/rkhunter.conf || die "sed rkhunter.conf failed" >+ doins ${PN}.conf || die "failed to install ${PN}.conf" > >- #doman development/rkhunter.8 || die "doman failed" >- dodoc CHANGELOG LICENSE README WISHLIST || die "dodoc failed" >+ exeinto /usr/lib/${PN}/scripts >+ doexe *.pl || die "failed to install scripts" >+ >+ insinto /var/lib/${PN}/db >+ doins *.dat || die "failed to install dat files" >+ >+ insinto /var/lib/${PN}/db/i18n >+ doins i18n/* >+ >+ doman ${PN}.8 || die "doman failed" >+ dodoc ACKNOWLEDGMENTS CHANGELOG FAQ README WISHLIST || die "dodoc failed" > > exeinto /etc/cron.daily >- newexe "${FILESDIR}"/rkhunter.cron rkhunter || \ >+ newexe "${FILESDIR}/${PN}.cron" ${PN} || \ > die "failed to install cron script" >- dobashcompletion ${FILESDIR}/${PN}.bash-completion >+ >+ dobashcompletion "${FILESDIR}/${PN}.bash-completion" > } > > pkg_postinst() { >- echo >- elog "A cron script has been installed to /etc/cron.daily/rkhunter." >- elog "To enable it, edit /etc/cron.daily/rkhunter and follow the" >- elog "directions." >- echo >+ einfo >+ einfo "A cron script has been installed to /etc/cron.daily/rkhunter." >+ einfo "To enable it, edit /etc/cron.daily/rkhunter and follow the" >+ einfo "directions." >+ einfo > bash-completion_pkg_postinst > } > >-pkg_prerm() { >- rm -rf /usr/lib/rkhunter/tmp >-}
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 Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 254100
:
177754
|
177755
|
177757
| 177759 |
178527