diff options
Diffstat (limited to 'misc/mc')
-rw-r--r-- | misc/mc/Makefile | 24 | ||||
-rw-r--r-- | misc/mc/files/md5 | 1 | ||||
-rw-r--r-- | misc/mc/patches/patch-aa | 148 | ||||
-rw-r--r-- | misc/mc/patches/patch-ab | 51 | ||||
-rw-r--r-- | misc/mc/patches/patch-ac | 29 | ||||
-rw-r--r-- | misc/mc/patches/patch-ad | 380 | ||||
-rw-r--r-- | misc/mc/patches/patch-ae | 13 | ||||
-rw-r--r-- | misc/mc/patches/patch-af | 19 | ||||
-rw-r--r-- | misc/mc/pkg/COMMENT | 1 | ||||
-rw-r--r-- | misc/mc/pkg/DESCR | 8 | ||||
-rw-r--r-- | misc/mc/pkg/PLIST | 39 |
11 files changed, 713 insertions, 0 deletions
diff --git a/misc/mc/Makefile b/misc/mc/Makefile new file mode 100644 index 00000000000..516031414d3 --- /dev/null +++ b/misc/mc/Makefile @@ -0,0 +1,24 @@ +# New ports collection makefile for: mc +# Version required: 4.0 +# Date created: 15 Jul 1995 +# Whom: torstenb@FreeBSD.ORG +# +# $Id: Makefile,v 1.1.1.1 1997/10/11 21:54:31 hubertf Exp $ +# + +DISTNAME= mc-4.0 +CATEGORIES= misc +MASTER_SITES= ${MASTER_SITE_SUNSITE} +MASTER_SITE_SUBDIR= utils/file/managers/mc + +MAINTAINER= ports@FreeBSD.org + +GNU_CONFIGURE= YES +CONFIGURE_ARGS= --with-ncurses --without-edit --without-subshell +MAN1= mc.1 mcedit.1 +MAN8= mcserv.8 + +post-install: + @ ${RMDIR} ${PREFIX}/lib/mc/icons + +.include <bsd.port.mk> diff --git a/misc/mc/files/md5 b/misc/mc/files/md5 new file mode 100644 index 00000000000..ca1f958db63 --- /dev/null +++ b/misc/mc/files/md5 @@ -0,0 +1 @@ +MD5 (mc-4.0.tar.gz) = 1420c696eeff2678199144e38d0ee0aa diff --git a/misc/mc/patches/patch-aa b/misc/mc/patches/patch-aa new file mode 100644 index 00000000000..418066cc6ad --- /dev/null +++ b/misc/mc/patches/patch-aa @@ -0,0 +1,148 @@ +*** configure.orig Tue Jun 17 09:51:22 1997 +--- configure Fri Jun 20 00:03:50 1997 +*************** if test "x$CCOPTS" = x; then +*** 1382,1388 **** + CCOPTS='-O' + if test x$use_cc_g_flag = xyes; then + if test $cc_uses_g = yes; then +! CCOPTS='-g -O' + fi + fi + fi +--- 1382,1388 ---- + CCOPTS='-O' + if test x$use_cc_g_flag = xyes; then + if test $cc_uses_g = yes; then +! CCOPTS='-O2 -m486 -pipe' + fi + fi + fi +*************** ac_configure=$ac_aux_dir/configure # Thi +*** 1437,1442 **** +--- 1437,1443 ---- + # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" + # ./install, which can be erroneously created by make from ./install.sh. + echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6 ++ INSTALL="/usr/bin/install -c" + if test -z "$INSTALL"; then + if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 +*************** if test "${with_ncurses+set}" = set; the +*** 5411,5417 **** + then + search_ncurses=true + else +! LIBS="$LIBS -L$withval/lib -lncurses" + CPPFLAGS="$CPPFLAGS -I$withval/include" + search_ncurses=false + screen_manager="ncurses" +--- 5412,5418 ---- + then + search_ncurses=true + else +! LIBS="$LIBS -L$withval/lib -lncurses -lmytinfo" + CPPFLAGS="$CPPFLAGS -I$withval/include" + search_ncurses=false + screen_manager="ncurses" +*************** then +*** 6372,6378 **** + if test -f /usr/include/ncurses.h + then + echo "$ac_t""Found ncurses on /usr/include/ncurses.h" 1>&6 +! LIBS="$LIBS -lncurses" + CPPFLAGS="$CPPFLAGS " + search_ncurses=false + screen_manager="ncurses on /usr/include" +--- 6373,6379 ---- + if test -f /usr/include/ncurses.h + then + echo "$ac_t""Found ncurses on /usr/include/ncurses.h" 1>&6 +! LIBS="$LIBS -lncurses -lmytinfo" + CPPFLAGS="$CPPFLAGS " + search_ncurses=false + screen_manager="ncurses on /usr/include" +*************** EOF +*** 6389,6395 **** + if test -f /usr/include/ncurses/ncurses.h + then + echo "$ac_t""Found ncurses on /usr/include/ncurses/ncurses.h" 1>&6 +! LIBS="$LIBS -lncurses" + CPPFLAGS="$CPPFLAGS -I/usr/include/ncurses" + search_ncurses=false + screen_manager="ncurses on /usr/include/ncurses" +--- 6390,6396 ---- + if test -f /usr/include/ncurses/ncurses.h + then + echo "$ac_t""Found ncurses on /usr/include/ncurses/ncurses.h" 1>&6 +! LIBS="$LIBS -lncurses -lmytinfo" + CPPFLAGS="$CPPFLAGS -I/usr/include/ncurses" + search_ncurses=false + screen_manager="ncurses on /usr/include/ncurses" +*************** EOF +*** 6406,6412 **** + if test -f /usr/local/include/ncurses.h + then + echo "$ac_t""Found ncurses on /usr/local/include/ncurses.h" 1>&6 +! LIBS="$LIBS -lncurses -L/usr/local/lib" + CPPFLAGS="$CPPFLAGS -I/usr/local/include" + search_ncurses=false + screen_manager="ncurses on /usr/local" +--- 6407,6413 ---- + if test -f /usr/local/include/ncurses.h + then + echo "$ac_t""Found ncurses on /usr/local/include/ncurses.h" 1>&6 +! LIBS="$LIBS -lncurses -lmytinfo -L/usr/local/lib" + CPPFLAGS="$CPPFLAGS -I/usr/local/include" + search_ncurses=false + screen_manager="ncurses on /usr/local" +*************** EOF +*** 6423,6429 **** + if test -f /usr/local/include/ncurses/ncurses.h + then + echo "$ac_t""Found ncurses on /usr/local/include/ncurses/ncurses.h" 1>&6 +! LIBS="$LIBS -lncurses -L/usr/local/lib -L/usr/local/lib/ncurses" + CPPFLAGS="$CPPFLAGS -I/usr/local/include/ncurses" + search_ncurses=false + screen_manager="ncurses on /usr/local/include/ncurses" +--- 6424,6430 ---- + if test -f /usr/local/include/ncurses/ncurses.h + then + echo "$ac_t""Found ncurses on /usr/local/include/ncurses/ncurses.h" 1>&6 +! LIBS="$LIBS -lncurses -lmytinfo -L/usr/local/lib -L/usr/local/lib/ncurses" + CPPFLAGS="$CPPFLAGS -I/usr/local/include/ncurses" + search_ncurses=false + screen_manager="ncurses on /usr/local/include/ncurses" +*************** EOF +*** 6441,6447 **** + if test -f /usr/local/include/ncurses/curses.h + then + echo "$ac_t""Found ncurses on /usr/local/include/ncurses/curses.h" 1>&6 +! LIBS="$LIBS -lncurses -L/usr/local/lib" + CPPFLAGS="$CPPFLAGS -I/usr/local/include/ncurses -DRENAMED_NCURSES" + search_ncurses=false + screen_manager="renamed ncurses on /usr/local/.../ncurses" +--- 6442,6448 ---- + if test -f /usr/local/include/ncurses/curses.h + then + echo "$ac_t""Found ncurses on /usr/local/include/ncurses/curses.h" 1>&6 +! LIBS="$LIBS -lncurses -lmytinfo -L/usr/local/lib" + CPPFLAGS="$CPPFLAGS -I/usr/local/include/ncurses -DRENAMED_NCURSES" + search_ncurses=false + screen_manager="renamed ncurses on /usr/local/.../ncurses" +*************** EOF +*** 6459,6465 **** + if test -f /usr/include/ncurses/curses.h + then + echo "$ac_t""Found ncurses on /usr/include/ncurses/curses.h" 1>&6 +! LIBS="$LIBS -lncurses" + CPPFLAGS="$CPPFLAGS -I/usr/include/ncurses -DRENAMED_NCURSES" + search_ncurses=false + screen_manager="renamed ncurses on /usr/include/ncurses" +--- 6460,6466 ---- + if test -f /usr/include/ncurses/curses.h + then + echo "$ac_t""Found ncurses on /usr/include/ncurses/curses.h" 1>&6 +! LIBS="$LIBS -lncurses -lmytinfo" + CPPFLAGS="$CPPFLAGS -I/usr/include/ncurses -DRENAMED_NCURSES" + search_ncurses=false + screen_manager="renamed ncurses on /usr/include/ncurses" diff --git a/misc/mc/patches/patch-ab b/misc/mc/patches/patch-ab new file mode 100644 index 00000000000..a34ba1805cb --- /dev/null +++ b/misc/mc/patches/patch-ab @@ -0,0 +1,51 @@ +*** vfs/Makefile.in.orig Tue Jun 17 09:51:24 1997 +--- vfs/Makefile.in Fri Jun 20 00:17:24 1997 +*************** distclean: +*** 91,113 **** + + install: mcserv install.extfs + if test x@mcserv@ != x; then \ +! $(INSTALL_PROGRAM) mcserv $(DESTDIR)$(bindir)/$(binprefix)mcserv; \ + fi + + install.extfs: + $(INSTALL_DATA) $(srcdir)/extfs/README $(DESTDIR)$(libdir)/extfs/README + $(INSTALL_DATA) $(srcdir)/extfs/extfs.ini $(DESTDIR)$(libdir)/extfs/extfs.ini + +! $(INSTALL_PROGRAM) extfs/a $(DESTDIR)$(libdir)/extfs/a +! $(INSTALL_PROGRAM) extfs/cpio $(DESTDIR)$(libdir)/extfs/cpio +! $(INSTALL_PROGRAM) extfs/deb $(DESTDIR)$(libdir)/extfs/deb +! $(INSTALL_PROGRAM) extfs/ftplist $(DESTDIR)$(libdir)/extfs/ftplist +! $(INSTALL_PROGRAM) extfs/lslR $(DESTDIR)$(libdir)/extfs/lslR +! $(INSTALL_PROGRAM) extfs/lha $(DESTDIR)$(libdir)/extfs/lha +! $(INSTALL_PROGRAM) extfs/rpm $(DESTDIR)$(libdir)/extfs/rpm +! $(INSTALL_PROGRAM) extfs/rar $(DESTDIR)$(libdir)/extfs/rar +! $(INSTALL_PROGRAM) extfs/zip $(DESTDIR)$(libdir)/extfs/zip +! $(INSTALL_PROGRAM) extfs/zoo $(DESTDIR)$(libdir)/extfs/zoo + + uninstall: + -$(RMF) $(DESTDIR)$(libdir)/extfs/rpm +--- 91,113 ---- + + install: mcserv install.extfs + if test x@mcserv@ != x; then \ +! $(INSTALL_PROGRAM) mcserv $(DESTDIR)$(sbindir)/$(binprefix)mcserv; \ + fi + + install.extfs: + $(INSTALL_DATA) $(srcdir)/extfs/README $(DESTDIR)$(libdir)/extfs/README + $(INSTALL_DATA) $(srcdir)/extfs/extfs.ini $(DESTDIR)$(libdir)/extfs/extfs.ini + +! $(INSTALL_DATA) extfs/a $(DESTDIR)$(libdir)/extfs/a +! $(INSTALL_DATA) extfs/cpio $(DESTDIR)$(libdir)/extfs/cpio +! $(INSTALL_DATA) extfs/deb $(DESTDIR)$(libdir)/extfs/deb +! $(INSTALL_DATA) extfs/ftplist $(DESTDIR)$(libdir)/extfs/ftplist +! $(INSTALL_DATA) extfs/lslR $(DESTDIR)$(libdir)/extfs/lslR +! $(INSTALL_DATA) extfs/lha $(DESTDIR)$(libdir)/extfs/lha +! $(INSTALL_DATA) extfs/rpm $(DESTDIR)$(libdir)/extfs/rpm +! $(INSTALL_DATA) extfs/rar $(DESTDIR)$(libdir)/extfs/rar +! $(INSTALL_DATA) extfs/zip $(DESTDIR)$(libdir)/extfs/zip +! $(INSTALL_DATA) extfs/zoo $(DESTDIR)$(libdir)/extfs/zoo + + uninstall: + -$(RMF) $(DESTDIR)$(libdir)/extfs/rpm diff --git a/misc/mc/patches/patch-ac b/misc/mc/patches/patch-ac new file mode 100644 index 00000000000..9d273e374c7 --- /dev/null +++ b/misc/mc/patches/patch-ac @@ -0,0 +1,29 @@ +*** Make.common.in.orig Thu Jun 19 23:14:51 1997 +--- Make.common.in Thu Jun 19 23:16:28 1997 +*************** exec_prefix = $(prefix) +*** 14,19 **** +--- 14,20 ---- + binprefix = + manprefix = + bindir = $(exec_prefix)/bin ++ sbindir = $(exec_prefix)/sbin + libdir = $(exec_prefix)/lib/mc + suppbindir = $(libdir)/bin + tidir = $(libdir)/term +*************** AWK = @AWK@ +*** 45,51 **** + # No way, to make make happy (except GNU), we cannot use := to append + # something to these, so that's why there is a leading _ + XCFLAGS = @CFLAGS@ +! XCPPFLAGS = @CPPFLAGS@ -I.. -DBINDIR=\""$(bindir)/"\" -DLIBDIR=\""$(libdir)/"\" -DICONDIR=\""$(icondir)/"\" $(XINC) + XLDFLAGS = @LDFLAGS@ + XDEFS = @DEFS@ + XLIBS = @LIBS@ +--- 46,52 ---- + # No way, to make make happy (except GNU), we cannot use := to append + # something to these, so that's why there is a leading _ + XCFLAGS = @CFLAGS@ +! XCPPFLAGS = @CPPFLAGS@ -I.. -DSBINDIR=\""$(sbindir)/"\" -DBINDIR=\""$(bindir)/"\" -DLIBDIR=\""$(libdir)/"\" -DICONDIR=\""$(icondir)/"\" $(XINC) + XLDFLAGS = @LDFLAGS@ + XDEFS = @DEFS@ + XLIBS = @LIBS@ diff --git a/misc/mc/patches/patch-ad b/misc/mc/patches/patch-ad new file mode 100644 index 00000000000..8766d17d233 --- /dev/null +++ b/misc/mc/patches/patch-ad @@ -0,0 +1,380 @@ +*** vfs/local.c.orig Thu Jun 19 23:25:13 1997 +--- vfs/local.c Thu Jun 19 23:25:53 1997 +*************** +*** 1,7 **** + #include <config.h> + #include <errno.h> + #include <sys/types.h> +! #include <malloc.h> + #include <unistd.h> + #include <stdio.h> + #include <string.h> +--- 1,7 ---- + #include <config.h> + #include <errno.h> + #include <sys/types.h> +! #include <stdlib.h> + #include <unistd.h> + #include <stdio.h> + #include <string.h> +*** vfs/vfs.c.orig Thu Jun 19 23:25:45 1997 +--- vfs/vfs.c Thu Jun 19 23:27:37 1997 +*************** +*** 25,31 **** + #include <string.h> + #include <errno.h> + #include <sys/types.h> +! #include <malloc.h> + #include <fcntl.h> + #include <signal.h> + #ifdef SCO_FLAVOR +--- 25,31 ---- + #include <string.h> + #include <errno.h> + #include <sys/types.h> +! /* #include <malloc.h> */ + #include <fcntl.h> + #include <signal.h> + #ifdef SCO_FLAVOR +*** vfs/tcputil.c.orig Thu Jun 19 23:25:27 1997 +--- vfs/tcputil.c Thu Jun 19 23:26:31 1997 +*************** +*** 28,34 **** + #include <sys/socket.h> + #include <netinet/in.h> + #include <arpa/inet.h> +! #include <malloc.h> + + #ifdef HAVE_PMAP_SET + #include <rpc/rpc.h> +--- 28,34 ---- + #include <sys/socket.h> + #include <netinet/in.h> + #include <arpa/inet.h> +! /* #include <malloc.h> */ + + #ifdef HAVE_PMAP_SET + #include <rpc/rpc.h> +*** vfs/utilvfs.c.orig Thu Jun 19 23:29:28 1997 +--- vfs/utilvfs.c Thu Jun 19 23:27:22 1997 +*************** +*** 32,38 **** + #include <sys/socket.h> + #include <netinet/in.h> + #include <arpa/inet.h> +! #include <malloc.h> + #ifdef USE_TERMNET + #include <termnet.h> + #endif +--- 32,38 ---- + #include <sys/socket.h> + #include <netinet/in.h> + #include <arpa/inet.h> +! /* #include <malloc.h> */ + #ifdef USE_TERMNET + #include <termnet.h> + #endif +*** src/key.c.orig Thu Jun 19 23:31:27 1997 +--- src/key.c Thu Jun 19 23:36:48 1997 +*************** +*** 38,44 **** + #include "tty.h" + #include <ctype.h> + #include <errno.h> +! #include <malloc.h> + #include "util.h" /* For xmalloc prototype */ + #include "mad.h" /* The memory debugger */ + #include "global.h" +--- 38,44 ---- + #include "tty.h" + #include <ctype.h> + #include <errno.h> +! #include <stdlib.h> + #include "util.h" /* For xmalloc prototype */ + #include "mad.h" /* The memory debugger */ + #include "global.h" +*** src/menu.c.orig Thu Jun 19 23:31:33 1997 +--- src/menu.c Thu Jun 19 23:37:01 1997 +*************** +*** 21,27 **** + #include <stdarg.h> + #include <sys/types.h> + #include <ctype.h> +! #include <malloc.h> + #include "mad.h" + #include "util.h" + #include "menu.h" +--- 21,27 ---- + #include <stdarg.h> + #include <sys/types.h> + #include <ctype.h> +! #include <stdlib.h> + #include "mad.h" + #include "util.h" + #include "menu.h" +*** src/file.c.orig Thu Jun 19 23:31:06 1997 +--- src/file.c Thu Jun 19 23:35:43 1997 +*************** +*** 68,74 **** + #include <errno.h> + #include "tty.h" + #include <ctype.h> +! #include <malloc.h> + #include <string.h> + #ifdef HAVE_UNISTD_H + # include <unistd.h> +--- 68,74 ---- + #include <errno.h> + #include "tty.h" + #include <ctype.h> +! #include <stdlib.h> + #include <string.h> + #ifdef HAVE_UNISTD_H + # include <unistd.h> +*** src/help.c.orig Thu Jun 19 23:31:18 1997 +--- src/help.c Thu Jun 19 23:36:21 1997 +*************** +*** 41,47 **** + #include <stdio.h> + #include <sys/types.h> + #include <sys/stat.h> +! #include <malloc.h> + #include <errno.h> + #include "mad.h" + #include "color.h" +--- 41,47 ---- + #include <stdio.h> + #include <sys/types.h> + #include <sys/stat.h> +! #include <stdlib.h> + #include <errno.h> + #include "mad.h" + #include "color.h" +*** src/find.c.orig Thu Jun 19 23:31:11 1997 +--- src/find.c Thu Jun 19 23:36:05 1997 +*************** +*** 27,33 **** + # include <direct.h> + #endif + +! #include <malloc.h> /* For free() */ + #include <sys/types.h> + #ifdef HAVE_UNISTD_H + # include <unistd.h> +--- 27,33 ---- + # include <direct.h> + #endif + +! #include <stdlib.h> /* For free() */ + #include <sys/types.h> + #ifdef HAVE_UNISTD_H + # include <unistd.h> +*** src/view.c.orig Thu Jun 19 23:31:42 1997 +--- src/view.c Thu Jun 19 23:37:30 1997 +*************** +*** 42,48 **** + #include <unistd.h> + #include <ctype.h> /* For toupper() */ + #include <stdlib.h> /* atoi() */ +! #include <malloc.h> + #include <errno.h> + #include <limits.h> + #include <sys/param.h> +--- 42,48 ---- + #include <unistd.h> + #include <ctype.h> /* For toupper() */ + #include <stdlib.h> /* atoi() */ +! /* #include <malloc.h> */ + #include <errno.h> + #include <limits.h> + #include <sys/param.h> +*** src/ext.c.orig Thu Jun 19 23:31:01 1997 +--- src/ext.c Thu Jun 19 23:34:41 1997 +*************** +*** 29,35 **** + #include <unistd.h> + #endif + #include <fcntl.h> +! #include <malloc.h> + #include <string.h> + #include <errno.h> + #include "mad.h" +--- 29,35 ---- + #include <unistd.h> + #endif + #include <fcntl.h> +! #include <stdlib.h> + #include <string.h> + #include <errno.h> + #include "mad.h" +*** src/mouse.c.orig Thu Jun 19 23:31:38 1997 +--- src/mouse.c Thu Jun 19 23:37:14 1997 +*************** +*** 30,36 **** + #if (!defined(__IBMC__) && !defined(__IBMCPP__)) + # include <termios.h> + #endif +! #include <malloc.h> + #include <stdio.h> + + #include "mad.h" +--- 30,36 ---- + #if (!defined(__IBMC__) && !defined(__IBMCPP__)) + # include <termios.h> + #endif +! #include <stdlib.h> + #include <stdio.h> + + #include "mad.h" +*** src/dlg.c.orig Thu Jun 19 23:30:55 1997 +--- src/dlg.c Thu Jun 19 23:34:19 1997 +*************** +*** 20,26 **** + /* "$Id: patch-ad,v 1.1.1.1 1997/10/11 21:54:32 hubertf Exp $" */ + #include <string.h> + #include <stdio.h> +! #include <malloc.h> + #include "tty.h" + #include <stdarg.h> + #include "mad.h" +--- 20,26 ---- + /* "$Id: patch-ad,v 1.1.1.1 1997/10/11 21:54:32 hubertf Exp $" */ + #include <string.h> + #include <stdio.h> +! #include <stdlib.h> + #include "tty.h" + #include <stdarg.h> + #include "mad.h" +*** src/widget.c.orig Thu Jun 19 23:31:50 1997 +--- src/widget.c Thu Jun 19 23:37:42 1997 +*************** +*** 27,33 **** + #include <config.h> + #include <string.h> + #include <stdio.h> +! #include <malloc.h> + #include "tty.h" + #include <ctype.h> + #include "mad.h" +--- 27,33 ---- + #include <config.h> + #include <string.h> + #include <stdio.h> +! #include <stdlib.h> + #include "tty.h" + #include <ctype.h> + #include "mad.h" +*** src/wtools.c.orig Thu Jun 19 23:31:57 1997 +--- src/wtools.c Thu Jun 19 23:37:53 1997 +*************** +*** 34,40 **** + #include <config.h> + #include <string.h> + #include <stdio.h> +! #include <malloc.h> + #include "tty.h" + #include <stdarg.h> + #include "mad.h" +--- 34,40 ---- + #include <config.h> + #include <string.h> + #include <stdio.h> +! #include <stdlib.h> + #include "tty.h" + #include <stdarg.h> + #include "mad.h" +*** src/info.c.orig Thu Jun 19 23:31:21 1997 +--- src/info.c Thu Jun 19 23:36:33 1997 +*************** +*** 21,27 **** + #include <sys/types.h> + #include <sys/stat.h> + #include <sys/param.h> +! #include <malloc.h> + #include "mad.h" + #include "util.h" /* statfs calls */ + #include "mouse.h" /* Gpm_Event */ +--- 21,27 ---- + #include <sys/types.h> + #include <sys/stat.h> + #include <sys/param.h> +! #include <stdlib.h> + #include "mad.h" + #include "util.h" /* statfs calls */ + #include "mouse.h" /* Gpm_Event */ +*** src/boxes.c.orig Thu Jun 19 23:30:20 1997 +--- src/boxes.c Thu Jun 19 23:32:23 1997 +*************** +*** 26,32 **** + #include <sys/types.h> + #include <sys/stat.h> + #include <sys/param.h> +! #include <malloc.h> + #include <signal.h> + #include "global.h" + #include "mad.h" /* The great mad */ +--- 26,32 ---- + #include <sys/types.h> + #include <sys/stat.h> + #include <sys/param.h> +! #include <stdlib.h> + #include <signal.h> + #include "global.h" + #include "mad.h" /* The great mad */ +*** src/complete.c.orig Thu Jun 19 23:30:35 1997 +--- src/complete.c Thu Jun 19 23:33:43 1997 +*************** +*** 24,30 **** + #include <stdio.h> + #include <stdlib.h> + #include <string.h> +! #include <malloc.h> + #ifdef HAVE_UNISTD_H + # include <unistd.h> + #endif +--- 24,30 ---- + #include <stdio.h> + #include <stdlib.h> + #include <string.h> +! /* #include <malloc.h> */ + #ifdef HAVE_UNISTD_H + # include <unistd.h> + #endif +*** src/command.c.orig Thu Jun 19 23:30:26 1997 +--- src/command.c Thu Jun 19 23:33:30 1997 +*************** +*** 25,31 **** + #include <errno.h> + #include "tty.h" + #include "fs.h" +! #include <malloc.h> + #include <string.h> + #include <stdlib.h> + #include "mad.h" +--- 25,31 ---- + #include <errno.h> + #include "tty.h" + #include "fs.h" +! /* #include <malloc.h> */ + #include <string.h> + #include <stdlib.h> + #include "mad.h" +*** src/cmd.c.orig Thu Jun 19 23:32:40 1997 +--- src/cmd.c Thu Jun 19 23:33:08 1997 +*************** +*** 34,40 **** + #include <sys/param.h> + #include <sys/stat.h> + #include <sys/time.h> +! #include <malloc.h> + #include <string.h> + #include <fcntl.h> /* open, O_RDWR */ + #include <errno.h> +--- 34,40 ---- + #include <sys/param.h> + #include <sys/stat.h> + #include <sys/time.h> +! /* #include <malloc.h> */ + #include <string.h> + #include <fcntl.h> /* open, O_RDWR */ + #include <errno.h> diff --git a/misc/mc/patches/patch-ae b/misc/mc/patches/patch-ae new file mode 100644 index 00000000000..7fc6745b7b8 --- /dev/null +++ b/misc/mc/patches/patch-ae @@ -0,0 +1,13 @@ +*** mcfn_install.in.orig Thu Jun 19 23:17:04 1997 +--- mcfn_install.in Thu Jun 19 23:17:12 1997 +*************** +*** 1,4 **** +! #/bin/sh + # + prefix=@prefix@ + if test -n `echo $prefix | grep prefix`; then +--- 1,4 ---- +! #!/bin/sh + # + prefix=@prefix@ + if test -n `echo $prefix | grep prefix`; then diff --git a/misc/mc/patches/patch-af b/misc/mc/patches/patch-af new file mode 100644 index 00000000000..7c077d4fa3b --- /dev/null +++ b/misc/mc/patches/patch-af @@ -0,0 +1,19 @@ +*** Makefile.in.orig Tue Jun 24 01:26:06 1997 +--- Makefile.in Tue Jun 24 01:26:22 1997 +*************** config.h.in: configure.in acconfig.h +*** 38,44 **** + install: installdirs @vcs@ + @for I in $(unixdirs); do cd $$I; $(MAKE) DESTDIR=$(DESTDIR) $@ || exit 1; cd ..; done + $(INSTALL_DATA) $(srcdir)/FAQ $(DESTDIR)$(libdir)/FAQ +! $(INSTALL_PROGRAM) mcfn_install $(DESTDIR)$(suppbindir)/mcfn_install + chmod +x $(DESTDIR)$(suppbindir)/mcfn_install + @echo "Please verify that the configuration values are correctly" + @echo "set in the mc.ext file in $(libdir)" +--- 38,44 ---- + install: installdirs @vcs@ + @for I in $(unixdirs); do cd $$I; $(MAKE) DESTDIR=$(DESTDIR) $@ || exit 1; cd ..; done + $(INSTALL_DATA) $(srcdir)/FAQ $(DESTDIR)$(libdir)/FAQ +! $(INSTALL_DATA) mcfn_install $(DESTDIR)$(suppbindir)/mcfn_install + chmod +x $(DESTDIR)$(suppbindir)/mcfn_install + @echo "Please verify that the configuration values are correctly" + @echo "set in the mc.ext file in $(libdir)" diff --git a/misc/mc/pkg/COMMENT b/misc/mc/pkg/COMMENT new file mode 100644 index 00000000000..49355a57e81 --- /dev/null +++ b/misc/mc/pkg/COMMENT @@ -0,0 +1 @@ +Midnight Commander, a free Norton Commander Clone diff --git a/misc/mc/pkg/DESCR b/misc/mc/pkg/DESCR new file mode 100644 index 00000000000..6145fb52479 --- /dev/null +++ b/misc/mc/pkg/DESCR @@ -0,0 +1,8 @@ +This is version 3.0 of the Midnight Commander, a free Norton Commander +Clone with many useful features. The Midnight Commander comes with +mouse support on xterms. + +The Midnight Commander is a directory browsing tool which bears a +certain remote resemblance to John Socha's Norton Commander for DOS. +The Midnight Commander doesn't have all the bells and whistles of its +DOS counterpart, but was written in much less time. diff --git a/misc/mc/pkg/PLIST b/misc/mc/pkg/PLIST new file mode 100644 index 00000000000..9d48010dd8c --- /dev/null +++ b/misc/mc/pkg/PLIST @@ -0,0 +1,39 @@ +bin/mc +bin/mcmfmt +sbin/mcserv +lib/mc/FAQ +lib/mc/gd.tcl +lib/mc/gui.tcl +lib/mc/mc.ext +lib/mc/mc.hint +lib/mc/mc.hlp +lib/mc/mc.lib +lib/mc/mc.menu +lib/mc/mc.tcl +lib/mc/bin/mcfn_install +lib/mc/extfs/README +lib/mc/extfs/a +lib/mc/extfs/cpio +lib/mc/extfs/deb +lib/mc/extfs/extfs.ini +lib/mc/extfs/ftplist +lib/mc/extfs/lha +lib/mc/extfs/lslR +lib/mc/extfs/rar +lib/mc/extfs/rpm +lib/mc/extfs/zip +lib/mc/extfs/zoo +lib/mc/term/README.xterm +lib/mc/term/ansi.ti +lib/mc/term/linux.ti +lib/mc/term/vt100.ti +lib/mc/term/xterm.ad +lib/mc/term/xterm.tcap +lib/mc/term/xterm.ti +man/man1/mc.1.gz +man/man1/mcedit.1.gz +man/man8/mcserv.8.gz +@dirrm lib/mc/bin +@dirrm lib/mc/extfs +@dirrm lib/mc/term +@dirrm lib/mc |