# PaCkAgE DaTaStReAm SMCgzip 1 900 # end of header 0707010001eb64000081a40000000a0000000a00000001381937fa000000b70000003f0000000300000000000000000000001000000004SMCgzip/pkginfoPKG=SMCgzip NAME=gzip ARCH=i86pc VERSION=1.2.4a CATEGORY=application VENDOR=Free Software Foundation EMAIL=steve@smc.vnet.net PSTAMP=Steve Christensen BASEDIR=/usr/local CLASSES=none 0707010001eb63000081a40000000a0000000a00000001381937fa0000083d0000003f0000000300000000000000000000000f00000004SMCgzip/pkgmap: 1 900 1 d none bin 0755 bin bin 1 l none bin/gunzip=gzip 1 f none bin/gzexe 0755 bin bin 3858 34901 941176751 1 f none bin/gzip 0755 bin bin 67040 30618 941176751 1 l none bin/zcat=gzip 1 l none bin/zcmp=zdiff 1 f none bin/zdiff 0755 bin bin 2006 3813 941176751 1 f none bin/zforce 0755 bin bin 1010 10473 941176751 1 f none bin/zgrep 0755 bin bin 1339 32986 941176751 1 f none bin/zmore 0755 bin bin 1074 12149 941176751 1 f none bin/znew 0755 bin bin 3508 62944 941176751 1 d none doc 0755 bin bin 1 d none doc/gzip 0755 bin bin 1 f none doc/gzip/COPYING 0644 bin bin 17982 28433 941176767 1 f none doc/gzip/ChangeLog 0644 bin bin 26312 39742 941176768 1 f none doc/gzip/INSTALL 0644 bin bin 11412 9518 941176768 1 f none doc/gzip/Makefile 0644 bin bin 12313 52117 941176768 1 f none doc/gzip/Makefile.in 0644 bin bin 12262 47433 941176768 1 f none doc/gzip/NEWS 0644 bin bin 9967 8956 941176768 1 f none doc/gzip/README 0644 bin bin 7227 63024 941176768 1 f none doc/gzip/THANKS 0644 bin bin 13034 8137 941176768 1 f none doc/gzip/TODO 0644 bin bin 2619 34130 941176768 1 f none doc/gzip/algorithm.doc 0644 bin bin 7747 40357 941176791 1 f none doc/gzip/gpl.texinfo 0644 bin bin 18317 13624 941176791 1 f none doc/gzip/gzip.doc 0644 bin bin 15695 12743 941176791 1 f none doc/gzip/gzip.texi 0644 bin bin 17348 3094 941176791 1 f none doc/gzip/texinfo.tex 0644 bin bin 108872 34125 941176791 1 d none info 0755 bin bin 1 f none info/gzip.info 0644 bin bin 35414 8855 941176752 1 d none lib 0755 bin bin 1 d none man 0755 bin bin 1 d none man/man1 0755 bin bin 1 l none man/man1/gunzip.1=gzip.1 1 f none man/man1/gzexe.1 0644 bin bin 1296 45404 941176752 1 f none man/man1/gzip.1 0644 bin bin 13923 37380 941176752 1 l none man/man1/zcat.1=gzip.1 1 l none man/man1/zcmp.1=zdiff.1 1 f none man/man1/zdiff.1 0644 bin bin 802 494 941176752 1 f none man/man1/zforce.1 0644 bin bin 591 48615 941176752 1 f none man/man1/zgrep.1 0644 bin bin 958 14701 941176752 1 f none man/man1/zmore.1 0644 bin bin 4226 42237 941176752 1 f none man/man1/znew.1 0644 bin bin 999 17965 941176752 1 i pkginfo 183 15285 941176826 07070100000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000b00000000TRAILER!!!0707010001eb64000081a40000000a0000000a00000001381937fa000000b70000003f0000000300000000000000000000000800000004pkginfoPKG=SMCgzip NAME=gzip ARCH=i86pc VERSION=1.2.4a CATEGORY=application VENDOR=Free Software Foundation EMAIL=steve@smc.vnet.net PSTAMP=Steve Christensen BASEDIR=/usr/local CLASSES=none 0707010001eb63000081a40000000a0000000a00000001381937fa0000083d0000003f0000000300000000000000000000000700000004pkgmap: 1 900 1 d none bin 0755 bin bin 1 l none bin/gunzip=gzip 1 f none bin/gzexe 0755 bin bin 3858 34901 941176751 1 f none bin/gzip 0755 bin bin 67040 30618 941176751 1 l none bin/zcat=gzip 1 l none bin/zcmp=zdiff 1 f none bin/zdiff 0755 bin bin 2006 3813 941176751 1 f none bin/zforce 0755 bin bin 1010 10473 941176751 1 f none bin/zgrep 0755 bin bin 1339 32986 941176751 1 f none bin/zmore 0755 bin bin 1074 12149 941176751 1 f none bin/znew 0755 bin bin 3508 62944 941176751 1 d none doc 0755 bin bin 1 d none doc/gzip 0755 bin bin 1 f none doc/gzip/COPYING 0644 bin bin 17982 28433 941176767 1 f none doc/gzip/ChangeLog 0644 bin bin 26312 39742 941176768 1 f none doc/gzip/INSTALL 0644 bin bin 11412 9518 941176768 1 f none doc/gzip/Makefile 0644 bin bin 12313 52117 941176768 1 f none doc/gzip/Makefile.in 0644 bin bin 12262 47433 941176768 1 f none doc/gzip/NEWS 0644 bin bin 9967 8956 941176768 1 f none doc/gzip/README 0644 bin bin 7227 63024 941176768 1 f none doc/gzip/THANKS 0644 bin bin 13034 8137 941176768 1 f none doc/gzip/TODO 0644 bin bin 2619 34130 941176768 1 f none doc/gzip/algorithm.doc 0644 bin bin 7747 40357 941176791 1 f none doc/gzip/gpl.texinfo 0644 bin bin 18317 13624 941176791 1 f none doc/gzip/gzip.doc 0644 bin bin 15695 12743 941176791 1 f none doc/gzip/gzip.texi 0644 bin bin 17348 3094 941176791 1 f none doc/gzip/texinfo.tex 0644 bin bin 108872 34125 941176791 1 d none info 0755 bin bin 1 f none info/gzip.info 0644 bin bin 35414 8855 941176752 1 d none lib 0755 bin bin 1 d none man 0755 bin bin 1 d none man/man1 0755 bin bin 1 l none man/man1/gunzip.1=gzip.1 1 f none man/man1/gzexe.1 0644 bin bin 1296 45404 941176752 1 f none man/man1/gzip.1 0644 bin bin 13923 37380 941176752 1 l none man/man1/zcat.1=gzip.1 1 l none man/man1/zcmp.1=zdiff.1 1 f none man/man1/zdiff.1 0644 bin bin 802 494 941176752 1 f none man/man1/zforce.1 0644 bin bin 591 48615 941176752 1 f none man/man1/zgrep.1 0644 bin bin 958 14701 941176752 1 f none man/man1/zmore.1 0644 bin bin 4226 42237 941176752 1 f none man/man1/znew.1 0644 bin bin 999 17965 941176752 1 i pkginfo 183 15285 941176826 07070100000094000041ed0000000a0000000a00000006381937fa000000000000003f0000000300000000000000000000000600000004reloc0707010000e31d000041ed0000000a0000000a00000002381937fa000000000000003f0000000300000000000000000000000a00000004reloc/bin0707010000e31e000081a40000000a0000000a00000001381937af00000f120000003f0000000300000000000000000000001000000004reloc/bin/gzexe#!/bin/sh # gzexe: compressor for Unix executables. # Use this only for binaries that you do not use frequently. # # The compressed version is a shell script which decompresses itself after # skipping $skip lines of shell commands. We try invoking the compressed # executable with the original name (for programs looking at their name). # We also try to retain the original file permissions on the compressed file. # For safety reasons, gzexe will not create setuid or setgid shell scripts. # WARNING: the first line of this file must be either : or #!/bin/sh # The : is required for some old versions of csh. # On Ultrix, /bin/sh is too buggy, change the first line to: #!/bin/sh5 x=`basename $0` if test $# = 0; then echo compress executables. original file foo is renamed to foo~ echo usage: ${x} [-d] files... echo " -d decompress the executables" exit 1 fi tmp=gz$$ trap "rm -f $tmp; exit 1" 1 2 3 5 10 13 15 decomp=0 res=0 test "$x" = "ungzexe" && decomp=1 if test "x$1" = "x-d"; then decomp=1 shift fi echo hi > zfoo1$$ echo hi > zfoo2$$ if test -z "`(${CPMOD-cpmod} zfoo1$$ zfoo2$$) 2>&1`"; then cpmod=${CPMOD-cpmod} fi rm -f zfoo[12]$$ tail="" IFS="${IFS= }"; saveifs="$IFS"; IFS="${IFS}:" for dir in $PATH; do test -z "$dir" && dir=. if test -f $dir/tail; then tail="$dir/tail" break fi done IFS="$saveifs" if test -z "$tail"; then echo cannot find tail exit 1 fi for i do if test ! -f "$i" ; then echo ${x}: $i not a file res=1 continue fi if test $decomp -eq 0; then if sed -e 1d -e 2q "$i" | grep "^skip=[0-9]*$" >/dev/null; then echo "${x}: $i is already gzexe'd" continue fi fi if ls -l "$i" | grep '^...[sS]' > /dev/null; then echo "${x}: $i has setuid permission, unchanged" continue fi if ls -l "$i" | grep '^......[sS]' > /dev/null; then echo "${x}: $i has setgid permission, unchanged" continue fi case "`basename $i`" in gzip | tail | chmod | ln | sleep | rm) echo "${x}: $i would depend on itself"; continue ;; esac if test -z "$cpmod"; then cp -p "$i" $tmp 2>/dev/null || cp "$i" $tmp if test -w $tmp 2>/dev/null; then writable=1 else writable=0 chmod u+w $tmp 2>/dev/null fi fi if test $decomp -eq 0; then sed 1q $0 > $tmp sed "s|^if tail|if $tail|" >> $tmp <<'EOF' skip=18 if tail +$skip $0 | "/usr/local/bin"/gzip -cd > /tmp/gztmp$$; then /bin/chmod 700 /tmp/gztmp$$ prog="`echo $0 | /bin/sed 's|^.*/||'`" if /bin/ln /tmp/gztmp$$ "/tmp/$prog" 2>/dev/null; then trap '/bin/rm -f /tmp/gztmp$$ "/tmp/$prog"; exit $res' 0 (/bin/sleep 5; /bin/rm -f /tmp/gztmp$$ "/tmp/$prog") 2>/dev/null & /tmp/"$prog" ${1+"$@"}; res=$? else trap '/bin/rm -f /tmp/gztmp$$; exit $res' 0 (/bin/sleep 5; /bin/rm -f /tmp/gztmp$$) 2>/dev/null & /tmp/gztmp$$ ${1+"$@"}; res=$? fi else echo Cannot decompress $0; exit 1 fi; exit $res EOF "/usr/local/bin"/gzip -cv9 "$i" >> $tmp || { /bin/rm -f $tmp echo ${x}: compression not possible for $i, file unchanged. res=1 continue } else # decompression skip=18 if sed -e 1d -e 2q "$i" | grep "^skip=[0-9]*$" >/dev/null; then eval `sed -e 1d -e 2q "$i"` fi if tail +$skip "$i" | "/usr/local/bin"/gzip -cd > $tmp; then : else echo ${x}: $i probably not in gzexe format, file unchanged. res=1 continue fi fi rm -f "$i~" mv "$i" "$i~" || { echo ${x}: cannot backup $i as $i~ rm -f $tmp res=1 continue } mv $tmp "$i" || cp -p $tmp "$i" 2>/dev/null || cp $tmp "$i" || { echo ${x}: cannot create $i rm -f $tmp res=1 continue } rm -f $tmp if test -n "$cpmod"; then $cpmod "$i~" "$i" 2>/dev/null elif test $writable -eq 0; then chmod u-w $i 2>/dev/null fi done exit $res 0707010000e31f000081a40000000a0000000a00000001381937af000105e00000003f0000000300000000000000000000000f00000004reloc/bin/gzipELF&44 (44P /usr/lib/ld.so.1X{Oz7b>$Zyr?dFQ4AY#1nVSe_.T=l&xfkh|CBHq}W]3*j\G-/95:@D)6+^P,(<iM aU's~[g%vt`2!0NKpRLE"wm8couJ;I!"","# & Э   @  < $&o +4?L%D&" Ll&S$XD5 dpy `  ! l%|&} #2 4 <h3 C O X\$_ h o#v#{ @ @& $$c %  Э# u x]  p  ,$! , 7r EMU _ ntO9 "kd pl ?  L&|D p o TUE  |$  l$! +,%2 8%>FM$T\%Z%ap lr<&xl%t sJ x | G dn  0  0 dH $A !$  t $ #l0 %!VB / &4; B$H$P [%d$iOG mtto% @  7 i  %%UI # L/   H$l}1 & ,\w 7 >I  V \%ciH o\! {,[  !\& L ) P T %# ,&|%X <% Ȍ \ 0n1 "#"+L$3^4 ;$BĎ^ O<$Wlisttotal_outdo_lzwasciigetopt_startbytes_inforegroundread_mcountcallocatoiwrite_errorlast_memberz_suffixlongoptsprognameinflate_fixed_environ_endblock_mode_iobdecompress__register_frame_infoworktime_stampreaddir__flsbuf_GLOBAL_OFFSET_TABLE_inflate_codeslbitsmake_simple_name__ctypestrlwrprev_lengthstrstartsignalread_bufwindowatexitexitforcedecryptinbufoptoptmalloc_xstatunlzhprevopendirexit_codeblock_startunlzw_initadd_envoptext_headerread_errorifdinflate_storedmatch_start_fxstatgood_matchnice_matchcheck_zipfileno_timeverbosebytes_outsave_orig_namelevelabort_gzipmask_bitsct_tallyto_stdoutcopy_blockflush_outbufargsifnamegetenvlzw_getopt_internalbi_winduptestlm_initmax_chain_lengthstrncpyenv_DYNAMICstrncmpfile_typeprintf__iobchownmaxbitsmethodfilenoctimestrcatifile_sizedbitswritestrrchrinsizeunzipfile_methoddisplay_ratiowarnsend_bitsinflate_blockd_bufinflateupdcrcwrite_bufenvironperrorbberrnopkzipbkunlink__fpstarterrorutimelongest_matchfreeoptindunpackclose_lxstatfill_inbufclosediropenzipoptargbi_reversewindow_sizehufts__deregister_frame_infoclear_bufsflush_blockstrcmpfgetsopterrfile_read_edata_PROCEDURE_LINKAGE_TABLE_xmallocofnameoutbufstrcpyhuft_freeinptrhuft_build_etextcrc_32_tab_lib_versionistatfflushquietz_lengetopt_longdeflate_ctypestrspninflate_dynamicheader_bytesmainkeyofdchmodbasenameremove_ofnamememcpystrcspnpart_nblseek_finicopyoutcnttotal_inrecursivebi_init_cleanupfprintfct_initisattyflush_window_xmknodno_namelibc.so.1SUNW_0.7libc.so.1_(= i2- u;BC2IW? ro&y $(,048{<t@D#HzLPTX\`dvhLl5ptxH|~h%65%%h%h%h%h%h %h(%h0%h8p%h@`%hHP%hP@%hX0% h` %hh%hp%hx%h% h%$h%(h%,h%0h%4h%8hp%<h`%@hP%Dh@%Hh0%Lh %Ph%Th%Xh%\h%`h%dh%hh%lh %ph(%th0%xh8p%|h@`%hHP%hP@%hX0%h` %hhjjR#t h#thETRU RP PjUS[|uDxPxЋx8u⃻tL Pǃ|]ÐUS[X[ÐUS[@$tX PL PN]ÐUS[[Uu uj*Uu uj"Uu ujUuu ujUhlhc5hhЎ ÐUSphJhT5hZhЎ  =pt 3hfhЎ ;u]US`hJhT5hZhЎ b =`t!3hfhЎ =;u]UhJhT5hZhЎ  hjhphwhЎ hhЎ  hhЎ hhЎ ÐUWVE 0eЉH=~tuDhE PEPe tE jj9=%thOjjj=thOjjj=thOjjh5tRjh5t6p÷tǷujhͷhRHH PσE$5jkOj7/HH RhjX3jB5h hЎ Dj! j!jhhu u ==} =} u+=t$=u5h`hЎ =H u =t =H ~(55hhЎ Wj ! =t=u l|t2;E}+E 4;U|C=t=u~jjx5 e^_ÐU== =u PP thc=tP͹=tùP5hhЎ $ 5h'hЎ  j > Bf  UU BfABA=u =u?h h P9thDa p ]X =t+5 . }5=tD55 5   h Ph PlЃ =t=u ;t u=ta=thQhЎ MD=u8hЎ PL  +ʋ+PIahhЎ ÐUWVS]Vu',h S %=@un=t5` "S`PS=h 5h`hЎ 9 %=t'=uzh 5hhЎ ^= vs=uj=ua=u8 = vsP HPh 5hhЎ = p =t =t 3=t8=u/=u& UU BfABAchjh o =u85h hЎ h K ZX =t5 |=t)55 5 =th T Vw=u@= t@=u.=u%h h 5hhЎ  = u=% =t~ H=7H)=~'cRh h,hЎ :  5T 5 lЃu=t0=u' ;t t5 }5 f=u5T Lt\=u#=h -==th3hЎ LP=thЎ  PL  hЎ PL  +ʋ+P*\=u#=uh h7hЎ hhЎ =u h `H[^_ÐUS7t5  ohSh T =u h 5 s`P5T tl5h hЎ h c 5 b5T T h T`Ph (u3y=t;=uh 5h`hЎ @=u뺐5T h  h =qHUUE  =u=u PRR PR.U\WVSEuE}HE= UR EE+MUD PEP]S>VHEU2ЍX9]~,E+ÍU|/tVM+PgEE8u3e[^_ÐUWVSEuh E Ph  =t = th h th  HEͷuEE0h E Ph  tB EEE8uhStS+3e[^_ÐU WVSh h h ؃ =uv=u===u===h 5hhЎ SS󿋻t󿐻uûǻC|wtT=u=u'=uSh 5hhЎ C=u  hh 3e[^_ÐUWVS=tJ=tA ;t s@  jVQE ;t r@jM ;t s@  jQE ;t s@  jPEfEf UX L u tu ;t s@   j^P=t'Ph 5h hЎ ls ;t s@ E jOEE th 5h`Et4h 5hhЎ =ZEt<EPh 5hhЎ  = ;t s@  j*Oء ;t s@   jN ء ;t s@   jN ء ;t s@   jN ؅t=u ;t s  jVN ;t s  j2NE ;t s@  jMء ;t s@   jM ؃=t!Sh 5h4hЎ  E ;t s@  jjMء ;t s@   j:M ؃=t!Sh 5h`hЎ s r- ;t s  jLs֊E=u=t =t =X ~3 ;t s@  j~Luth N rhO ;t s@  j"LCu=ut Et/ ;t s@   jKuӃ=X E L 1ǽuuN= uE@ u2 lsus/u̽uluϽulguҽul$;=t:=t1=u(lȌ =|p=X u+h 5hսhЎ ;=uh 5hhЎ y=u e[^_ÐUWVS]} =tL|P=thS=h=c=V=t55h =u55hnh PL  +ʋ+PMh85 p =jjS=tojEPS=tyLuMA QA  YA QA  ډ h@ =tPV4hE5 5h)=u-L  =| = u+L  =| h  PL  +ʋ+PKh h \e[^_USM] 3ҋA;Cu ;Ћ[ÐUWVS}ЍXUT_`u "ED3`VPxuVU Rp_ELǍH[^_ÐUWVSEE}Ѝp=t  hIUD2EP؃uh!jI ~)sûuCj/UR؃EtC؀;t)h7S ؃;E~CE;tC;u׃}u Mu}tUBBUu3j.EPEuh@HUzuJUhEPe[^_ÐUS `= N h RSh u΃=uA`Sh t&h  Sh ; `Ph (tyh h Cu8c=tPh 5h`hЎ K_h h 5hhЎ "6=fh 5hÿhЎ =tXh +P5 t;hhЎ hЎ  h jOPt =Yu 2yt'hhЎ M=ug[hh h  u365h hЎ h wUS] C8EUC@BRut\C%=@tM=u5h hЎ t=u =u h ]ÐUS]=t?=t6C@;t+C@=~h hhЎ Sh C%Ph * tP=u5h hЎ =u =uh s sh hh  h tM=u5h hЎ  =u =u h p]ÐUWVSEPPu+EP5h0hЎ ? 7 C}щK =REPV?t 3/ PPP2 PEP5hFhЎ  P P[^_ÐUS]=$t S$= t5  =t5SYU=t5T Kh N jQUVSEu fEfE 5T  \ \ ƀ \ =\ @u_>\ ƀ \ =\ @u<>= t\  \ =\ @u>=\ ?w2 \  \ \ f \ S\  \ =\ @u=\ f \ =\ @u}==\ ?w9 \  \ \ f \ Z\  \ =\ @u =\ f \ =\ @u<jj;8Vp hEPD EP5n\ E \  =\ @uu<\ ƀ \ =\ @uR<= tAh T=؃\  \ =\ @u<Cuԡ\ L =\ ?w5 \ 8 \ \ 8f \ V\ 8 \ =\ @u;\ 8f \ =\ @ub;=\ ?w: \ 8 \ \ 8f \ [\ 8 \ =\ @u:\ 8f \ =\ @u:=\ ?w2 \  \ \ f \ S\  \ =\ @u\:\ f \ =\ @u1:=\ ?w9 \  \ \ f \ Z\  \ =\ @u9\ f \ =\ @u9L 93e[^ÐUVSuu V5 '؃ttSV'88Íe[^U WVS]u C=vhd;< 3@b@` d f u u  hh  УDt=uHDdH=Dw=Dw =HtL3ɻ L3%AvLe[^_ÐUWVSu E   =~v E E= " DE E ; rm E8E8D :B:Au}BAB:uj  +P| 3P  =D4=Ht&j  +P| 3Pde[^_UWVSEE=<jL5 " 3ЁL% QfE fQE = EtV;@sN+=~wCSE;Dv DU}u  +Ћ=vE=  E;  PG +ЋPEDB +ЉD    L 83ЁL %QfF fQ  uEE }j  +P| 3Pl   z}tV H Pj t]CE ;t s@   jOF;5~e[^_ÐUWVS3ҋ~)8)0K  ~ h ;.񐐋+ˋr HsC;~H= w[^_UWVSEU T <lp hHEHEl;h}Vp ;t s@   jR ãpll;h|h l+ȋp#U ~+}5hF?x95l}Lp ;t s@   j ãpl95l| l+΋p#;r;Uu;5t=\  \ =\ u")5l; t h3e[^_US]f;~g+f  ;t s@  j=u  +ˉ f ]ÐUSU+R/Ë]UfjÐUWVSEfXCv3;]sUM  fBC;]rfDžB@E0s0 +:fwރvfbt h&+E8;]w4@}08f0M+˺f8C;]v׃w U+ˋfZCvEEB8t!ЋM;tEfXC;uU(+U4Dž<E9<@,M <46,D(<;uw!;x-t }.=EEEEG?t?=uE#}uuMM EE>tF+PR6zu؋+6;uuEEE}tJ}uD=tU 42hShЎ oz5&}~MM?ExtG==t[U Dx-uM12hhЎ y.E0U DP2hhЎ y 53Myu{E9}U X=t M t1hhЎ Fy5q3U:::5B}tEMUztRMA 3UB }t-M x-tPEPuy=tUU x-u52h@hЎ dx+5M P1h`hЎ 7x3PEPSС8ut:u1=tPU 2hhЎ wã3z:z:u8ued8uMM9 u7=tPE 0hhЎ RwãU::u:M Íe[^_ÐUjjjuu uÐUjuuuu uUVS[;< < t Ѓ>u[^US[[yx Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. along with this program; if not, write to the Free Software You should have received a copy of the GNU General Public License GNU General Public License for more details. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the but WITHOUT ANY WARRANTY; without even the implied warranty of This program is distributed in the hope that it will be useful, any later version. the Free Software Foundation; either version 2, or (at your option) it under the terms of the GNU General Public License as published by This program is free software; you can redistribute it and/or modify Copyright (C) 1992-1993 Jean-loup Gaillybitslzwbestfastversionverboseno-timetestsuffixrecursivesilentquietnameno-namelicenselisthelpforceuncompressdecompressstdoutto-stdoutasciirusage: %s [-%scdfhlLnN%stvV19] [-S suffix] [file ...] file... files to (de)compress. If none given, use standard input. -9 --best compress better -1 --fast compress faster -V --version display version number -v --verbose verbose mode -t --test test compressed file integrity -S .suf --suffix .suf use suffix .suf on compressed files -r --recursive operate recursively on directories -q --quiet suppress all warnings -N --name save or restore the original name and time stamp -n --no-name do not save or restore the original name and time stamp -L --license display software license -l --list list compressed file contents -h --help give this help -f --force force overwrite of output file and compress links -d --decompress decompress -c --stdout write on standard output, keep original files unchanged18 Aug 931.2.4%s %s (%s) %s UTIMEDIRENTCompilation options: %s %s STDC_HEADERS HAVE_UNISTD_H .exeGZIPunguncatgzcat.gzab:cdfhH?lLmMnNqrS:tvVZ123456789%s: -Z not supported in this version %s: option --ascii ignored on this system %s: incorrect suffix '%s' ---------(-(-(-(-(-+(-(-(-(-(-(-(-(-+(-(-(-+ ,8,(-(-(-(-,(-(-,(-(-(-,(-(-(-(-(-(-`+p+++(-+(-+(-(-(-++,(-(-T,p,(-,(-,deread fromwritten to%s: compressed data not %s a terminal. Use -f to force %scompression. For help, type: %s -h stdinfstat(stdin) OK -%s: %s is a directory -- ignored %s: %s is not a directory or a regular file - ignored %s: %s has %d other link%c -- unchanged %s: %s: %s compressed to %s %s: %s OK -- replaced with %s%s: %s: warning, name truncated _z-z-gz.tgz.taz.zz.Z%s: %s: unknown suffix -- ignored .tar%s: %s already has %s suffix -- unchanged %s: %s: unknown method %d -- get newer version of gzip %s: %s is encrypted -- get newer version of gzip %s: %s is a a multi-part gzip file -- get newer version of gzip %s: %s has flags 0x%x -- get newer version of gzip %s: %s: part number %u %s: %s: extra field of %u bytes ignored corrupted input -- file name too largePK %s: %s: not in gzip format %s: %s: decompression OK, trailing garbage ignored deflalzh pack comprstoremethod crc date time compressed uncompr. ratio uncompressed_name %9lu %9lu %9ld %9ld (totals) %5s %08lx %11s %s name too shortcan't recover suffix .internal error in shorten_name%s: %s: cannot %scompress onto itself %s: %s and %s are the same file n%s: %s already exists; do you wish to overwrite (y or n)? not overwritten %s: time stamp restored %s: %s unreadable ..%s: %s/%s: pathname too long bad pack levelblock vanished-l used on binary file %s: %s: not a valid zip file %s: %s: first entry not deflated or stored -- use unzip %s: %s: encrypted file -- use unzip out of memoryinvalid compressed data--format violatedlen %ld, siz %ld invalid compressed data--length mismatchinternal error, invalid methodinvalid compressed data--crc errorinvalid compressed data--length error%s: %s has more than one entry--rest ignored %s: %s has more than one entry -- unchanged incomplete literal tree incomplete distance tree out of memoryargc<=0 %s: %s: %s %s: %s: warning: %s%s %s: %s: unexpected end of file %2ld.%1ld%%output in compress .Z format not supported %s: %s: warning, unknown flags 0x%x %s: %s: compressed with %d bits, can only handle %d bits corrupt input.corrupt input. Use zcat to recover some data.invalid compressed data -- Huffman code > 32 bitstoo many leaves in Huffman treeinvalid compressed data--length errorBad table POSIXLY_CORRECT--%s: option `%s' is ambiguous %s: option `--%s' doesn't allow an argument %s: option `%c%s' doesn't allow an argument %s: option `%s' requires an argument %s: unrecognized option `--%s' %s: unrecognized option `%c%s' %s: illegal option -- %c %s: option requires an argument -- %c #####$$"$2$B$R$b$r$$$$$$$$$%%"%2%B%R%b%r%%%%%%%%%&&"&2&B&R&b&r&&r Э   oo!op,""o@dc ` c@fa\cUcJd?d9f4h/l'LnNq qrStTv߱Vڱ1ձ9ѱẔbOĶ@`@` ͷͷMGA;cccc5      ``@`           #+3;CScscc !1Aa  0@` ?? 0w,aQ mjp5c飕d2yҗ+L |~-d jHqA}mQDžӃVlkdzbeO\lcc=  n;^iLA`rqgjm Zjz  ' }Dңhi]Wbgeq6lknv+ӉZzJgo߹ホCՎ`~ѡ8ROggW?K6H+ L J6`zA`Ugn1yiFafo%6hRw G "/&U;( Z+j\1е,[d&c윣ju m ?6grWJz+{8 Ғ |! ӆBhn[&wowGZpj;f\ eibkaElx TN³9a&g`MGiIwn>JjѮZf @;7SŞϲG0򽽊º0S$6к)WTg#.zfJah]+o*7 Z-!"","# & Э   @  O `   +& :@> LDX& nd' |' ' H' `<' ' ' ( ,(* pX(d (` !) ) Ow 1H1o <. HC PL< [9* etM o|K {:z 6  Le Ix F Gv `8@ 8 $F# $'-O <8@JTU Y`Pm<y@DHW* L Y  ^ t@xL ``(#x0D8`@`ISb tnzx   Xcj L` @DHLPTU` `T`= a c  *e 4f >\h Lh [dmo rtlK 0n r \w |L>>D<<Ȍ ${ 39| HQY hq  hhT hhlpܜ ܜ  , / + 6l BIR|W ]Ԣ fp y  8! \   & ȥ   # 9F Q_lz< &o L%&" l&$D5   !*` /: !?J `lep%x|&} 2  h3   \$  ##   @ @  &% $, $c 2 7 %? I U  [ Э# a u l xw ]  p  ,$   r      O9  " kd  $ pl / ? < A H L&U |D Y p j o t y TUE  |$   l$  ,%  %   $ \% % p   <& l% t  sJ  x ' | 5 G : dn  D 0 R X 0 ` dH g $A q !y $   t  $ # l0 % VB &   $ $  % $ OG  to% @  7 7 B i N %U %[ b UI l s # L/  H $ l}1  \w     %  H  \! ,[   ! \&  / L < ) A P E T I %O # X f ,&m |%u X } <%  Ȍ \    0n1 #" L$ ^4 $ Ď^ <$ gzipcrt1.scrti.svalues-Xa.ccrtstuff.cgcc2_compiled.p.3__DTOR_LIST__completed.4__do_global_dtors_aux__EH_FRAME_BEGIN__fini_dummyobject.11frame_dummyinit_dummyforce_to_data__CTOR_LIST__gzip.cgcc2_compiled.license_msgstatlstatfstatmknodusagehelp_msg.18helplicenseversiondo_exittreat_filetreat_stdindo_listget_methodget_istattreat_dirreset_timesmake_ofnamecreate_outfilecopy_statcheck_ofnamename_too_longshorten_namedo_statknown_suffixes.43get_suffixsuffixes.47first_time.57methods.58same_filein_exit.83zip.cgcc2_compiled.crcdeflate.cgcc2_compiled.configuration_tablecompr_levelmax_lazy_matchlookaheadeofilefill_windowins_hdeflate_fasttrees.cgcc2_compiled.extra_lbitsextra_dbitsextra_blbitsl_descdyn_ltreestatic_ltreed_descdyn_dtreestatic_dtreebl_descbl_treebl_orderinput_lencompressed_lenbase_lengthlength_codebase_distdist_codebl_countgen_codesinit_blockstatic_lenopt_lenlast_flagslast_distlast_litflagsflag_bitpqdownheapheapheap_lendepthgen_bitlenheap_maxbuild_treescan_treesend_treebuild_bl_treesend_all_treesflag_bufset_file_typecompress_blockbits.cgcc2_compiled.zfilebi_bufbi_validunzip.cgcc2_compiled.inflate.cgcc2_compiled.bordercplenscplextcpdistcpdextutil.cgcc2_compiled.crc.6crypt.cgcc2_compiled.lzw.cgcc2_compiled.msg_doneunlzw.cgcc2_compiled.unpack.cgcc2_compiled.read_treeorig_lenmax_lenleaveslit_baseliteralbuild_treeparentspeek_bitsvalidbitbufunlzh.cgcc2_compiled.fillbufbitbufbitcountsubbitbufgetbitsinit_getbitsmake_tableread_pt_lenpt_lenpt_tableread_c_lendecode_cblocksizedecode_phuf_decode_startdecode_startjdonei.33decodegetopt.cgcc2_compiled.my_strlenmy_indexexchangefirst_nonoptlast_nonoptnextcharorderingcrtstuff.cgcc2_compiled.__do_global_ctors_aux__CTOR_END__init_dummyforce_to_data__DTOR_END____FRAME_END__crtn.olisttotal_outdo_lzwasciigetopt_startbytes_inforegroundread_mcountcalloc_START_atoiwrite_errorlast_memberz_suffixlongoptsprognameinflate_fixed_environ_endblock_mode_iobdecompress__register_frame_infoworktime_stampreaddir__flsbuf_GLOBAL_OFFSET_TABLE_inflate_codeslbitsmake_simple_name__ctypestrlwrprev_lengthstrstartsignalread_bufwindowatexitexitforcedecryptinbufoptoptmalloc_xstatunlzhprevopendirexit_codeblock_startunlzw_initadd_envoptext_headerread_errorifdinflate_storedmatch_start_fxstatgood_matchnice_matchcheck_zipfileno_timeverbosebytes_outsave_orig_namelevelabort_gzipmask_bitsct_tallyto_stdoutcopy_blockflush_outbufargsifnamegetenv_END_lzw_getopt_internalbi_winduptestlm_initmax_chain_lengthstrncpyenv_DYNAMICstrncmpfile_typeprintf__iobchownmaxbitsmethodfilenoctimestrcatifile_sizedbitswritestrrchrinsizeunzipfile_methoddisplay_ratiowarnsend_bitsinflate_blockd_bufinflateupdcrcwrite_bufenvironperrorbberrnopkzipbkunlink__fpstarterrorutimelongest_matchfreeoptindunpackclose_lxstatfill_inbufclosediropenzipoptargbi_reversewindow_sizehufts__deregister_frame_infoclear_bufsflush_blockstrcmpfgetsopterrfile_read_edata_PROCEDURE_LINKAGE_TABLE_xmallocofnameoutbufstrcpyhuft_freeinptrhuft_build_etextcrc_32_tab_lib_versionistatfflushquietz_lengetopt_longdeflate_ctypestrspninflate_dynamicheader_bytesmainkeyofdchmodbasenameremove_ofnamememcpystrcspnpart_nblseek_finicopyoutcnttotal_inrecursivebi_init_cleanupfprintfct_initisattyflush_window_xmknodno_nameGNU C crt1.sas: WorkShop Compilers 4.2 alpha 14 Jun 1996GNU C crti.sas: WorkShop Compilers 4.2 alpha 14 Jun 1996@(#)SunOS 5.8 Beta February 2000GCC: (GNU) 2.95.1 19990816 (release)as: WorkShop Compilers 4.2 alpha 14 Jun 1996GCC: (GNU) 2.95.1 19990816 (release)as: Sun WorkShop 6 99/06/03GCC: (GNU) 2.95.1 19990816 (release)as: Sun WorkShop 6 99/06/03GCC: (GNU) 2.95.1 19990816 (release)as: Sun WorkShop 6 99/06/03GCC: (GNU) 2.95.1 19990816 (release)as: Sun WorkShop 6 99/06/03GCC: (GNU) 2.95.1 19990816 (release)as: Sun WorkShop 6 99/06/03GCC: (GNU) 2.95.1 19990816 (release)as: Sun WorkShop 6 99/06/03GCC: (GNU) 2.95.1 19990816 (release)as: Sun WorkShop 6 99/06/03GCC: (GNU) 2.95.1 19990816 (release)as: Sun WorkShop 6 99/06/03GCC: (GNU) 2.95.1 19990816 (release)as: Sun WorkShop 6 99/06/03GCC: (GNU) 2.95.1 19990816 (release)as: Sun WorkShop 6 99/06/03GCC: (GNU) 2.95.1 19990816 (release)as: Sun WorkShop 6 99/06/03GCC: (GNU) 2.95.1 19990816 (release)as: Sun WorkShop 6 99/06/03GCC: (GNU) 2.95.1 19990816 (release)as: Sun WorkShop 6 99/06/03GCC: (GNU) 2.95.1 19990816 (release)as: Sun WorkShop 6 99/06/03GCC: (GNU) 2.95.1 19990816 (release)as: WorkShop Compilers 4.2 alpha 14 Jun 1996GNU C crtn.oas: WorkShop Compilers 4.2 alpha 14 Jun 1996ld: Software Generation Utilities - Solaris/ELF (3.0)M <F4.interp.hash.dynsym.dynstr.SUNW_version.rel.got.rel.bss.rel.plt.plt.text.init.fini.rodata.got.dynamic.data.ctors.dtors.eh_frame.bss.symtab.strtab.comment.stab.index.shstrtab.stab.indexstrvalues-Xa.cXa ; O ; V=3.1 ; R=WorkShop Compilers 5.0 98/12/15 C 5.0/on28-builds/on28_27/usr/src/lib/libc/i386; /opt/SUNWspro/SC5.0/bin/../SC5.0/bin/cc -O -Xa -D_REENTRANT -Di386 -Iinc -I../inc -DTEXT_DOMAIN='\"SUNW_OST_OSLIB\"' -I/on28-builds/on28_27/proto/root_i386/usr/include -c -o values-Xa.o ../port/gen/values-Xa.c -W0,-xp  p  o!! - ""6 ""? ,","p H##M&&>SЭЭ#Y_   glu@@ {    @   8 %8`$ ZM 0707010000e320000081a40000000a0000000a00000001381937af000007d60000003f0000000300000000000000000000001000000004reloc/bin/zdiff#!/bin/sh # sh is buggy on RS/6000 AIX 3.2. Replace above line with #!/bin/ksh # Zcmp and zdiff are used to invoke the cmp or the diff pro- # gram on compressed files. All options specified are passed # directly to cmp or diff. If only 1 file is specified, then # the files compared are file1 and an uncompressed file1.gz. # If two files are specified, then they are uncompressed (if # necessary) and fed to cmp or diff. The exit status from cmp # or diff is preserved. PATH="/usr/local/bin:$PATH"; export PATH prog=`echo $0 | sed 's|.*/||'` case "$prog" in *cmp) comp=${CMP-cmp} ;; *) comp=${DIFF-diff} ;; esac OPTIONS= FILES= for ARG do case "$ARG" in -*) OPTIONS="$OPTIONS $ARG";; *) if test -f "$ARG"; then FILES="$FILES $ARG" else echo "${prog}: $ARG not found or not a regular file" exit 1 fi ;; esac done if test -z "$FILES"; then echo "Usage: $prog [${comp}_options] file [file]" exit 1 fi set $FILES if test $# -eq 1; then FILE=`echo "$1" | sed 's/[-.][zZtga]*$//'` gzip -cd "$1" | $comp $OPTIONS - "$FILE" STAT="$?" elif test $# -eq 2; then case "$1" in *[-.]gz* | *[-.][zZ] | *.t[ga]z) case "$2" in *[-.]gz* | *[-.][zZ] | *.t[ga]z) F=`echo "$2" | sed 's|.*/||;s|[-.][zZtga]*||'` gzip -cdfq "$2" > /tmp/"$F".$$ gzip -cdfq "$1" | $comp $OPTIONS - /tmp/"$F".$$ STAT="$?" /bin/rm -f /tmp/"$F".$$;; *) gzip -cdfq "$1" | $comp $OPTIONS - "$2" STAT="$?";; esac;; *) case "$2" in *[-.]gz* | *[-.][zZ] | *.t[ga]z) gzip -cdfq "$2" | $comp $OPTIONS "$1" - STAT="$?";; *) $comp $OPTIONS "$1" "$2" STAT="$?";; esac;; esac exit "$STAT" else echo "Usage: $prog [${comp}_options] file [file]" exit 1 fi 0707010000e321000081a40000000a0000000a00000001381937af000003f20000003f0000000300000000000000000000001100000004reloc/bin/zforce#!/bin/sh # zforce: force a gz extension on all gzip files so that gzip will not # compress them twice. # # This can be useful for files with names truncated after a file transfer. # 12345678901234 is renamed to 12345678901.gz PATH="/usr/local/bin:$PATH"; export PATH x=`basename $0` if test $# = 0; then echo "force a '.gz' extension on all gzip files" echo usage: $x files... exit 1 fi res=0 for i do if test ! -f "$i" ; then echo ${x}: $i not a file res=1 continue fi test `expr "$i" : '.*[.-]z$'` -eq 0 || continue test `expr "$i" : '.*[.-]gz$'` -eq 0 || continue test `expr "$i" : '.*[.]t[ag]z$'` -eq 0 || continue if gzip -l < "$i" 2>/dev/null | grep '^defl' > /dev/null; then if test `expr "$i" : '^............'` -eq 12; then new=`expr "$i" : '\(.*\)...$`.gz else new="$i.gz" fi if mv "$i" "$new" 2>/dev/null; then echo $i -- replaced with $new continue fi res=1; echo ${x}: cannot rename $i to $new fi done exit $res 0707010000e322000081a40000000a0000000a00000001381937af0000053b0000003f0000000300000000000000000000001000000004reloc/bin/zgrep#!/bin/sh # zgrep -- a wrapper around a grep program that decompresses files as needed # Adapted from a version sent by Charles Levert PATH="/usr/local/bin:$PATH"; export PATH prog=`echo $0 | sed 's|.*/||'` case "$prog" in *egrep) grep=${EGREP-egrep} ;; *fgrep) grep=${FGREP-fgrep} ;; *) grep=${GREP-grep} ;; esac pat="" while test $# -ne 0; do case "$1" in -e | -f) opt="$opt $1"; shift; pat="$1" if test "$grep" = grep; then # grep is buggy with -e on SVR4 grep=egrep fi;; -*) opt="$opt $1";; *) if test -z "$pat"; then pat="$1" else break; fi;; esac shift done if test -z "$pat"; then echo "grep through gzip files" echo "usage: $prog [grep_options] pattern [files]" exit 1 fi list=0 silent=0 op=`echo "$opt" | sed -e 's/ //g' -e 's/-//g'` case "$op" in *l*) list=1 esac case "$op" in *h*) silent=1 esac if test $# -eq 0; then gzip -cdfq | $grep $opt "$pat" exit $? fi res=0 for i do if test $list -eq 1; then gzip -cdfq "$i" | $grep $opt "$pat" > /dev/null && echo $i r=$? elif test $# -eq 1 -o $silent -eq 1; then gzip -cdfq "$i" | $grep $opt "$pat" r=$? else gzip -cdfq "$i" | $grep $opt "$pat" | sed "s|^|${i}:|" r=$? fi test "$r" -ne 0 && res="$r" done exit $res 0707010000e323000081a40000000a0000000a00000001381937af000004320000003f0000000300000000000000000000001000000004reloc/bin/zmore#!/bin/sh PATH="/usr/local/bin:$PATH"; export PATH if test "`echo -n a`" = "-n a"; then # looks like a SysV system: n1=''; n2='\c' else n1='-n'; n2='' fi oldtty=`stty -g 2>/dev/null` if stty -cbreak 2>/dev/null; then cb='cbreak'; ncb='-cbreak' else # 'stty min 1' resets eof to ^a on both SunOS and SysV! cb='min 1 -icanon'; ncb='icanon eof ^d' fi if test $? -eq 0 -a -n "$oldtty"; then trap 'stty $oldtty 2>/dev/null; exit' 0 2 3 5 10 13 15 else trap 'stty $ncb echo 2>/dev/null; exit' 0 2 3 5 10 13 15 fi if test $# = 0; then if test -t 0; then echo usage: zmore files... else gzip -cdfq | eval ${PAGER-more} fi else FIRST=1 for FILE do if test $FIRST -eq 0; then echo $n1 "--More--(Next file: $FILE)$n2" stty $cb -echo 2>/dev/null ANS=`dd bs=1 count=1 2>/dev/null` stty $ncb echo 2>/dev/null echo " " if test "$ANS" = 'e' -o "$ANS" = 'q'; then exit fi fi if test "$ANS" != 's'; then echo "------> $FILE <------" gzip -cdfq "$FILE" | eval ${PAGER-more} fi if test -t; then FIRST=0 fi done fi 0707010000e324000081a40000000a0000000a00000001381937af00000db40000003f0000000300000000000000000000000f00000004reloc/bin/znew#!/bin/sh PATH="/usr/local/bin:$PATH"; export PATH check=0 pipe=0 opt= files= keep=0 res=0 old=0 new=0 block=1024 # block is the disk block size (best guess, need not be exact) warn="(does not preserve modes and timestamp)" tmp=/tmp/zfoo.$$ echo hi > $tmp.1 echo hi > $tmp.2 if test -z "`(${CPMOD-cpmod} $tmp.1 $tmp.2) 2>&1`"; then cpmod=${CPMOD-cpmod} warn="" fi if test -z "$cpmod" && ${TOUCH-touch} -r $tmp.1 $tmp.2 2>/dev/null; then cpmod="${TOUCH-touch}" cpmodarg="-r" warn="(does not preserve file modes)" fi # check if GZIP env. variable uses -S or --suffix gzip -q $tmp.1 ext=`echo $tmp.1* | sed "s|$tmp.1||"` rm -f $tmp.[12]* if test -z "$ext"; then echo znew: error determining gzip extension exit 1 fi if test "$ext" = ".Z"; then echo znew: cannot use .Z as gzip extension. exit 1 fi for arg do case "$arg" in -*) opt="$opt $arg"; shift;; *) break;; esac done if test $# -eq 0; then echo "recompress .Z files into $ext (gzip) files" echo usage: `echo $0 | sed 's,^.*/,,'` "[-tv9KP]" file.Z... echo " -t tests the new files before deleting originals" echo " -v be verbose" echo " -9 use the slowest compression method (optimal compression)" echo " -K keep a .Z file when it is smaller than the $ext file" echo " -P use pipes for the conversion $warn" exit 1 fi opt=`echo "$opt" | sed -e 's/ //g' -e 's/-//g'` case "$opt" in *t*) check=1; opt=`echo "$opt" | sed 's/t//g'` esac case "$opt" in *K*) keep=1; opt=`echo "$opt" | sed 's/K//g'` esac case "$opt" in *P*) pipe=1; opt=`echo "$opt" | sed 's/P//g'` esac if test -n "$opt"; then opt="-$opt" fi for i do n=`echo $i | sed 's/.Z$//'` if test ! -f "$n.Z" ; then echo $n.Z not found res=1; continue fi test $keep -eq 1 && old=`wc -c < "$n.Z"` if test $pipe -eq 1; then if gzip -d < "$n.Z" | gzip $opt > "$n$ext"; then # Copy file attributes from old file to new one, if possible. test -n "$cpmod" && $cpmod $cpmodarg "$n.Z" "$n$ext" 2> /dev/null else echo error while recompressing $n.Z res=1; continue fi else if test $check -eq 1; then if cp -p "$n.Z" "$n.$$" 2> /dev/null || cp "$n.Z" "$n.$$"; then : else echo cannot backup "$n.Z" res=1; continue fi fi if gzip -d "$n.Z"; then : else test $check -eq 1 && mv "$n.$$" "$n.Z" echo error while uncompressing $n.Z res=1; continue fi if gzip $opt "$n"; then : else if test $check -eq 1; then mv "$n.$$" "$n.Z" && rm -f "$n" echo error while recompressing $n else # compress $n (might be dangerous if disk full) echo error while recompressing $n, left uncompressed fi res=1; continue fi fi test $keep -eq 1 && new=`wc -c < "$n$ext"` if test $keep -eq 1 -a `expr \( $old + $block - 1 \) / $block` -lt \ `expr \( $new + $block - 1 \) / $block`; then if test $pipe -eq 1; then rm -f "$n$ext" elif test $check -eq 1; then mv "$n.$$" "$n.Z" && rm -f "$n$ext" else gzip -d "$n$ext" && compress "$n" && rm -f "$n$ext" fi echo "$n.Z smaller than $n$ext -- unchanged" elif test $check -eq 1; then if gzip -t "$n$ext" ; then rm -f "$n.$$" "$n.Z" else test $pipe -eq 0 && mv "$n.$$" "$n.Z" rm -f "$n$ext" echo error while testing $n$ext, $n.Z unchanged res=1; continue fi elif test $pipe -eq 1; then rm -f "$n.Z" fi done exit $res 0707010001c594000041ed0000000a0000000a00000003381937fa000000000000003f0000000300000000000000000000000a00000004reloc/doc0707010001eb65000041ed0000000a0000000a00000002381937fa000000000000003f0000000300000000000000000000000f00000004reloc/doc/gzip0707010001eb66000081a40000000a0000000a00000001381937bf0000463e0000003f0000000300000000000000000000001700000004reloc/doc/gzip/COPYING GNU GENERAL PUBLIC LICENSE Version 2, June 1991 Copyright (C) 1989, 1991 Free Software Foundation, Inc. 675 Mass Ave, Cambridge, MA 02139, USA Everyone is permitted to copy and distribute verbatim copies of this license document, but changing it is not allowed. Preamble The licenses for most software are designed to take away your freedom to share and change it. By contrast, the GNU General Public License is intended to guarantee your freedom to share and change free software--to make sure the software is free for all its users. This General Public License applies to most of the Free Software Foundation's software and to any other program whose authors commit to using it. (Some other Free Software Foundation software is covered by the GNU Library General Public License instead.) You can apply it to your programs, too. When we speak of free software, we are referring to freedom, not price. Our General Public Licenses are designed to make sure that you have the freedom to distribute copies of free software (and charge for this service if you wish), that you receive source code or can get it if you want it, that you can change the software or use pieces of it in new free programs; and that you know you can do these things. To protect your rights, we need to make restrictions that forbid anyone to deny you these rights or to ask you to surrender the rights. These restrictions translate to certain responsibilities for you if you distribute copies of the software, or if you modify it. For example, if you distribute copies of such a program, whether gratis or for a fee, you must give the recipients all the rights that you have. You must make sure that they, too, receive or can get the source code. And you must show them these terms so they know their rights. We protect your rights with two steps: (1) copyright the software, and (2) offer you this license which gives you legal permission to copy, distribute and/or modify the software. Also, for each author's protection and ours, we want to make certain that everyone understands that there is no warranty for this free software. If the software is modified by someone else and passed on, we want its recipients to know that what they have is not the original, so that any problems introduced by others will not reflect on the original authors' reputations. Finally, any free program is threatened constantly by software patents. We wish to avoid the danger that redistributors of a free program will individually obtain patent licenses, in effect making the program proprietary. To prevent this, we have made it clear that any patent must be licensed for everyone's free use or not licensed at all. The precise terms and conditions for copying, distribution and modification follow. GNU GENERAL PUBLIC LICENSE TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION 0. This License applies to any program or other work which contains a notice placed by the copyright holder saying it may be distributed under the terms of this General Public License. The "Program", below, refers to any such program or work, and a "work based on the Program" means either the Program or any derivative work under copyright law: that is to say, a work containing the Program or a portion of it, either verbatim or with modifications and/or translated into another language. (Hereinafter, translation is included without limitation in the term "modification".) Each licensee is addressed as "you". Activities other than copying, distribution and modification are not covered by this License; they are outside its scope. The act of running the Program is not restricted, and the output from the Program is covered only if its contents constitute a work based on the Program (independent of having been made by running the Program). Whether that is true depends on what the Program does. 1. You may copy and distribute verbatim copies of the Program's source code as you receive it, in any medium, provided that you conspicuously and appropriately publish on each copy an appropriate copyright notice and disclaimer of warranty; keep intact all the notices that refer to this License and to the absence of any warranty; and give any other recipients of the Program a copy of this License along with the Program. You may charge a fee for the physical act of transferring a copy, and you may at your option offer warranty protection in exchange for a fee. 2. You may modify your copy or copies of the Program or any portion of it, thus forming a work based on the Program, and copy and distribute such modifications or work under the terms of Section 1 above, provided that you also meet all of these conditions: a) You must cause the modified files to carry prominent notices stating that you changed the files and the date of any change. b) You must cause any work that you distribute or publish, that in whole or in part contains or is derived from the Program or any part thereof, to be licensed as a whole at no charge to all third parties under the terms of this License. c) If the modified program normally reads commands interactively when run, you must cause it, when started running for such interactive use in the most ordinary way, to print or display an announcement including an appropriate copyright notice and a notice that there is no warranty (or else, saying that you provide a warranty) and that users may redistribute the program under these conditions, and telling the user how to view a copy of this License. (Exception: if the Program itself is interactive but does not normally print such an announcement, your work based on the Program is not required to print an announcement.) These requirements apply to the modified work as a whole. If identifiable sections of that work are not derived from the Program, and can be reasonably considered independent and separate works in themselves, then this License, and its terms, do not apply to those sections when you distribute them as separate works. But when you distribute the same sections as part of a whole which is a work based on the Program, the distribution of the whole must be on the terms of this License, whose permissions for other licensees extend to the entire whole, and thus to each and every part regardless of who wrote it. Thus, it is not the intent of this section to claim rights or contest your rights to work written entirely by you; rather, the intent is to exercise the right to control the distribution of derivative or collective works based on the Program. In addition, mere aggregation of another work not based on the Program with the Program (or with a work based on the Program) on a volume of a storage or distribution medium does not bring the other work under the scope of this License. 3. You may copy and distribute the Program (or a work based on it, under Section 2) in object code or executable form under the terms of Sections 1 and 2 above provided that you also do one of the following: a) Accompany it with the complete corresponding machine-readable source code, which must be distributed under the terms of Sections 1 and 2 above on a medium customarily used for software interchange; or, b) Accompany it with a written offer, valid for at least three years, to give any third party, for a charge no more than your cost of physically performing source distribution, a complete machine-readable copy of the corresponding source code, to be distributed under the terms of Sections 1 and 2 above on a medium customarily used for software interchange; or, c) Accompany it with the information you received as to the offer to distribute corresponding source code. (This alternative is allowed only for noncommercial distribution and only if you received the program in object code or executable form with such an offer, in accord with Subsection b above.) The source code for a work means the preferred form of the work for making modifications to it. For an executable work, complete source code means all the source code for all modules it contains, plus any associated interface definition files, plus the scripts used to control compilation and installation of the executable. However, as a special exception, the source code distributed need not include anything that is normally distributed (in either source or binary form) with the major components (compiler, kernel, and so on) of the operating system on which the executable runs, unless that component itself accompanies the executable. If distribution of executable or object code is made by offering access to copy from a designated place, then offering equivalent access to copy the source code from the same place counts as distribution of the source code, even though third parties are not compelled to copy the source along with the object code. 4. You may not copy, modify, sublicense, or distribute the Program except as expressly provided under this License. Any attempt otherwise to copy, modify, sublicense or distribute the Program is void, and will automatically terminate your rights under this License. However, parties who have received copies, or rights, from you under this License will not have their licenses terminated so long as such parties remain in full compliance. 5. You are not required to accept this License, since you have not signed it. However, nothing else grants you permission to modify or distribute the Program or its derivative works. These actions are prohibited by law if you do not accept this License. Therefore, by modifying or distributing the Program (or any work based on the Program), you indicate your acceptance of this License to do so, and all its terms and conditions for copying, distributing or modifying the Program or works based on it. 6. Each time you redistribute the Program (or any work based on the Program), the recipient automatically receives a license from the original licensor to copy, distribute or modify the Program subject to these terms and conditions. You may not impose any further restrictions on the recipients' exercise of the rights granted herein. You are not responsible for enforcing compliance by third parties to this License. 7. If, as a consequence of a court judgment or allegation of patent infringement or for any other reason (not limited to patent issues), conditions are imposed on you (whether by court order, agreement or otherwise) that contradict the conditions of this License, they do not excuse you from the conditions of this License. If you cannot distribute so as to satisfy simultaneously your obligations under this License and any other pertinent obligations, then as a consequence you may not distribute the Program at all. For example, if a patent license would not permit royalty-free redistribution of the Program by all those who receive copies directly or indirectly through you, then the only way you could satisfy both it and this License would be to refrain entirely from distribution of the Program. If any portion of this section is held invalid or unenforceable under any particular circumstance, the balance of the section is intended to apply and the section as a whole is intended to apply in other circumstances. It is not the purpose of this section to induce you to infringe any patents or other property right claims or to contest validity of any such claims; this section has the sole purpose of protecting the integrity of the free software distribution system, which is implemented by public license practices. Many people have made generous contributions to the wide range of software distributed through that system in reliance on consistent application of that system; it is up to the author/donor to decide if he or she is willing to distribute software through any other system and a licensee cannot impose that choice. This section is intended to make thoroughly clear what is believed to be a consequence of the rest of this License. 8. If the distribution and/or use of the Program is restricted in certain countries either by patents or by copyrighted interfaces, the original copyright holder who places the Program under this License may add an explicit geographical distribution limitation excluding those countries, so that distribution is permitted only in or among countries not thus excluded. In such case, this License incorporates the limitation as if written in the body of this License. 9. The Free Software Foundation may publish revised and/or new versions of the General Public License from time to time. Such new versions will be similar in spirit to the present version, but may differ in detail to address new problems or concerns. Each version is given a distinguishing version number. If the Program specifies a version number of this License which applies to it and "any later version", you have the option of following the terms and conditions either of that version or of any later version published by the Free Software Foundation. If the Program does not specify a version number of this License, you may choose any version ever published by the Free Software Foundation. 10. If you wish to incorporate parts of the Program into other free programs whose distribution conditions are different, write to the author to ask for permission. For software which is copyrighted by the Free Software Foundation, write to the Free Software Foundation; we sometimes make exceptions for this. Our decision will be guided by the two goals of preserving the free status of all derivatives of our free software and of promoting the sharing and reuse of software generally. NO WARRANTY 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION. 12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. END OF TERMS AND CONDITIONS Appendix: How to Apply These Terms to Your New Programs If you develop a new program, and you want it to be of the greatest possible use to the public, the best way to achieve this is to make it free software which everyone can redistribute and change under these terms. To do so, attach the following notices to the program. It is safest to attach them to the start of each source file to most effectively convey the exclusion of warranty; and each file should have at least the "copyright" line and a pointer to where the full notice is found. Copyright (C) 19yy This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. Also add information on how to contact you by electronic and paper mail. If the program is interactive, make it output a short notice like this when it starts in an interactive mode: Gnomovision version 69, Copyright (C) 19yy name of author Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'. This is free software, and you are welcome to redistribute it under certain conditions; type `show c' for details. The hypothetical commands `show w' and `show c' should show the appropriate parts of the General Public License. Of course, the commands you use may be called something other than `show w' and `show c'; they could even be mouse-clicks or menu items--whatever suits your program. You should also get your employer (if you work as a programmer) or your school, if any, to sign a "copyright disclaimer" for the program, if necessary. Here is a sample; alter the names: Yoyodyne, Inc., hereby disclaims all copyright interest in the program `Gnomovision' (which makes passes at compilers) written by James Hacker. , 1 April 1989 Ty Coon, President of Vice This General Public License does not permit incorporating your program into proprietary programs. If your program is a subroutine library, you may consider it more useful to permit linking proprietary applications with the library. If this is what you want to do, use the GNU Library General Public License instead of this License. 0707010001eb67000081a40000000a0000000a00000001381937c0000066c80000003f0000000300000000000000000000001900000004reloc/doc/gzip/ChangeLogWed Aug 18 09:34:23 1993 Jean-loup Gailly (jloup@chorus.fr) * version 1.2.4 By default, do not restore file name and timestamp from those saved inside the .gz file (behave as 'compress'). Added the --name option to force name and timestamp restoration. Accept - as synonym for stdin. Use manlinks=so or ln to support either hard links or .so in man pages Accept foo.gz~ in zdiff. Added support for Windows NT Handle ENAMETOOLONG for strict Posix systems Use --recursive instead of --recurse to comply with Webster and the GNU stdandard. Allow installation of shell scripts with a g prefix: make G=g install Install by default zcat as gzcat if gzcat already exists in path. Let zmore behave as more when invoked without parameters (give help) Let gzip --list reject files not in gzip format even with --force. Don't complain about non gzip files for options -rt or -rl. Added advice in INSTALL for several systems. Added makefile entries for NeXTstep 3.1 (if configure fails) Avoid problem with memcpy on Pyramid (gave crc error on some files) Support the -r option when compiled with Borland C++ on msdos. Force lower case file names only for FAT file systems (not HPFS) Rewrite one expression in inflate.c to avoid cc bug on Solaris x86. In the msdos makefiles, get match.asm from the msdos subdirectory. Catch SIGTERM and SIGHUP only if they are not ignored. getopt.c: on Amiga, "#if !defined(const)" does not compile. Use register parameters on Amiga. Do not force names to lower case on Amiga. Fix support of Atari TOS (Makefile.st and tailor.h) In unlzw.c, do not suggest using zcat if zcat already used. In INSTALL, suggest using bsdinst for HPUX. Document Turbo C++ 1.0 bug in INSTALL. Improved the documentation relative to the --no-name option. Avoid signed/unsigned warnings in several files. Added pointer to jka-compr19.el in README. Added pointer to OS/2 executables in README. Added --block-compress in tar -z example (gzip.1 and gzip.texi). Don't keep rcsid in executable (avoid compilation warnings). Check also the correctness of the first byte of an .Z file. Return non zero status for an invalid option. Remove "NEWFILES" from os2/gzip.def for Borland C++ on OS/2. Remove "time stamp restored" message (just obey the -N request). Thu Jun 24 10:27:57 1993 Jean-loup Gailly (jloup@chorus.fr) * version 1.2.3 Don't display the output name when decompressing except with --verbose. Remove usage of alloca in getopt.c and all makefiles. Use ASCPP instead of CPP to avoid breaking AC_HEADER_CHECK on RiscOS. Added the zfile shell script in subdirectory sample. Moved the list of compiler bugs from README to INSTALL. Added vms/Readme.vms. Fix DIST_BUFSIZE check in unlzh.c for 16 bit machines. Fix REGSIGTYP macro in configure.in. Use 'define' instead of == in vms/gzip.hlp. Avoid warnings in unlzh.c Allow separate installation of binaries and man pages. Simplified handling of file names with spaces in zgrep and znew. Fix dependencies and remove rule for trees.c in amiga/Makefile.sasc Add missing quote in gzexe. Thu Jun 17 13:47:05 1993 Jean-loup Gailly (jloup@chorus.fr) * version 1.2.2 Fix a compilation error in gzip.c on Sun with cc (worked with gcc). Wed Jun 16 11:20:27 1993 Jean-loup Gailly (jloup@chorus.fr) * version 1.2.1 Let zmore act as more if the data is not gzipped. By default, display output name only when name was actually truncated. Use absolute path names in gzexe'd programs for better security. In gzexe, use chmod 700 instead of 755 and don't gzexe tail,rm,etc... Update vms/gzip.hlp. Added a note about the fast options (-1 to -3) in algorithm.doc. Improved man page for zgrep. Minor fixes to gzip.texi. Always set LC_ALL and LANG in configure (for tr on HPUX) Mon Jun 14 10:03:24 1993 Jean-loup Gailly (jloup@chorus.fr) * version 1.2 Added the --list option to display the file characteristics. Added the --no-name option: do not save or restore original filename Save the original name by default. Allow gunzip --suffix "" to attempt decompression on any file regardless of its extension if an original name is present. Add support for the SCO compress -H format. gzip --fast now compresses faster (speed close to that of compress) with degraded compression ratio (but still better than compress). Default level changed to -6 (acts exactly as previous level -5) to be a better indication of its placement in the speed/ratio range. Use smart name truncation: 123456789012.c -> 123456789.c.gz instead of 12345678901.gz With --force, let zcat pass non gzip'ed data unchanged (zcat == cat) Added the zgrep shell script. Made sub.c useful for 16 bit sound, 24 bit images, etc.. Supress warnings about suffix for gunzip -r, except with --verbose. Moved the sample programs to a subdirectory sample. On MSDOS, use .gz extension when possible (files without extension) Added a "Special targets" section in INSTALL. Use stty -g correctly in zmore.in. Use cheaper test for gzipness in zforce.in. Remove space before $ in match.S (no longer accepted by gas 2.x) For the shell scripts, do not assume that gzip is in the path. Fix syntax error and define lnk$library in vms/Makefile.mms REGSIGTYPE is void on the Amiga. Do not write empty line when decompressing stdin with --verbose. Fix the 1.1.2 fix for VMS (bug in get_suffix) Added warning in README about compiler bug on Solaris 2.1 for x86. Added warning about 'rehash' in INSTALL. Removed default value of read_buf in bits.c (supermax doesn't like). In tailor.h, added support for Borland C and Zortech C on OS/2. Added warning in gzexe about Ultrix buggy sh (use /bin/sh5 instead). Added warning in zdiff about AIX buggy sh (use /bin/ksh instead). In configure.in, do not try the asm code if DEFS contains NO_ASM Fri Jun 4 09:49:33 1993 Jean-loup Gailly (jloup@chorus.fr) * version 1.1.2 Fix serious bug for VMS (-gz not removed when decompressing). Allow suffix other than .gz in znew. Do not display compression ratio when decompressing stdin. In zmore.in, work around brain damaged stty -g (Ultrix). Display a correct compression ratio for .Z files. Added .z to .gz renaming script in INTALL. Allow setting CFLAGS in configure. Add warning in README about bug in Concentrix cc compiler. Avoid || in Makefile.in (at least one make doesn't support this). Disable useless --ascii option for the Amiga. Add a pointer to the Primos executable in README. Added description of extra field in algorithm.doc. Do not redefine NULL in alloca.c. Added check for unsupported compression methods. Avoid getopt redeclaration on OSF/1. Tue Jun 1 09:07:15 1993 Jean-loup Gailly (jloup@chorus.fr) * version 1.1.1 Fix serious bug in vms.c (== instead of =). Added --ascii option. Add workaround in configure.in for Ultrix (quote eval argument) Do not use unset in znew (not supported on Ultrix) Use tar.gz instead of tar.z for the distribution of gzip. Add missing menu item in gzip.texi. Use size_t instead of unsigned, add AC_SIZE_T in configure.in. Fri May 28 11:40:01 1993 Jean-loup Gailly (jloup@chorus.fr) * version 1.1 Use .gz suffix by default, add --suffix option. Let gunzip accept a "_z" suffix (used by one 'compress' on Vax/VMS). Quit when reading garbage from stdin instead of reporting an error. Added sub.c and add.c for compression of 8 bit images. Added makefile for VAX/MMS and support for wildcards on VMS. Added support for MSC under OS/2. Added support for Prime/PRIMOS. Display compression ratio also when decompressing. Quit after --version (GNU standard) Use --force to bypass isatty() check. Accept --silent as synonym for --quiet (see longopts.table) Accept --to-stdout as synonym for --stdout (see longopts.table) Accept -H and -? in addition to -h and --help. Added comparison of zip and gzip in the readme file. Return an error code in all main compression/decompression functions. Continue processing other files in case of recoverable error. Add description of -f in znew.1. Do not keep uncompressed version for znew -t if .gz already exists. On Unix, use only st_ino and st_dev in same_file(). Use S_IRUSR and S_IWUSR if they exist. "test $1 = -d" -> "test x$1 = x-d" in gzexe. In match.S, use symbol sysV68 to detect the Motorola Delta. Do not include memory.h with gcc (conflicting declarations on Sun). Fix more typos. On VMS, define unlink as delete also for gcc. In "make check", unset LANG because "wc -c" fails on Kanji. Renamed shdir as scriptdir. Use the 68020 code instead of 68000 code on the NeXT. Documented --uncompress as synonym for --decompress. Include the standard header files before gzip.h (needed on Bull). Do not assume that _POSIX_VERSION implies dirent.h present. Removed gzip-tar.patch since tar 1.11.2 handles gzip directly. Use less memory when compiled with -DSMALL_MEM (for MSDOS). Optimized updcrc(). Don't complain if cc -E does not work correctly. Do not attempt reading 64K bytes on 16 bit Unix systems. Do not use the variable name 'overhead' which is reserved on Lynx! One BULL compiler does not like *p++ in inflate.c => *p, p++. Use casts on free and memcmp to avoid warnings. Remove the "off by more than one minute" time stamp kludge, but document how to avoid saving the time stamp on pipes if desired. Include crypt.h in inflate.c (one system predefines the CRYPT symbol). Add links to gunzip and (g)zcat in the default make rule. Create installation directories if they do not exist. Clarified --prefix option in INSTALL. Use symbol mc68k in match.S for the DIAB DS90. Guard against zero length _match.s in configure.in. In zmore, restore all tty options using stty -g. Added support for MacOS Simplified makecrc.c. Avoid warnings in getopt.c, util.c, unlzw.c. Use autoconf 1.4, in particular for INSTALL and AC_HAVE_POUNDBANG Use .so instead of hard links for zcat.1, gunzip.1 and zcmp.1. Fixed declration of sig_type. Make consistency check in fcfree. Added ztouch. Do not complain if utime fails on a directory (for OS/2). Thu Mar 18 18:56:43 1993 Jean-loup Gailly (jloup@chorus.fr) * version 1.0.7 Allow zmore to read from standard input (like more). Support the 68000 (Atari ST) in match.S. Retry partial writes (required on Linux when gzip is suspended in a pipe). Allow full pathnames and renamings in gzexe. Don't let gzexe compress setuid executables or gzip itself. Added vms/Makefile.gcc for gcc on the Vax. Give a pointer to Solaris and VMS executables of gzip in README. Allow installation of binaries and shell scripts in different dirs. Do not use alloca on the Cray. Provide strspn and strcspn if string.h does not exist. Define O_CREAT and O_EXCL from FCREAT and FEXCL if necessary. Remove gzip.doc in make realclean. Fixed many typos. (Corrections to my English are welcome.) Put "make manext=l install" at the correct place in INSTALL. Fix incorrect examples in INSTALL and give more examples. Include zdiff.1 for install and uninstall. Allows complex PAGER variable in zmore (e.g.: PAGER="col -x | more") Avoid warning on unused indfound in getopt.c. Cast memset arg to void* (required by some buggy compilers). Include sys/types.h before dirent.h in acgeneral.m4. Fix acgeneral.m4 AC_COMPILE_CHECK to avoid warnings. Don't use alloca.c with gcc. (One NeXT user did not have alloca.h). Change all error messages according to GNU standards. Restore time stamp only if off by more than one minute. Allow installation of zcat as gzcat. Suppress help message and send compressed data to the terminal when gzip is invoked without parameters and without redirection. (Explicit request from Noah Friedman.) Add compile option GNU_STANDARD to respect the GNU coding standards: with -DGNU_STANDARD, behave as gzip even if invoked under the name gunzip. (Complaints to /dev/null or the FSF, not to me!) Fri Mar 10 13:27:18 1993 Jean-loup Gailly (jloup@chorus.fr) * version 1.0.6 Let gzexe detect executables that are already gzexe'd. Don't try restoring record format on VMS (the simple 1.0.5 code worked correctly only on fixed-512 files). Suppress text_mode. Added asm version for 68000 in amiga/match.a. Use asm version for Atari TT. Fix "make clean" in vms/Makefile.vms. For OS/2, assume HPFS by default, add flag OS2FAT if necessary. Fixed some bugs in zdiff and define zcmp as a link to zdiff. Added zdiff.1 Remove configure hack for NeXT; add general fix to autoconf instead Do not strip a ".z" extension if this results in an empty name. Avoid array overflow in get_prefix() for extensions > 10 chars. Accept either q or e to quit zmore. In zmore, try restoring tty mode in all cases. Use Motorola style for match.S on the NeXT. configure.in: unsetenv *hangs* with the Siemens csh... Update vms/gzip.hlp. Thu Mar 4 14:13:34 1993 Jean-loup Gailly (jloup@chorus.fr) * version 1.0.5 For VMS, restore the file type for variable record format, otherwise extract in fixed length format (not perfect, but better than forcing all files to be in stream_LF format). Use "-z" suffix for VMS. Use only .z, .*-z, .tgz, .taz as valid gzip extensions; update zforce accordingly. Allow a version number in input file names for VMS. Added sample program zread.c. Fix "make check" for some implementations of /bin/sh. Don't rely on stat() for filenames with extension > 3 chars on MSDOS, OS2 and Atari. Garbage collect files in /tmp created by gzexe. Quote $opt in znew. Use TOUCH env variable in znew if it exists. Better error message for gunzip on empty or truncated file. Allow prototypes in getopt.h when __STDC__ defined but 0. Added "make clean" in vms/Makefile.vms. Removed -g from default CFLAGS (with Noah's permission!) Avoid too many HAVE_xxx_H for most systems; use common defaults. Moved default Atari flags into tailor.h for consistency. Use memzero() to clear the hash table. Update vms/gzip.hlp to reflect the VMS behavior. Fix OS_CODE (to fit in a byte). Add utime.h for the Amiga. Add gcc support for the Amiga. Work around incorrect dirent.h for NeXT 2.0. Added Makefile entry for Coherent. Fri Feb 22 11:20:49 1993 Jean-loup Gailly (jloup@chorus.fr) * version 1.0.4 Added optimized asm version for 68020. Add support for DJGPP. Add support for the Atari ST. Added zforce to rename gzip'ed files with truncated names. Do not install with name uncompress (some systems rely on the absence of any check in the old uncompress). Added missing function (fcfree) in msdos/tailor.c Let gunzip handle .tgz files, and let gzip skip them. Added 'stty min 1' in zmore for SysV and fixed trap code. Suppress .PHONY in Makefile.in, which breaks old makes. Added documentation about pcat and unpack in INSTALL. Add cast to getenv for systems without stdlib.h. Use VAXC instead of VMS to avoid confusion for gcc. Add -K to znew.1. Add gzexe.1. Try preserving file permissions in gzexe. Added -d option for gzexe. Guard against spaces in file names in gzexe. Use CMP env. variable in zcmp. Return a warning exit status for gzip of file with .z suffix. Suppress usage of d_ino which is not portable to all systems. Use #ifdef instead of #if for consistency. For VMS, use "cc util.c" instead of "cc util" (pb with logical names) Added utime() for Amiga. Renamed gzcat.1 as zcat.1. Include fcntl.h for Amiga (for read and write). For VMS, add definition of symbols and links in the makefiles. Give a VMS look to vms/gzip.hlp. Save the original name only when necessary. Add a mode parameter for open in read mode (required by VMS). For VMS, remove the version suffix from the original name. Accept both / and \ as path separator for MSDOS. Let gunzip extract stored .zip files correctly. Added warning about VFC format in vms/gzip.hlp. In znew, skip a bad file but process the others. Cleanup tailor.h. Use GZIP_OPT for VMS to avoid conflict with program name. Added description of GZIP variable in gzip.texi. Thu Feb 11 17:21:32 1993 Jean-loup Gailly (jloup@chorus.fr) * version 1.0.3 Add -K option for znew to keep old .Z files if smaller. Add -q option (quiet) to cancel -v in GZIP env variable. For Turbo C, normalize pointers before freeing them. Add more safety checks in add_envopt(). Add do_exit() for uniform exit path (always free memory). Reduce MAX_PATH_LEN for MSDOS. Include sys/types.h before signal.h Avoid strdup, the NeXT does not have it. Made gzexe safer on systems with filename limitation to 14 chars. Fri Feb 10 09:45:49 1993 Jean-loup Gailly (jloup@chorus.fr) * version 1.0.2 Added env variable GZIP for default options. Added support for the Amiga. znew now keeps the old .Z if it is smaller than the .z file. Added gzexe to compress rarely used executables. Reduce memory usage when using static allocation (no DYN_ALLOC). Better separation of warning and error return codes. Fix unlzw.c to make DYN_ALLOC and MAXSEG_64K independent options. Allow INBUFSIZ to be >= 32K in unlzw (don't use sign of rsize) Generate tar file in old format to avoid problems with old systems. Preserve time stamp in znew -P if touch -r works. Use ${PAGER-more} instead of ${PAGER:-more} in zmore. Do not use unsigned instead of mode_t. Better error message for trailing garbage in .z file; ignore this garbage on VMS. In zmore, use icanon instead of -cbreak on SYSV. Add trap handler in zmore. Use char* instead of void* for non STDC compilers. Added makefile entry for Xenix on 286. Return an error code when existing file was not overwritten. Use prototype of lzw.h for lzw.c. Fix znew with -P option alone. Give warning for directories even without -v. Close output file before unlink() in case of error. Suppress all target dependent ifdef from the portable files. Free all dynamically allocated variables upon exit. Thu Feb 4 18:23:56 1993 Jean-loup Gailly (jloup@chorus.fr) * version 1.0.1 Fixed some trivial errors in msdos/Makefile.bor Thu Feb 4 10:00:59 1993 Jean-loup Gailly (jloup@chorus.fr) * version 1.0 gzip now runs on Vax/VMS (Amiga support will come in next version). Do not overwrite files without -f when using /bin/sh. Support the test option -t for compressed (.Z) files. Flush output for bad compressed files. Add warning in README. Added makefiles for MSDOS. Don't rely on presence of csh in configure Added gunzip.1 and gzcat.1. Updated znew.1. Check reserved flags in unlzw(). Return dummy value in main to avoid lint warning. Define OF in lzw.h for lint. Allow both "znew -v -t" and "znew -vt". Don't overwrite the output file name for multiple parts. Echo just a warning if configure is out of date. Use ; instead of , in trees.c (confuses the SAS Amiga compiler). In INSTALL, document "DEFS='-DM_XENIX' ./configure". Use OTHER_PATH_SEP for more portability (DOS, OS2, VMS, AMIGA). Make all directories world writable for broken versions of tar. Use gzip -cd instead of zcat in zmore, zcmp, zdiff. Don't use GNU tar for distributions, some systems can't untar. Do not exit() for gzip --version. Mon Jan 26 10:26:42 1993 Jean-loup Gailly (jloup@chorus.fr) * Beta version 0.8.2 Avoid 'far' declarations for MSDOS. Use test -f instead of test -x in configure.in (for Ultrix) Add empty else part to if in Makefile.in for broken shells. Use NO_UNDERLINE instead of UNDERLINE (pb with Linux cpp) Accept continuation files with -ff (for damage recovery) Small patch to Makefile.os2 Use memzero instead of bzero to avoid potential conflicts Document restriction on extraction of zip files. Fix quoting in ACL_HAVE_SHELL_HACK. Do not check file size on MSDOS because of bug in DIET. Allow zcat on a file with multiple links. Add fix in inflate.c for compatibility with pkzip 2.04c. Release gzip in tar.z and tar format. (No tar.Z). Fri Jan 22 10:04:13 1993 Jean-loup Gailly (jloup@chorus.fr) * Beta version 0.8.1 Fixed Makefile.os2 Fixed #if directives that TurboC does not like. Don't rely on uncompress in znew, use gzip -d. Add the pipe option -P in znew. Add some more ideas in TODO. Support both NDIR and SYSNDIR. Sat Jan 21 15:46:38 1993 Jean-loup Gailly (jloup@chorus.fr) * Beta version 0.8 Support unpack. Check for _match.o in configure.in in addition to return status. Include in zip.c Define local variables and functions as local. Accept more alternative names for the program (pcat, gzcat, ...). Accept .exe as well as .EXE. Uncompress files with multiple links only with -f. Better error message for gunzip of non-existent file.z. Fix the entry for /etc/magic in INSTALL. Use AC_HAVE_HEADERS uniformly instead of special macros. Install the man pages as .1 by default instead of .l. Document crypt++.el in README. Fix for unlzw() on 16-bit machines (bitmask must be unsigned). Complain if input and output files are identical. Create a correct output name for files of exactly 13 chars. Do not overwrite CPP if set Check for i386 before trying to assemble match.s Check for underline in external name before assembling Add patch for tar 1.11.1. Mon Jan 5 10:16:24 1993 Jean-loup Gailly (jloup@chorus.fr) * Beta version 0.7 Use "make check" instead of "make test". Do not rely on dirname in znew. Keep time stamp and pass options to gzip in znew. Rename .l files back to .1 to avoid conflict with lex Do not create .z.z files with gzip -r. Use nice_match in match.asm Unroll loops in deflate.c Do not attempt matches beyond the window end Allow again gunzip .zip files (was working in 0.5) Allow again compilation with TurboC 2.0 (was working in 0.4) Tue Dec 30 20:00:19 1992 Jean-loup Gailly (jloup@chorus.fr) * Beta version 0.6 The .z extension is used by pack, not compact (README, gzip.1) Accept gzcat in addition to zcat. Use PAGER in zmore if defined. Man pages for /usr/local/man/manl should have extension .l. Don't redefine bzero on the NeXT Allow incomplete Huffman table if there is only one code. Don't lookahead more than 7 bits (caused premature EOF). Added "make test" to check for compiler bugs. Don't rely on `i386`; try to assemble directly Change magic header to avoid conflict with freeze 1.x. Added entry for /etc/magic in INSTALL. Do not destroy an input .zip file with more than one member. Display "untested" instead of "OK" for gzip -t foo.Z With -t, skip stdin in .Z format Allow multiple compressed members in an input file. Ignore a zero time stamp. Made znew safer. Tue Dec 29 10:00:19 1992 Noah Friedman (friedman@gnu.ai.mit.edu) Added test for #!/bin/sh in configure.in. Fix some references to $srcdir in Makefile.in Mon Dec 21 17:33:35 1992 Jean-Loup Gailly (jloup@chorus.fr) * Beta version 0.5 Put RCS ids in all files. Added znew to recompress old .Z files with gzip. Avoid "already .z suffix" messages for -r and no -v. Put back check for d_ino in treat_dir(). Use HAVE_STRING_H instead of USG. Added os2/Makefile.os2 Use SYSUTIME on OS/2. Info dir is $(prefix)/info, not $(prefix)/lib/info. Support long options, added getopt and alloca Support -V and -t Reorder configure.in according to suggestions in autoconf.info Allow links when not removing original file Allow either .z or .Z in zdiff Wed Nov 25 11:40:04 1992 Jean-loup Gailly (jloup@chorus.fr) * Beta version 0.4.1 Save only the original base name, don't include any directory prefix. Don't use HAVE_LONG_FILE_NAMES (support multiple file system types). Fix declaration of abort_gzip in gzip.h. Include unistd.h when it exists to avoid warnings with gcc -Wall. Mon Nov 23 12:39:01 1992 Jean-loup Gailly (jloup@chorus.fr) * Beta version 0.4 Lots of cleanup Use autoconf generated 'configure' Fixed the NO_MULTIPLE_DOTS code Fixed the save_orig_name code Support for MSDOS (Turbo C) Thu Nov 19 15:18:22 1992 Jean-loup Gailly (jloup@chorus.fr) * Beta version 0.3 Added auto configuration. Just type "make" now. Don't overwrite compress by default in "make install". Use "make install_compress" to overwrite. Add match.s for 386 boxes. Added documentation in texinfo format. Provide help for "gunzip" invoked without redirected input. Save original file name when necessary. Support OS/2