------------------------------------------------------------------- Thu Apr 21 13:58:55 UTC 2011 - jw@novell.com - 0.42 Unexpected DESTROY handler closes json logfile properly with an {error} message, if any. ------------------------------------------------------------------- Mon Apr 18 13:00:13 UTC 2011 - jw@novell.com - 0.41 Statistics in logfile about skipped (exclude and symlink) files. ------------------------------------------------------------------- Sat Apr 16 00:30:42 UTC 2011 - jw@novell.com - 0.40 less verbose with differing destnames... Survive crashes in run(). logfile json syntax preserved, even when terminating error message. No more trailing dummy "/":{} ------------------------------------------------------------------- Wed Apr 6 18:01:26 UTC 2011 - jw@novell.com - 0.39 Try /._\d?/ name suffixes on collisions to avoid _fu_* directories if possible. Added _chmod_add() to help creating readable files and executable directories. Raised default maxfilesize from 100M to 2.5G, honors FILE_UNPACK_MAXFILESIZE too. ------------------------------------------------------------------- Thu Mar 31 23:15:27 UTC 2011 - jw@novell.com - t/data/monotone.info was missing in MANIFEST ------------------------------------------------------------------- Thu Mar 31 09:11:58 UTC 2011 - jw@novell.com - 0.38 Both File::LibMagic and File::MimeInfo::Magic fail on info files. Ask perl -T and return application/x-text-mixed in that case. Fixed comparison with RLIM_INFINITY, it evaluates -1. ------------------------------------------------------------------- Tue Mar 29 11:12:45 UTC 2011 - jw@novell.com - fix manpage to not contain ./ macros. ------------------------------------------------------------------- Mon Mar 28 22:16:50 UTC 2011 - jw@novell.com - added a primitive man-page using .nf ------------------------------------------------------------------- Mon Mar 28 19:56:36 UTC 2011 - jw@novell.com - 0.37 Fixed setrlimit() calls, to not explode, when the limit is already lower. Minor cleanup. ------------------------------------------------------------------- Fri Mar 25 21:54:36 UTC 2011 - jw@novell.com - 0.36 removed dependency on lsof, in favour of /proc and builtin _children_fuser(). tick-tick now shows the percentage of the fastest moving fd. ------------------------------------------------------------------- Thu Mar 24 18:22:47 UTC 2011 - jw@novell.com - 0.35 tested with gcc-ejc, parsing lsof output with $u->run() during $u->run(). Yeah! Libmagic perl module explodes with malformed utf8, assert LC_ALL=C. run() untaint argv0. needed for running helpers under -T Empty file is text/x-empty now. not application/x-empty. ------------------------------------------------------------------- Tue Mar 22 15:12:27 UTC 2011 - coolo@novell.com - unrar is unfree software ------------------------------------------------------------------- Thu Mar 10 01:13:42 UTC 2011 - jw@novell.com - updated to 0.32, fixed logfile JSON syntax. fixed setrlimit(). ------------------------------------------------------------------- Wed Mar 9 15:21:56 UTC 2011 - jw@novell.com - updated to 0.31, docu fixes. list() mode added. ------------------------------------------------------------------- Tue Dec 14 22:54:52 UTC 2010 - jw@novell.com - 0.29 Mention /usr/bin/file_unpack in perldoc ------------------------------------------------------------------- Sun Dec 5 21:29:31 UTC 2010 - jw@novell.com - added /usr/bin/unpack_file as a symlink - 0.28 Look only at files and dirs, ignore special files. Reading a pipe could block us endlessly. ------------------------------------------------------------------- Wed Dec 1 13:32:27 UTC 2010 - coolo@novell.com - switch to perl_requires macro ------------------------------------------------------------------- Fri Sep 24 16:22:46 UTC 2010 - jw@novell.com - 0.27 new feature in mime(): attempt full file access not only if flm reports currupt, but also when it reports a/octet-stream. This helps to recognize a/x-iso9660-image Added .iso by including my old unpack_iso.pl as a helper. Added .lha ------------------------------------------------------------------- Fri Sep 10 17:17:57 UTC 2010 - jw@novell.com - 0.26 Added .upx; we are testing all application/*-executable for upx to get the mime type. Fixed test results on SLE-11, 02-mime.t now can match regexp too. Dependencies sharpened: file >= 5.03 shared-mime-info >= 0.60 ------------------------------------------------------------------- Wed Sep 8 20:39:30 UTC 2010 - jw@novell.com - 0.25 Added .cpio, .deb, .cab, .7z Removed done_testing() for the sake of old Test::More on 11.1 ------------------------------------------------------------------- Wed Sep 8 20:18:49 CEST 2010 - jw@suse.de - 0.24 Fixed helper. There was a debug die :-) ------------------------------------------------------------------- Wed Sep 1 22:51:04 UTC 2010 - jw@novell.com - 0.23 Added option one_shot, to new() and file_unpack.pl Added unpacking of: application/pdf, %tar+lzma, %rar, %uuencode Added '# Requires: ....' comments with the builtin handlers to document the non-perlish dependencies. Fixed recognition of .xls -- File::LibMagic said corrupt, with only a short buffer. Swapped 2nd and 3rd parameter of _run_mime_handler(): mime helpers have now their suggested destname as second parameter. mime(): added suffix rules for 'text/plain' and 'application/octet-stream', to harvest even the least trusted source of information, in the absence of anything else. Implemented first draft of helper/text/=x-shellscript: tested embedded gzip. Added -L option to file_unpack.pl; _run_mime_handler() now untaints its argv. run() errors are now propagated. t/04-subdir.t now does a real-life unzip test, if unzip is available. Lowered $RECURSION_LIMIT to 200. 1000 takes ages with big files. Call bunzip2 with -f, but don't call xz with -f. Fixed unpack() to not hit 256 char limit per filename so easily. Tested mime_handler_dir(), now it actually works. Introduced a default directory /usr/share/File-Unpack/helper. Preparing env variable PERL5LIB for helpers. mime(): Fixed usage of LZMA alone decoder: count as positive, only of output appeared. text/x-shellscript: uudecode and shar support tested; works now. ------------------------------------------------------------------- Mon Aug 30 16:31:41 UTC 2010 - jw@novell.com - 0.22 Fixed descending of destdir into subdirs of subdirs Added t/04-subdir.t, Added first support for running unpack() under -T Replaced MANIFEST.SKIP with a filter in t/manifest.t Fixed t/02-mime.t to survive missing shared-mime-info. (Makefile.PL cannot require non-perl packages, can it?) ------------------------------------------------------------------- Wed Aug 25 20:46:03 UTC 2010 - jw@novell.com - 0.21 Added 'nothing-to-do' semantic for mime-helpers: Point back by symlink. Added helper/text=x-shellscript to demonstrate this. Made external mime-helpers work: registering, calling. Remember absolut path, call mime_type() correctly. Started to propagate errors from _run_mime_handler() to unpack(). mime(): In SLES11 we get 'text/plain charset=utf-8' without semicolon. ------------------------------------------------------------------- Tue Aug 24 20:14:14 UTC 2010 - jw@novell.com - 0.20 from cpan