Posted by Anonymous Wed 21st Mar 2007 15:37 - Syntax is Perl - 21 views
Download | New Post | Modify | Hide line numbers
Download | New Post | Modify | Hide line numbers
-
strace -f -o /tmp/ ./configure
-
# or make instead of ./configure, if the package doesn't use autoconf
-
for x in `dpkg -S $( /tmp/log|\
-
perl -pe 's!.* open\(\"([^\"]*).*!$1!' |\
-
"^/"| | uniq|\
-
-v "^\(/tmp\|/dev\|/proc\)" ) 2>/dev/null|\
-
cut -f1 -d":"| | uniq`; \
-
do \
-
echo -n "$x (>=" `dpkg - $x|grep ^Version|cut -f2 -d":"` "), "; \
-
done
PermaLink to this entry https://pastebin.co.uk/12117
Posted by Anonymous Wed 21st Mar 2007 15:37 - Syntax is Perl - 21 views
Download | New Post | Modify | Hide line numbers
Download | New Post | Modify | Hide line numbers
Comments: 0