FWIW - I like this patch. I ran into the same problem when trying to get openpkg going on cygwin too (I worked around by dummying up compress/uncompress as wrappers for gzip). Before you ask - I did not get the bootstrap for 1.2 working under cygwin yet.
Martin ---- Martin Andrews [EMAIL PROTECTED] > -----Original Message----- > From: Bill Campbell [mailto:[EMAIL PROTECTED]] > Sent: Saturday, January 11, 2003 1:17 AM > To: [EMAIL PROTECTED] > Subject: Re: Using compress/uncompress during bootstrap > ... > > 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-20030 110.src.sh ______________________________________________________________________ The OpenPKG Project www.openpkg.org User Communication List [EMAIL PROTECTED]
