From f5ee8e2561694e498edddcfba4a7f15ea35e3c17 Mon Sep 17 00:00:00 2001 From: hubertf Date: Sat, 11 Oct 1997 21:53:59 +0000 Subject: Import as of 09/25/97 --- sysutils/amanda/Makefile | 26 +++ sysutils/amanda/files/md5 | 1 + sysutils/amanda/patches/patch-aa | 19 ++ sysutils/amanda/patches/patch-ab | 76 ++++++++ sysutils/amanda/patches/patch-ac | 75 ++++++++ sysutils/amanda/pkg/COMMENT | 1 + sysutils/amanda/pkg/DESCR | 68 +++++++ sysutils/amanda/pkg/PLIST | 31 ++++ sysutils/amanda/scripts/configure | 8 + sysutils/mc/Makefile | 24 +++ sysutils/mc/files/md5 | 1 + sysutils/mc/patches/patch-aa | 148 +++++++++++++++ sysutils/mc/patches/patch-ab | 51 +++++ sysutils/mc/patches/patch-ac | 29 +++ sysutils/mc/patches/patch-ad | 380 ++++++++++++++++++++++++++++++++++++++ sysutils/mc/patches/patch-ae | 13 ++ sysutils/mc/patches/patch-af | 19 ++ sysutils/mc/pkg/COMMENT | 1 + sysutils/mc/pkg/DESCR | 8 + sysutils/mc/pkg/PLIST | 39 ++++ 20 files changed, 1018 insertions(+) create mode 100644 sysutils/amanda/Makefile create mode 100644 sysutils/amanda/files/md5 create mode 100644 sysutils/amanda/patches/patch-aa create mode 100644 sysutils/amanda/patches/patch-ab create mode 100644 sysutils/amanda/patches/patch-ac create mode 100644 sysutils/amanda/pkg/COMMENT create mode 100644 sysutils/amanda/pkg/DESCR create mode 100644 sysutils/amanda/pkg/PLIST create mode 100644 sysutils/amanda/scripts/configure create mode 100644 sysutils/mc/Makefile create mode 100644 sysutils/mc/files/md5 create mode 100644 sysutils/mc/patches/patch-aa create mode 100644 sysutils/mc/patches/patch-ab create mode 100644 sysutils/mc/patches/patch-ac create mode 100644 sysutils/mc/patches/patch-ad create mode 100644 sysutils/mc/patches/patch-ae create mode 100644 sysutils/mc/patches/patch-af create mode 100644 sysutils/mc/pkg/COMMENT create mode 100644 sysutils/mc/pkg/DESCR create mode 100644 sysutils/mc/pkg/PLIST (limited to 'sysutils') diff --git a/sysutils/amanda/Makefile b/sysutils/amanda/Makefile new file mode 100644 index 00000000000..37f86e3f12b --- /dev/null +++ b/sysutils/amanda/Makefile @@ -0,0 +1,26 @@ +# New ports collection makefile for: amanda +# Version required: 2.3.0 +# Date created: 28th Feb 1995 +# Whom: gpalmer +# +# $Id: Makefile,v 1.1.1.1 1997/10/11 21:53:59 hubertf Exp $ +# + +DISTNAME= amanda-2.3.0 +CATEGORIES= misc +MASTER_SITES= ftp://ftp.cs.umd.edu/pub/amanda/ + +MAINTAINER= gpalmer@FreeBSD.ORG + +PATCH_STRIP= +MAN8= amanda.8 amadmin.8 amcheck.8 amcleanup.8 amdump.8 \ + amflush.8 amlabel.8 amrestore.8 amtape.8 + +pre-configure: + echo "${CFLAGS}" > /tmp/build-ports-misc-amanda-cflags + +post-install: + mkdir -p ${PREFIX}/share/examples/amanda + cp -R ${WRKSRC}/example/* ${PREFIX}/share/examples/amanda + +.include diff --git a/sysutils/amanda/files/md5 b/sysutils/amanda/files/md5 new file mode 100644 index 00000000000..5f4ae2326bf --- /dev/null +++ b/sysutils/amanda/files/md5 @@ -0,0 +1 @@ +MD5 (amanda-2.3.0.tar.gz) = fabe173c0b507633d8b7eb081acd8174 diff --git a/sysutils/amanda/patches/patch-aa b/sysutils/amanda/patches/patch-aa new file mode 100644 index 00000000000..5de256cd752 --- /dev/null +++ b/sysutils/amanda/patches/patch-aa @@ -0,0 +1,19 @@ +*** tools/munge.orig Tue Feb 28 23:43:46 1995 +--- tools/munge Tue Feb 28 23:44:12 1995 +*************** +*** 35,41 **** + # Customize CPP to point to your system's C preprocessor. + + # if cpp is on your path: +! CPP=cpp + + # if cpp is not on your path, try one of these: + # CPP=/lib/cpp # traditional +--- 35,41 ---- + # Customize CPP to point to your system's C preprocessor. + + # if cpp is on your path: +! CPP=/usr/bin/cpp + + # if cpp is not on your path, try one of these: + # CPP=/lib/cpp # traditional diff --git a/sysutils/amanda/patches/patch-ab b/sysutils/amanda/patches/patch-ab new file mode 100644 index 00000000000..4421a52df5f --- /dev/null +++ b/sysutils/amanda/patches/patch-ab @@ -0,0 +1,76 @@ +--- man/amanda.8~ Sun May 19 22:11:25 1996 ++++ man/amanda.8 Fri Mar 7 22:24:28 1997 +@@ -135,19 +135,19 @@ + + All the files are stored in a + .I config +-directory under /etc/amanda. Often a single site will have more than ++directory under /usr/local/etc/amanda. Often a single site will have more than + one configuration; these configurations are named by the directories + that their config files are in. For example, a site might have a + .I normal + configuration for every-day backups, and a + .I archive + configuration for 6-month full archival backups. The config files for +-these two would be stored under /etc/amanda/normal and +-/etc/amanda/archive, respectively. ++these two would be stored under /usr/local/etc/amanda/normal and ++/usr/local/etc/amanda/archive, respectively. + + All log and database files generated by Amanda go in corresponding +-directories under /usr/adm/amanda. In our example, the logs would go +-in /usr/adm/amanda/normal and /usr/adm/amanda/archive. ++directories under /var/lov/amanda. In our example, the logs would go ++in /var/log/amanda/normal and /var/log/amanda/archive. + + .SH CONFIG FILE PARAMETERS + +--- man/amcleanup.8~ Sun May 19 22:11:25 1996 ++++ man/amcleanup.8 Fri Mar 7 22:23:07 1997 +@@ -31,13 +31,13 @@ + + .PP + .nf +-if [ -s /usr/adm/amanda/csd/amanda.log ] ++if [ -s /var/log/amanda/csd/amanda.log ] + then + /usr/local/sbin/amcleanup csd + fi + .fi + .RS .5i +-Putting the above in /etc/rc.local runs the Amanda ++Putting the above in /usr/local/etc/rc.local runs the Amanda + cleanup process when needed as part of the reboot, eliminating the need + to run it by hand. + .RE +--- man/amflush.8~ Sun May 19 22:11:25 1996 ++++ man/amflush.8 Fri Mar 7 22:22:28 1997 +@@ -22,7 +22,7 @@ + .B Amflush + will look in the holding disk specified by the + .I amanda.conf +-file in /etc/amanda/\fIconfig\fR ++file in /usr/local/etc/amanda/\fIconfig\fR + for any non-empty Amanda work directories. It then prompts the + operator to select the correct directory. The work directories on the + holding disk are named by the date at the time +--- man/amlabel.8~ Sun May 19 22:11:25 1996 ++++ man/amlabel.8 Fri Mar 7 22:22:22 1997 +@@ -11,7 +11,7 @@ + .B Amlabel + writes an Amanda label on the tape in the tape drive specified by the + .I amanda.conf +-file in /etc/amanda/\fIconfig\fR. The ++file in /usr/local/etc/amanda/\fIconfig\fR. The + .I label + can be any string that does not contain whitespace, and that matches the + .I amanda.conf +@@ -26,7 +26,7 @@ + .TP + % amlabel csd VOL1 + If the line "tapedev /dev/tape/1n" is in +-/etc/amanda/csd/amanda.conf, an Amanda label with the name "VOL1" is ++/usr/local/etc/amanda/csd/amanda.conf, an Amanda label with the name "VOL1" is + written on the /dev/tape/1n device. + + .SH AUTHOR diff --git a/sysutils/amanda/patches/patch-ac b/sysutils/amanda/patches/patch-ac new file mode 100644 index 00000000000..09b7a827efa --- /dev/null +++ b/sysutils/amanda/patches/patch-ac @@ -0,0 +1,75 @@ +*** config/options.h-vanilla Fri Feb 10 11:21:59 1995 +--- config/options.h Tue Feb 28 16:34:30 1995 +*************** +*** 42,51 **** + * LIBEXEC_DIR - Internal support programs + * MAN_DIR - Man pages + */ +! #define CONFIG_DIR "/etc/amanda" + #define LIBEXEC_DIR "/usr/local/libexec/amanda" + #define BIN_DIR "/usr/local/sbin" +! #define MAN_DIR "/usr/share/local/man/man8" + + + /* +--- 42,51 ---- + * LIBEXEC_DIR - Internal support programs + * MAN_DIR - Man pages + */ +! #define CONFIG_DIR "/usr/local/etc/amanda" + #define LIBEXEC_DIR "/usr/local/libexec/amanda" + #define BIN_DIR "/usr/local/sbin" +! #define MAN_DIR "/usr/local/man/man8" + + + /* +*************** +*** 77,83 **** + * Since 2.2.1 is a major change, I recommend defining this for existing + * Amanda sites. + */ +! #define USE_VERSION_SUFFIXES + + + /* +--- 77,83 ---- + * Since 2.2.1 is a major change, I recommend defining this for existing + * Amanda sites. + */ +! /*#define USE_VERSION_SUFFIXES*/ + + + /* +*************** +*** 182,196 **** + #define HAVE_GZIP + + #ifdef HAVE_GZIP +! # define COMPRESS_PATH "/usr/imports/bin/gzip" + # define COMPRESS_SUFFIX ".gz" + # define COMPRESS_FAST_OPT "--fast" + # define COMPRESS_BEST_OPT "--best" +! # define UNCOMPRESS_CMD "gzcat" + #else + # define COMPRESS_PATH COMPRESS /* defined in config.h */ + # define COMPRESS_SUFFIX ".Z" + # define COMPRESS_FAST_OPT "-f" /* -f doesn't do anything */ + # define COMPRESS_BEST_OPT "-f" /* it's just a placeholder */ +! # define UNCOMPRESS_CMD "zcat" + #endif +--- 182,196 ---- + #define HAVE_GZIP + + #ifdef HAVE_GZIP +! # define COMPRESS_PATH "/usr/bin/gzip" + # define COMPRESS_SUFFIX ".gz" + # define COMPRESS_FAST_OPT "--fast" + # define COMPRESS_BEST_OPT "--best" +! # define UNCOMPRESS_CMD "/usr/bin/gzcat" + #else + # define COMPRESS_PATH COMPRESS /* defined in config.h */ + # define COMPRESS_SUFFIX ".Z" + # define COMPRESS_FAST_OPT "-f" /* -f doesn't do anything */ + # define COMPRESS_BEST_OPT "-f" /* it's just a placeholder */ +! # define UNCOMPRESS_CMD "/usr/bin/zcat" + #endif diff --git a/sysutils/amanda/pkg/COMMENT b/sysutils/amanda/pkg/COMMENT new file mode 100644 index 00000000000..87b97277da1 --- /dev/null +++ b/sysutils/amanda/pkg/COMMENT @@ -0,0 +1 @@ +The Advanced Maryland Automatic Network Disk Archiver diff --git a/sysutils/amanda/pkg/DESCR b/sysutils/amanda/pkg/DESCR new file mode 100644 index 00000000000..d22b3394fd2 --- /dev/null +++ b/sysutils/amanda/pkg/DESCR @@ -0,0 +1,68 @@ +WHAT IS AMANDA? +--------------- + +This is an alpha-test release of Amanda, the Advanced Maryland Automatic +Network Disk Archiver. Amanda is a backup system designed to archive many +computers on a network to a single large-capacity tape drive. This release +is currently in daily use at the University of Maryland at College Park +Computer Science Department, backing up all the disks on all the +workstations in the department: currently over 70 gigabytes of data across +more than 400 filesystems on more than 146 workstations and servers, using +a single 5 Gigabyte Exabyte EXB-8500. Here are some features of Amanda: + + * written in C, freely distributable. + * built on top of standard backup software: BSD Unix dump/restore, and + later GNU Tar and others. + * will back up multiple machines in parallel to a holding disk, blasting + finished dumps one by one to tape as fast as we can write files to + tape. For example, a ~2 Gb 8mm tape on a ~240K/s interface to a host + with a large holding disk can be filled by Amanda in under 4 hours. + * does simple tape management: will not overwrite the wrong tape. + * supports tape changers via a generic interface. Easily customizable to + any type of tape carousel, robot, or stacker that can be controlled via + the unix command line. + * supports Kerberos 4 security, including encrypted dumps. The Kerberos + support is available as a separate add-on package, see the file + KERBEROS.HOW-TO-GET on the ftp site, and the file docs/KERBEROS in this + package, for more details. + * for a restore, tells you what tapes you need, and finds the proper + backup image on the tape for you. + * recovers gracefully from errors, including down or hung machines. + * reports results, including all errors in detail, in email to operators. + * will dynamically adjust backup schedule to keep within constraints: no + more juggling by hand when adding disks and computers to network. + * includes a pre-run checker program, that conducts sanity checks on both + the tape server host and all the client hosts (in parallel), and will + send an e-mail report of any problems that could cause the backups to + fail. + * can compress dumps before sending over net, with either compress or gzip. + * can optionally syncronize with external backups, for those large + timesharing computers where you want to do fu-------------------------------------------- + +Amanda requires a host that is mostly idle at night, with a large capacity +tape drive (e.g. an EXABYTE or DAT tape). This becomes the "tape server +host". All the computers you are going to dump are the "backup client +hosts". The server host can also be a client host. + +Amanda works best with one or more large "holding disk" partition on the +server host available to it for buffering dumps before writing to tape. +The holding disk allows Amanda to run backups in parallel to the disk, only +writing them to tape when the backup is finished. Note that the holding +disk is not required: without it Amanda will run backups sequentially to +the tape drive. Running it this way kills the great performance, but still +allows you to take advantage of Amanda's other features. + +As a rule of thumb, for best performance the holding disk should be larger +than the dump output from your largest disk partitions. For example, if +you are backing up some full gigabyte disks that compress down to 500 MB, +then you'll want 500 MB on your holding disk. On the other hand, if those +gigabyte drives are partitioned into 500 MB filesystems, they'll probably +compress down to 250 MB and you'll only need that much on your holding +disk. Amanda will perform better with larger holding disks. We use 800 MB +for our holding disk. + +Actually, Amanda will still work if you have full dumps that are larger +than the holding disk: Amanda will send those dumps directly to tape one at +a time. If you have many such dumps you will be limited by the dump speed +of those machines. + diff --git a/sysutils/amanda/pkg/PLIST b/sysutils/amanda/pkg/PLIST new file mode 100644 index 00000000000..8eb96afc145 --- /dev/null +++ b/sysutils/amanda/pkg/PLIST @@ -0,0 +1,31 @@ +libexec/amanda/amandad +libexec/amanda/sendsize +libexec/amanda/calcsize +libexec/amanda/sendbackup-dump +libexec/amanda/sendbackup-gnutar +libexec/amanda/runtar +libexec/amanda/selfcheck +libexec/amanda/taper +libexec/amanda/dumper +libexec/amanda/driver +libexec/amanda/planner +libexec/amanda/reporter +libexec/amanda/getconf +sbin/amrestore +sbin/amadmin +sbin/amflush +sbin/amlabel +sbin/amcheck +sbin/amdump +sbin/amcleanup +sbin/amtape +libexec/amanda/chg-generic +man/man8/amanda.8.gz +man/man8/amadmin.8.gz +man/man8/amcheck.8.gz +man/man8/amcleanup.8.gz +man/man8/amdump.8.gz +man/man8/amflush.8.gz +man/man8/amlabel.8.gz +man/man8/amrestore.8.gz +man/man8/amtape.8.gz diff --git a/sysutils/amanda/scripts/configure b/sysutils/amanda/scripts/configure new file mode 100644 index 00000000000..25832ebaf14 --- /dev/null +++ b/sysutils/amanda/scripts/configure @@ -0,0 +1,8 @@ +#!/bin/sh + +CFLAGS=`cat /tmp/build-ports-misc-amanda-cflags` +rm /tmp/build-ports-misc-amanda-cflags +echo $CFLAGS + +mv $WRKSRC/config/config.h-freebsd2 $WRKSRC/config/config.h +sed "s/#define MK_CCOPTS -g/#define MK_CCOPTS $CFLAGS/" < $WRKSRC/config/options.h-vanilla > $WRKSRC/config/options.h diff --git a/sysutils/mc/Makefile b/sysutils/mc/Makefile new file mode 100644 index 00000000000..516031414d3 --- /dev/null +++ b/sysutils/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 diff --git a/sysutils/mc/files/md5 b/sysutils/mc/files/md5 new file mode 100644 index 00000000000..ca1f958db63 --- /dev/null +++ b/sysutils/mc/files/md5 @@ -0,0 +1 @@ +MD5 (mc-4.0.tar.gz) = 1420c696eeff2678199144e38d0ee0aa diff --git a/sysutils/mc/patches/patch-aa b/sysutils/mc/patches/patch-aa new file mode 100644 index 00000000000..418066cc6ad --- /dev/null +++ b/sysutils/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/sysutils/mc/patches/patch-ab b/sysutils/mc/patches/patch-ab new file mode 100644 index 00000000000..a34ba1805cb --- /dev/null +++ b/sysutils/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/sysutils/mc/patches/patch-ac b/sysutils/mc/patches/patch-ac new file mode 100644 index 00000000000..9d273e374c7 --- /dev/null +++ b/sysutils/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/sysutils/mc/patches/patch-ad b/sysutils/mc/patches/patch-ad new file mode 100644 index 00000000000..8766d17d233 --- /dev/null +++ b/sysutils/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 + #include + #include +! #include + #include + #include + #include +--- 1,7 ---- + #include + #include + #include +! #include + #include + #include + #include +*** vfs/vfs.c.orig Thu Jun 19 23:25:45 1997 +--- vfs/vfs.c Thu Jun 19 23:27:37 1997 +*************** +*** 25,31 **** + #include + #include + #include +! #include + #include + #include + #ifdef SCO_FLAVOR +--- 25,31 ---- + #include + #include + #include +! /* #include */ + #include + #include + #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 + #include + #include +! #include + + #ifdef HAVE_PMAP_SET + #include +--- 28,34 ---- + #include + #include + #include +! /* #include */ + + #ifdef HAVE_PMAP_SET + #include +*** vfs/utilvfs.c.orig Thu Jun 19 23:29:28 1997 +--- vfs/utilvfs.c Thu Jun 19 23:27:22 1997 +*************** +*** 32,38 **** + #include + #include + #include +! #include + #ifdef USE_TERMNET + #include + #endif +--- 32,38 ---- + #include + #include + #include +! /* #include */ + #ifdef USE_TERMNET + #include + #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 + #include +! #include + #include "util.h" /* For xmalloc prototype */ + #include "mad.h" /* The memory debugger */ + #include "global.h" +--- 38,44 ---- + #include "tty.h" + #include + #include +! #include + #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 + #include + #include +! #include + #include "mad.h" + #include "util.h" + #include "menu.h" +--- 21,27 ---- + #include + #include + #include +! #include + #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 + #include "tty.h" + #include +! #include + #include + #ifdef HAVE_UNISTD_H + # include +--- 68,74 ---- + #include + #include "tty.h" + #include +! #include + #include + #ifdef HAVE_UNISTD_H + # include +*** src/help.c.orig Thu Jun 19 23:31:18 1997 +--- src/help.c Thu Jun 19 23:36:21 1997 +*************** +*** 41,47 **** + #include + #include + #include +! #include + #include + #include "mad.h" + #include "color.h" +--- 41,47 ---- + #include + #include + #include +! #include + #include + #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 + #endif + +! #include /* For free() */ + #include + #ifdef HAVE_UNISTD_H + # include +--- 27,33 ---- + # include + #endif + +! #include /* For free() */ + #include + #ifdef HAVE_UNISTD_H + # include +*** src/view.c.orig Thu Jun 19 23:31:42 1997 +--- src/view.c Thu Jun 19 23:37:30 1997 +*************** +*** 42,48 **** + #include + #include /* For toupper() */ + #include /* atoi() */ +! #include + #include + #include + #include +--- 42,48 ---- + #include + #include /* For toupper() */ + #include /* atoi() */ +! /* #include */ + #include + #include + #include +*** src/ext.c.orig Thu Jun 19 23:31:01 1997 +--- src/ext.c Thu Jun 19 23:34:41 1997 +*************** +*** 29,35 **** + #include + #endif + #include +! #include + #include + #include + #include "mad.h" +--- 29,35 ---- + #include + #endif + #include +! #include + #include + #include + #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 + #endif +! #include + #include + + #include "mad.h" +--- 30,36 ---- + #if (!defined(__IBMC__) && !defined(__IBMCPP__)) + # include + #endif +! #include + #include + + #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 + #include +! #include + #include "tty.h" + #include + #include "mad.h" +--- 20,26 ---- + /* "$Id: patch-ad,v 1.1.1.1 1997/10/11 21:54:32 hubertf Exp $" */ + #include + #include +! #include + #include "tty.h" + #include + #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 + #include + #include +! #include + #include "tty.h" + #include + #include "mad.h" +--- 27,33 ---- + #include + #include + #include +! #include + #include "tty.h" + #include + #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 + #include + #include +! #include + #include "tty.h" + #include + #include "mad.h" +--- 34,40 ---- + #include + #include + #include +! #include + #include "tty.h" + #include + #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 + #include + #include +! #include + #include "mad.h" + #include "util.h" /* statfs calls */ + #include "mouse.h" /* Gpm_Event */ +--- 21,27 ---- + #include + #include + #include +! #include + #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 + #include + #include +! #include + #include + #include "global.h" + #include "mad.h" /* The great mad */ +--- 26,32 ---- + #include + #include + #include +! #include + #include + #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 + #include + #include +! #include + #ifdef HAVE_UNISTD_H + # include + #endif +--- 24,30 ---- + #include + #include + #include +! /* #include */ + #ifdef HAVE_UNISTD_H + # include + #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 + #include "tty.h" + #include "fs.h" +! #include + #include + #include + #include "mad.h" +--- 25,31 ---- + #include + #include "tty.h" + #include "fs.h" +! /* #include */ + #include + #include + #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 + #include + #include +! #include + #include + #include /* open, O_RDWR */ + #include +--- 34,40 ---- + #include + #include + #include +! /* #include */ + #include + #include /* open, O_RDWR */ + #include diff --git a/sysutils/mc/patches/patch-ae b/sysutils/mc/patches/patch-ae new file mode 100644 index 00000000000..7fc6745b7b8 --- /dev/null +++ b/sysutils/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/sysutils/mc/patches/patch-af b/sysutils/mc/patches/patch-af new file mode 100644 index 00000000000..7c077d4fa3b --- /dev/null +++ b/sysutils/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/sysutils/mc/pkg/COMMENT b/sysutils/mc/pkg/COMMENT new file mode 100644 index 00000000000..49355a57e81 --- /dev/null +++ b/sysutils/mc/pkg/COMMENT @@ -0,0 +1 @@ +Midnight Commander, a free Norton Commander Clone diff --git a/sysutils/mc/pkg/DESCR b/sysutils/mc/pkg/DESCR new file mode 100644 index 00000000000..6145fb52479 --- /dev/null +++ b/sysutils/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/sysutils/mc/pkg/PLIST b/sysutils/mc/pkg/PLIST new file mode 100644 index 00000000000..9d48010dd8c --- /dev/null +++ b/sysutils/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 -- cgit v1.2.3