Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 19279 - slocate should just install /etc/updatedb.conf
Summary: slocate should just install /etc/updatedb.conf
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Brandon Low (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-04-13 23:09 UTC by Mr. Bones. (RETIRED)
Modified: 2003-04-17 12:28 UTC (History)
0 users

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


Attachments
ebuild fixes (slocate.patch,1.76 KB, patch)
2003-04-13 23:10 UTC, Mr. Bones. (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Mr. Bones. (RETIRED) gentoo-dev 2003-04-13 23:09:17 UTC
It seems odd to force the user to modify /etc/update.conf when it should
be possible to just use a generic update.conf that would probably work
for the majority of people.

I'll attach a patch to the ebuild to do this.

Reproducible: Always
Steps to Reproduce:
1. emerge slocate
2. cat /etc/update.conf

Actual Results:  
Saw message about EMPTY /etc/update.conf.  Wasn't thrilled about having to
configure it myself.

Expected Results:  
/etc/update.conf should just be reasonable.

Portage 2.0.47-r10 (default-1.0, gcc-2.95.3, glibc-2.2.5-r2,2.2.5-r8)
=================================================================
System uname: 2.4.19-gentoo-r9 i586 Pentium MMX
GENTOO_MIRRORS="http://gentoo.oregonstate.edu/
http://www.ibiblio.org/pub/Linux/distributions/gentoo
http://csociety-ftp.ecn.purdue.edu/pub/gentoo"
CONFIG_PROTECT="/etc /var/qmail/control /usr/share/config
/usr/kde/2/share/config /usr/kde/3/share/config /usr/X11R6/lib/X11/xkb"
CONFIG_PROTECT_MASK="/etc/bash_completion /usr/X11R6/lib/X11/xkb
/etc/X11/serverconfig /etc/X11/starthere /etc/ssmtp /etc/sound/events
/etc/X11/rstart /etc/X11/xdm /etc/pango /etc/gconf /etc/env.d"
PORTDIR="/usr/portage"
DISTDIR="/usr/portage/distfiles"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR_OVERLAY="/usr/local/portage"
USE="x86 oss 3dnow apm crypt cups encode libg++ mikmod mmx mpeg ncurses pdflib
spell truetype xml2 xv berkdb esd gdbm gif gnome gnome-libs gtk guile java
libwww oggvorbis pam perl png python readline slang snmp ssl tcpd tetex tiff X
-xmms -jpeg -avi -dvd -opengl -doc -quicktime -sdl -svga -motif -nls -imlib -kde
-qt -arts gpm mozilla gtk2"
COMPILER=""
CHOST="i586-pc-linux-gnu"
CFLAGS="-march=i586 -O3 -pipe"
CXXFLAGS="-march=i586 -O3 -pipe"
ACCEPT_KEYWORDS="x86"
MAKEOPTS="-j2"
AUTOCLEAN="yes"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
FEATURES="sandbox ccache"
Comment 1 Mr. Bones. (RETIRED) gentoo-dev 2003-04-13 23:10:08 UTC
Created attachment 10615 [details, diff]
ebuild fixes

patch to install a reasonable default /etc/update.conf + ebuild cleanup
Comment 2 Brandon Low (RETIRED) gentoo-dev 2003-04-17 12:28:45 UTC
Yeah, I wondered when I started messing with this ebuild why it wasn't like that to start out.  I agree.

Fixed in CVS momentarily