Roland Illig
036d995eea
* extfs/hp48.in: Correct quoting from last patch. Avoid a
...
subshell when none is needed.
2004-10-18 10:16:26 +00:00
Roland Illig
3b6db492a3
* extfs/audio.in: Fix even more quoting issues.
...
* extfs/hp48.in: Likewise.
Patch from q# <eth0 o2 pl>.
2004-10-18 02:20:09 +00:00
Roland Illig
e85a083b79
* extfs/uar.in: Improve filename quoting. Add error messages.
2004-10-17 22:09:18 +00:00
Roland Illig
00371ea1a9
* extfs/audio.in: Fix quoting issues.
...
From Leonard den Ottolander.
2004-10-17 19:42:20 +00:00
Roland Illig
61b4642af4
* extfs/hp48.in: Fix quoting issues.
...
From Leonard den Ottolander.
2004-10-17 19:33:55 +00:00
Andrew V. Samoilov
c9f834b501
* vfs.c (vfs_cmp_handle): Fixing warnings on on 64-bit
...
platforms.
(vfs_op):Likewise.
(vfs_info):Likewise.
(vfs_free_handle):Likewise.
* extfs/rpm (mcrpmfs_run): Quote parameters to calls
to system/open that spawn a shell.
* direntry.c (vfs_s_find_entry_tree): Make "size"
size_t.
2004-09-03 21:23:05 +00:00
Andrew V. Samoilov
64b5b8b9ee
uzip.in (mczipfs_list): Add support for negative
...
compression ratio in archive listing.
2004-09-02 00:16:33 +00:00
Andrew V. Samoilov
7680fd6884
* extfs/rpm: Modified workaround for spaces and single quotes
...
in the path name. For mcrpmfs_copyout too.
2004-08-26 18:59:26 +00:00
Andrew V. Samoilov
201c30624e
* vfs/extfs/a.in: Quote parameters to calls to system/open that spawn a shell.
...
* vfs/extfs/apt.in: Likewise.
* vfs/extfs/debd.in: Likewise.
* vfs/extfs/dpkg.in: Likewise.
* vfs/extfs/deba.in: Clean up earlier fixes to quotation of parameters.
* vfs/extfs/deb.in: Likewise.
2004-08-24 19:51:41 +00:00
Andrew V. Samoilov
76a8893a53
* extfs/urar.in: Fix non-POSIX constructs.
2004-08-22 22:47:15 +00:00
Andrew V. Samoilov
dbedd885e6
* extfs/rpm: Modified workaround for spaces and single quotes in the path name.
2004-08-22 22:38:49 +00:00
Andrew V. Samoilov
8a410cf065
* extfs/rpm: Don't show cpio contents in main rpm view.
...
Also avoids copying files from main view instead of from
inside CONTENTS.cpio. The former is painfully slow as the whole
file is rpm2cpio'd on each copy.
2004-08-22 21:43:18 +00:00
Roland Illig
a37fdaca96
* extfs/deb.in (mcdebfs_list): Separated the use of quoted and unquoted variables. (mcdebfs_copyout): likewise. (mcdebfs_run): likewise. From Leonard den Ottolander <leonard@den.ottolander.nl>
2004-08-19 17:37:01 +00:00
Roland Illig
2c4ca680bb
* extfs/deba.in (list): Separated the use of quoted and unquoted variables. (copyout): likewise. (run): likewise. From Leonard den Ottolander <leonard@den.ottolander.nl>
2004-08-19 17:32:31 +00:00
Roland Illig
060898b092
* extfs/deba.in (bt): deleted. (ft): deleted. (fm): deleted. (ls): deleted. (list): correctly quoted shell command arguments. (copyout): likewise. (run): likewise. From Leonard den Ottolander <leonard@den.ottolander.nl>
2004-08-19 15:53:13 +00:00
Roland Illig
c42b447115
Using elsif instead of more expensive if.
2004-08-19 15:43:09 +00:00
Andrew V. Samoilov
b328811d2a
* extfs/rpm: Command line parameters fix for UPGRADE.
...
Fix mcrpmfs_copyout for INFO/OBSOLETES and INFO/LICENSE
From Leonard den Ottolander <leonard@den.ottolander.nl>
2004-08-18 21:18:07 +00:00
Andrew V. Samoilov
b93ffeaa80
Security fix patch. Fix insecure temporary file and directory creations. (CAN-2004-0231).
2004-08-17 08:24:59 +00:00
Pavel Roskin
79b4c398de
* extfs/rpm: Workaround for spaces and single quotes in the path
...
name.
2004-01-24 00:48:46 +00:00
Pavel Roskin
47225c2ff3
Typo fix.
...
From Andrew V. Samoilov <andrew@email.zp.ua>
2004-01-24 00:28:13 +00:00
Pavel Roskin
780609f437
* extfs/uzip.in: Fix error in parsing size of files over 9999999
...
bytes long.
2003-08-18 05:17:25 +00:00
Pavel Roskin
10fb3f22f6
* extfs/audio.in: Further portability fixes. Use current date
...
for timestamps.
Partly from Andrew V. Samoilov <sav@bcs.zp.ua>
2003-08-08 22:07:16 +00:00
Pavel Roskin
0a0ac18aae
* extfs/audio.in: Fix non-POSIX constructs.
...
From GoTaR <gotar@poczta.onet.pl>
2003-08-08 07:58:09 +00:00
Pavel Roskin
b0b8f65cdc
* extfs/lslR.in: Portability fixes.
2003-06-22 09:54:19 +00:00
Pavel Roskin
a3708077d1
* extfs/trpm: Fix compatibility with the secure temporary
...
filenames used by extfs. Filter rpm messages from the listing.
2003-05-30 20:27:07 +00:00
Pavel Roskin
8d9e959596
Add iso9660.
2003-05-08 06:05:00 +00:00
Pavel Roskin
3a3e1b2c34
* extfs/rpm: If rpm doesn't support --info as in Red Hat 9,
...
ignore it and don't show HEADER in the listing.
2003-05-08 05:19:57 +00:00
Pavel Roskin
0a6c496e40
* extfs/iso9660.in: Determine presence of Rock Ridge and Joliet
...
extensions by running "isoinfo -R". Use current charset for
Joliet extensions.
2003-04-29 18:21:40 +00:00
Pavel Roskin
f9fd075f21
* extfs/iso9660.in: New filesystem for ISO-9660 images.
...
From Michael Shigorin <mike@altlinux.org>
* extfs/extfs.ini: Add iso9660.
* extfs/Makefile.am: Add extfs/iso9660.in.
2003-04-29 16:03:11 +00:00
Andrew V. Samoilov
8ed2f5ac10
* extfs/patchfs.in: Treat '\ No newline at end of file' line
...
as valid diff contents. By Adam Byrtek <alpha@debian.org>.
2003-03-27 16:10:42 +00:00
Andrew V. Samoilov
5e267e2ab6
* extfs/patchfs.in: Minor cleanups by Adam Byrtek <alpha@debian.org>.
2003-03-11 07:14:03 +00:00
Andrew V. Samoilov
9ec797a024
* extfs/patchfs.in: rm and proper copyin support, more
...
functions to make code more clear.
2003-02-26 15:08:37 +00:00
Pavel Roskin
a25ad31daf
* extfs/urar.in: Search $PATH for unrar, fallback to rar.
2003-01-24 07:10:02 +00:00
Andrew V. Samoilov
1dfc24bd42
2002-12-24 Adam Byrtek <alpha@debian.org>
...
* extfs/patchfs.in: context diff format support, regular
expressions precompiled, some minor fixes
2003-01-13 12:07:45 +00:00
Andrew V. Samoilov
196dd0c1de
* extfs/rpm: Use --nosignature only if rpm supports this.
2002-12-29 09:19:36 +00:00
Andrew V. Samoilov
6fec66eb87
* extfs/mailfs.in: Quote filename when openning mailbox.
2002-12-24 06:56:16 +00:00
Andrew V. Samoilov
1edcc92829
* extfs/apt.in, extfs/dpkg.in: Avoid stat on non-existing file.
2002-12-24 06:33:46 +00:00
Andrew V. Samoilov
b6aa32d9b2
* extfs/patchfs.in: Fix patch size calculation. Use bytes to
...
count size in bytes, not characters (in multibyte encodings char
can be two or more bytes wide).
2002-12-19 18:20:11 +00:00
Pavel Roskin
1df0641954
* extfs/patchfs.in: Don't rely on tell() - it doesn't always
...
work on pipes. Determine patch size by adding together the line
lengths.
2002-12-19 17:36:58 +00:00
Pavel Roskin
6ee35e2c55
* extfs/patchfs.in: Allow diffs with function names after "@@".
...
Don't consider an empty newline as the end of the diff.
2002-12-19 16:51:04 +00:00
Andrew V. Samoilov
76a86209d4
* extfs/patchfs.in (openread): Use quoted $archive when opening
...
archives.
(list): Set $archive to quoted $_[0].
2002-12-18 14:31:54 +00:00
Pavel Roskin
1f05866c5e
* extfs/rpm: Don't check package signatures - it creates a lot
...
of noise on stderr if the signature is missing.
2002-12-17 00:32:38 +00:00
Pavel Roskin
90821fb2b8
* extfs/mailfs.in: Fixed bug when opening empty mailbox. Added
...
proper message size (not number of lines, like before) counting.
2002-12-14 20:05:29 +00:00
Pavel Roskin
5e039bf28f
Comment fixes.
2002-12-14 05:31:12 +00:00
Pavel Roskin
9b4e62ef79
* extfs/uha.in (mchafs_list): Don't parse the month, use
...
DD-MM-YYYY output.
(mchafs_copyout): Use cat, not mv, because the files can be on
different filesystems. Use "q" and don't suppress stderr.
2002-12-14 05:10:52 +00:00
Pavel Roskin
6c465b4a6f
* extfs/ulha.in: Don't suppress stderr.
2002-12-14 04:39:09 +00:00
Pavel Roskin
5773018d1f
Add hp48 and uarj.
2002-12-14 04:29:58 +00:00
Pavel Roskin
f7a80d36ba
* extfs/uzoo.in: Always use "q" option to avoid processing junk.
...
Always create symlink, do it in a safer directory.
2002-12-14 04:29:12 +00:00
Pavel Roskin
9a8ba89854
* extfs/uarj.in: New script working with open-source ARJ.
...
Contributed by Viatcheslav Odintsov.
* extfs/uarj: Remove.
* extfs/hp48: Rename to ...
* extfs/hp48.in: ... this. It needs awk substitution.
* extfs/Makefile.am: Adjust for the above.
2002-12-14 02:46:03 +00:00
Pavel Roskin
05a0c9236d
* extfs/ulha.in: Strengthen quoting.
2002-12-13 08:07:33 +00:00
Pavel Roskin
5c038d2f12
* extfs/uha.in: Strengthen quoting. Remove unnecessary space
...
after filename. Update URL. Use safer temporary directory.
2002-12-13 07:53:20 +00:00
Pavel Roskin
c055823512
* extfs/uarj: New list-only implementation that doesn't need
...
patched unarj.
* extfs/unarj.diff: Remove.
* extfs/Makefile.am: Remove extfs/unarj.diff.
2002-12-13 07:20:54 +00:00
Pavel Roskin
0b9116d955
Restore setting current time if the date cannot be parsed.
2002-12-13 05:22:09 +00:00
Pavel Roskin
72da5347c4
Fix Y2K problem once again.
2002-12-13 05:08:14 +00:00
Pavel Roskin
84f178c86f
* extfs/patchfs.in: "copyin" method added (with compressed files
...
support). Files inside archive now have '.diff' extension.
Temporary file not needed any more. Proper handling of
"/dev/null" filenames, filename heuristics based on diff info
page. Set files owner and group as the archive.
* extfs/audio.in: CDDB_TIMEOUT variable added.
2002-12-13 04:42:08 +00:00
Pavel Roskin
676c9927d6
Don't document deprecated support for two-digit years.
2002-12-12 17:28:31 +00:00
Pavel Roskin
ec8375764b
* extfs/apt.in: Fix Y2K bug.
...
* extfs/deba.in: Likewise.
* extfs/debd.in: Likewise.
* extfs/dpkg.in: Likewise.
Reported by Adam Byrtek <alpha@debian.org>
2002-12-12 16:15:30 +00:00
Pavel Roskin
4da228c21e
Fix formatting of the year.
2002-12-12 16:13:20 +00:00
Pavel Roskin
5ea98ec55f
* extfs/patchfs.in: Print 4-digit year. If str2time is not
...
available, use current time, not 0.
2002-12-12 16:08:34 +00:00
Andrew V. Samoilov
320b62f87e
* extfs/urar.in: rar lists directories after files, so sort "list"
...
command output by names to prevent duplications.
2002-12-12 12:48:30 +00:00
Pavel Roskin
5b24e5dc1b
* extfs/urar.in: Strengthen quoting. Don't use full path to rar
...
and unrar. Don't redirect stderr to /dev/null.
2002-12-12 09:39:46 +00:00
Pavel Roskin
a0c6db0bca
Use "cp -p" to preserve date.
2002-12-12 09:21:35 +00:00
Pavel Roskin
f63f10d684
Don't redirect stderr to /dev/null - it obscures errors.
2002-12-12 09:15:20 +00:00
Pavel Roskin
a50ddb5450
* extfs/uar.in: Simplify "list" command, don't use current year.
...
Use more careful quoting.
2002-12-12 09:01:40 +00:00
Pavel Roskin
b1c7fda53b
Set locale to C.
...
Add support for bzip2.
Remove redirection of stderr to /dev/null.
2002-12-12 08:34:24 +00:00
Pavel Roskin
3662dd53f2
* extfs/apt.in: Add non-interactive remove using dpkg.
2002-12-12 07:42:29 +00:00
Pavel Roskin
bc9ef16241
Make sure that the output of cd-discid is not empty, exit otherwise.
2002-12-12 07:41:39 +00:00
Pavel Roskin
efbd36d0df
Quote "$2" to avoid "test -b" without argument.
2002-12-12 07:33:24 +00:00
Pavel Roskin
92a3d687fd
* extfs/apt.in: Add 1 to the month number. Perl localtime()
...
uses range 0..11 while extfs expects range 1..12.
* extfs/deba.in: Likewise.
* extfs/debd.in: Likewise.
* extfs/dpkg.in: Likewise.
2002-12-11 21:19:43 +00:00
Pavel Roskin
612761577f
Fix @PERL@.
2002-12-11 21:10:17 +00:00
Pavel Roskin
071ea38270
Update - ignore Perl scripts.
2002-12-11 20:58:29 +00:00
Pavel Roskin
56be0e7b88
Substitute Perl location in all extfs scripts written in Perl.
2002-12-11 20:57:00 +00:00
Pavel Roskin
a416082753
Update.
2002-12-11 19:26:10 +00:00
Pavel Roskin
adf60b79eb
* extfs/audio: Move ...
...
* extfs/audio.in: ... here. Add CDDB support.
* extfs/Makefile.am: Adjust for the above.
2002-12-11 19:24:16 +00:00
Pavel Roskin
184ae978c0
* extfs/mailfs: Try using UnixDate() from Date::Manip if it's
...
available. Warning fix.
2002-12-11 19:10:05 +00:00
Andrew V. Samoilov
1cfe28ff54
* extfs/patchfs: Use quotemeta() before giving filename to shell.
2002-12-11 11:29:35 +00:00
Pavel Roskin
c2d7ef04dc
* extfs/a: Enable Perl warnings. Ignore entries without a date.
...
Warning fixes. Don't redirect stderr to /dev/null - it doesn't
mess the screen now.
2002-12-10 21:38:06 +00:00
Pavel Roskin
0b357d16a3
* extfs/patchfs: Rewritten is Perl. File size is now displayed
...
properly.
2002-12-09 20:16:34 +00:00
Pavel Roskin
0bb4e479a2
* extfs/ftplist.in: Remove, it's obsoleted by the hotlist.
...
* extfs/ucpio.in: Remove, it's obsoleted ucpio.c.
* extfs/Makefile.am: Remove all references to them.
* extfs/extfs.ini: Likewise.
2002-12-09 14:16:32 +00:00
Pavel Roskin
9d265c52d6
* extfs/bpp: Fix file sizes, contents of INSTALL and UPGRADE.
2002-12-09 05:01:02 +00:00
Pavel Roskin
f71323845c
* extfs/uar.in: Fix "copyin" command.
2002-12-09 04:28:00 +00:00
Pavel Roskin
fd44d72c55
* extfs/uar.in: Implement "copyin" and "rm" commands.
2002-12-07 00:02:12 +00:00
Pavel Roskin
51c6751434
Comment fix - explain trailing colon.
2002-12-04 06:25:16 +00:00
Pavel Roskin
30503bef51
* extfs/Makefile.am: Add uzip to EXTFS_OUT.
2002-12-01 20:25:54 +00:00
Pavel Roskin
e06b8d8704
Add uzip.
2002-11-28 23:39:50 +00:00
Pavel Roskin
62f3f2d97d
* acinclude.m4 (MC_EXTFS_CHECKS): New macro.
...
(MC_WITH_VFS): Call MC_EXTFS_CHECKS.
* configure.in: Generate vfs/extfs/uzip.
* vfs/extfs/uzip: Move to vfs/extfs/uzip.in.
* vfs/extfs/Makefile.am: Corresponding adjustments.
2002-11-28 22:59:43 +00:00
Pavel Roskin
5dbffb96c2
* vfs/extfs/a: Set environment to force date and time format
...
suitable for VFS. Fix support for long filenames with spaces.
2002-11-08 18:06:14 +00:00
Pavel Roskin
748e028d05
* */Makefile.am: Replace mclibdir with pkgdatadir to use "share"
...
directory for architecture-independent files.
2002-09-21 23:49:52 +00:00
Pavel Roskin
7744a57826
* extfs/urar.in: Use rar if unrar is missing.
...
From PLD Linux Distribution.
2002-08-26 04:44:20 +00:00
Pavel Roskin
44197c130d
* extfs/a: Use more portable way to redirect all output to
...
/dev/null. From PLD Linux Distribution.
2002-08-26 04:04:28 +00:00
Pavel Machek
8f36c663ad
Fix few typos.
2002-08-25 19:45:16 +00:00
Pavel Roskin
5d6b103e96
* vfs/extfs/ftplist.in: Remove support for running commands, it
...
makes no sence.
2002-08-18 22:40:36 +00:00
Pavel Roskin
1908a816e5
* extfs/trpm: update to work with rpm 4.x.
...
Reported by m.lusini@palazzochigi.it
https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=62306
2002-04-12 16:27:59 +00:00
Pavel Roskin
eb18605ecc
* Makefile.am: Don't compile mcserv if VFS is disabled.
...
* extfs/Makefile.am: Don't install anything if VFS is disabled.
2002-02-20 03:07:42 +00:00
Pavel Roskin
ceef847ec4
* extfs/lslR.in: Fix parsing of old entries (with year number).
...
From Daniel Skarda <0rfelyus@atrey.karlin.mff.cuni.cz>
2002-02-12 17:47:27 +00:00
Pavel Roskin
15e0ddd98c
* extfs/uzip: Fix unsafe printf.
...
Reported by Jari Karppinen <jakarppi@mail.student.oulu.fi>
2002-01-22 22:23:49 +00:00
Pavel Roskin
d588d57360
* extfs/ulha.in: Support for "[unknown]" and other permissions
...
in brackets. Pass the date unchanged - mc can now deal with it.
Use "lha lq" to list the archive and don't remove headers and
footers of the listing.
2001-12-18 22:55:21 +00:00
Pavel Roskin
f3e22063e1
* extfs/uzip: Update to version 1.4.0.
...
* extfs/README.uzip: Likewise.
2001-08-07 20:02:05 +00:00
Pavel Roskin
e1d5a8250d
* extfs/mailfs: Strip trailing DOS newlines from mail files.
...
From Christian Gennerat <christian.gennerat@vz.cit.alcatel.fr>
2001-07-09 20:07:43 +00:00
Pavel Roskin
d2026648fe
* extfs/rpm (mcrpmfs_list): Use cpio for the listing since the
...
rpm output varies between versions.
(mcrpmfs_copyout): Fix processing of CONTENTS.cpio. Match
filenames beginning with "./" - they are used in the version 4
packages.
2001-04-19 20:51:41 +00:00