Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 106524 Details for
Bug 161506
sys-apps/mlocate (new ebuild)
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
mlocate-0.15.ebuild
mlocate-0.15.ebuild (text/plain), 1.34 KB, created by
Nikolay Orlyuk
on 2007-01-11 11:00:59 UTC
(
hide
)
Description:
mlocate-0.15.ebuild
Filename:
MIME Type:
Creator:
Nikolay Orlyuk
Created:
2007-01-11 11:00:59 UTC
Size:
1.34 KB
patch
obsolete
># Copyright 1999-2007 Gentoo Foundation ># Distributed under the terms of the GNU General Public License v2 ># $Header: $ > >inherit flag-o-matic eutils > >DESCRIPTION="mlocate is a new locate implementation. The 'm' stands for \"merging\": updatedb reuses the existing database to avoid rereading most of the file system, which makes updatedb faster and does not trash the system caches as much." >HOMEPAGE="http://carolina.mff.cuni.cz/~trmac/blog/mlocate/" >SRC_URI="http://people.redhat.com/mitr/mlocate/${P}.tar.gz" > >LICENSE="GPL-2" >SLOT="0" >KEYWORDS="~x86" >IUSE="" > >DEPEND="virtual/libc" >RDEPEND="virtual/libc > !sys-apps/rlocate > !sys-apps/slocate" > > >pkg_setup() { > if [[ -n $(egetent group mlocate) ]] ; then > eerror "The 'mlocate' group has been renamed to 'locate'." > eerror "You seem to already have a 'mlocate' group." > eerror "Please rename it:" > eerror "groupmod -n locate mlocate" > die "Change 'mlocate' to 'locate'" > fi > enewgroup locate 245 >} > >src_install() { > dobin src/locate src/updatedb || die > dodir /usr/bin > dosym updatedb /etc/cron.daily/mlocate > > doman doc/*.1 doc/*.5 doc/*.8 > > domo po/*.gmo > > dodoc NEWS README* AUTHORS COPYING ChangeLog > > keepdir /var/lib/mlocate > > fowners root:locate /usr/bin/locate > fowners root:locate /usr/bin/updatedb > fperms go-r,g+s /usr/bin/locate > > chown -R root:locate "${D}"/var/lib/mlocate > fperms 0750 /var/lib/mlocate >} >
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 161506
:
106524
|
106538