Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 110387

Summary: rar should require unrar for it's unrar command.
Product: Gentoo Linux Reporter: Olliver Schinagl <oliver>
Component: New packagesAssignee: Daniel Ahlberg (RETIRED) <aliz>
Status: RESOLVED WONTFIX    
Severity: enhancement CC: vapier
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Olliver Schinagl 2005-10-24 16:30:53 UTC
rar (http://www.rarlabs.org) has a seperate unrar utility. Granted rar -x does
just that, extract etc. however rar is closed source. unrar however has it's
full source code available.

With the whole open sourceness and optimized builds gentoo follows emerging rar
should depend on unrar therefor, and not install unrar from the binary package.

Personally I'd even go as far as saying unrar should be installed from 'gentoo
genuine' binaries when users don't want to compile things, and thus rar should
always depend on unrar or unrar-bin.

I'm no ebuild scripter. I don't know how to write ebuilds. But my guess is that,

RDEPEND needs something along the lines of
+ >=apps-arch/unrar-${PV}

- dosym /opt/rar/bin/unrar /opt/bin/unrar
and maybe even 
+ mv /opt/rar/bin/unrar /opt/rar/bin/unrar-bin

Reproducible: Always
Steps to Reproduce:
Comment 1 SpanKY gentoo-dev 2005-11-08 17:34:05 UTC
doesnt really matter, /usr/bin is in PATH before /opt/bin