summaryrefslogtreecommitdiff
path: root/archivers
AgeCommit message (Collapse)AuthorFilesLines
2002-08-07Add a catch-all for SunOS to force using the pkgsrc versions of thejlam1-2/+7
software instead of any base system version. This match is probably too broad, but better to err on the safe side. We can narrow down the match when we have better information. Closes pkg/17775 by Julien T. Letessier <julien.letessier at sun dot com>.
2002-08-07Create new variables INCOMPAT_ZLIB, INCOMPAT_BZIP2, INCOMPAT_READLINE,jlam1-9/+17
INCOMPAT_GETTEXT that are analogous to INCOMPAT_ICONV and contain lists of shell wildcards intended to match against ${MACHINE_PLATFORM}. These variables are used to note those platforms that have the named packages in the base system but are incompatible in some way from the pkgsrc version of the same package. Change INCOMPAT_CURSES to have the same sematics as above. These variables allow much greater precision in specifying which platforms have broken (for the purposes of pkgsrc) versions of software in the base system that must be ignored. The buildlink.mk files for these packages define private _INCOMPAT_* versions of these variables, and they contain the default lists of platforms that are known to have incompatible software bits. This addresses pkg/17775 submitted by Julien T. Letessier <julien.letessier at sun dot com>.
2002-08-05Update to version 3.0, which now handles newer rar archives andveego2-10/+14
even multivolume ones: 1. We introduced WinRAR 3.0 discount program, so a single user license now is only $29. As always, already registered users do not need to pay again. RAR 1.x - 2.x registration is valid for 3.0 too. New international RAR site is www.rarlab.com. You may visit it to download latest versions and register RAR. Also do not forget that we have a lot of regional sites processing RAR registrations. Complete list is available in rar_site.txt. 2. Compression algorithm improved. Changes include: a) dictionary size is increased to 4 MB, this helps to increase compression on large data sets; b) a special algorithm for text data, based on Dmitry Shkarin's PPMII sources: ftp://ftp.elf.stuba.sk/pub/pc/pack/ppmdh.rar We express our sincere gratitude and respect to Dmitry for his excellent PPMII; c) special preprocessing algorithms for 32-bit x86 executables, Itanium executables, true color data, audio data and tables. In many cases significantly increasing compression; d) now RAR chooses the best combination of algorithms automatically, so "Multimedia compression" mode and switch -mm are obsolete. By default, RAR uses only the general compression algorithm in the "Fast" and "Fastest" compression methods (-m1 and -m2), advanced algorithms such as audio and true color processing are enabled only in "Normal"..."Best" (-m3..-m5) modes, the advanced text compression is activated only in "Good" and "Best" compression (-m4..-m5). This default can be overridden using the -mc switch. RAR 3.0 archives can be unpacked by any RAR version beginning from RAR 2.9, currently it is 2.9 and 3.0. RAR 3.0 can unpack archives created by all older RAR versions. 3. Encryption algorithm is changed to AES (Advanced Encryption Standard) with 128 bit key length. 4. Francesco Indrio <naradamoon@operamail.com>, <naradamoon@libero.it> has once again done a nice job redesigning WinRAR graphics. 5. "Wizard" command helps novice users to perform basic archive operations in simple, step by step mode. Just click on Wizard button on the toolbar and choose an operation which you want to perform. 6. "Send archive by email" option in the "Files" part of archiving dialog. Your email program must support MAPI interface, otherwise this option will not work. In the command line mode you may use -ieml[.][addr] switch to send a created archive by email. 7. WinRAR adds "Compress and email" item to Explorer context menu. 8. Default volume naming scheme is changed from volname.rar, volname.r00, ..., to volname.part001.rar, volname.part002.rar, etc. Switch -vn and "Old style volumes names" option in the archiving dialog allow to use the old extension based scheme. 9. Added support of so called recovery volumes (.rev files), which can be used to reconstruct missing files in a volume set. One .rev file allows to reconstruct one missing RAR volume, for example, 5 .rev files are able to reconstruct any 5 volumes. In WinRAR you may create recovery volumes either specifying their number in the archiving dialog or using "Protect" command inside of the first volume. In the command line RAR it can be done by the command 'rv[n]' or switch -rv[n]. RAR and WinRAR automatically use .rev files to reconstruct missing volumes when unpacking or testing a volume set. It is also possible to double click on .rev file in WinRAR shell or use the command 'rc' in the command line to force reconstructing. I wish to thank developers of Mirror program, who invented this idea and proposed to implement it in WinRAR. 10. SFX modules: a) Windows SFX modules now support archives larger than 4 GB and Unicode names; b) It is possible to replace the standard SFX icon with your own. Just specify the icon file name in "Load SFX icon from the file" field of "Advanced SFX options/Text and icon" dialog. c) new "Shortcut=DestType,SrcName,DestFolder,Description" SFX script command allows to create shortcuts to unpacked files on Desktop, Start Menu, Start Menu/Programs or Startup. This feature is also available through "Shortcuts" list in the "Advanced SFX options" WinRAR dialog; d) modified syntax of TempMode SFX script command. It now uses comma instead of '@' as a question and title separator. It is important only for those users, who write SFX script manually instead of specifying SFX parameters in WinRAR "Advanced SFX options" dialog; e) "Delete" SFX script command and "Files to delete" field in "Advanced SFX options" dialog may include wildcard masks. For example: Delete=*.tmp f) removed "Allow external signature" advanced SFX option and the corresponding "ExtSign" script command. RAR 3.0 archive format includes the end of archive marker, so SFX module automatically stops extraction when reaching the end of archive and all data appended to archive are ignored by default; g) if you specified INF file in SFX "Setup" command, SFX will attempt to install it instead of opening its contents in Notepad as in the previous version; h) the new DOS SFX module is 32-bit, so it is not limited to 64 KB dictionary more and can unpack any RAR 3.0 archives regardless of dictionary size; i) "SFX options" button in the archiving dialog opens directly "Advanced SFX options" without intermediate selection of SFX module. If you need to change SFX type, use "Module" page in the advanced SFX options. Please note that new SFX modules are able to unpack only RAR 3.0 archives. They must not be used with archives created by older RAR versions. 11. Switch -hp<pwd> can be used instead of -p<pwd> to encrypt both file data and file headers, so such information as file names, sizes, comments will not be visible without a password. "Encrypt file names" option in the password dialog provides the same function in WinRAR shell. 12. Added support for ISO9660 (.iso) file format, which is widely used to store CD images. WinRAR is able to browse and unpack contents of ISO files. WinRAR also supports Joliet extension of ISO9660 and displays long file names inside of Joliet CD images. 13. Using switch -mc you may set advanced compression parameters such as prediction order and memory size for the text compression algorithm. It is also possible in WinRAR shell using "Compression..." button in the "Advanced" part of archiving dialog. 14. Switch -ms allows to specify files, which will be stored without compression. For example, -msrar;zip;jpg. It helps to increase archiving speed without noticeable loss in the compression ratio. The same option is available in WinRAR shell through "Files to store without compression" field in the advanced part of the archiving dialog. 15. "Info" command now is available also outside of archives, when working with uncompressed files. One task of this command is getting information about selected files, another is performing miscellaneous operations with groups of archives. After the files scan step is completed, you may switch to other pages of the dialog and apply commands like "Comment" and "SFX" to all found RAR and ZIP archives. "Info" replaces "Estimate" command, which function is available as a part of the information dialog. Amount of estimation information is reduced, because an accuracy of Estimate results was not enough to provide reliable results for different compression methods. 16. "Comment", "Protect", "SFX", "Lock" and "Extract" WinRAR commands can be also used outside of archives. Their buttons are disabled by default, but you may enable them in toolbar settings or use "Commands" menu. "Repair" command is also available inside of archives. 17. "Test archived files" WinRAR option and the command line switch -t allow to test files after archiving. This option is especially useful in combination with the move command, so files will be deleted only if archive had been successfully tested. 18. "Backup" part of the archiving dialog provides two new file time selecting modes allowing to archive files modified before or after the specified date. 19. Switches -ta<date> and -tb<date> allow to add or extract files modified after or before the specified date. Date format is YYYYMMDDHHMMSS. It is allowed to insert separators like '-' or ':' to date string and omit trailing fields. For example, the following switch is correct: -ta2001-11-20. 20. Switch -ver tells RAR to keep old file versions in archive when adding their new versions. The corresponding WinRAR shell option is "Keep previous file versions" in "Backup" part of archiving dialog. 21. "My Network Places" item is added to WinRAR address bar, so you may browse the network in WinRAR file list. The address bar also includes some other shell folders like "My Computer" and "My Documents". 22. When you press "Up one level" toolbar button or Backspace in the disk root, WinRAR will display the disks list in the file panel. 23. It is possible to copy and paste archived and usual files in WinRAR with Ctrl+C and Ctrl+V keys. For example, you may select some files in archive, press Ctrl+C, open a folder in Explorer and press Ctrl+V to unpack selected files to that folder. 24. "Pause" button added to the operation progress window. Archiving progress window is now displaying time left instead of total estimated time. 25. CRC32 column is displayed inside of RAR, ZIP, ACE and ARJ archives. CRC32 is the special control sum calculated basing on file data and it may help to detect either two archived files are the same without unpacking them. Same files always have the same CRC32 value. 26. When "Put each file in separate archive" option in the archiving dialog is enabled, WinRAR uses a text entered in the archive name field as the destination folder for created archives. Previous versions ignored the archive name in the "separate archives" mode. 27. "Extract archives to subfolders" option in the extraction dialog. It is available only when more than one archive is unpacked. It will place unpacked contents of each archive to separate subfolder, which name will be generated basing on the archive name. 28. Switch -ad appends an archive name to destination path. It may be useful when unpacking a few archives at once, so files from each archive will go to separate folder. 29. "Extract each archive to separate folder" item is present in Explorer context menu when unpacking a group of archives. 30. Two new options in WinRAR "Settings/General": a) "Allow history in dialogs"; b) "Start in wizard mode". 31. Switch -af<type> allows to define a type of new archive in WinRAR command line. <Type> can be 'rar' or 'zip'. For example, 'winrar a -afzip arc' will create arc.zip archive. This switch is supported only by WinRAR. Console RAR is not able to create ZIP archives. 32. Switch -en disables adding "end of archive block". By default, RAR 3.0 adds "end of archive" block to the end of new or updated archive. It allows to skip external data like digital signatures safely, but in some special cases it may be useful to disable this feature. For example, if an archive is transferred between two systems via a unreliable link and at the same time a sender adds new files to it, it may be important to be sure that the already received file part will not be modified on the other end between transfer sessions. 33. Now RAR can update encrypted solid archives. 34. "Exit" button is added to the toolbar. It is disabled by default, you may enable it manually with "Select buttons..." in WinRAR settings. 35. "Select toolbar buttons" dialog allows to change the order of toolbar buttons. Just select buttons to move and press "Up" or "Down". Also you may drag buttons directly on the toolbar while holding down the ALT key. 36. "Word wrap" option in "Settings/Viewer" selects the default wrapping mode in new internal viewer windows. 37. Console RAR sends error messages to stderr instead of stdout. 38. New '+' modifier for -ag switch allows to place the date string before a base archive name. 39. In the extraction dialog the entered folder is opened in the folders tree automatically as you type, with a small delay about 0.5 second. Also you may locate the currently entered folder name in the tree pressing "Display" button. 40. It is possible to use wildcards in the path part of file mask in -x switch and "Files to exclude" field of the archiving dialog. For example, -x*\temp\*. 41. Switch -ilog accepts the optional log file name parameter. For example, -ilogc:\log\backup.log. 42. Improved Chinese and Japanese (DBCS encoded) names processing in ZIP archives (RAR format already supported such names since WinRAR 2.80). But anyway, it is recommended to use RAR format for such names, because it uses more portable Unicode encoding instead of ZIP DBCS. 43. WinRAR uses new visual styles of Windows XP controls. 44. Improved processing of "Group Policies" settings. Earlier it was possible to open a disk disabled in the policies by pressing "Up" button inside of archive or entering its path in the address bar. 45. Console rar.exe executed from NT service is continuing to run after user's logoff. 46. If you attempt to close the command window and an archiving or extraction operation is already performing for more than one minute, WinRAR will ask for confirmation. 47. WinRAR recognizes and processes TAR @LongLink records. GNU TAR uses them to store names longer than 100 characters in TAR archives.
2002-08-01Change MAINTAINER from tv at netbsd dot org to packages at netbsd dot orgjschauma1-2/+2
after consulting with Todd. Any volunteers for any of these packages?
2002-08-01Change MAINTAINER from tv at netbsd dot org to tv at pobox dot com afterjschauma1-2/+2
consulting with Todd.
2002-07-31Use gcc on Solaris. Patch from Julien Letessier at sun dot com.wiz1-1/+8
2002-07-19Fix obvious LP64 problems.mycroft4-1/+48
2002-07-16add ${LDFLAGS} so that libz is found when it is not in a systemgrant1-2/+2
library path. fixes build problem on zoularis.
2002-07-16update from patches/patch-ab change.grant1-2/+2
(why this was not committed by `cvs commit distinfo patches/patch-ab' with the previous makes no sense to me)
2002-07-16Fix Makefile to not blindly set CC=ccgrant1-4/+13
2002-07-02Add RCS Id.wiz1-1/+1
2002-06-26Add & enable star.uebayasi1-1/+2
2002-06-26Initial import of Star 1.4.1. DESCR is written by the author, Joerg Schillinguebayasi4-0/+44
<schilling@fokus.gmd.de>. Star is a full-featured tar command that can access local and remote tar archives (files and tapes). It reads and writes POSIX compliant tar archives as well as non-POSIX GNU tar archives. Star is the first POSIX.1-2001 compliant tar implementation. It includes a FIFO for speed, a pattern matcher, multi-volume support, the ability to archive sparse files and ACLs and the ability to archive extended file flags. It supports utomatic archive format detection, automatic byte order recognition, automatic archivecompression/decompression. It includes the only known platform independent "rmt" server program that implements all Sun/GNU/Schily/BSD enhancements and allows any "rmt" client from any OS to contact any OS as server.
2002-06-10Darwinize. Instead of the deprecated timelocal() (which doesn'tschmonz2-8/+9
exist on Darwin), use mktime() with a negative tm_isdst. Thanks to christos for comments.
2002-06-09Fix warning.yyamano1-2/+2
bmake: "../../archivers/bzip2/../../archivers/bzip2/buildlink.mk" line 30: warning: "0" returned non-zero status
2002-06-01It's USE_BUILDLINK_ONLY, not NO_BUILDLINK_ONLY :-)wiz1-2/+2
2002-05-25Add and enable "cxunzip".fredb1-1/+2
2002-05-25Initial import of cxunzip-0.96, a.k.a "Cloned Xunzip", a GNOME zip archivefredb5-0/+43
viewer and uncompressor, submitted by Jeremy C. Reed in PR pkg/17009.
2002-05-10Add patch-aaitohy1-1/+2
2002-05-10Fixes:itohy1-0/+131
- Do not compute a pointer outside of an array. The original code did this and if the executable is mapped at the low address in virtual space, the "runsrc" value becomes ``negative'' address and caused crash. Package maintainers should use a.out to detect this sort of botches. :D - Fix usage of mktime(3). - Fix usage of tolower(3). Changes: - Honor umask for file mode. - Add a hack to handle self-extracting cabinet (*.exe).
2002-04-18Fix build on Darwin. All changes are taken from the latest betas of zip.yyamano9-4/+112
- Add MacOS X to version_local() - unix/configure: Init LFLAGS1 to "", MacOS X doesn't like -s - rename errors array to ziperrors to avoid MacOS X library clash
2002-04-04Use "suse_linux/Makefile.application" to pick correct SuSE packages.tron1-3/+3
2002-03-31Update MASTER_SITES.uebayasi1-3/+3
2002-03-24Update bzip2 to 1.0.2mjl3-33/+35
A bug fix release, addressing various minor issues. * Fix an infinite segfault loop in 1.0.1 when a directory is encountered in -f (force) mode. * Avoid double fclose() of output file on certain I/O error paths. * Don't fail with internal error 1007 when fed a long stream (> 48MB) of byte 251. Also print useful message suggesting that 1007s may be caused by bad memory. * Fix uninitialised variable silly bug in demo prog dlltest.c. * Remove 512-MB limitation on recovered file size for bzip2recover on selected platforms which support 64-bit ints. * Copy file access times correctly. * Dereference symlinks when copying file permissions in -f mode. * Majorly simplify implementation of uInt64_qrm10. * Check the input file still exists before deleting the output one, when aborting in cleanUpAndFail(). * Wrapper scripts (with manpages): bzdiff, bzgrep, bzmore. * Spelling changes and minor enhancements in bzip2.1. * Avoid race condition between creating the output file and setting its interim permissions safely, by using fopen_output_safely(). * do not print senseless report with -v when compressing an empty file. * bzcat -f works on non-bzip2 files. * do not try to escape shell meta-characters on unix (the shell takes care of these). * added --fast and --best aliases for -1 -9 for gzip compatibility.
2002-03-22Move yencode from archivers to converters, where it's more suitably placed.wiz5-54/+1
2002-03-21Add and enable yencode.wiz1-1/+2
2002-03-21Initial import of yencode-0.4.5. From the DESCR:wiz4-0/+52
This is yencode, an encoder/decoder package for the Usenet "yEnc" format, licensed under the GNU General Public License. * The encoder can output single part or multipart yencoded archives of any size. * Smart decoder can handle multiple files, including files specified out of order or with nonsense file names. * Easy to use Usenet posting software enables one-liner posting of individual files or groups of files, including creation of SFV/CRC checksum files if desired. * Optional scan mode: automatically locate and decode single or multipart yencoded archives in specified directories or recursively. * Fully compliant with all versions of the yEnc specification (currently v1, v2, v3). * Properly implements CRC values, including the pcrc32 on each part of multipart archives, and a crc32 for the last part of a multipart archive.
2002-03-16Update ruby-zlib package to 0.5.1.taca3-23/+5
2002-03-14 UENO Katsuhiro <katsu@blue.sky.or.jp> * version 0.5.1 released. 2002-03-14 UENO Katsuhiro <katsu@blue.sky.or.jp> * zlib.c (gzfile_read_header): flush input buffer after reading header. Thanks to HARUYAMA Seigo <haruyama@queen-ml.org>. 2002-03-14 UENO Katsuhiro <katsu@blue.sky.or.jp> * zlib.rd.src: typo fixed. 2002-03-14 UENO Katsuhiro <katsu@blue.sky.or.jp> * version 0.5.0 released. 2002-03-14 UENO Katsuhiro <katsu@blue.sky.or.jp> * depend: added $(srcdir). 2002-03-14 UENO Katsuhiro <katsu@blue.sky.or.jp> * zlib.c: use EXTERN instead of extern. 2002-03-12 UENO Katsuhiro <katsu@blue.sky.or.jp> * zlib.c (gzwriter_defout_ensure, gzwriter_call_defout, CALL_DEFOUT): added. * zlib.c (rb_gzwriter_print): set myself to rb_defout and call Kernel::print instead of copying codes from io.c. (rb_gzwriter_puts): ditto. 2002-03-12 UENO Katsuhiro <katsu@blue.sky.or.jp> * extconf.rb: added have_ruby_func(). * extconf.rb: added checks for rb_io_print, rb_io_printf, rb_io_puts and rb_io_addstr. * zlib.c (rb_gzwriter_addstr): use rb_io_addstr if it is extern. (rb_gzwriter_print): ditto. (rb_gzwriter_printf): ditto. (rb_gzwriter_puts): ditto. 2002-02-11 UENO Katsuhiro <katsu@blue.sky.or.jp> * makerd.rb: tiny bugfix. * zlib.rd.src: reviced Zlib, ZStream, Deflate and Inflate. 2002-02-06 UENO Katsuhiro <katsu@blue.sky.or.jp> * version 0.5.0-pre6 released. 2002-02-04 UENO Katsuhiro <katsu@blue.sky.or.jp> * zlib.c (Init_zlib): remove method Zlib::Error#next_in. * zlib.c (raise_zlib_error): Zlib::Error doesn't keep next_in any more. The stream preserves next_in and next_out whether an error occurs. * zlib.c (ZSTREAM_IS_FINALIZE): new macro. 2002-02-04 UENO Katsuhiro <katsu@blue.sky.or.jp> * zlib.c (zstream_append_buffer2,zstream_append_input2): new macro. 2002-02-04 UENO Katsuhiro <katsu@blue.sky.or.jp> * zlib.c (Init_zlib): new method Zlib::ZStream#stream_end? and Zlib::ZStream#ended?. * zlib.rd.src: add descriptions for above two methods. 2002-02-04 UENO Katsuhiro <katsu@blue.sky.or.jp> * zlib.c (rb_deflate_deprecated): call super. (rb_inflate_deprecated): ditto. (rb_gzwriter_deprecated): ditto. (rb_gzreader_deprecated): ditto. * zlib.c (Init_zlib): warning message is printed when Deflate.deflate and Inflate.inflate is used. * zlib.c (zstream_end): keep both buffers whether the stream is finished. (rb_zstream_flush_next_in): works well regardless of the status of the stream. (rb_zstream_flush_next_out): ditto. (rb_zstream_avail_out): ditto. (rb_zstream_avail_in): ditto. 2002-02-04 UENO Katsuhiro <katsu@blue.sky.or.jp> * zlib.c (zstream_run2): removed. (do_deflate,do_inflate): derived from zstream_run2(). (rb_deflate_deflate): use do_deflate() instead of zstream_run2(). (rb_deflate_addstr): ditto. (rb_inflate_inflate): use do_inflate() instead of zstream_run2(). (rb_inflate_addstr): ditto. * zlib.c (zstream_run_loop,zstream_run): integrated into zstream_run(). * zlib.c (rb_deflate_s_deflate): Zlib::Deflate.deflate doesn't accept nil. (rb_inflate_s_inflate): Zlib::Inflate.inflate, neither. 2002-02-01 UENO Katsuhiro <katsu@blue.sky.or.jp> * zlib.c (rb_deflate_flush): doesn't call zstream_run() if flush == Z_NO_FLUSH. (rb_gzwriter_flush): ditto. * zlib.rd.src: appended description for Zlib::ZStream#finish. 2002-02-01 UENO Katsuhiro <katsu@blue.sky.or.jp> * zlib.c (zstream_run_loop): zero-length check should be done before calling zstream_run(). (gzfile_write): ditto. (gzfile_read_more): ditto. * zlib.c (rb_gzwriter_write): calls gzfile_write() even if len == 0. * zlib.c (gzfile_read_more): ZSTREAM_IS_FINISHED() should be true without calling zstream_run() when gzfile_read_raw() returns nil. 2002-02-01 UENO Katsuhiro <katsu@blue.sky.or.jp> * zlib.c (zstream_sync,rb_infalte_sync): new method Inflate#sync. * zlib.rd.src: added description for Inflate#sync. * zlib.c (rb_deflate_flush): bugfix. 2002-02-01 UENO Katsuhiro <katsu@blue.sky.or.jp> * zlib.c (rb_zlib_cannot_allocate,Init_zlib): Zlib::ZStream and Zlib::GzipFile are abstract classes; they must not allocate their instances. 2002-02-01 UENO Katsuhiro <katsu@blue.sky.or.jp> * version 0.5.0-pre5 released. 2002-02-01 UENO Katsuhiro <katsu@blue.sky.or.jp> * zlib.c (zstream_run_loop): doesn't start compressing/decompressing loop if flush is set to Z_NO_FLUSH and the input is an empty string. * zlib.c (zstream_run_loop): rewrote. * zlib.c (zstream_append_input): doesn't make buffer if len == 0. * zlib.c (zstream_run2): when flush == Z_FINISH, next_in should be non-NULL even if avail_in == 0. Otherwise, Z_STREAM_ERROR may be caused. (rb_zstream_finish): ditto. (rb_deflate_flush): ditto. (rb_inflate_s_inflate): ditto. (gzfile_writer_end): ditto. (rb_gzwriter_flush): ditto. * zlib.c (ZSTREAM_AVAIL_OUT_MIN): renamed ZSTREAM_AVAIL_OUT_MIN to ZSTREAM_AVAIL_OUT_STEP_MIN. * zlib.c (ZSTREAM_AVAIL_OUT_STEP): renamed ZSTREAM_AVAIL_OUT_STEP to ZSTREAM_AVAIL_OUT_STEP_MAX. (ZSTREAM_AVAIL_OUT_STEP_MIN): set to 2048. (ZSTREAM_AVAIL_OUT_STEP_MAX): set to 16384. * zlib.c (zstream_detach_input): added. (rb_zstream_flush_next_in,Init_zlib): new method ZStream#flush_next_in. * rzlib.rd.src: add descriptions for new methods. 2002-01-31 UENO Katsuhiro <katsu@blue.sky.or.jp> * zlib.c (zstream_expand_buffer_into): added. (rb_zstream_avail_out): new method ZStream#avail_out. (rb_zstream_set_avail_out): new method ZStream#avail_out=. (rb_zstream_avail_in): new method ZStream#avail_in. (Init_zlib): define above new methods. * zlib.c (zstream_init): next_in and avail_in should be initialized. * zlib.c (zlib_mem_alloc,zlib_mem_free,zstream_init): use Ruby's memory allocation for zalloc and zfree. * zlib.c (Init_zlib): added constant Zlib::FINISH and Zlib::VERSION. (zstream_init): * zlib.rd.src: added description for Zlib::FINISH and Zlib::VERSION. * extconf.rb: '<<' was missed. * zlib.c (do_checksum): called checksum function twice when no argument is given to Zlib.crc32 or Zlib.adler32. * zlib.c (rb_zlib_str_value): StringValue() caused segv with Ruby-1.6 if argument is nil. * zlib.c (zstream_run_loop): if flush == Z_FINISH, the loop must be continued until z->func->run returns Z_STREAM_END. 2002-01-29 UENO Katsuhiro <katsu@blue.sky.or.jp> * zlib.c (gzfile_reader_get_unused): gz->z.input may be nil. 2002-01-29 UENO Katsuhiro <katsu@blue.sky.or.jp> * version 0.5.0-pre4 released. 2002-01-29 UENO Katsuhiro <katsu@blue.sky.or.jp> * zlib.c (Init_zlib): Zlib::Deflate.new and Zlib::Inflate.new are integrated into Zlib::ZStream.new. * zlib.rd.src: added description for Zlib::ZStream.new. 2002-01-28 UENO Katsuhiro <katsu@blue.sky.or.jp> * zlib.c: adapt to ruby-1.7. * zlib.c: redefine macros for backward compatibility. * zlib.c (Init_zlib): added allocate methods. (rb_deflate_s_allocate): ditto. (rb_inflate_s_allocate): ditto. (rb_gzwriter_s_allocate): ditto. (rb_gzreader_s_allocate): ditto. * zlib.c (rb_gzwriter_s_new,rb_gzreader_s_new): removed and integreted into rb_gzfile_s_new. * zlib.c (rb_zlib_version): return value of Zlib.version should be tainted. * extconf.rb: changed check for rb_str_buf_new. * zlib.rd.src: added description for Zlib::GzipFile.new. 2002-01-09 UENO Katsuhiro <katsu@blue.sky.or.jp> * version 0.5.0-pre3 released. 2002-01-08 UENO Katsuhiro <katsu@blue.sky.or.jp> * zlib.c: added some macros for ruby-1.7 from Nobuyoshi Nakada's patch ([ruby-ext:02048]). But they are disabled by #if 0. * zlib.c: defined macro RB_ZLIB_NORETRURN. * zlib.c, extconf.rb: NO_BLOCK_GIVEN_P -> !HAVE_BLOCK_GIVEN_P. RUBY_NEW_NORETURN -> HAVE_NEW_NORETURN. * zlib.rd.src: put untranslated parts into English. * zlib.c (gzfile_ensure_close): close gzfile directly instead of calling close method. 2002-01-07 WATANABE Hirofumi <eban@os.rim.or.jp> * extconf.rb: cygwin is not a Win32. 2002-01-07 UENO Katsuhiro <katsu@blue.sky.or.jp> * extconf.rb: add dir_config("zlib"). 2002-01-06 UENO Katsuhiro <katsu@blue.sky.or.jp> * version 0.5.0-pre2 released. 2002-01-06 UENO Katsuhiro <katsu@blue.sky.or.jp> * zlib.c (gzfile_writer_end): protect gzfile_write_raw() at finalize. * zlib.c (gzfile_ensure_close): close method must be sent to obj itself, not gz->io. * extconf.rb: added msg_check. * extconf.rb: define "NO_BLOCK_GIVEN_P" instead of "rb_block_given_p" if block_given? doesn't exist. * zlib.c: stop using RUBY_VERSION_CODE. 2002-01-06 Nobuyoshi Nakada <nobu.nakada@nifty.ne.jp> * extconf.rb: added checks for Ruby-1.7. 2002-01-06 Tanaka Akira <akr@m17n.org> * zlib.rd.src: modified. 2002-01-06 UENO Katsuhiro <katsu@blue.sky.or.jp> * zlib.rd.src: modified. 2002-01-06 UENO Katsuhiro <katsu@blue.sky.or.jp> * version 0.5.0-pre1 released. 2002-01-06 UENO Katsuhiro <katsu@blue.sky.or.jp> * zlib.rd.src: rewrote the document by RD. * makerd.rb: added script to generate language-separated RD. * depend: added dependencies for documents. 2002-01-05 UENO Katsuhiro <katsu@blue.sky.or.jp> * extconf.rb: check CONFIG['target_os'], not CONFIG['host_os']. * zlib.c: added member `input' to struct zstream. (zstream_append_input): added for expandable input buffer. (zstream_discard_input): ditto. (zstream_reset_input): ditto. (zstream_passthrough_input): ditto. (zstream_run,zstream_run_loop): divided the inflate/deflate loop from zstream_run to zstream_run_loop and added consideration for NeedDict. * zlib.c (raize_zlib_error): added the third parameter `next_in'. (rb_zerror_next_in): added Zlib::ZError#next_in. * zlib.c: removed member `unused' from struct gzfile. (gzfile_reader_get_unused): GzipReader#unused returns nil if the GzipReader object is closed. * zlib.c (Init_zlib): GzipReader and GzipWriter class are deprecated; use Zlib::GzipReader and Zlib::GzipWriter. (Init_zlib): Zlib::GzipReader::OS_* -> Zlib::OS_* (Init_Zlib): Zlib::GzipReader::{NoFooter,CRCError,LengthError} -> Zlib::GzipFile::* * zlib.c: add ZSTREAM_FLAG_FINALIZE to prevent segv in finalizer. * zlib.c (gzfile_writer_end): warn Zlib::GzipWriter object must be closed explicitly. * zlib.c (rb_zstream_flush_out): rename to rb_zstream_flush_next_out. (Init_zlib): rename ZStream#flush_out to ZStream#flush_next_out. * zlib.c (rb_zerror_initialize): added Zlib::Error#initialize. 2002-01-02 UENO Katsuhiro <katsu@blue.sky.or.jp> * zlib.c: rename `flag' in struct zstream to `flags'. * zlib.c: reformat and rearrenge the code. * zlib.c: refactor functions and macros for zstream and gzfile. Since these are very core funcs, the whole of zlib.c is almostly rewrote. No changes must be found in behaviors of any classes and modules, I hope. * zlib.c: use OBJ_INFECT instead of if(OBJ_TAINTED)OBJ_TAINT. * zlib.c (rb_deflate_clone): call CLONESETUP. * zlib.c: removed sanity checks for arguments for deflateInit2 and inflateInit2. (value_to_compression_level): removed. (value_to_window_bits): ditto. (value_to_memlevel): ditto. (value_to_strategy): ditto. (value_to_flush): ditto. * zlib.c (rb_deflate_s_new,rb_deflate_initialize): only do allocation in Deflate::new and initializing in Deflate#initialize. (rb_inflate_s_new,rb_inflate_initialize): ditto. * zlib.c (Init_zlib): Deflate and Inflate class are deprecated; use Zlib::Deflate and Zlib::Inflate. (rb_deflate_deprecated,rb_inflate_deprecated): added for warning this is a deprecated class. * zlib.c (Init_zlib): constants defined under Deflate and Inflate are moved under Zlib. * zlib.c (rb_gzwriter_puts): adapt to ruby-1.7. * zlib.c (Init_zlib): rename Zlib::Gzip to Zlib::GzipFile. 2002-01-01 UENO Katsuhiro <katsu@blue.sky.or.jp> * zlib.c: make all functions static. * zlib.c: update copyright line. * THANKS: added. 2001-09-15 Ueno Katsuhiro <katsu@blue.sky.or.jp> * zlib.c (zstream_shift_buffer): bug fixed about buffer overflow. Thanks to Ned Konz <ned@bike-nomad.com>.
2002-03-14Unneeded now.wiz1-24/+0
2002-03-14Completely remove RSAREF2 support; had been disabled for 15 monthswiz2-29/+4
without complaints. Deinstall sample config file if unchanged.
2002-03-11Don't include malloc.h on Darwin to make it build.yyamano2-11/+21
2002-03-09Make it build on Darwin.yyamano1-1/+7
2002-03-09Make it build on Darwin.yyamano4-18/+23
* Use curses. Darwin doesn't have termcap. * Add __APPLE__ to system.h to define necessary macros. * Replace __{Free,Open,Net}BSD__ with __UNIX__ in language/language.c. It worked on *BSD, but not correct logically. XXX -no-cpp-precomp issue isn't fixed yet. I think we should fix it in XXX generic way.
2002-03-03Update distribution file checksum for PHP version 4.1.2.tron1-3/+3
2002-02-28Update distribution file checksum for PHP version 4.1.2.tron1-3/+3
2002-02-28Update archivers/php4-zlib to 4.1.2. The only change from version 4.1.1 isjlam1-3/+4
that this is built from the php-4.1.2 sources.
2002-02-28Update archivers/php4-bz2 to 4.1.2. The only change from version 4.1.1 isjlam1-3/+4
that this is built from the php-4.1.2 sources.
2002-02-27Replace -s with ${_STRIPFLAG_CC} to make this build on Darwin.yyamano1-2/+2
2002-02-25Use the default EXTRACT_CMD instead of a hand-crafted one, as the defaultjlam4-12/+5
is sufficient.
2002-02-23Distfile md5 changed. A diff didn't reveal any bad things.hubertf1-3/+3
Distfile nuked from ftp.netbsd.org. Noted by march on IRC (IRCnet)
2002-02-21Update to 5.50.wiz2-9/+9
Extract from History.550: - generic (inflate.c, globals.h, fileio.c, unzpriv.h): integrated support of Deflate64 - added Deflate64 support to fUnZip - SFX: made SFX_EXDIR default, added NO_SFXEXDIR option to allow switching off the "-d exdir" support - SFX: added simple "execute command after extraction" feature that uses a command specification supplied with the Zip archive comment, controlled by the CHEAP_SFX_AUTORUN compile time option - SFX: slightly refined the CHEAP_SFX_AUTORUN code, switched off SFX_EXDIR when CHEAP_SFX_AUTORUN is enabled, documented the new autorun feature - extract.c, TestExtraField(): added crc32 check for PKVMS e.f. type - extract.c, extract_or_test_entrylist(): added code for "stripping off absolute path spec" when extracting - unzip.h, unzip.c; mapname() in all ports except CMS/MVS, Tandem, TOPS20: added code to strip "../" path components from extracted names and new option "-:" to allow deactivating this security feature; changed mapname() calling interface to allow reporting warning error levels to caller - unzpriv.h, zipinfo.c: rudimentary support for recognizing PKWARE's new "64-bit size specs" extra field As well as bug fixes, including the USE_ZLIB problem.
2002-02-18Introduce new framework for handling info files generation and installation.seb8-20/+23
Summary of changes: - removal of USE_GTEXINFO - addition of mk/texinfo.mk - inclusion of this file in package Makefiles requiring it - `install-info' substituted by `${INSTALL_INFO}' in PLISTs - tuning of mk/bsd.pkg.mk: removal of USE_GTEXINFO INSTALL_INFO added to PLIST_SUBST `${INSTALL_INFO}' replace `install-info' in target rules print-PLIST target now generate `${INSTALL_INFO}' instead of `install-info' - a couple of new patch files added for a handful of packages - setting of the TEXINFO_OVERRIDE "switch" in packages Makefiles requiring it - devel/cssc marked requiring texinfo 4.0 - a couple of packages Makefiles were tuned with respect of INFO_FILES and makeinfo command usage See -newly added by this commit- section 10.24 of Packages.txt for further information.
2002-01-27Use auto-extract code for .shar files.jlam5-13/+5
2002-01-06Update archivers/php4-zlib to version 4.1.1. The only change is updating tojlam1-3/+3
the version from the php-4.1.1 distribution.
2002-01-06Update archivers/php4-bz2 to version 4.1.1. The only change is updating tojlam1-3/+3
the version from the php-4.1.1 distribution.
2001-12-31Update archivers/php4-zlib to 4.1.0. No list of changes from version 4.0.6;jlam2-5/+5
simply update to version from php-4.1.0 distribution.
2001-12-31Update archivers/php4-bz2 to 4.1.0. Changes from version 4.0.6 include:jlam2-15/+3
- Fixed crash bug in bzopen() when specifying an invalid file. (Andi)
2001-12-30Add patch for preventing core dump and bump package to nb1.taca4-12/+25
2001-12-27On Darwin, use tar-1.12.tar.gz, rather than the shar format archive,agc4-12/+31
since this shows up problems on NFS-mounted pkgsrc archives on Darwin. On Darwin, don't try to make the po message files, since msgfmt doesn't yet exist. These changes allow bootstrapping the gtar-base package on Darwin.
2001-12-13Updated to 1.1, provided by Adam Ciarcinski.wiz2-6/+6
Change since 1.0: Added Pipe support to read from stdin