diff options
author | Juergen Daubert <jue@jue.li> | 2012-07-19 12:13:59 +0200 |
---|---|---|
committer | Juergen Daubert <jue@jue.li> | 2012-07-19 12:13:59 +0200 |
commit | 23b7cde591e6a8a58f269cb4dc16c2dd9647e765 (patch) | |
tree | 87b61c42c3a7a37ff3b3d6f5942f24ba1ebb83b9 /mc | |
parent | 7ce40814017d5e408899ce46fa217c689c6c3230 (diff) | |
download | opt-23b7cde591e6a8a58f269cb4dc16c2dd9647e765.tar.gz opt-23b7cde591e6a8a58f269cb4dc16c2dd9647e765.tar.xz |
mc: update to 4.8.4
Diffstat (limited to 'mc')
-rw-r--r-- | mc/.footprint | 14 | ||||
-rw-r--r-- | mc/.md5sum | 3 | ||||
-rw-r--r-- | mc/Pkgfile | 9 | ||||
-rw-r--r-- | mc/mc-4.8.3-2.patch | 97 |
4 files changed, 16 insertions, 107 deletions
diff --git a/mc/.footprint b/mc/.footprint index 3a57c7899..731210a81 100644 --- a/mc/.footprint +++ b/mc/.footprint @@ -6,8 +6,7 @@ lrwxrwxrwx root/root usr/bin/mcedit -> mc lrwxrwxrwx root/root usr/bin/mcview -> mc drwxr-xr-x root/root usr/etc/ drwxr-xr-x root/root usr/etc/mc/ --rw-r--r-- root/root usr/etc/mc/edit.indent.rc --rw-r--r-- root/root usr/etc/mc/edit.spell.rc +-rwxr-xr-x root/root usr/etc/mc/edit.indent.rc -rw-r--r-- root/root usr/etc/mc/filehighlight.ini -rw-r--r-- root/root usr/etc/mc/mc.ext -rw-r--r-- root/root usr/etc/mc/mc.keymap @@ -20,6 +19,16 @@ drwxr-xr-x root/root usr/etc/mc/ drwxr-xr-x root/root usr/lib/ drwxr-xr-x root/root usr/lib/mc/ -rwxr-xr-x root/root usr/lib/mc/cons.saver +drwxr-xr-x root/root usr/lib/mc/ext.d/ +-rwxr-xr-x root/root usr/lib/mc/ext.d/archive.sh +-rwxr-xr-x root/root usr/lib/mc/ext.d/doc.sh +-rwxr-xr-x root/root usr/lib/mc/ext.d/image.sh +-rwxr-xr-x root/root usr/lib/mc/ext.d/misc.sh +-rwxr-xr-x root/root usr/lib/mc/ext.d/package.sh +-rwxr-xr-x root/root usr/lib/mc/ext.d/sound.sh +-rwxr-xr-x root/root usr/lib/mc/ext.d/text.sh +-rwxr-xr-x root/root usr/lib/mc/ext.d/video.sh +-rwxr-xr-x root/root usr/lib/mc/ext.d/web.sh drwxr-xr-x root/root usr/lib/mc/extfs.d/ -rwxr-xr-x root/root usr/lib/mc/extfs.d/a+ -rwxr-xr-x root/root usr/lib/mc/extfs.d/apt+ @@ -51,6 +60,7 @@ drwxr-xr-x root/root usr/lib/mc/extfs.d/ -rwxr-xr-x root/root usr/lib/mc/extfs.d/ucab -rwxr-xr-x root/root usr/lib/mc/extfs.d/uha -rwxr-xr-x root/root usr/lib/mc/extfs.d/ulha +-rwxr-xr-x root/root usr/lib/mc/extfs.d/ulib -rwxr-xr-x root/root usr/lib/mc/extfs.d/urar -rwxr-xr-x root/root usr/lib/mc/extfs.d/uzip -rwxr-xr-x root/root usr/lib/mc/extfs.d/uzoo diff --git a/mc/.md5sum b/mc/.md5sum index 9e85f6bc5..14c24354c 100644 --- a/mc/.md5sum +++ b/mc/.md5sum @@ -1,2 +1 @@ -df082854ae748c4bf5016b1bbb0af9e2 mc-4.8.3-2.patch -1e29f8d2ce66b686b905857553a092be mc-4.8.3.tar.xz +eef6144d9f0331437e9a51adbb77c757 mc-4.8.4.tar.xz diff --git a/mc/Pkgfile b/mc/Pkgfile index 7f892256b..7f16d1fdb 100644 --- a/mc/Pkgfile +++ b/mc/Pkgfile @@ -4,16 +4,13 @@ # Depends on: ncurses glib name=mc -version=4.8.3 -release=2 -source=(http://www.midnight-commander.org/downloads/$name-$version.tar.xz - $name-$version-$release.patch) +version=4.8.4 +release=1 +source=(http://www.midnight-commander.org/downloads/$name-$version.tar.xz) build () { cd $name-$version - patch -p1 -i $SRC/$name-$version-$release.patch - ./configure --prefix=/usr \ --mandir=/usr/man \ --libexecdir=/usr/lib \ diff --git a/mc/mc-4.8.3-2.patch b/mc/mc-4.8.3-2.patch deleted file mode 100644 index 085b02e04..000000000 --- a/mc/mc-4.8.3-2.patch +++ /dev/null @@ -1,97 +0,0 @@ -commit 8607bcc103ce2f9449b6b9736a9709cdb62a7178 -Author: Andrew Borodin <aborodin@vmail.ru> -Date: Mon Apr 23 20:46:49 2012 +0400 - - Ticket #2785: error message when entering into compressed tar and cpio archives. - - Signed-off-by: Andrew Borodin <aborodin@vmail.ru> - -diff --git a/src/vfs/cpio/cpio.c b/src/vfs/cpio/cpio.c -index cf43749..a76d376 100644 ---- a/src/vfs/cpio/cpio.c -+++ b/src/vfs/cpio/cpio.c -@@ -249,7 +249,7 @@ cpio_open_cpio_file (struct vfs_class *me, struct vfs_s_super *super, const vfs_ - - mc_close (fd); - s = g_strconcat (super->name, decompress_extension (type), (char *) NULL); -- tmp_vpath = vfs_path_from_str (s); -+ tmp_vpath = vfs_path_from_str_flags (s, VPF_NO_CANON); - fd = mc_open (tmp_vpath, O_RDONLY); - vfs_path_free (tmp_vpath); - if (fd == -1) -diff --git a/src/vfs/tar/tar.c b/src/vfs/tar/tar.c -index 7406dbe..a1164d5 100644 ---- a/src/vfs/tar/tar.c -+++ b/src/vfs/tar/tar.c -@@ -316,7 +316,7 @@ tar_open_archive_int (struct vfs_class *me, const vfs_path_t * vpath, struct vfs - - mc_close (result); - s = g_strconcat (archive->name, decompress_extension (type), (char *) NULL); -- tmp_vpath = vfs_path_from_str (s); -+ tmp_vpath = vfs_path_from_str_flags (s, VPF_NO_CANON); - result = mc_open (tmp_vpath, O_RDONLY); - vfs_path_free (tmp_vpath); - if (result == -1) - - -commit 038b5e7406d177792d3e2cd904f6d32e5f392903 -Author: Andrew Borodin <aborodin@vmail.ru> -Date: Tue Apr 24 20:41:37 2012 +0400 - - Ticket #2787: crash when creating relative symlink. - - Signed-off-by: Andrew Borodin <aborodin@vmail.ru> - -diff --git a/lib/util.c b/lib/util.c -index 2c6011b..490bdfc 100644 ---- a/lib/util.c -+++ b/lib/util.c -@@ -112,14 +112,14 @@ is_8bit_printable (unsigned char c) - static char * - resolve_symlinks (const vfs_path_t *vpath) - { -- char *p; -+ char *p, *p2; - char *buf, *buf2, *q, *r, c; - struct stat mybuf; - - if (vpath->relative) - return NULL; - -- p = vfs_path_to_str (vpath); -+ p = p2 = vfs_path_to_str (vpath); - r = buf = g_malloc (MC_MAXPATHLEN); - buf2 = g_malloc (MC_MAXPATHLEN); - *r++ = PATH_SEP; -@@ -181,7 +181,7 @@ resolve_symlinks (const vfs_path_t *vpath) - - ret: - g_free (buf2); -- g_free (p); -+ g_free (p2); - return buf; - } - - - -commit ac880c71a74c1fc75d7162b2ca3613970479e663 -Author: Andrew Borodin <aborodin@vmail.ru> -Date: Mon Apr 23 09:37:32 2012 +0400 - - Ticket #2784: segfault at chown. - - Signed-off-by: Andrew Borodin <aborodin@vmail.ru> - -diff --git a/src/filemanager/chown.c b/src/filemanager/chown.c -index 77ce0ae..5953023 100644 ---- a/src/filemanager/chown.c -+++ b/src/filemanager/chown.c -@@ -378,7 +378,7 @@ chown_cmd (void) - if (mc_chown (fname_vpath, new_user, new_group) == -1) - message (D_ERROR, MSG_ERROR, _("Cannot chown \"%s\"\n%s"), - fname, unix_error_string (errno)); -- vfs_path_free (vpath); -+ vfs_path_free (fname_vpath); - } - else - apply_chowns (new_user, new_group); |