First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 45927
Alias:
Product:
Component:
Status: CLOSED
Resolution: FIXED
Assigned To: Aron Griffis (RETIRED) <agriffis@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: roma1390@gmail.com
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
epm.patch patch to handle whitespace in filenames patch Mr. Bones. 2004-03-29 23:40 0000 1.10 KB Details | Diff
epm.patch fixed patch to properly deal with symlinks patch Mr. Bones. 2004-03-30 03:49 0000 699 bytes Details | Diff
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 45927 depends on: Show dependency tree
Bug 45927 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.




View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2004-03-27 13:55 0000
epm doesnt support file names with spaces:

# epm -qf /usr/share/doc/divx4linux-20030428-r1/html/DivX\ MPEG-4\ Codec\ and\ Its\ Interface.htm 
file /usr/share/doc/divx4linux-20030428-r1/html/DivX MPEG-4 Codec and Its Interface.htm is not owned by any package
# epm -qf /usr/share/doc/divx4linux-20030428-r1/html/               
divx4linux-20030428-r1
# epm -ql divx4linux-20030428-r1
/usr/lib/libdivxencore.so
/usr/lib/libdivxdecore.so
/usr/lib/libdivxencore.so.0
/usr/lib/libdivxdecore.so.0
/usr/share/doc/divx4linux-20030428-r1/html/DivX
/usr/include/encore2.h
/usr/include/portab.h
/usr/include/decore.h

# epm -y divx4linux-20030428-r1
md5sum: /usr/share/doc/divx4linux-20030428-r1/html/DivX: No such file or directory
md5sum: MPEG-4: No such file or directory
md5sum: Codec: No such file or directory
md5sum: and: No such file or directory
md5sum: Its: No such file or directory
md5sum: Interface.htm: No such file or directory
..5.....   /usr/share/doc/divx4linux-20030428-r1/html/DivX MPEG-4 Codec and Its Interface.htm

Reproducible: Always
Steps to Reproduce:

------- Comment #1 From roma1390@gmail.com 2004-03-27 13:58:33 0000 -------
patch for md5sum:


--- /usr/bin/epm        2004-03-21 19:15:33.000000000 +0200
+++ /tmp/epm    2004-03-27 23:46:22.000000000 +0200
@@ -381,7 +381,7 @@
                next;
            }
            if (-r _) {
-               ($md5 = `md5sum $Cname`) =~ s/\s.*//s;
+               ($md5 = `md5sum "$Cname"`) =~ s/\s.*//s;
            }
            else {
                $md5 = 'UNKNOWN';

btw: 
 epm -qi epm          
Name        : epm
Version     : 0.8.5
Release     :                                     Slot: 0
Install date: Sun Mar 21 19:15:33 2004      Build Host: i686-pc-linux-gnu
Group       : app-portage                      License: GPL-2
Size        : 27796
Packager    : agriffis
URL         : http://www.gentoo.org/~agriffis/epm/
Description : 
rpm workalike for Gentoo Linux

------- Comment #2 From Aron Griffis (RETIRED) 2004-03-29 09:00:52 0000 -------
Fixed in 0.8.6, in portage now.  Thanks.

------- Comment #3 From roma1390@gmail.com 2004-03-29 20:43:07 0000 -------
thanks, but all bugs fixed:

epm -ql doen't fixed:

# epm -ql divx4linux
/usr/lib/libdivxencore.so
/usr/lib/libdivxdecore.so
/usr/lib/libdivxencore.so.0
/usr/lib/libdivxdecore.so.0
/usr/share/doc/divx4linux-20030428-r1/html/DivX
/usr/include/encore2.h
/usr/include/portab.h
/usr/include/decore.h

# epm -qi epm
Name        : epm
Version     : 0.8.6
Release     :                                     Slot: 0
Install date: Tue Mar 30 07:37:02 2004      Build Host: i686-pc-linux-gnu
Group       : app-portage                      License: GPL-2
Size        : 28024
Packager    : agriffis
URL         : http://www.gentoo.org/~agriffis/epm/
Description : 
rpm workalike for Gentoo Linux


------- Comment #4 From Mr. Bones. 2004-03-29 23:40:41 0000 -------
Created an attachment (id=28349) [edit]
patch to handle whitespace in filenames

Maybe I'm missing something but this patch seems to work for me.  The "work"
at the end of the query function seems like overkill to me.

------- Comment #5 From Mr. Bones. 2004-03-30 03:49:08 0000 -------
Created an attachment (id=28357) [edit]
fixed patch to properly deal with symlinks

Doh!  I did miss something.

Does it count if I fixed it before anyone else noticed? ;-)

------- Comment #6 From Aron Griffis (RETIRED) 2004-04-04 21:40:09 0000 -------
Thanks Michael, I added this in 0.8.7

------- Comment #7 From roma1390@gmail.com 2004-04-04 23:19:18 0000 -------
Thanks a lot. It's great job.

------- Comment #8 From Aron Griffis (RETIRED) 2004-04-05 14:44:59 0000 -------
Closing

First Last Prev Next    No search results available      Search page      Enter new bug