Age | Commit message (Collapse) | Author | Files | Lines |
|
|
|
- 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).
|
|
- 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
|
|
|
|
|
|
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.
|
|
|
|
|
|
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-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>.
|
|
|
|
without complaints.
Deinstall sample config file if unchanged.
|
|
|
|
|
|
* 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.
|
|
|
|
|
|
that this is built from the php-4.1.2 sources.
|
|
that this is built from the php-4.1.2 sources.
|
|
|
|
is sufficient.
|
|
Distfile nuked from ftp.netbsd.org. Noted by march on IRC (IRCnet)
|
|
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.
|
|
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.
|
|
|
|
the version from the php-4.1.1 distribution.
|
|
the version from the php-4.1.1 distribution.
|
|
simply update to version from php-4.1.0 distribution.
|
|
- Fixed crash bug in bzopen() when specifying an invalid file. (Andi)
|
|
|
|
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.
|
|
Change since 1.0:
Added Pipe support to read from stdin
|
|
<uebayasi@soum.co.jp> in pkg/14824. Relevant changes from version 114f
include:
* dewey-ized package version number
* fixed header Level 2 handling bug
* fixed level 2 file append bug.
* fixed symbolic link file append bug.
* lh7 archive support.
* fixed lh7 archive bug.
|
|
|
|
|
|
differs from the distfile version number. G/C some the unused variables
in php4/Makefile.common related to the old way of handling version numbers.
|
|
pkgsrc. Instead, a new variable PKGREVISION is invented that can get
bumped independent of DISTNAME and PKGNAME.
Example #1:
DISTNAME= foo-X.Y
PKGREVISION= Z
=> PKGNAME= foo-X.YnbZ
Example #2:
DISTNAME= barthing-X.Y
PKGNAME= bar-X.Y
PKGREVISION= Z
=> PKGNAME= bar=X.YnbZ (!)
On subsequent changes, only PKGREVISION needs to be bumped, no more risk
of getting DISTNAME changed accidentally.
|
|
|
|
${PREFIX} -- everything else is pickup up from ${BUILDLINK_DIR}.
|
|
unknown.
|
|
|
|
Update unace to 1.2b, and make this compile and (mostly) run on LP64.
|
|
Changes unknown. Addresses pkg/14354.
|
|
This fix a fetch error.
|
|
p5-Convert-TNEF, p5-Convert-UUlib and p5-Unix-Syslog
|
|
read, and write Zip archive files.
|
|
This module uses no C-coded parts in itself, but it will try to use
the Compress::Zlib module to read and write gzipped tarfiles.
Archive::Tar will still work without Zlib, it will just complain a
little bit (and, of course, not be able to use compression). The
complaining will be removed when the module leaves the alpha stage,
and can be trivially removed by commenting out the offending print
near the top of Tar.pm.
|
|
available.
|
|
are out of order and so autoconf would regnerate these files.
This change is only needed in the ${OPSYS} != "NetBSD" case.
|
|
The automatic truncation in gensolpkg doesn't work for packages which
have the same package name for the first 5-6 chars.
e.g. amanda-server and amanda-client would be named amanda and amanda.
Now, we add a SVR4_PKGNAME and use amacl for amanda-client and amase for
amanda-server.
All svr4 packages also have a vendor tag, so we have to reserve some chars
for this tag, which is normaly 3 or 4 chars. Thats why we can only use 6
or 5 chars for SVR4_PKGNAME. I used 5 for all the packages, to give the
vendor tag enough room.
All p5-* packages and a few other packages have now a SVR4_PKGNAME.
|