On Fri, Jan 10, 2003 at 08:09:44PM +0100, Ralf S. Engelschall wrote:
>On Fri, Jan 10, 2003, Bill Campbell wrote:
>
>> [...]
>> >"./openpkg.boot -s" is your friend here.
>>
>> Thanks.  I'm still climbing the learning curve of openpkg.
>
>Also look at the README in the "openpkg" package. It explains a little
>bit about the way the bootstrapping package works. And in advance:
>you're poking around in the most magic and complex part of OpenPKG ;-)
>So don't be confused if you do not understand all parts of this complex
>package immediately.

Thanks.  I read that, and can see there was a lot of work to make that
work.

In any case, I've done some testing with the mods I suggested in the
openpkg.boot package where it tests for a working compress at the beginning
of the build to make sure it's not going to barf at the end because it
can't compress the file.  After generating the src.sh file, and
bootstrapping, the resultant install script is fine, not the truncated file
that resulted from the sharutil's faked compress script.  This worked on
Mandrake 9.0 and SCO Linux 4.0/UnitedLinux where the Mandrake had no
compress/uncompress and the SCO Linux had the bastardized sharutils with a
non-working compress (uncompress is a link to gzip).

The only other change I made was to the two aux.wrap*.sh scripts.  I moved
uncompress to the end of  the uncompress test list after gzip and gunzip so
that it will use uncompress only if gzip isn't available.

It seems to me that this doesn't change the behaviour if compress is the
only thing available, but will use gzip if available.  By changing the
aux.wrap*.sh scripts to test for gzip first, it doesn't break that part
either.

My hacked version is available for review at:
        ftp://ftp.celestial.com/pub/openpkg/PKG/openpkg-20030103-20030110.src.sh

Bill
--
INTERNET:   [EMAIL PROTECTED]  Bill Campbell; Celestial Software LLC
UUCP:               camco!bill  PO Box 820; 6641 E. Mercer Way
FAX:            (206) 232-9186  Mercer Island, WA 98040-0820; (206) 236-1676
URL: http://www.celestial.com/

``The Income Tax has made more Liars out of American people than Golf has.''
    Will Rogers
______________________________________________________________________
The OpenPKG Project                                    www.openpkg.org
User Communication List                      [EMAIL PROTECTED]

Reply via email to