checkpkg: Display expected 64-bit bin locations

Just to make it a little clearer what is checkpkg thinking.

git-svn-id: https://gar.svn.sourceforge.net/svnroot/gar/csw/mgar/gar/v2@20929 d3b55034-1cff-0310-a425-aefe953e1e90
checkpkg: Tests data fixes

Fixes for testing data changes missed in previous commits.

git-svn-id: https://gar.svn.sourceforge.net/svnroot/gar/csw/mgar/gar/v2@20930 d3b55034-1cff-0310-a425-aefe953e1e90
releases-web: Do not read whole file into memory

Do it in chunks instead: less RAM usage.

git-svn-id: https://gar.svn.sourceforge.net/svnroot/gar/csw/mgar/gar/v2@20932 d3b55034-1cff-0310-a425-aefe953e1e90
releases-web: Save the file in small chunks

Avoids reading the whole file into memory.

Also fixes a race condition between unlink() and open() by using os.rename()
instead.

git-svn-id: https://gar.svn.sourceforge.net/svnroot/gar/csw/mgar/gar/v2@20933 d3b55034-1cff-0310-a425-aefe953e1e90
releases-web: Uploaded files have to be 0644

tempfile.mkstemp creates wiles with mode 0600 by default, but these files must
be world readable when in the catalog.

git-svn-id: https://gar.svn.sourceforge.net/svnroot/gar/csw/mgar/gar/v2@20960 d3b55034-1cff-0310-a425-aefe953e1e90
rework soname-unused to use elfdump data instead of ldd output

git-svn-id: https://gar.svn.sourceforge.net/svnroot/gar/csw/mgar/gar/v2@20977 d3b55034-1cff-0310-a425-aefe953e1e90
Fix some space/tabs mixes

git-svn-id: https://gar.svn.sourceforge.net/svnroot/gar/csw/mgar/gar/v2@20978 d3b55034-1cff-0310-a425-aefe953e1e90
use mmap instead of reading the whole file during regex search to limit unecessary memory usage

git-svn-id: https://gar.svn.sourceforge.net/svnroot/gar/csw/mgar/gar/v2@20979 d3b55034-1cff-0310-a425-aefe953e1e90
do not process the symtab symbol table section

git-svn-id: https://gar.svn.sourceforge.net/svnroot/gar/csw/mgar/gar/v2@20980 d3b55034-1cff-0310-a425-aefe953e1e90
merge the two ShellCommand functions

git-svn-id: https://gar.svn.sourceforge.net/svnroot/gar/csw/mgar/gar/v2@20981 d3b55034-1cff-0310-a425-aefe953e1e90
put elfdump output in a temporary file and mmap it to limit unecessary memory usage

git-svn-id: https://gar.svn.sourceforge.net/svnroot/gar/csw/mgar/gar/v2@20982 d3b55034-1cff-0310-a425-aefe953e1e90
fix a mistake in the ShellCommand merging previous commit

git-svn-id: https://gar.svn.sourceforge.net/svnroot/gar/csw/mgar/gar/v2@20983 d3b55034-1cff-0310-a425-aefe953e1e90
really fix the mistake and stop drinking too much

git-svn-id: https://gar.svn.sourceforge.net/svnroot/gar/csw/mgar/gar/v2@20984 d3b55034-1cff-0310-a425-aefe953e1e90
ShellCommand should always return the same number of values

git-svn-id: https://gar.svn.sourceforge.net/svnroot/gar/csw/mgar/gar/v2@20986 d3b55034-1cff-0310-a425-aefe953e1e90
mGAR v2: Fix environment variable propagation.

If you set PARALLELMFLAGS to e.g. "-j 10", "mgar platforms" would break. This
patch adds quotes around environment variable values, allowing to pass values
with spaces.

Signed-off-by: Maciej Blizinski <maciej@opencsw.org>

git-svn-id: https://gar.svn.sourceforge.net/svnroot/gar/csw/mgar/gar/v2@21012 d3b55034-1cff-0310-a425-aefe953e1e90
pkgdb: Uniform way of connecting to the database

It was inconsistent across the two web apps. It's now moved to a common place,
and connecting is done only at application startup, and in each method.

git-svn-id: https://gar.svn.sourceforge.net/svnroot/gar/csw/mgar/gar/v2@21015 d3b55034-1cff-0310-a425-aefe953e1e90
pkgdb: Use default raise, preserving the origin

If "raise e" is used, the original place where the exception was raised, is
lost.

git-svn-id: https://gar.svn.sourceforge.net/svnroot/gar/csw/mgar/gar/v2@21016 d3b55034-1cff-0310-a425-aefe953e1e90
checkpkg: Better message when errors found

git-svn-id: https://gar.svn.sourceforge.net/svnroot/gar/csw/mgar/gar/v2@21017 d3b55034-1cff-0310-a425-aefe953e1e90
pkgdb: Progressbar for catalog import

git-svn-id: https://gar.svn.sourceforge.net/svnroot/gar/csw/mgar/gar/v2@21018 d3b55034-1cff-0310-a425-aefe953e1e90
pkgdb: Add missed module imports

git-svn-id: https://gar.svn.sourceforge.net/svnroot/gar/csw/mgar/gar/v2@21019 d3b55034-1cff-0310-a425-aefe953e1e90