summaryrefslogtreecommitdiffstats
path: root/base/mc
diff options
context:
space:
mode:
authortnut <thierryn1 at hispeed dot ch>2010-06-20 16:19:38 +0200
committertnut <thierryn1 at hispeed dot ch>2010-06-20 16:19:38 +0200
commit0507f303d2ac418aefffa22b1e6a03a94e53b4ab (patch)
treeafa74095c4a3bca309d53c1e49eb002dbfcb8180 /base/mc
parentee094d58bf45fa3ac419bdd957a203b0303fad1f (diff)
downloadnutyx-pakxe-0507f303d2ac418aefffa22b1e6a03a94e53b4ab.tar.gz
nutyx-pakxe-0507f303d2ac418aefffa22b1e6a03a94e53b4ab.tar.bz2
nutyx-pakxe-0507f303d2ac418aefffa22b1e6a03a94e53b4ab.tar.xz
nutyx-pakxe-0507f303d2ac418aefffa22b1e6a03a94e53b4ab.zip
mc dans base
Diffstat (limited to 'base/mc')
-rw-r--r--base/mc/.footprint189
-rw-r--r--base/mc/.md5sum1
-rwxr-xr-xbase/mc/Pkgfile39
-rw-r--r--base/mc/mc-4.7.0.2_hotlist_syntax.patch42
4 files changed, 271 insertions, 0 deletions
diff --git a/base/mc/.footprint b/base/mc/.footprint
new file mode 100644
index 000000000..bd02f1046
--- /dev/null
+++ b/base/mc/.footprint
@@ -0,0 +1,189 @@
+drwxr-xr-x root/root etc/
+drwxr-xr-x root/root etc/mc/
+-rw-r--r-- root/root etc/mc/Syntax
+-rw-r--r-- root/root etc/mc/cedit.menu
+-rw-r--r-- root/root etc/mc/edit.indent.rc
+-rw-r--r-- root/root etc/mc/edit.spell.rc
+-rw-r--r-- root/root etc/mc/filehighlight.ini
+-rw-r--r-- root/root etc/mc/mc.charsets
+-rw-r--r-- root/root etc/mc/mc.ext
+-rw-r--r-- root/root etc/mc/mc.keymap
+-rw-r--r-- root/root etc/mc/mc.keymap.default
+-rw-r--r-- root/root etc/mc/mc.keymap.emacs
+-rw-r--r-- root/root etc/mc/mc.lib
+-rw-r--r-- root/root etc/mc/mc.menu
+-rw-r--r-- root/root etc/mc/mc.menu.sr
+-rw-r--r-- root/root etc/mc/sfs.ini
+drwxr-xr-x root/root usr/
+drwxr-xr-x root/root usr/bin/
+-rwxr-xr-x root/root usr/bin/mc
+lrwxrwxrwx root/root usr/bin/mcdiff -> mc
+lrwxrwxrwx root/root usr/bin/mcedit -> mc
+-rwxr-xr-x root/root usr/bin/mcmfmt
+lrwxrwxrwx root/root usr/bin/mcview -> 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/extfs.d/
+-rw-r--r-- root/root usr/lib/mc/extfs.d/README
+-rw-r--r-- root/root usr/lib/mc/extfs.d/README.extfs
+-rwxr-xr-x root/root usr/lib/mc/extfs.d/a+
+-rwxr-xr-x root/root usr/lib/mc/extfs.d/apt+
+-rwxr-xr-x root/root usr/lib/mc/extfs.d/audio
+-rwxr-xr-x root/root usr/lib/mc/extfs.d/bpp
+-rwxr-xr-x root/root usr/lib/mc/extfs.d/deb
+-rwxr-xr-x root/root usr/lib/mc/extfs.d/deba
+-rwxr-xr-x root/root usr/lib/mc/extfs.d/debd
+-rwxr-xr-x root/root usr/lib/mc/extfs.d/dpkg+
+-rwxr-xr-x root/root usr/lib/mc/extfs.d/hp48+
+-rwxr-xr-x root/root usr/lib/mc/extfs.d/iso9660
+-rwxr-xr-x root/root usr/lib/mc/extfs.d/lslR
+-rwxr-xr-x root/root usr/lib/mc/extfs.d/mailfs
+-rwxr-xr-x root/root usr/lib/mc/extfs.d/patchfs
+-rwxr-xr-x root/root usr/lib/mc/extfs.d/rpm
+-rwxr-xr-x root/root usr/lib/mc/extfs.d/rpms+
+-rwxr-xr-x root/root usr/lib/mc/extfs.d/s3+
+-rwxr-xr-x root/root usr/lib/mc/extfs.d/trpm
+-rwxr-xr-x root/root usr/lib/mc/extfs.d/uace
+-rwxr-xr-x root/root usr/lib/mc/extfs.d/ualz
+-rwxr-xr-x root/root usr/lib/mc/extfs.d/uar
+-rwxr-xr-x root/root usr/lib/mc/extfs.d/uarc
+-rwxr-xr-x root/root usr/lib/mc/extfs.d/uarj
+-rwxr-xr-x root/root usr/lib/mc/extfs.d/uc1541
+-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/urar
+-rwxr-xr-x root/root usr/lib/mc/extfs.d/uzip
+-rwxr-xr-x root/root usr/lib/mc/extfs.d/uzoo
+-rwxr-xr-x root/root usr/lib/mc/mc-wrapper.csh
+-rwxr-xr-x root/root usr/lib/mc/mc-wrapper.sh
+-rwxr-xr-x root/root usr/lib/mc/mc.csh
+-rwxr-xr-x root/root usr/lib/mc/mc.sh
+drwxr-xr-x root/root usr/sbin/
+drwxr-xr-x root/root usr/share/
+drwxr-xr-x root/root usr/share/locale/
+drwxr-xr-x root/root usr/share/locale/fr/
+drwxr-xr-x root/root usr/share/locale/fr/LC_MESSAGES/
+-rw-r--r-- root/root usr/share/locale/fr/LC_MESSAGES/mc.mo
+drwxr-xr-x root/root usr/share/man/
+drwxr-xr-x root/root usr/share/man/es/
+drwxr-xr-x root/root usr/share/man/es/man1/
+-rw-r--r-- root/root usr/share/man/es/man1/mc.1.gz
+drwxr-xr-x root/root usr/share/man/hu/
+drwxr-xr-x root/root usr/share/man/hu/man1/
+-rw-r--r-- root/root usr/share/man/hu/man1/mc.1.gz
+drwxr-xr-x root/root usr/share/man/it/
+drwxr-xr-x root/root usr/share/man/it/man1/
+-rw-r--r-- root/root usr/share/man/it/man1/mc.1.gz
+drwxr-xr-x root/root usr/share/man/man1/
+-rw-r--r-- root/root usr/share/man/man1/mc.1.gz
+-rw-r--r-- root/root usr/share/man/man1/mcedit.1.gz
+-rw-r--r-- root/root usr/share/man/man1/mcview.1.gz
+drwxr-xr-x root/root usr/share/man/man8/
+drwxr-xr-x root/root usr/share/man/pl/
+drwxr-xr-x root/root usr/share/man/pl/man1/
+-rw-r--r-- root/root usr/share/man/pl/man1/mc.1.gz
+drwxr-xr-x root/root usr/share/man/ru/
+drwxr-xr-x root/root usr/share/man/ru/man1/
+-rw-r--r-- root/root usr/share/man/ru/man1/mc.1.gz
+drwxr-xr-x root/root usr/share/man/sr/
+drwxr-xr-x root/root usr/share/man/sr/man1/
+-rw-r--r-- root/root usr/share/man/sr/man1/mc.1.gz
+drwxr-xr-x root/root usr/share/man/sr/man8/
+drwxr-xr-x root/root usr/share/mc/
+-rw-r--r-- root/root usr/share/mc/mc.hint
+-rw-r--r-- root/root usr/share/mc/mc.hint.cs
+-rw-r--r-- root/root usr/share/mc/mc.hint.es
+-rw-r--r-- root/root usr/share/mc/mc.hint.hu
+-rw-r--r-- root/root usr/share/mc/mc.hint.it
+-rw-r--r-- root/root usr/share/mc/mc.hint.nl
+-rw-r--r-- root/root usr/share/mc/mc.hint.pl
+-rw-r--r-- root/root usr/share/mc/mc.hint.ru
+-rw-r--r-- root/root usr/share/mc/mc.hint.sr
+-rw-r--r-- root/root usr/share/mc/mc.hint.uk
+-rw-r--r-- root/root usr/share/mc/mc.hint.zh
+-rw-r--r-- root/root usr/share/mc/mc.hlp
+-rw-r--r-- root/root usr/share/mc/mc.hlp.es
+-rw-r--r-- root/root usr/share/mc/mc.hlp.hu
+-rw-r--r-- root/root usr/share/mc/mc.hlp.it
+-rw-r--r-- root/root usr/share/mc/mc.hlp.pl
+-rw-r--r-- root/root usr/share/mc/mc.hlp.ru
+-rw-r--r-- root/root usr/share/mc/mc.hlp.sr
+drwxr-xr-x root/root usr/share/mc/skins/
+-rw-r--r-- root/root usr/share/mc/skins/darkfar.ini
+-rw-r--r-- root/root usr/share/mc/skins/default.ini
+-rw-r--r-- root/root usr/share/mc/skins/double-lines.ini
+-rw-r--r-- root/root usr/share/mc/skins/featured.ini
+-rw-r--r-- root/root usr/share/mc/skins/gotar.ini
+-rw-r--r-- root/root usr/share/mc/skins/nicedark.ini
+drwxr-xr-x root/root usr/share/mc/syntax/
+-rw-r--r-- root/root usr/share/mc/syntax/PKGBUILD.syntax
+-rw-r--r-- root/root usr/share/mc/syntax/ada95.syntax
+-rw-r--r-- root/root usr/share/mc/syntax/aspx.syntax
+-rw-r--r-- root/root usr/share/mc/syntax/assembler.syntax
+-rw-r--r-- root/root usr/share/mc/syntax/awk.syntax
+-rw-r--r-- root/root usr/share/mc/syntax/c.syntax
+-rw-r--r-- root/root usr/share/mc/syntax/cabal.syntax
+-rw-r--r-- root/root usr/share/mc/syntax/changelog.syntax
+-rw-r--r-- root/root usr/share/mc/syntax/cs.syntax
+-rw-r--r-- root/root usr/share/mc/syntax/css.syntax
+-rw-r--r-- root/root usr/share/mc/syntax/cxx.syntax
+-rw-r--r-- root/root usr/share/mc/syntax/d.syntax
+-rw-r--r-- root/root usr/share/mc/syntax/debian-changelog.syntax
+-rw-r--r-- root/root usr/share/mc/syntax/debian-control.syntax
+-rw-r--r-- root/root usr/share/mc/syntax/debian-description.syntax
+-rw-r--r-- root/root usr/share/mc/syntax/debian-sources-list.syntax
+-rw-r--r-- root/root usr/share/mc/syntax/diff.syntax
+-rw-r--r-- root/root usr/share/mc/syntax/dos.syntax
+-rw-r--r-- root/root usr/share/mc/syntax/ebuild.syntax
+-rw-r--r-- root/root usr/share/mc/syntax/eiffel.syntax
+-rw-r--r-- root/root usr/share/mc/syntax/erlang.syntax
+-rw-r--r-- root/root usr/share/mc/syntax/f90.syntax
+-rw-r--r-- root/root usr/share/mc/syntax/filehighlight.syntax
+-rw-r--r-- root/root usr/share/mc/syntax/fortran.syntax
+-rw-r--r-- root/root usr/share/mc/syntax/haskell.syntax
+-rw-r--r-- root/root usr/share/mc/syntax/html.syntax
+-rw-r--r-- root/root usr/share/mc/syntax/idl.syntax
+-rw-r--r-- root/root usr/share/mc/syntax/ini.syntax
+-rw-r--r-- root/root usr/share/mc/syntax/j.syntax
+-rw-r--r-- root/root usr/share/mc/syntax/java.syntax
+-rw-r--r-- root/root usr/share/mc/syntax/js.syntax
+-rw-r--r-- root/root usr/share/mc/syntax/latex.syntax
+-rw-r--r-- root/root usr/share/mc/syntax/lisp.syntax
+-rw-r--r-- root/root usr/share/mc/syntax/lsm.syntax
+-rw-r--r-- root/root usr/share/mc/syntax/lua.syntax
+-rw-r--r-- root/root usr/share/mc/syntax/m4.syntax
+-rw-r--r-- root/root usr/share/mc/syntax/mail.syntax
+-rw-r--r-- root/root usr/share/mc/syntax/makefile.syntax
+-rw-r--r-- root/root usr/share/mc/syntax/ml.syntax
+-rw-r--r-- root/root usr/share/mc/syntax/named.syntax
+-rw-r--r-- root/root usr/share/mc/syntax/nemerle.syntax
+-rw-r--r-- root/root usr/share/mc/syntax/nroff.syntax
+-rw-r--r-- root/root usr/share/mc/syntax/octave.syntax
+-rw-r--r-- root/root usr/share/mc/syntax/pascal.syntax
+-rw-r--r-- root/root usr/share/mc/syntax/perl.syntax
+-rw-r--r-- root/root usr/share/mc/syntax/php.syntax
+-rw-r--r-- root/root usr/share/mc/syntax/po.syntax
+-rw-r--r-- root/root usr/share/mc/syntax/povray.syntax
+-rw-r--r-- root/root usr/share/mc/syntax/procmail.syntax
+-rw-r--r-- root/root usr/share/mc/syntax/properties.syntax
+-rw-r--r-- root/root usr/share/mc/syntax/python.syntax
+-rw-r--r-- root/root usr/share/mc/syntax/ruby.syntax
+-rw-r--r-- root/root usr/share/mc/syntax/sh.syntax
+-rw-r--r-- root/root usr/share/mc/syntax/slang.syntax
+-rw-r--r-- root/root usr/share/mc/syntax/smalltalk.syntax
+-rw-r--r-- root/root usr/share/mc/syntax/spec.syntax
+-rw-r--r-- root/root usr/share/mc/syntax/sql.syntax
+-rw-r--r-- root/root usr/share/mc/syntax/strace.syntax
+-rw-r--r-- root/root usr/share/mc/syntax/swig.syntax
+-rw-r--r-- root/root usr/share/mc/syntax/syntax.syntax
+-rw-r--r-- root/root usr/share/mc/syntax/tcl.syntax
+-rw-r--r-- root/root usr/share/mc/syntax/texinfo.syntax
+-rw-r--r-- root/root usr/share/mc/syntax/tt.syntax
+-rw-r--r-- root/root usr/share/mc/syntax/unknown.syntax
+-rw-r--r-- root/root usr/share/mc/syntax/verilog.syntax
+-rw-r--r-- root/root usr/share/mc/syntax/vhdl.syntax
+-rw-r--r-- root/root usr/share/mc/syntax/xml.syntax
+-rw-r--r-- root/root usr/share/mc/syntax/yum-repo.syntax
+-rw-r--r-- root/root usr/share/mc/syntax/yxx.syntax
diff --git a/base/mc/.md5sum b/base/mc/.md5sum
new file mode 100644
index 000000000..3fa378b4f
--- /dev/null
+++ b/base/mc/.md5sum
@@ -0,0 +1 @@
+82d0f923f686e462eeb739760f8c45bd mc-4.7.2.tar.bz2
diff --git a/base/mc/Pkgfile b/base/mc/Pkgfile
new file mode 100755
index 000000000..fa7abd998
--- /dev/null
+++ b/base/mc/Pkgfile
@@ -0,0 +1,39 @@
+# Description: Gestionnaire de fichiers en ligne de commande comme Norton commander
+# URL: http://www.ibiblio.org/mc/
+# Maintainer: NuTyX coreteam
+# Packager: thierryn1 at hispeed dot ch
+# Depends on: p7zip, e2fsprogs, pcre, gpm, slang, glib
+
+name=mc
+version=4.7.2
+release=1
+source=(http://www.midnight-commander.org/downloads/$name-$version.tar.bz2)
+
+build() {
+ cd $name-$version
+ ./configure \
+ --prefix=/usr \
+ --sysconfdir=/etc \
+ --mandir=/usr/share/man \
+ --enable-background \
+ --enable-charset \
+ --enable-largefile \
+ --with-edit \
+ --with-gpm-mouse \
+ --with-mmap \
+ --with-samba \
+ --with-screen=slang \
+ --with-subshell \
+ --with-vfs \
+ --with-x \
+ --without-debug \
+ --without-gnome \
+ --without-included-gettext \
+ --libexecdir=/usr/lib
+
+ make
+ make DESTDIR=$PKG install
+ sed -i 's|op_has_zipinfo = 0|op_has_zipinfo = 1|' \
+ $PKG/usr/lib/mc/extfs.d/uzip
+ rm $PKG/usr/lib/mc/extfs.d/u7z
+}
diff --git a/base/mc/mc-4.7.0.2_hotlist_syntax.patch b/base/mc/mc-4.7.0.2_hotlist_syntax.patch
new file mode 100644
index 000000000..2dc115ec2
--- /dev/null
+++ b/base/mc/mc-4.7.0.2_hotlist_syntax.patch
@@ -0,0 +1,42 @@
+--- /lib/tty/tty-internal.h
++++ /lib/tty/tty-internal.h
+@@ -8,4 +8,15 @@
+
+ #include "lib/global.h" /* include <glib.h> */
++
++/* Taken from S-Lang's slutty.c */
++#ifdef ultrix /* Ultrix gets _POSIX_VDISABLE wrong! */
++# define NULL_VALUE -1
++#else
++# ifdef _POSIX_VDISABLE
++# define NULL_VALUE _POSIX_VDISABLE
++# else
++# define NULL_VALUE 255
++# endif
++#endif
+
+ /* If true lines are shown by spaces */
+--- /lib/tty/tty-ncurses.c
++++ /lib/tty/tty-ncurses.c
+@@ -63,4 +63,5 @@
+
+ /*** file scope macro definitions **************************************/
++
+ #if defined(_AIX) && !defined(CTRL)
+ # define CTRL(x) ((x) & 0x1f)
+@@ -159,4 +160,6 @@
+ /* use Ctrl-g to generate SIGINT */
+ cur_term->Nttyb.c_cc[VINTR] = CTRL ('g'); /* ^g */
++ /* disable SIGQUIT to allow use Ctrl-\ key */
++ cur_term->Nttyb.c_cc[VQUIT] = NULL_VALUE;
+ tcsetattr (cur_term->Filedes, TCSANOW, &cur_term->Nttyb);
+
+--- /misc/syntax/Syntax
++++ /misc/syntax/Syntax
+@@ -140,5 +140,5 @@
+ include spec.syntax
+
+-file ..\*\\.repo$ YUM\sRepo File
++file ..\*\\.repo$ YUM\sRepo\sFile
+ include yum-repo.syntax
+