Bug#587179: dlocate -- -mp3 fails
Hey Norbert, I am currently going through some bugs which I am fixing through NMUs and I stumbled accross dlocate which has quite a few easily fixable bugs. I already fixed the manpage bugs and created an NMU in the DELAYED/5 queue [1]. I set up a github repository for my changes [2] and I would like to integrate your patch as well, of course. Could you please check whether your patch still applies and create an updated one, if necessary? I would then create a new Debian revision of dlocate and upload it later since the maintainer seems to be MIA. If you like, you can also adopt the package yourself :). Cheers, Adrian [1] http://ftp-master.debian.org/deferred.html [2] https://github.com/glaubitz/dlocate -- .''`. John Paul Adrian Glaubitz : :' : Debian Developer - glaub...@debian.org `. `' Freie Universitaet Berlin - glaub...@physik.fu-berlin.de `-GPG: 62FF 8A75 84E0 2956 9546 0006 7426 3B37 F5B5 F913 -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Bug#587179: dlocate -- -mp3 fails
Package: dlocate Version: 1.02 Severity: normal dlocate -- -mp3 fails because the -mp3 is passed on to grep Solution is to add -- before the search term in the grep commands (see attached patch). /nk -- System Information: Debian Release: squeeze/sid APT prefers unstable APT policy: (500, 'unstable'), (1, 'experimental') Architecture: amd64 (x86_64) Kernel: Linux 2.6.32-5-amd64 (SMP w/8 CPU cores) Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/bash Versions of packages dlocate depends on: ii dctrl-tools [grep-dctrl] 2.14 Command-line tools to process Debi ii dpkg 1.15.7.2 Debian package management system ii perl 5.10.1-13 Larry Wall's Practical Extraction dlocate recommends no packages. dlocate suggests no packages. -- no debconf information --- /usr/bin/dlocate2009-06-02 18:29:06.0 -0700 +++ ./dlocate 2010-06-25 13:57:14.0 -0700 @@ -278,13 +278,13 @@ [ $RE_TYPE = -G ] PREFIX=^([-a-zA-Z0-9_.+]+:\|diversion by ) [ $VERBOSE = 1 ] echo RUNNING: $GREP $RE_TYPE $IGNORE_CASE $PREFIX.*$FILES_REGEXP $DLOCATEDB -$GREP $RE_TYPE $IGNORE_CASE $PREFIX.*$FILES_REGEXP $DLOCATEDB | output_filter +$GREP $RE_TYPE $IGNORE_CASE -- $PREFIX.*$FILES_REGEXP $DLOCATEDB | output_filter result=$? elif [ $OPTION = 'DEFAULT' ] ; then [ $VERBOSE = 1 ] echo RUNNING: $GREP $RE_TYPE $IGNORE_CASE $WORD_RE $PKGS_REGEXP $DLOCATEDB -$GREP $RE_TYPE $IGNORE_CASE $WORD_RE $PKGS_REGEXP $DLOCATEDB | output_filter +$GREP $RE_TYPE $IGNORE_CASE $WORD_RE -- $PKGS_REGEXP $DLOCATEDB | output_filter result=$? elif [ $OPTION = '-s' ] ; then