rar/ 0000755 0001750 0001750 00000000000 11764647504 007164 5 ustar z z rar/technote.txt 0000644 0001750 0001750 00000021377 11764647504 011550 0 ustar z z RAR version 4.20 - Technical information ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ THE ARCHIVE FORMAT DESCRIBED BELOW IS ONLY VALID FOR VERSIONS SINCE 1.50 ========================================================================== RAR archive file format ========================================================================== Archive file consists of variable length blocks. The order of these blocks may vary, but the first block must be a marker block followed by an archive header block. Each block begins with the following fields: HEAD_CRC 2 bytes CRC of total block or block part HEAD_TYPE 1 byte Block type HEAD_FLAGS 2 bytes Block flags HEAD_SIZE 2 bytes Block size ADD_SIZE 4 bytes Optional field - added block size Field ADD_SIZE present only if (HEAD_FLAGS & 0x8000) != 0 Total block size is HEAD_SIZE if (HEAD_FLAGS & 0x8000) == 0 and HEAD_SIZE+ADD_SIZE if the field ADD_SIZE is present - when (HEAD_FLAGS & 0x8000) != 0. In each block the followings bits in HEAD_FLAGS have the same meaning: 0x4000 - if set, older RAR versions will ignore the block and remove it when the archive is updated. if clear, the block is copied to the new archive file when the archive is updated; 0x8000 - if set, ADD_SIZE field is present and the full block size is HEAD_SIZE+ADD_SIZE. Declared block types: HEAD_TYPE=0x72 marker block HEAD_TYPE=0x73 archive header HEAD_TYPE=0x74 file header HEAD_TYPE=0x75 old style comment header HEAD_TYPE=0x76 old style authenticity information HEAD_TYPE=0x77 old style subblock HEAD_TYPE=0x78 old style recovery record HEAD_TYPE=0x79 old style authenticity information HEAD_TYPE=0x7a subblock Comment block is actually used only within other blocks and doesn't exist separately. Archive processing is made in the following manner: 1. Read and check marker block 2. Read archive header 3. Read or skip HEAD_SIZE-sizeof(MAIN_HEAD) bytes 4. If end of archive encountered then terminate archive processing, else read 7 bytes into fields HEAD_CRC, HEAD_TYPE, HEAD_FLAGS, HEAD_SIZE. 5. Check HEAD_TYPE. if HEAD_TYPE==0x74 read file header ( first 7 bytes already read ) read or skip HEAD_SIZE-sizeof(FILE_HEAD) bytes if (HEAD_FLAGS & 0x100) read or skip HIGH_PACK_SIZE*0x100000000+PACK_SIZE bytes else read or skip PACK_SIZE bytes else read corresponding HEAD_TYPE block: read HEAD_SIZE-7 bytes if (HEAD_FLAGS & 0x8000) read ADD_SIZE bytes 6. go to 4. ========================================================================== Block Formats ========================================================================== Marker block ( MARK_HEAD ) HEAD_CRC Always 0x6152 2 bytes HEAD_TYPE Header type: 0x72 1 byte HEAD_FLAGS Always 0x1a21 2 bytes HEAD_SIZE Block size = 0x0007 2 bytes The marker block is actually considered as a fixed byte sequence: 0x52 0x61 0x72 0x21 0x1a 0x07 0x00 Archive header ( MAIN_HEAD ) HEAD_CRC CRC of fields HEAD_TYPE to RESERVED2 2 bytes HEAD_TYPE Header type: 0x73 1 byte HEAD_FLAGS Bit flags: 2 bytes 0x0001 - Volume attribute (archive volume) 0x0002 - Archive comment present RAR 3.x uses the separate comment block and does not set this flag. 0x0004 - Archive lock attribute 0x0008 - Solid attribute (solid archive) 0x0010 - New volume naming scheme ('volname.partN.rar') 0x0020 - Authenticity information present RAR 3.x does not set this flag. 0x0040 - Recovery record present 0x0080 - Block headers are encrypted 0x0100 - First volume (set only by RAR 3.0 and later) other bits in HEAD_FLAGS are reserved for internal use HEAD_SIZE Archive header total size including archive comments 2 bytes RESERVED1 Reserved 2 bytes RESERVED2 Reserved 4 bytes File header (File in archive) HEAD_CRC CRC of fields from HEAD_TYPE to FILEATTR 2 bytes and file name HEAD_TYPE Header type: 0x74 1 byte HEAD_FLAGS Bit flags: 2 bytes 0x01 - file continued from previous volume 0x02 - file continued in next volume 0x04 - file encrypted with password 0x08 - file comment present RAR 3.x uses the separate comment block and does not set this flag. 0x10 - information from previous files is used (solid flag) (for RAR 2.0 and later) bits 7 6 5 (for RAR 2.0 and later) 0 0 0 - dictionary size 64 KB 0 0 1 - dictionary size 128 KB 0 1 0 - dictionary size 256 KB 0 1 1 - dictionary size 512 KB 1 0 0 - dictionary size 1024 KB 1 0 1 - dictionary size 2048 KB 1 1 0 - dictionary size 4096 KB 1 1 1 - file is directory 0x100 - HIGH_PACK_SIZE and HIGH_UNP_SIZE fields are present. These fields are used to archive only very large files (larger than 2Gb), for smaller files these fields are absent. 0x200 - FILE_NAME contains both usual and encoded Unicode name separated by zero. In this case NAME_SIZE field is equal to the length of usual name plus encoded Unicode name plus 1. If this flag is present, but FILE_NAME does not contain zero bytes, it means that file name is encoded using UTF-8. 0x400 - the header contains additional 8 bytes after the file name, which are required to increase encryption security (so called 'salt'). 0x800 - Version flag. It is an old file version, a version number is appended to file name as ';n'. 0x1000 - Extended time field present. 0x8000 - this bit always is set, so the complete block size is HEAD_SIZE + PACK_SIZE (and plus HIGH_PACK_SIZE, if bit 0x100 is set) HEAD_SIZE File header full size including file name and comments 2 bytes PACK_SIZE Compressed file size 4 bytes UNP_SIZE Uncompressed file size 4 bytes HOST_OS Operating system used for archiving 1 byte 0 - MS DOS 1 - OS/2 2 - Windows 3 - Unix 4 - Mac OS 5 - BeOS FILE_CRC File CRC 4 bytes FTIME Date and time in standard MS DOS format 4 bytes UNP_VER RAR version needed to extract file 1 byte Version number is encoded as 10 * Major version + minor version. METHOD Packing method 1 byte 0x30 - storing 0x31 - fastest compression 0x32 - fast compression 0x33 - normal compression 0x34 - good compression 0x35 - best compression NAME_SIZE File name size 2 bytes ATTR File attributes 4 bytes HIGH_PACK_SIZE High 4 bytes of 64 bit value of compressed file size. 4 bytes Optional value, presents only if bit 0x100 in HEAD_FLAGS is set. HIGH_UNP_SIZE High 4 bytes of 64 bit value of uncompressed file size. 4 bytes Optional value, presents only if bit 0x100 in HEAD_FLAGS is set. FILE_NAME File name - string of NAME_SIZE bytes size SALT present if (HEAD_FLAGS & 0x400) != 0 8 bytes EXT_TIME present if (HEAD_FLAGS & 0x1000) != 0 variable size other new fields may appear here. ========================================================================== Application notes ========================================================================== 1. To process an SFX archive you need to skip the SFX module searching for the marker block in the archive. There is no marker block sequence (0x52 0x61 0x72 0x21 0x1a 0x07 0x00) in the SFX module itself. 2. The CRC is calculated using the standard polynomial 0xEDB88320. In case the size of the CRC is less than 4 bytes, only the low order bytes are used. rar/order.htm 0000644 0001750 0001750 00000006152 11764647504 011015 0 ustar z z
If you wish to use WinRAR and RAR after the evaluation period of 40 days, you need to purchase its license from one of the regional dealers listed here. You can also check the latest price list and buy on-line at www.rarlab.com.
Upon receipt of your registration fee you will receive an email containing a registration key file corresponding to the user name string which you have chosen. Please specify a valid email address when buying the licence, as it will be used to send you the key file.
The registration email will also contain all necessary instructions, so please just follow them. Below, we provide a brief explanation of the typical registration procedure, but instructions in the email are more up to date than this file and should thus have a higher precedence.
If you use WinRAR, you will need to copy the registration key file (rarreg.key) to a WinRAR folder or to %APPDATA%\WinRAR folder. By default WinRAR folder is "C:\Program Files\WinRAR", but it can be changed by a user when installing WinRAR.
If the key is archived in a .rar or .zip file, please extract rarreg.key from the archive before copying it.
If you use RAR/Unix and RAR for OS X, you should copy rarreg.key to your home directory or to one of the following directories: /etc, /usr/lib, /usr/local/lib, /usr/local/etc. You may rename it to .rarreg.key or .rarregkey, if you wish, but rarreg.key is also valid.
If you use RAR/DOS, you will need to copy rarreg.key to folder containing RAR executable (rar32.exe).
WinRAR, RAR for Unix and OS X now use the same registration key format, so you can use the same key with current WinRAR and RAR versions for all mentioned platforms. It is not guaranteed for WinRAR and RAR versions that are not equal to version included to this distributive. For example, versions prior to 2.60 used different keys.
Please send your further questions about sales and licensing to . English, French, German or Spanish please. rar/acknow.txt 0000644 0001750 0001750 00000007137 11764647504 011217 0 ustar z z ACKNOWLEDGMENTS * RAR text compression algorithm is based on Dmitry Shkarin PPMII and Dmitry Subbotin carryless rangecoder public domain source code. You may find it in ftp.elf.stuba.sk/pub/pc/pack. * RAR encryption includes parts of code from Szymon Stefanek and Brian Gladman AES implementations also as Steve Reid SHA-1 source. --------------------------------------------------------------------------- Copyright (c) 2002, Dr Brian Gladman < >, Worcester, UK. All rights reserved. LICENSE TERMS The free distribution and use of this software in both source and binary form is allowed (with or without changes) provided that: 1. distributions of this source code include the above copyright notice, this list of conditions and the following disclaimer; 2. distributions in binary form include the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other associated materials; 3. the copyright holder's name is not used to endorse products built using this software without specific written permission. ALTERNATIVELY, provided that this notice is retained in full, this product may be distributed under the terms of the GNU General Public License (GPL), in which case the provisions of the GPL apply INSTEAD OF those given above. DISCLAIMER This software is provided 'as is' with no explicit or implied warranties in respect of its properties, including, but not limited to, correctness and/or fitness for purpose. --------------------------------------------------------------------------- Source code of this package also as other cryptographic technology and computing project related links are available on Brian Gladman's web site: http://www.gladman.me.uk * RAR uses CRC32 function based on Intel Slicing-by-8 algorithm. Original Intel Slicing-by-8 code is available here: http://sourceforge.net/projects/slicing-by-8/ Original Intel Slicing-by-8 code is licensed under BSD License available at http://www.opensource.org/licenses/bsd-license.html Copyright (c) 2004-2006 Intel Corporation. All Rights Reserved Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. * Useful hints provided by Alexander Khoroshev and Bulat Ziganshin allowed to significantly improve RAR compression and speed. rar/readme.txt 0000644 0001750 0001750 00000001416 11764647504 011164 0 ustar z z RAR archiver: * RAR introduces an original compression algorithm. It provides high compression ratios on executable files, object libraries, large text files, etc. * RAR offers an optional compression algorithm highly optimized for multimedia data. * RAR provides functionality for creating a 'solid' archive, which can raise the compression ratio by 10% - 50% over more common methods, particularly when packing large numbers of small files. * RAR offers the ability to create and change SFX archives using default and external SFX modules. * RAR offers the ability to create a multi-volume archive as SFX. * RAR offers a number of service functions, such as encrypting files, adding archive comments and repairing physically damaged archives. rar/rar_static 0000755 0001750 0001750 00004563600 11764647504 011263 0 ustar z z ELF > @ @ @ @ 8 @ @ @ 0 0r 0r / / @ @ D D 0 0r 0r ( Qtd Rtd 0 0r 0r GNU GNU ͭX."c&l r % G r % G r % 1H r % йK r % 0H (r % G 0r % pG 8r % G @r % @G Hr % jG Pr % K Xr % G `r % iG H H%Ҽ2 h %ʼ2 h %¼2 h %2 h %2 h %2 h %2 h %2 h %2 h %2 h %2 h %z2 h %r2 h 1I^HHPTI`E HлE H @ HH2 HtHÐUHSH=`2 u_r HZ2 H됯r HHH9s$fD HH52 Őr H'2 H9r⸠IE Ht pP D 2 H[ UpGE HHtr pP B H=2 t Htr ÐU SHi2O H dH%( H$ 10 H=2 1s @#s # ; 1 H|$#3 7s H|$Hډ $ uH|$ H|$躋 H|$Hډ $8Z $4Z H$1V Z $Z u$4Z C3 $R` H|$13 ^ H|$i H|$r p)s o ?J H$ dH3%( 3 u H []w[ H|$HHr HHt~Ht5H @#s L HHf; H' H諉 HH$r 諉 @#s Q @#s b Hz 2Hx 0@#s < HHz ʉ H& H躉 H& H\$Hl$HLd$Ll$HLt$H8LgL;grCHtH 1HtHE H\$Hl$Ld$ Ll$(Lt$0H8f. Lo8L;o(sML7Ht$L Ht$IDHCHtL6N$ Lc LY IDHHC8 zLe q H1HT$HD$HfD H1Ht$HD$HfD H\$Hl$HLd$Ll$H8Ht$HHIE1t/HtHt$LHHA tH4$LH\ DH\$Hl$ Ld$(Ll$0H8AVAUIATIUHSHH HHw HWHTHHW8H HHH HC HC8 E#f. LHLHAtGEy HH Ht HJHH HL@H HKHS8[]A\A]A^ 1fff. HH1fH1fD HG HG8 Ðfffff. HG(HGÐfD AUAATIUHSHHHH Hw HWHTHHW8H HHH HC HC8 Ht$HHtNHt Ht$HtEtuH5uMtH4$HtEtaLI u HH Ht HJHH HL@H HKHS8H[]A\A]@ Hh 뉐L踺 띐HH Hw HWHTHHW8H HHH ÐHH Ht HPHH HT@H HWHG8fSHHG HG8 H{ C@ HǃH [f. H HG HG HG HG( HG0 fff. H\$Hl$HLd$Ll$H(HHI H讏 HpLkM$N HLD LH;HHk(L H{ Hp; H<