Nevermind. I hacked MirBSD compress to omit the BSD compress method (so it only does gzip), and replaced a few more things, and got a working gzip/gunzip under BSD licence.
If there is any interest in the klibc side to include that, be my guest. Sizes are nice, too (dynamically linked):
tglase@tglase:~/mbsd/src/usr.bin/compress $ size /usr/lib/klibc/bin/gzip obj/compress
text data bss dec hex filename
25828 3016 316552 345396 54534 /usr/lib/klibc/bin/gzip
18802 0 4208 23010 59e2 obj/compress
Nevermind. I hacked MirBSD compress to omit the BSD compress method (so it only does gzip), and replaced a few more things, and got a working gzip/gunzip under BSD licence.
If there is any interest in the klibc side to include that, be my guest. Sizes are nice, too (dynamically linked):
tglase@ tglase: ~/mbsd/ src/usr. bin/compress $ size /usr/lib/ klibc/bin/ gzip obj/compress klibc/bin/ gzip
text data bss dec hex filename
25828 3016 316552 345396 54534 /usr/lib/
18802 0 4208 23010 59e2 obj/compress