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

Bug 140379

Summary: net-misc/l7-filter-2.2 - bad grep usage
Product: Gentoo Linux Reporter: Jakub Moc (RETIRED) <jakub>
Component: New packagesAssignee: Daniel Black (RETIRED) <dragonheart>
Status: RESOLVED INVALID    
Severity: normal CC: ferringb
Priority: High    
Version: 2006.0   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Jakub Moc (RETIRED) gentoo-dev 2006-07-14 09:21:41 UTC
<snip>
# How to determine what version it was installed against? - measily
        eval $(/bin/fgrep KV=2 ${ROOT}/var/db/pkg/net-misc/${PF}/environment |\
                /bin/head -1)
</snip>

No-op, enviroment file in bzip-ed (environment.bz2). No idea how reliable is it otherwise, once fixed. :)
Comment 1 Daniel Black (RETIRED) gentoo-dev 2006-07-14 18:05:20 UTC
try it - it is actually unzipped before removal
Comment 2 Brian Harring (RETIRED) gentoo-dev 2006-09-27 09:32:07 UTC
the phrase "total crapshot" comes to mind.

Need a better method then this; portage decompressing that file is just portage being inefficient, it's not guranteed to remain, nor is it guranteed that file must even *exist* (both environment.bz2 and it)