At 15:38 Uhr -0500 17.01.2002, Bill Bumgarner wrote: >If you check out the source to SSHPassKey and the Tools/ directory >from mosxland.sourceforge.net, the build script can be used to >automatically package PB projects. > >[~/bbum-developer/WOUnitTest] bbum% cd ../sourceforge/mosxland/ >[~/bbum-developer/sourceforge/mosxland] bbum% Tools/build -name >'SSHPassKey-v1.1-1' -archive dmg SSHPassKey > >'build' is a perl script; it could easily be modified or copied >from to create a script that autopackages stuff. > >But that wasn't why I wrote... > >Under 10.1, if you: > > hdiutil convert Foo.dmg -format UDZO -o /tmp/Bar.dmg > >It will create a read-only copy of Foo.dmg as /tmp/Bar.dmg that is >compressed with zlib. It would be like doing a 'gzip Foo.dmg', but >the end result can be double-clicked and mounted directly via disk >copy. >Very little difference in size.
if you are thinking about the .dmg.gz file release here - ups, no go. In fact, the .dmg *is* compressed (you can do this conversion with DiskCopy, too, BTW - I wonder what exactly are the advantages of the various wrappers around hdiutil one can get? I see why hdiutil is useful, for scripts, I use it myself - but what about alls these DMG tools, what advantage do they have?). Anyway, the reason for the .gz is *not* to save space (also it squeezes out another 100 KB). The reason is that SourceForge currently has no file type for .dmgs. Hence incorrect MIME information is transfered to http clients. As a result, if you click on the .dmg link in Internet Explorer, it will display a .dmg in a text window instead of downloading it - ouch! The only work around for this currently is to use this trick. Very ugly, I agree. I have submitted a support request to SF on this, but they had similiar ones previously I think and nothing happend so far :/ Let's hope... Max -- ----------------------------------------------- Max Horn Software Developer email: <mailto:[EMAIL PROTECTED]> phone: (+49) 6151-494890 _______________________________________________ Fink-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/fink-devel