Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 291013 - slocate ebuild for prefix
Summary: slocate ebuild for prefix
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo/Alt
Classification: Unclassified
Component: Prefix Support (show other bugs)
Hardware: All IRIX
: High normal (vote)
Assignee: Gentoo Prefix
URL:
Whiteboard:
Keywords:
Depends on: 338380
Blocks:
  Show dependency tree
 
Reported: 2009-10-29 13:54 UTC by Stuart Shelton
Modified: 2010-12-18 17:15 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
slocate-2.7-r8 ebuild (slocate-2.7-r8.tar.bz2,5.02 KB, application/octet-stream)
2009-10-29 13:56 UTC, Stuart Shelton
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Stuart Shelton 2009-10-29 13:54:25 UTC
Rationale:

IRIX doesn't include an (s)locate tool as standard, and the only in-tree options are masked due to being non-prefix aware.

Furthermore, the slocate-3.x releases all rely on GNU libc's fts implementation whereas the 2.7 release includes its own fts with the source.

For this reason, I fixed-up slocate-2.7-r8 to build on IRIX (and, presumably, all other prefix platforms).  I thought this was better than porting slocate-2.7's fts implementation to a 3.x release, potentially introducing any number of unknown vulnerabilities/bugs.

For your consideration, please find attached the slocate-2.7-r8 ebuild and patches.
Comment 1 Stuart Shelton 2009-10-29 13:56:15 UTC
Created attachment 208638 [details]
slocate-2.7-r8 ebuild


In root's crontab, I have:

[ -x /opt/gentoo/usr/bin/updatedb ] && /opt/gentoo/usr/bin/updatedb -c -u && chmod 660 /opt/gentoo/var/lib/slocate/slocate.db
Comment 2 Samuli Suominen (RETIRED) gentoo-dev 2010-12-18 17:15:00 UTC
slocate is out of tree, use mlocate