6db1e4b1f5
- Update to 0.70 - added support for MacOS pkg files that are xar archives.
Juergen Weigert
2015-03-13 13:53:21 +00:00
a27d871980
- Added symlinks file_unpack_deep and unpack_deep to exploit the new semantics. - Update to 0.69 - fixed https://github.com/jnweiger/perl-File-Unpack/issues/2 - Semantics change of file_unpack.pl: Default to one_shot unless $0 contains 'deep'. New --deep option to also switch this one. This is a move towards least surprise. No other unpacker has this deep feature.
Juergen Weigert
2014-07-21 15:31:08 +00:00
edd58330df
- perl-String-ShellQuote pulled in by name, to work around perl-App-cpanminus false positives.
Juergen Weigert
2014-06-12 12:54:50 +00:00
7549c451fb
- 0.66 harmful filename test removed, fixing bnc#860561. The name may not match, when symlinking back. Readlink is the only thing that counts. - _run_mime_helper() now returns diagnostics even when 'successful' so that we can see reasoning for 'passed'. - added t/08-survive-corrupt.t to define behavoiur for good10.pdf and bad34.pdf - registered the two new test files with t/02-mime.t and t/07-cmdline.t
Juergen Weigert
2014-01-27 21:34:12 +00:00
3d8dc18ab6
Accepting request 209188 from home:jnweiger:branches:devel:languages:perl
Stephan Kulow
2013-12-03 12:21:15 +00:00
ed9da1f590
- 0.64 fixed explosions on ksh: * assert writable dirs in _run_mime_helper while disassembling jail. needed for ksh/ast-base.2012-08-01.tar.bz2/src/cmd/pax/data/ro.dat * all rename()s in _run_mime_helper() equipped with or die. * DESTROY() now handles more cases: Adding the epilog when missing is paramount.
Juergen Weigert
2013-07-29 19:02:54 +00:00
7aa9c5b0c9
typo, did not build
Juergen Weigert
2013-06-28 15:03:30 +00:00
0a7bcf3d8a
- require lzip only for factoy. It is simply nowhere else.
Juergen Weigert
2013-06-18 11:07:30 +00:00
6e24974513
- 0.60 * report text/x-application-xml instead of application/xml for ordinary xml files.
Juergen Weigert
2013-04-29 14:27:27 +00:00
5d1f761860
- 0.59 * helping upx to survive symlinks. "%{lsrc}s" format added. * POD fixes from from anirvan/patch-1 * application/msword helper added. Using antiword. * helper diagnostics improved: first line of stderr is captured in the log. * {verbose} control improved.
Juergen Weigert
2013-03-26 22:05:22 +00:00
657602e363
- POD updates from anirvan/patch-1
Juergen Weigert
2013-03-04 14:21:25 +00:00
dbbbc6d3d9
- 0.58 - bugfix: {inside_archives} was not decremented after leaving an archive.
Juergen Weigert
2013-02-08 10:20:02 +00:00
fe96ab7e89
delete $ENV{ENV} for t/07
Juergen Weigert
2013-02-07 20:27:24 +00:00
bbb71839fe
- 0.57 - fixed -f to really allow crawling symlinks. * the logfile will contain the link name, not the link target. * it thus preserves the illusion that all is inside the destination tree. - The following command can now be used to recreate the logfile (and retry more unpacking) in $DIR: file_unpack -D $DIR -f -L $DIR.unpack.log $DIR - _run_mime_helper(): cleanup $jail_base added when cmd fails to run. Helper failure may still may result in missing files. - t/07-cmdline.t added.
Juergen Weigert
2013-02-07 20:07:49 +00:00
5d53cde9b9
tricky. SLE_11_SP1 now fails...
Juergen Weigert
2013-02-05 20:33:28 +00:00
26aa7a663e
adapt to a changing world...
Juergen Weigert
2013-02-05 20:22:02 +00:00
6666bd9573
How shall I ask for a specific version number, if a symbol is not allowed to be named?
Juergen Weigert
2013-02-05 20:18:37 +00:00
75d7618adb
- 0.56 - guard _my_shell_quote against undef. - no 'running as root warning' when !{verbose} - Relax testsuite on test.mht - relax DESTROY to not start a logfile, when none is requested. - testsuite really silent now.
Juergen Weigert
2013-02-05 20:09:10 +00:00
3843d8bea2
obs silently reverted this file to the previous incomplete version. This is unfair behaviour.
Juergen Weigert
2013-01-25 22:07:35 +00:00
14a7c7ade4
service run cannot succeed before I upload. Grrr!
Juergen Weigert
2013-01-25 21:24:39 +00:00
4a00696777
- attempting to build the C-Version of stringsx. RPM does not like this, it enforces noarch on me. -> unused
Juergen Weigert
2012-08-23 18:50:04 +00:00
21d16f74a7
- 0.54 - no longer add special files like fifos, sockets, dev nodes to the logfile. - loggable_pathname adds {srcdir => 'input'} if path is in $self->{input}
Juergen Weigert
2012-03-09 16:18:19 +00:00
5074c551da
third attempt of pushing a correct tar ball inward.
Juergen Weigert
2012-02-21 14:31:39 +00:00
1aa94608f2
- 0.53a file_unpack binary was not updated to actually use the new plaintext feature. Rerolled 0.53 tar ball.
Juergen Weigert
2012-02-21 14:27:19 +00:00
dc9f764620
i
Juergen Weigert
2012-02-17 00:46:03 +00:00
58089b75f1
- 0.52 - logfile: input menitoned on 'passed' items. - Makefile.PL now actually installs file_unpack (rt#73670). Man page is a hack. Sorry. - file_unpack can now unpack multiple archives on the command line. - helper/handler wording now consistently speaks of helpers.
Juergen Weigert
2012-01-31 23:56:31 +00:00
5b5f9604cc
0.51 input archives that do not exist in destdir (because they were unpacked) now show up in the log prefixed with './input/./' unless fullpath.
Juergen Weigert
2012-01-25 19:25:17 +00:00
21bff8b8f7
- 0.50 made testsuite survive on SLE11_SP1, put IO::Handle::tell() inside eval to survive SLES11_SP1
Juergen Weigert
2012-01-24 19:13:16 +00:00
eb8d090ae2
- 0.49 made survive ntop, in{file} must not modify, so that reopen inside mime() works.
Juergen Weigert
2012-01-23 18:16:56 +00:00
c401afb44a
- 0.48 made compatible with perl-5.14.2 where qw() is (qw())
Juergen Weigert
2011-11-29 10:39:05 +00:00
5d77f30579
- 0.44 using syswrite in log() to catch errors.
Juergen Weigert
2011-05-20 10:56:30 +00:00
466ea70199
- 0.43 Implemented no_op option in _run_mime_handler(). Added -n option to file_unpack.pl
Juergen Weigert
2011-05-12 11:41:49 +00:00
2eec6bcebf
- 0.42 Unexpected DESTROY handler closes json logfile properly with an {error} message, if any.
Juergen Weigert
2011-04-21 14:02:36 +00:00
51c47f2c68
- 0.41 Statistics in logfile about skipped (exclude and symlink) files.
Juergen Weigert
2011-04-18 13:01:21 +00:00
5185f9a374
- 0.40 less verbose with differing destnames... Survive crashes in run(). logfile json syntax preserved, even when terminating error message. No more trailing dummy "/":{}
Juergen Weigert
2011-04-16 00:32:23 +00:00
c8f500ea38
- 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.
Juergen Weigert
2011-04-06 18:02:36 +00:00
129c98418c
- t/data/monotone.info was missing in MANIFEST
Juergen Weigert
2011-03-31 23:15:57 +00:00
fe661111bc
Ask perl -T and return application/x-text-mixed in that case. -> Changed this mime type, to remain in the application class. Which it really is for info files. they just happent o be also quite well readable.
Juergen Weigert
2011-03-31 10:13:24 +00:00
e3d7e186ff
- 0.38 Both File::LibMagic and File::MimeInfo::Magic fail on info files. Ask perl -T and return text/x-octet-stream in that case. Fixed comparison with RLIM_INFINITY, it evaluates -1.
Juergen Weigert
2011-03-31 09:14:08 +00:00
e802ed800d
- fix manpage to not contain ./ macros.
Juergen Weigert
2011-03-29 11:13:36 +00:00
134c9db8f0
- added a primitive man-page using .nf
Juergen Weigert
2011-03-28 22:17:30 +00:00
35e0610346
we now also provide file_unpack
Juergen Weigert
2011-03-28 20:25:33 +00:00
0bf51a6d66
- 0.37 Fixed setrlimit() calls, to not explode, when the limit is already lower. Minor cleanup.
Juergen Weigert
2011-03-28 20:00:44 +00:00
50ad0a4766
- 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.
Juergen Weigert
2011-03-25 21:55:57 +00:00
3659dd02d8
- 0.35 tested with gcc-ejc, parsing lsof output with $u->run() during $u->run(). Yeah!
Juergen Weigert
2011-03-24 18:30:39 +00:00
a0524c750c
- 0.36 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.
Juergen Weigert
2011-03-24 18:26:41 +00:00
f6261b128d
- unrar is unfree software
Stephan Kulow
2011-03-22 15:12:38 +00:00
92e6946575
- 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
Juergen Weigert
2010-09-24 16:24:04 +00:00