diff options
author | hubertf <hubertf> | 1997-10-11 21:53:59 +0000 |
---|---|---|
committer | hubertf <hubertf> | 1997-10-11 21:53:59 +0000 |
commit | 5658f6b5def37eb0deb20ee3e6a1b01e894dc661 (patch) | |
tree | cd1e0be6347cb17aeb9201b0ecc45b0286c98b53 /misc | |
parent | e62c4d684c2892015620dfd714bdb51fb502bfc7 (diff) | |
download | pkgsrc-5658f6b5def37eb0deb20ee3e6a1b01e894dc661.tar.gz |
Import as of 09/25/97
Diffstat (limited to 'misc')
230 files changed, 5629 insertions, 0 deletions
diff --git a/misc/Makefile b/misc/Makefile new file mode 100644 index 00000000000..e5649ab163d --- /dev/null +++ b/misc/Makefile @@ -0,0 +1,55 @@ +# $Id: Makefile,v 1.1.1.1 1997/10/11 21:53:59 hubertf Exp $ +# + + SUBDIR += amanda + SUBDIR += astrolog + SUBDIR += buffer + SUBDIR += cal + SUBDIR += chord + SUBDIR += colorls + SUBDIR += ctk + SUBDIR += dejagnu + SUBDIR += dotfile + SUBDIR += ecc + SUBDIR += estic + SUBDIR += fd + SUBDIR += fep + SUBDIR += figlet + SUBDIR += git + SUBDIR += gnuls + SUBDIR += ical + SUBDIR += jive + SUBDIR += kp + SUBDIR += less + SUBDIR += lile + SUBDIR += logsurfer + SUBDIR += mc + SUBDIR += mmv + SUBDIR += most + SUBDIR += mshell + SUBDIR += nwrite + SUBDIR += p5-Array-PrintCols + SUBDIR += p5-Business-CreditCard + SUBDIR += p5-Locale-Codes + SUBDIR += p5-Search + SUBDIR += plan + SUBDIR += rpm + SUBDIR += screen + SUBDIR += splitvt + SUBDIR += team + SUBDIR += tkcron + SUBDIR += tkinfo + SUBDIR += tkman + SUBDIR += unclutter + SUBDIR += viz + SUBDIR += xcalendar + SUBDIR += xgas + SUBDIR += xless + SUBDIR += xmaddressbook + SUBDIR += xopps + SUBDIR += xpns + SUBDIR += xtar + SUBDIR += xtimer + SUBDIR += zorro + +.include <bsd.port.subdir.mk> diff --git a/misc/amanda/Makefile b/misc/amanda/Makefile new file mode 100644 index 00000000000..37f86e3f12b --- /dev/null +++ b/misc/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 <bsd.port.mk> diff --git a/misc/amanda/files/md5 b/misc/amanda/files/md5 new file mode 100644 index 00000000000..5f4ae2326bf --- /dev/null +++ b/misc/amanda/files/md5 @@ -0,0 +1 @@ +MD5 (amanda-2.3.0.tar.gz) = fabe173c0b507633d8b7eb081acd8174 diff --git a/misc/amanda/patches/patch-aa b/misc/amanda/patches/patch-aa new file mode 100644 index 00000000000..5de256cd752 --- /dev/null +++ b/misc/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/misc/amanda/patches/patch-ab b/misc/amanda/patches/patch-ab new file mode 100644 index 00000000000..4421a52df5f --- /dev/null +++ b/misc/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/misc/amanda/patches/patch-ac b/misc/amanda/patches/patch-ac new file mode 100644 index 00000000000..09b7a827efa --- /dev/null +++ b/misc/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/misc/amanda/pkg/COMMENT b/misc/amanda/pkg/COMMENT new file mode 100644 index 00000000000..87b97277da1 --- /dev/null +++ b/misc/amanda/pkg/COMMENT @@ -0,0 +1 @@ +The Advanced Maryland Automatic Network Disk Archiver diff --git a/misc/amanda/pkg/DESCR b/misc/amanda/pkg/DESCR new file mode 100644 index 00000000000..d22b3394fd2 --- /dev/null +++ b/misc/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/misc/amanda/pkg/PLIST b/misc/amanda/pkg/PLIST new file mode 100644 index 00000000000..8eb96afc145 --- /dev/null +++ b/misc/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/misc/amanda/scripts/configure b/misc/amanda/scripts/configure new file mode 100644 index 00000000000..25832ebaf14 --- /dev/null +++ b/misc/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/misc/astrolog/Makefile b/misc/astrolog/Makefile new file mode 100644 index 00000000000..7bf6bce7ae5 --- /dev/null +++ b/misc/astrolog/Makefile @@ -0,0 +1,53 @@ +# New ports collection makefile for: astrolog +# +# http://rpkalf2.mach.uni-karlsruhe.de/~ferber/astrolog/ +# http://www.magitech.com/~cruiser1/astrolog.htm +# +# Version required: 5.30 +# Date created: 31 July 1995 +# Whom: faulkner@cactus.org +# +# $Id: Makefile,v 1.1.1.1 1997/10/11 21:54:01 hubertf Exp $ +# + +DISTNAME= ast53unx +PKGNAME= astrolog-5.30 +CATEGORIES= misc +MASTER_SITES= http://www.astrolog.org/ftp/ephem/ \ + http://www.astrolog.org/ftp/ \ + ftp://ftp.kiarchive.ru/pub/unix/magick/astrology/astrolog/ +EXTRACT_ONLY= ${DISTNAME}.shr +EPHEM= LRZ5_24 CHI_24 CPJV_24 +DISTFILES= ${EXTRACT_ONLY} ${EPHEM} + +MAINTAINER= ache@FreeBSD.ORG + +EXTRACT_CMD= ${SH} +EXTRACT_ARGS= +DIST_SUBDIR= astrolog +ALL_TARGET= astrolog +NO_WRKSUBDIR= Yes + +do-install: + -@${MKDIR} ${PREFIX}/lib/astrolog + cd ${DISTDIR}/${DIST_SUBDIR} && \ + ${INSTALL_DATA} ${EPHEM} ${PREFIX}/lib/astrolog + cd ${WRKSRC} && \ + if [ -f ${PREFIX}/lib/astrolog/astrolog.dat ] ; then \ + ${INSTALL_DATA} astrolog.dat ${PREFIX}/lib/astrolog/astrolog.dat-dist; \ + else \ + ${INSTALL_DATA} astrolog.dat ${PREFIX}/lib/astrolog; \ + fi + cd ${WRKSRC} && ${INSTALL_PROGRAM} astrolog ${PREFIX}/bin + -@${MKDIR} ${PREFIX}/share/doc/astrolog + cd ${WRKSRC} && \ + ${INSTALL_DATA} Helpfile.530 ${PREFIX}/share/doc/astrolog + cd ${WRKSRC} && \ + ${INSTALL_DATA} Update.530 ${PREFIX}/share/doc/astrolog + cd ${WRKSRC} && \ + ${INSTALL_DATA} README.530 ${PREFIX}/share/doc/astrolog + @echo + @echo "See the file ${PREFIX}/share/doc/astrolog/Helpfile.530 for help" + @echo "and tune ${PREFIX}/lib/astrolog/astrolog.dat" + +.include <bsd.port.mk> diff --git a/misc/astrolog/files/md5 b/misc/astrolog/files/md5 new file mode 100644 index 00000000000..dc2a4298e5f --- /dev/null +++ b/misc/astrolog/files/md5 @@ -0,0 +1,4 @@ +MD5 (astrolog/ast53unx.shr) = 3be257b0bbd25afe53acc6838d09af0b +MD5 (astrolog/LRZ5_24) = a02e13225eadbe4771edaa1a85c7a3bc +MD5 (astrolog/CHI_24) = b2b2643270155c0947ec8a36c24ce9d7 +MD5 (astrolog/CPJV_24) = 858e401a8fbf19dda777eb432e176698 diff --git a/misc/astrolog/patches/patch-aa b/misc/astrolog/patches/patch-aa new file mode 100644 index 00000000000..4af7e5601af --- /dev/null +++ b/misc/astrolog/patches/patch-aa @@ -0,0 +1,21 @@ +*** makefile.unx.bak Sun Sep 29 23:27:00 1996 +--- Makefile Tue Jan 14 01:06:55 1997 +*************** +*** 23,30 **** + charts0.o charts1.o charts2.o charts3.o intrpret.o\ + xdata.o xgeneral.o xdevice.o xcharts0.o xcharts1.o xcharts2.o xscreen.o + # If you don't have X windows, delete the "-lX11" part from the line below: +! LIBS = -lm -lX11 +! CFLAGS = -O + + astrolog:: $(OBJ) + cc -o $(NAME) $(OBJ) $(LIBS) +--- 23,30 ---- + charts0.o charts1.o charts2.o charts3.o intrpret.o\ + xdata.o xgeneral.o xdevice.o xcharts0.o xcharts1.o xcharts2.o xscreen.o + # If you don't have X windows, delete the "-lX11" part from the line below: +! LIBS = -L${X11BASE}/lib -lX11 -lm +! CFLAGS += -I${X11BASE}/include -DDEFAULT_DIR=\"${PREFIX}/lib/astrolog\" + + astrolog:: $(OBJ) + cc -o $(NAME) $(OBJ) $(LIBS) diff --git a/misc/astrolog/patches/patch-ab b/misc/astrolog/patches/patch-ab new file mode 100644 index 00000000000..8da349f1e68 --- /dev/null +++ b/misc/astrolog/patches/patch-ab @@ -0,0 +1,39 @@ +*** astrolog.h.orig Sun Feb 2 23:06:03 1997 +--- astrolog.h Thu May 29 05:06:03 1997 +*************** +*** 82,92 **** + #define ENVIRON /* Comment out this #define if your system doesn't have */ + /* environment variables or can't compile calls to them. */ + +! #define ATOF /* Comment out this #define if you have a system in which */ + /* 'atof' and related functions aren't defined in stdio.h, */ + /* such as most PC's, Linux, VMS compilers, and NeXT's. */ + +! /*#define PROTO /* Comment out this #define if you have an older compiler */ + /* which doesn't allow full Ansi function prototypes. This */ + /* is for programmers only and has no effect on executable. */ + +--- 82,92 ---- + #define ENVIRON /* Comment out this #define if your system doesn't have */ + /* environment variables or can't compile calls to them. */ + +! /*#define ATOF /* Comment out this #define if you have a system in which */ + /* 'atof' and related functions aren't defined in stdio.h, */ + /* such as most PC's, Linux, VMS compilers, and NeXT's. */ + +! #define PROTO /* Comment out this #define if you have an older compiler */ + /* which doesn't allow full Ansi function prototypes. This */ + /* is for programmers only and has no effect on executable. */ + +*************** +*** 131,137 **** +--- 131,139 ---- + */ + + #ifndef PC ++ #ifndef DEFAULT_DIR + #define DEFAULT_DIR "~/astrolog" ++ #endif + #else + #define DEFAULT_DIR "C:\\ASTROLOG" + #endif diff --git a/misc/astrolog/pkg/COMMENT b/misc/astrolog/pkg/COMMENT new file mode 100644 index 00000000000..7902813bb85 --- /dev/null +++ b/misc/astrolog/pkg/COMMENT @@ -0,0 +1 @@ +An astrology program for X11 and alpha-numeric terminals diff --git a/misc/astrolog/pkg/DESCR b/misc/astrolog/pkg/DESCR new file mode 100644 index 00000000000..3c1f53c0eed --- /dev/null +++ b/misc/astrolog/pkg/DESCR @@ -0,0 +1,20 @@ +* Astrolog 5.30 is a many featured and +customizable astrology chart calculation +program for DOS, Windows, Mac, and Unix, +used in 30+ countries on six continents. +It is 100% freeware and requires no +registration fee. :) The complete source +code is available. Astrolog features: +wheels, aspects, midpoints, relationship +charts, transits, progressions, some +interpretations, astro-graphy, local +horizon, constellations, planet orbits, +dispositors, various influence charts, +biorhythms, different zodiacs, central +planets, 14 house systems, 8400 year +ephemeris, asteroids, Uranians, fixed +stars, Arabic parts, script files and +macros, interactive PC & MS/X11 Windows +graphics, smooth animation of charts, +graphic files in PostScript, Windows +metafile, and bitmap formats, and more! diff --git a/misc/astrolog/pkg/INSTALL b/misc/astrolog/pkg/INSTALL new file mode 100644 index 00000000000..89b4e2f026a --- /dev/null +++ b/misc/astrolog/pkg/INSTALL @@ -0,0 +1,7 @@ +#!/bin/sh +# installation script for astrolog +if [ "$2" != "POST-INSTALL" ]; then + exit 0 +fi +echo "See the file ${PKG_PREFIX}/share/doc/astrolog/Helpfile.530 for help" +echo "and tune ${PKG_PREFIX}/lib/astrolog/astrolog.dat" diff --git a/misc/astrolog/pkg/PLIST b/misc/astrolog/pkg/PLIST new file mode 100644 index 00000000000..dfd8a9e59c6 --- /dev/null +++ b/misc/astrolog/pkg/PLIST @@ -0,0 +1,8 @@ +bin/astrolog +share/doc/astrolog/Helpfile.530 +share/doc/astrolog/README.530 +share/doc/astrolog/Update.530 +lib/astrolog/astrolog.dat +lib/astrolog/LRZ5_24 +lib/astrolog/CHI_24 +lib/astrolog/CPJV_24 diff --git a/misc/buffer/Makefile b/misc/buffer/Makefile new file mode 100644 index 00000000000..ec436609d67 --- /dev/null +++ b/misc/buffer/Makefile @@ -0,0 +1,18 @@ +# New ports collection makefile for: buffer +# Version required: 1.17 +# Date created: 17 Nov 1995 +# Whom: markm +# +# $Id: Makefile,v 1.1.1.1 1997/10/11 21:54:02 hubertf Exp $ +# + +DISTNAME= buffer-1.17 +CATEGORIES= misc +MASTER_SITES= ftp://ftp.sun.ac.za/pub/unix/misc/ + +MAINTAINER= markm@FreeBSD.ORG + +NO_WRKSUBDIR= yes +MANL= buffer.l + +.include <bsd.port.mk> diff --git a/misc/buffer/files/md5 b/misc/buffer/files/md5 new file mode 100644 index 00000000000..7fc3aa45b30 --- /dev/null +++ b/misc/buffer/files/md5 @@ -0,0 +1 @@ +MD5 (buffer-1.17.tar.gz) = 6c5236ed99f4df0832623f4c0498c681 diff --git a/misc/buffer/patches/patch-aa b/misc/buffer/patches/patch-aa new file mode 100644 index 00000000000..1e9af6b12cb --- /dev/null +++ b/misc/buffer/patches/patch-aa @@ -0,0 +1,31 @@ +diff -udr buffer.ORG/Makefile buffer/Makefile +--- buffer.ORG/Makefile Wed Jul 14 17:59:17 1993 ++++ Makefile Thu Nov 16 20:09:23 1995 +@@ -8,7 +8,7 @@ + + # Where to install buffer and its manual pages + INSTBIN=/usr/local/bin +-INSTMAN=/usr/man/manl ++INSTMAN=/usr/local/man/manl + # The manual page section (normally l or 1) + S=l + +diff -udr buffer.ORG/buffer.c buffer/buffer.c +--- buffer.ORG/buffer.c Wed Jul 14 17:59:17 1993 ++++ buffer.c Fri Nov 17 20:23:58 1995 +@@ -384,6 +384,7 @@ + } + + /* The interrupt handler */ ++void + shutdown() + { + static int shutting; +@@ -400,6 +401,7 @@ + } + + /* Shutdown because the child has ended */ ++void + child_shutdown() + { + /* Find out which child has died. (They may not be my diff --git a/misc/buffer/pkg/COMMENT b/misc/buffer/pkg/COMMENT new file mode 100644 index 00000000000..dddb0d3bcf5 --- /dev/null +++ b/misc/buffer/pkg/COMMENT @@ -0,0 +1 @@ +buffer sporadic binary I/O for faster tape use diff --git a/misc/buffer/pkg/DESCR b/misc/buffer/pkg/DESCR new file mode 100644 index 00000000000..c5c68ac6433 --- /dev/null +++ b/misc/buffer/pkg/DESCR @@ -0,0 +1,27 @@ +This is a program designed to speed up writing tapes on remote tape +drives. Requirements are shared memory and locks which normally +means that these are supported in your kernel. + +[for FreeBSD, this means you MUST have a kernel with + options SYSVSHM + compiled in - markm] + +Buffer has been tested under SunOS 4.0.*, SunOS 4.1.*, Solarix, HP-UX 7.0, +and Gould UTX 2.1A (sv universe). + +The program splits itself into two processes. The first process reads +(and reblocks) from stdin into a shared memory buffer. The second +writes from the shared memory buffer to stdout. Doing it this way +means that the writing side effectly sits in a tight write loop and +doesn't have to wait for input. Similarly for the input side. It is +this waiting that slows down other reblocking processes, like dd. + +I run an archive and need to write large chunks out to tape regularly +with an ethernet in the way. Using 'buffer' in a command like: + + tar cvf - stuff | rsh somebox "buffer > /dev/rst8" + +is a factor of 5 faster than the best alternative, gnu tar with its +remote tape option: + + tar cvf somebox:/dev/rst8 stuff diff --git a/misc/buffer/pkg/PLIST b/misc/buffer/pkg/PLIST new file mode 100644 index 00000000000..2277e3890a2 --- /dev/null +++ b/misc/buffer/pkg/PLIST @@ -0,0 +1,2 @@ +bin/buffer +man/manl/buffer.l.gz diff --git a/misc/cal/Makefile b/misc/cal/Makefile new file mode 100644 index 00000000000..f28ae2e810e --- /dev/null +++ b/misc/cal/Makefile @@ -0,0 +1,29 @@ +# New ports collection makefile for: cal +# Version required: 3.5 +# Date created: 2 April 1997 +# Whom: Andrey Zakhvatov <andy@icc.surw.chel.su> +# +# $Id: Makefile,v 1.1.1.1 1997/10/11 21:54:03 hubertf Exp $ +# + +DISTNAME= cal-3.5 +CATEGORIES= misc +MASTER_SITES= ${MASTER_SITE_SUNSITE} +MASTER_SITE_SUBDIR= utils/shell + +MAINTAINER= andy@icc.surw.chel.su + +WRKSRC= ${WRKDIR}/cal-3.5/source +MAKEFILE= makefile.unx +ALL_TARGET= cal +MAN1= cal.1 + +do-install: + ${INSTALL_PROGRAM} ${WRKSRC}/cal ${PREFIX}/bin/cal + ${INSTALL_MAN} ${WRKSRC}/cal.1 ${PREFIX}/man/man1/cal.1 + @${MKDIR} ${PREFIX}/etc/cal + @chmod 0755 ${PREFIX}/etc/cal + if [ ! -f ${PREFIX}/etc/cal/calcol ]; then ${INSTALL_DATA} ${WRKDIR}/cal-3.5/cal.col ${PREFIX}/etc/cal/calcol; fi + if [ ! -f ${PREFIX}/etc/cal/caldat ]; then ${INSTALL_DATA} ${WRKDIR}/cal-3.5/cal.dat ${PREFIX}/etc/cal/caldat; fi + +.include <bsd.port.mk> diff --git a/misc/cal/files/md5 b/misc/cal/files/md5 new file mode 100644 index 00000000000..7633bf9ab99 --- /dev/null +++ b/misc/cal/files/md5 @@ -0,0 +1 @@ +MD5 (cal-3.5.tar.gz) = e947731574da1731bccbe35ad2769a99 diff --git a/misc/cal/patches/patch-aa b/misc/cal/patches/patch-aa new file mode 100644 index 00000000000..c4e647ffac8 --- /dev/null +++ b/misc/cal/patches/patch-aa @@ -0,0 +1,15 @@ +*** makefile.unx.orig Tue Mar 5 06:36:27 1996 +--- makefile.unx Mon May 12 15:23:42 1997 +*************** +*** 10,15 **** +--- 10,19 ---- + CC=gcc + CFLAGS=-O -Wall -DUNIX -DUSE_REMINDER + ++ .ifdef PREFIX ++ CFLAGS+=-DPREFIX="\"${PREFIX}\"" ++ .endif ++ + BINDIR=/usr/bin + MANDIR=/usr/man + diff --git a/misc/cal/patches/patch-ab b/misc/cal/patches/patch-ab new file mode 100644 index 00000000000..88ce105c56f --- /dev/null +++ b/misc/cal/patches/patch-ab @@ -0,0 +1,38 @@ +*** cal.c.orig Fri Jul 12 04:36:33 1996 +--- cal.c Mon May 12 15:23:51 1997 +*************** +*** 130,135 **** +--- 130,139 ---- + /* Note: Other unix systems may require this next re-define to work. */ + /* I believe that SCO is one such system. Please send in any fixes */ + /* needed to get your system running. */ ++ #ifdef __FreeBSD__ /* Make FreeBSD compatible with stricmp() */ ++ #define stricmp(a,b) strcasecmp(a,b) /* case-insensitive string comparison */ ++ #endif ++ + #ifdef __linux__ /* Make linux compatible with stricmp() */ + #define stricmp(a,b) strcasecmp(a,b) /* case-insensitive string comparison */ + #endif +*************** +*** 1401,1408 **** + strcpy(str, "."); + strcpy(str, file); + if ((fp = fopen(str, mode)) == NULL) { +! /* If still not found then look in a lib directory */ + strcpy(str, "/usr/lib/"); + strcat(str,file); + fp = fopen(str, mode); + } +--- 1405,1416 ---- + strcpy(str, "."); + strcpy(str, file); + if ((fp = fopen(str, mode)) == NULL) { +! /* If still not found then look in config directory */ +! #ifdef PREFIX +! strcpy(str, PREFIX "/etc/cal/"); +! #else + strcpy(str, "/usr/lib/"); ++ #endif + strcat(str,file); + fp = fopen(str, mode); + } diff --git a/misc/cal/pkg/COMMENT b/misc/cal/pkg/COMMENT new file mode 100644 index 00000000000..a09124a2daa --- /dev/null +++ b/misc/cal/pkg/COMMENT @@ -0,0 +1 @@ +Enhanced color version of standard calendar utility diff --git a/misc/cal/pkg/DESCR b/misc/cal/pkg/DESCR new file mode 100644 index 00000000000..7df81b92dff --- /dev/null +++ b/misc/cal/pkg/DESCR @@ -0,0 +1,38 @@ +CAL is a nicely-enhanced version of the unix `cal' command. +Features: + + * Hilights today's date when displaying a monthly calendar. + + * Displays an optional user-definable list of `special day' + descriptions (like appointments) to the right of the monthly + calendar display. Cal can be set optionally to ignore appointments + older than the current day. Next month's appointments are shown if + there is room to do so. Multiple appointment data files may also + be specified on the commandline. + + * You can specify your own appointment and color definition files on the + commandline, or use the defaults. + + * Date descriptions can display "years since" a given year, useful for + birthdays and anniversaries. + + * Completely configurable colors -- eight separate color attributes. + + * No ANSI driver needed for colors, and the output may be redirected + anywhere, just like the unix version. However, ANSI color control may + be enabled (e.g. for unix) with a #define in the source code. + + * Commandline-compatible with unix `cal' command, but with several + enhanced switch settings. + +Requests, bug reports, suggestions, donations, proposals for +contract work, and so forth may be sent to: + + Attn: Alex Matulich + Unicorn Research Corporation + 4621 N. Landmark Drive + Orlando, FL 32817-1235 + USA + 407-657-4974 FAX 407-657-6149 + +or send e-mail to matulich_a@seaa.navsea.navy.mil. diff --git a/misc/cal/pkg/PLIST b/misc/cal/pkg/PLIST new file mode 100644 index 00000000000..e8345df9f60 --- /dev/null +++ b/misc/cal/pkg/PLIST @@ -0,0 +1,4 @@ +bin/cal +etc/cal/calcol +etc/cal/caldat +man/man1/cal.1.gz diff --git a/misc/chord/Makefile b/misc/chord/Makefile new file mode 100644 index 00000000000..6bb1f3aab54 --- /dev/null +++ b/misc/chord/Makefile @@ -0,0 +1,16 @@ +# New ports collection makefile for: chard +# Version required: 3.6 +# Date created: 24 April 1995 +# Whom: Satoshi Asami +# +# $Id: Makefile,v 1.1.1.1 1997/10/11 21:54:04 hubertf Exp $ +# + +DISTNAME= chord +PKGNAME= chord-3.6 +CATEGORIES= misc +MASTER_SITES= ${MASTER_SITE_LOCAL} + +MAINTAINER= asami@FreeBSD.ORG + +.include <bsd.port.mk> diff --git a/misc/chord/files/md5 b/misc/chord/files/md5 new file mode 100644 index 00000000000..7ac32e26762 --- /dev/null +++ b/misc/chord/files/md5 @@ -0,0 +1 @@ +MD5 (chord.tar.gz) = 120744ccbe5acbcb0978da0b51712a00 diff --git a/misc/chord/patches/patch-aa b/misc/chord/patches/patch-aa new file mode 100644 index 00000000000..f808c5cb9ef --- /dev/null +++ b/misc/chord/patches/patch-aa @@ -0,0 +1,56 @@ +--- ./Makefile.org Tue Apr 25 00:04:52 1995 ++++ ./Makefile Tue Apr 25 00:14:57 1995 +@@ -9,14 +9,14 @@ + + # Use a ansi or K&R compiler + CC = cc +-CFLAGS = -D$(PAPERSIZE) -g ++CFLAGS = -D$(PAPERSIZE) -O2 + + # where to put the resulting program +-BINDIR = /usr/local/bin ++BINDIR = ${PREFIX}/bin + + # where to put the man page +-MANDIR = /usr/man +-MANEXT = l ++MANDIR = ${PREFIX}/man ++MANEXT = 1 + + # You should not have to change anything below this line + +@@ -37,7 +37,7 @@ + + a2crd: a2crd.o Makefile + $(CC) $(CFLAGS) -o $@ a2crd.o common.o +- ++ + chord.o : chord.h + common.o : chord.h + grid.o : chord.h +@@ -46,13 +46,14 @@ + toc.o : chord.h + + install : all +- cp $(PROGRAMS) $(BINDIR) +- rm -f $(MANDIR)/cat$(MANEXT)/chord.$(MANEXT) ++ install -c -s $(PROGRAMS) $(BINDIR) + cp chord.man $(MANDIR)/man$(MANEXT)/chord.$(MANEXT) +- chmod 666 $(MANDIR)/man$(MANEXT)/chord.$(MANEXT) +- Cp a2crd.man $(MANDIR)/man$(MANEXT)/a2crd.$(MANEXT) +- chmod 666 $(MANDIR)/man$(MANEXT)/a2crd.$(MANEXT) +- ++ chmod 444 $(MANDIR)/man$(MANEXT)/chord.$(MANEXT) ++ gzip -9nf $(MANDIR)/man$(MANEXT)/chord.$(MANEXT) ++ cp a2crd.man $(MANDIR)/man$(MANEXT)/a2crd.$(MANEXT) ++ chmod 444 $(MANDIR)/man$(MANEXT)/a2crd.$(MANEXT) ++ gzip -9nf $(MANDIR)/man$(MANEXT)/a2crd.$(MANEXT) ++ + shar : $(SRC) + rm -f $(RELNAME).part* + shar -F -L 60 -o $(RELNAME).part $(SRC) $(INCL) $(SONGS) $(DOCS) +@@ -68,4 +69,3 @@ + clean: + rm -f core *.o chord + +- diff --git a/misc/chord/pkg/COMMENT b/misc/chord/pkg/COMMENT new file mode 100644 index 00000000000..7d87fe69b78 --- /dev/null +++ b/misc/chord/pkg/COMMENT @@ -0,0 +1 @@ +Produce PS sheet-music from text input diff --git a/misc/chord/pkg/DESCR b/misc/chord/pkg/DESCR new file mode 100644 index 00000000000..9c818cee5f6 --- /dev/null +++ b/misc/chord/pkg/DESCR @@ -0,0 +1,10 @@ +chord produces a postscript document from a lyrics file containing +chord indications and chorus delimiters. The document produced +contains the lyrics of a song, with the guitar chords appearing above +the right words. A representation of all chords used in the song is +printed at the bottom of the last page. + +This is version 3.6. + +Satoshi Asami +asami@cs.berkeley.edu diff --git a/misc/chord/pkg/PLIST b/misc/chord/pkg/PLIST new file mode 100644 index 00000000000..8e2f9d721a2 --- /dev/null +++ b/misc/chord/pkg/PLIST @@ -0,0 +1,4 @@ +bin/chord +bin/a2crd +man/man1/chord.1.gz +man/man1/a2crd.1.gz diff --git a/misc/colorls/Makefile b/misc/colorls/Makefile new file mode 100644 index 00000000000..f40ab440551 --- /dev/null +++ b/misc/colorls/Makefile @@ -0,0 +1,22 @@ +# New ports collection makefile for: colorls +# Version required: FreeBSD-current (around January '97) +# Date created: 8 March 1995 +# Whom: Satoshi Asami +# +# $Id: Makefile,v 1.1.1.1 1997/10/11 21:54:06 hubertf Exp $ +# + +DISTNAME= colorls +PKGNAME= colorls-2.2 +CATEGORIES= misc +MASTER_SITES= ${MASTER_SITE_LOCAL} +DISTFILES= ls.tar.gz + +MAINTAINER= asami@FreeBSD.ORG + +WRKSRC= ${WRKDIR}/ls + +pre-patch: + ${CP} ${WRKSRC}/ls.1 ${WRKSRC}/colorls.1 + +.include <bsd.port.mk> diff --git a/misc/colorls/files/md5 b/misc/colorls/files/md5 new file mode 100644 index 00000000000..1a8753ed0cf --- /dev/null +++ b/misc/colorls/files/md5 @@ -0,0 +1 @@ +MD5 (ls.tar.gz) = 9912034525558b016c7700d939807e76 diff --git a/misc/colorls/patches/patch-aa b/misc/colorls/patches/patch-aa new file mode 100644 index 00000000000..75053363cfd --- /dev/null +++ b/misc/colorls/patches/patch-aa @@ -0,0 +1,381 @@ +--- ./ls.c.org Wed Mar 8 02:14:11 1995 ++++ ./ls.c Wed Mar 8 02:17:10 1995 +@@ -93,6 +93,7 @@ + int f_dirname; /* if precede with directory name */ + int f_timesort; /* sort by time vice name */ + int f_type; /* add type character for non-regular files */ ++int f_color; /* add type in color for non-regular files */ + #ifndef BSD4_4_LITE + int f_whiteout; /* show whiteout entries */ + #endif +@@ -135,9 +136,9 @@ + + fts_options = FTS_PHYSICAL; + #ifdef BSD4_4_LITE +- while ((ch = getopt(argc, argv, "1ACFLRTacdfgikloqrstu")) != EOF) { ++ while ((ch = getopt(argc, argv, "1ACFGLRTacdfgikloqrstu")) != EOF) { + #else +- while ((ch = getopt(argc, argv, "1ACFLRTWacdfgikloqrstu")) != EOF) { ++ while ((ch = getopt(argc, argv, "1ACFGLRTWacdfgikloqrstu")) != EOF) { + #endif + switch (ch) { + /* +@@ -152,6 +153,9 @@ + case 'F': + f_type = 1; + break; ++ case 'G': ++ f_color = 1; ++ break; + case 'L': + fts_options &= ~FTS_PHYSICAL; + fts_options |= FTS_LOGICAL; +@@ -207,18 +211,21 @@ + argc -= optind; + argv += optind; + ++ parsecolors(getenv("LSCOLORS")); ++ + /* + * If not -F, -i, -l, -s or -t options, don't require stat + * information. + */ +- if (!f_inode && !f_longform && !f_size && !f_timesort && !f_type) ++ if (!f_inode && !f_longform && !f_size && !f_timesort && !f_type ++ && !f_color) + fts_options |= FTS_NOSTAT; + + /* + * If not -F, -d or -l options, follow any symbolic links listed on + * the command line. + */ +- if (!f_longform && !f_listdir && !f_type) ++ if (!f_longform && !f_listdir && !f_type && !f_color) + fts_options |= FTS_COMFOLLOW; + + #ifndef BSD4_4_LITE +--- ./ls.h.org Wed Mar 8 02:14:11 1995 ++++ ./ls.h Wed Mar 8 02:17:11 1995 +@@ -49,6 +49,7 @@ + extern int f_size; /* list size in short listing */ + extern int f_statustime; /* use time of last mode change */ + extern int f_type; /* add type character for non-regular files */ ++extern int f_color; /* add type in color for non-regular files */ + + typedef struct { + FTSENT *list; +--- ./print.c.org Wed Mar 8 02:14:11 1995 ++++ ./print.c Wed Mar 8 02:17:11 1995 +@@ -66,6 +66,26 @@ + + #define IS_NOPRINT(p) ((p)->fts_number == NO_PRINT) + ++/* Most of these are taken from <sys/stat.h> */ ++typedef enum Colors { ++ C_DIR, /* directory */ ++ C_LNK, /* symbolic link */ ++ C_SOCK, /* socket */ ++ C_FIFO, /* pipe */ ++ C_EXEC, /* executable */ ++ C_BLK, /* block special */ ++ C_CHR, /* character special */ ++ C_SUID, /* setuid executable */ ++ C_SGID, /* setgid executable */ ++ C_WSDIR, /* directory writeble to others, with sticky bit */ ++ C_WDIR, /* directory writeble to others, without sticky bit */ ++ C_NUMCOLORS /* just a place-holder */ ++} Colors ; ++ ++char *defcolors = "4x5x2x3x1x464301060203"; ++ ++static int colors[C_NUMCOLORS][2]; ++ + void + printscol(dp) + DISPLAY *dp; +@@ -122,10 +142,14 @@ + printtime(sp->st_ctime); + else + printtime(sp->st_mtime); ++ if (f_color) ++ (void)colortype(sp->st_mode); + (void)printf("%s", p->fts_name); + if (f_type) + (void)printtype(sp->st_mode); +- if (S_ISLNK(sp->st_mode)) ++ if (f_color) ++ (void)printf("\033[m"); ++ if (S_ISLNK(sp->st_mode)) + printlink(p); + (void)putchar('\n'); + } +@@ -190,10 +214,22 @@ + dp->s_block); + if ((base += numrows) >= num) + break; +- while ((cnt = ((chcnt + TAB) & ~(TAB - 1))) <= endcol){ +- (void)putchar('\t'); +- chcnt = cnt; +- } ++ ++ /* ++ * some terminals get confused if we mix tabs ++ * with color sequences ++ */ ++ if (f_color) ++ while ((cnt = (chcnt + 1)) <= endcol) { ++ (void)putchar(' '); ++ chcnt = cnt; ++ } ++ else ++ while ((cnt = ((chcnt + TAB) & ~(TAB - 1))) ++ <= endcol) { ++ (void)putchar('\t'); ++ chcnt = cnt; ++ } + endcol += colwidth; + } + (void)putchar('\n'); +@@ -217,9 +241,13 @@ + if (f_size) + chcnt += printf("%*qd ", + (int)sizefield, howmany(sp->st_blocks, blocksize)); ++ if (f_color) ++ (void)colortype(sp->st_mode); + chcnt += printf("%s", p->fts_name); + if (f_type) + chcnt += printtype(sp->st_mode); ++ if (f_color) ++ printf("\033[m"); + return (chcnt); + } + +@@ -274,6 +302,95 @@ + return (0); + } + ++void ++printcolor(c) ++ Colors c; ++{ ++ printf("\033["); ++ if (colors[c][0] != -1) { ++ printf("3%d", colors[c][0]); ++ if (colors[c][1] != -1) ++ printf(";"); ++ } ++ if (colors[c][1] != -1) ++ printf("4%d", colors[c][1]); ++ printf("m"); ++} ++ ++colortype(mode) ++ mode_t mode; ++{ ++ switch(mode & S_IFMT) { ++ case S_IFDIR: ++ if (mode & S_IWOTH) ++ if (mode & S_ISTXT) ++ printcolor(C_WSDIR); ++ else ++ printcolor(C_WDIR); ++ else ++ printcolor(C_DIR); ++ return(1); ++ case S_IFLNK: ++ printcolor(C_LNK); ++ return(1); ++ case S_IFSOCK: ++ printcolor(C_SOCK); ++ return(1); ++ case S_IFIFO: ++ printcolor(C_FIFO); ++ return(1); ++ case S_IFBLK: ++ printcolor(C_BLK); ++ return(1); ++ case S_IFCHR: ++ printcolor(C_CHR); ++ return(1); ++ } ++ if (mode & (S_IXUSR | S_IXGRP | S_IXOTH)) { ++ if (mode & S_ISUID) ++ printcolor(C_SUID); ++ else if (mode & S_ISGID) ++ printcolor(C_SGID); ++ else ++ printcolor(C_EXEC); ++ return(1); ++ } ++ return(0); ++} ++ ++void ++parsecolors(cs) ++char *cs; ++{ ++ int i, j, len; ++ char c[2]; ++ if (cs == NULL) cs = ""; /* LSCOLORS not set */ ++ len = strlen(cs); ++ for (i = 0 ; i < C_NUMCOLORS ; i++) { ++ if (len <= 2*i) { ++ c[0] = defcolors[2*i]; ++ c[1] = defcolors[2*i+1]; ++ } ++ else { ++ c[0] = cs[2*i]; ++ c[1] = cs[2*i+1]; ++ } ++ for (j = 0 ; j < 2 ; j++) { ++ if ((c[j] < '0' || c[j] > '7') && ++ tolower(c[j]) != 'x') { ++ fprintf(stderr, ++ "error: invalid character '%c' in LSCOLORS env var\n", ++ c[j]); ++ c[j] = defcolors[2*i+j]; ++ } ++ if (c[j] == 'x') ++ colors[i][j] = -1; ++ else ++ colors[i][j] = c[j]-'0'; ++ } ++ } ++} ++ + static void + printlink(p) + FTSENT *p; +--- ./Makefile.org Wed Mar 8 02:14:10 1995 ++++ ./Makefile Wed Mar 8 02:20:01 1995 +@@ -1,7 +1,9 @@ + # @(#)Makefile 8.1 (Berkeley) 6/2/93 + # Makefile,v 1.2 1994/09/24 02:55:51 davidg Exp + +-PROG= ls ++PROG= colorls + SRCS= cmp.c stat_flags.c ls.c print.c util.c ++BINDIR= ${PREFIX}/bin ++MANDIR= ${PREFIX}/man/man + + .include <bsd.prog.mk> +--- ./colorls.1.org Wed Mar 8 02:14:10 1995 ++++ ./colorls.1 Wed Mar 8 02:17:10 1995 +@@ -36,16 +36,24 @@ + .\" ls.1,v 1.3 1994/09/24 02:55:53 davidg Exp + .\" + .Dd July 29, 1994 +-.Dt LS 1 ++.Dt COLORLS 1 + .Os + .Sh NAME +-.Nm ls +-.Nd list directory contents ++.Nm colorls ++.Nd list directory contents in color + .Sh SYNOPSIS +-.Nm ls +-.Op Fl ACFLRTWacdfiloqrstu1 ++.Nm colorls ++.Op Fl ACFGLRTWacdfiloqrstu1 + .Op Ar file ... + .Sh DESCRIPTION ++(Note: This man page describes the color version of the program. To ++minimize the differences from the original, the program is referred to ++as ++.Nm ls ++in this manual. The new option ++.Fl G ++is for color display.) ++.Pp + For each operand that names a + .Ar file + of a type other than +@@ -87,6 +95,12 @@ + a percent sign (%) after each whiteout, + and a vertical bar (|) after each that is a + .Tn FIFO . ++.It Fl G ++Use ANSI color sequences to distinguish file types. (See ++.Ev LSCOLORS ++below.) In addition to those mentioned above in ++.Fl F , ++some extra attributes (setuid bit set, etc.) are also displayed. + .It Fl L + If argument is a symbolic link, list the file or directory the link references + rather than the link itself. +@@ -314,6 +328,74 @@ + See + .Xr environ 7 + for more information. ++.It LSCOLORS ++The value of this variable describes what color to use for which ++attribute when the color output ++.Pq Fl G ++is specified. This string is a concatenation of pairs of the format ++.Sy fb , ++where ++.Sy f ++is the foreground color and ++.Sy b ++is the background color. ++.Pp ++The color designators are as follows: ++.Pp ++.Bl -tag -width 4n -offset indent -compact ++.It Sy 0 ++black ++.It Sy 1 ++red ++.It Sy 2 ++green ++.It Sy 3 ++yellow ++.It Sy 4 ++blue ++.It Sy 5 ++magenta ++.It Sy 6 ++cyan ++.It Sy 7 ++white ++.It Sy x ++default foreground or background ++.El ++.Pp ++(Note: the above are standard ANSI colors. The actual display may ++differ depending on the color capabilities of your terminal.) ++.Pp ++The order of the attributes are as follows: ++.Pp ++.Bl -enum -offset indent -compact ++.It ++directory ++.It ++symbolic link ++.It ++socket ++.It ++pipe ++.It ++executable ++.It ++block special ++.It ++character special ++.It ++executable with setuid bit set ++.It ++executable with setgid bit set ++.It ++directory writable to others, with sticky bit ++.It ++directory writable to others, without sticky bit ++.El ++.Pp ++The default is "4x5x2x3x1x464301060203", i.e., blue foreground and ++default background for regular directories, black foreground and red ++background for setuid executables, etc. + .El + .Sh COMPATIBILITY + The group field is now automatically included in the long listing for diff --git a/misc/colorls/pkg/COMMENT b/misc/colorls/pkg/COMMENT new file mode 100644 index 00000000000..f3f09f0e4f6 --- /dev/null +++ b/misc/colorls/pkg/COMMENT @@ -0,0 +1 @@ +An ls that can use color to display file attributes diff --git a/misc/colorls/pkg/DESCR b/misc/colorls/pkg/DESCR new file mode 100644 index 00000000000..7de79189ef0 --- /dev/null +++ b/misc/colorls/pkg/DESCR @@ -0,0 +1,14 @@ +This is a simple hack to the FreeBSD /bin/ls to use ANSI sequences to +display file attributes in color. There is a -G flag (somewhat +similar to the -F flag). Take a look at the man page for details. + +The program is called "colorls" and installs itself in /usr/local/bin. +The file patches/patch-aa is the diffs from the 3.0-current (as of +1997/01/01) /usr/src/bin/ls directory. + +Standard xterm prior to XFree86 3.1.2B doesn't know about colors, so +you should use update your XFree86 or use kterm (available from the ports +collection). + +Satoshi Asami +asami@cs.berkeley.edu diff --git a/misc/colorls/pkg/PLIST b/misc/colorls/pkg/PLIST new file mode 100644 index 00000000000..19d26842bde --- /dev/null +++ b/misc/colorls/pkg/PLIST @@ -0,0 +1,2 @@ +bin/colorls +man/man1/colorls.1.gz diff --git a/misc/dotfile/Makefile b/misc/dotfile/Makefile new file mode 100644 index 00000000000..1f12647e933 --- /dev/null +++ b/misc/dotfile/Makefile @@ -0,0 +1,27 @@ +# New ports collection makefile for: dotfile +# Version required: 2.0 +# Date created: 11/12/96 +# Whom: oly@world.std.com +# +# $Id: Makefile,v 1.1.1.1 1997/10/11 21:54:11 hubertf Exp $ +# + +DISTNAME= dotfile-2.0 +CATEGORIES= misc tk41 +MASTER_SITES= ftp://ftp.imada.ou.dk/pub/dotfile/ + +MAINTAINER= oly@world.std.com + +LIB_DEPENDS= tk41\\.1:${PORTSDIR}/x11/tk41 +RUN_DEPENDS= wish4.1:${PORTSDIR}/x11/tk41 + +GNU_CONFIGURE= yes +MAN1= dotfile.1 + +do-build: + @${DO_NADA} + +post-install: + @${CAT} ${PKGDIR}/MESSAGE + +.include <bsd.port.mk> diff --git a/misc/dotfile/files/md5 b/misc/dotfile/files/md5 new file mode 100644 index 00000000000..d51a20bee0e --- /dev/null +++ b/misc/dotfile/files/md5 @@ -0,0 +1 @@ +MD5 (dotfile-2.0.tar.gz) = efe6b64d425b6f6f2ae6f44648b597fd diff --git a/misc/dotfile/patches/patch-01 b/misc/dotfile/patches/patch-01 new file mode 100644 index 00000000000..823c0b29025 --- /dev/null +++ b/misc/dotfile/patches/patch-01 @@ -0,0 +1,68 @@ +--- Makefile.in.orig Fri Jan 31 13:10:25 1997 ++++ Makefile.in Thu Apr 3 19:02:57 1997 +@@ -15,7 +15,7 @@ + bindir = $(exec_prefix)/bin + + # Directory in which to install library files. +-libdir = $(prefix)/lib/dotfile-$(version) ++libdir = $(prefix)/share/dotfile-$(version) + # Directory for the manual page + mandir = $(prefix)/man/man1 + +@@ -23,7 +23,6 @@ + SHELL = /bin/sh + + ### Tell the user that there is nothing to be compiled. +-.PHONY: nothing + nothing: + @echo "The Dotfile Generator does not contain any files which has to be compiled!" + @echo "On the other hand, during installation, all the modules need to be" +@@ -32,10 +31,8 @@ + # + # install all the files in the corect places. + # +-.PHONY: install + install: copydirs bytecompile + +-.PHONY: copydirs + copydirs: + $(SHELL) $(srcdir)/mkinstalldirs $(bindir) $(libdir) \ + $(libdir)/Generator $(mandir) +@@ -49,20 +46,18 @@ + done + cp dotfile.1 $(mandir) + -@RM@ $(bindir)/dotfile +- -@LN@ -s $(bindir)/dotfile-$(version) $(bindir)/dotfile ++ -@LN@ -s dotfile-$(version) $(bindir)/dotfile + chmod 755 $(bindir)/dotfile + chmod 755 $(bindir)/dotfile-$(version) + +-.PHONY: bytecompile + bytecompile: $(MODULES) + + # + # Targets that requre X (the modules using the fonts widget) + # +-.PHONY fvwm1 fvwm2: + fvwm1 fvwm2: +- @if wish testwish; then \ +- @WISH@ $(libdir)/Generator/dotfile.tcl $(libdir)/Generator $(libdir)/$@ bytecompile; \ ++ @if $(WISH) testwish; then \ ++ $(WISH) $(libdir)/Generator/dotfile.tcl $(libdir)/Generator $(libdir)/$@ bytecompile; \ + else \ + echo "An error should be shown above!"; \ + echo "You need X to bytecompile the $@ module, do this manually after"; \ +@@ -72,13 +67,11 @@ + # + # Targets that may bytecompile without X + # +-.PHONY emacs tcsh rtin bash elm: + emacs tcsh rtin bash elm: + @@TCLSH@ $(libdir)/Generator/dotfile.tcl $(libdir)/Generator $(libdir)/$@ bytecompile + + # + # Clean + # +-.PHONY: clean + clean : + @echo Nothing to do diff --git a/misc/dotfile/pkg/COMMENT b/misc/dotfile/pkg/COMMENT new file mode 100644 index 00000000000..aa32605fa33 --- /dev/null +++ b/misc/dotfile/pkg/COMMENT @@ -0,0 +1 @@ +A GUI dotfile generator program to create .config files diff --git a/misc/dotfile/pkg/DESCR b/misc/dotfile/pkg/DESCR new file mode 100644 index 00000000000..c0101b2d484 --- /dev/null +++ b/misc/dotfile/pkg/DESCR @@ -0,0 +1,10 @@ +This is a port of the dotfile generator program. It creates +configuration files for many popular programs. + +The dotfile generator provides a handy way to create user- +configuration files for many programs. Modules are used +to define the configuration options. A sample template is +provided to aid in creating new modules. + +- Oly +oly@world.std.com diff --git a/misc/dotfile/pkg/MESSAGE b/misc/dotfile/pkg/MESSAGE new file mode 100644 index 00000000000..89528ccaff5 --- /dev/null +++ b/misc/dotfile/pkg/MESSAGE @@ -0,0 +1,3 @@ + +Check out dotfile's useful homepage http://www.imada.ou.dk/~blackie/dotfile/ + diff --git a/misc/dotfile/pkg/PLIST b/misc/dotfile/pkg/PLIST new file mode 100644 index 00000000000..eae88eda178 --- /dev/null +++ b/misc/dotfile/pkg/PLIST @@ -0,0 +1,232 @@ +bin/dotfile +bin/dotfile-2.0 +man/man1/dotfile.1.gz +share/dotfile-2.0/Generator/bitmaps/Down +share/dotfile-2.0/Generator/bitmaps/act_folder.xbm +share/dotfile-2.0/Generator/bitmaps/file.xbm +share/dotfile-2.0/Generator/bitmaps/folder.xbm +share/dotfile-2.0/Generator/bitmaps/idx.xbm +share/dotfile-2.0/Generator/bitmaps/scissors.xbm +share/dotfile-2.0/Generator/bitmaps/new.xbm +share/dotfile-2.0/Generator/bitmaps/GeneratorLogo.gif +share/dotfile-2.0/Generator/bitmaps/folder_center.xbm +share/dotfile-2.0/Generator/bitmaps/Left +share/dotfile-2.0/Generator/bitmaps/Right +share/dotfile-2.0/Generator/bitmaps/Up +share/dotfile-2.0/Generator/bitmaps/ComboBox.xbm +share/dotfile-2.0/Generator/oldVersions/1.1/tcsh +share/dotfile-2.0/Generator/oldVersions/1.1/Emacs +share/dotfile-2.0/Generator/oldVersions/1.1/fvwm +share/dotfile-2.0/Generator/oldVersions/1.1/Fvwm +share/dotfile-2.0/Generator/update-from-1.1.tcl +share/dotfile-2.0/Generator/types.tcl +share/dotfile-2.0/Generator/system.tcl.in +share/dotfile-2.0/Generator/system.tcl +share/dotfile-2.0/Generator/setup.tcl +share/dotfile-2.0/Generator/setPages.tcl +share/dotfile-2.0/Generator/save.tcl +share/dotfile-2.0/Generator/parse.tcl +share/dotfile-2.0/Generator/menus.tcl +share/dotfile-2.0/Generator/makeHelp.tcl +share/dotfile-2.0/Generator/makeHelp +share/dotfile-2.0/Generator/mail.tcl +share/dotfile-2.0/Generator/load.tcl +share/dotfile-2.0/Generator/import.tcl +share/dotfile-2.0/Generator/helpfile.data +share/dotfile-2.0/Generator/help.tcl +share/dotfile-2.0/Generator/help.html +share/dotfile-2.0/Generator/generatedHelp +share/dotfile-2.0/Generator/generate.tcl +share/dotfile-2.0/Generator/functions.tcl +share/dotfile-2.0/Generator/TAGS +share/dotfile-2.0/Generator/fillouts.tcl +share/dotfile-2.0/Generator/extOptMenu.tcl +share/dotfile-2.0/Generator/export.tcl +share/dotfile-2.0/Generator/edit.tcl +share/dotfile-2.0/Generator/dotfile.tcl +share/dotfile-2.0/Generator/dialog.tcl +share/dotfile-2.0/Generator/details.tcl +share/dotfile-2.0/Generator/combo.tcl +share/dotfile-2.0/Generator/color.tcl +share/dotfile-2.0/Generator/bytecompile.tcl +share/dotfile-2.0/Generator/browser.tcl +share/dotfile-2.0/Generator/Warranty +share/dotfile-2.0/Generator/versionUpdate.tcl +share/dotfile-2.0/Generator/Copying +share/dotfile-2.0/Generator/util.tcl +share/dotfile-2.0/fvwm2/save-files/distrib.save +share/dotfile-2.0/fvwm2/save-files/imada.save +share/dotfile-2.0/fvwm2/exports/contents +share/dotfile-2.0/fvwm2/exports/distrib.export +share/dotfile-2.0/fvwm2/exports/imada.export +share/dotfile-2.0/fvwm2/style.template +share/dotfile-2.0/fvwm2/paths.template +share/dotfile-2.0/fvwm2/mouse.template +share/dotfile-2.0/fvwm2/miscellaneous.template +share/dotfile-2.0/fvwm2/menus.template +share/dotfile-2.0/fvwm2/main.template +share/dotfile-2.0/fvwm2/keys.template +share/dotfile-2.0/fvwm2/info +share/dotfile-2.0/fvwm2/helpfile.data +share/dotfile-2.0/fvwm2/help.html +share/dotfile-2.0/fvwm2/generatedHelp +share/dotfile-2.0/fvwm2/fvwmrc_convert.in.44 +share/dotfile-2.0/fvwm2/fvwmrc_convert.in +share/dotfile-2.0/fvwm2/fvwmrc_convert +share/dotfile-2.0/fvwm2/fvwm2parser.tcl +share/dotfile-2.0/fvwm2/functions.template +share/dotfile-2.0/fvwm2/font.tcl +share/dotfile-2.0/fvwm2/decor.template +share/dotfile-2.0/fvwm2/colorsfonts.template +share/dotfile-2.0/fvwm2/buttons.template +share/dotfile-2.0/fvwm2/README +share/dotfile-2.0/fvwm2/FvwmWinList.template +share/dotfile-2.0/fvwm2/FvwmTalk.template +share/dotfile-2.0/fvwm2/FvwmScroll.template +share/dotfile-2.0/fvwm2/FvwmPager.template +share/dotfile-2.0/fvwm2/FvwmIdent.template +share/dotfile-2.0/fvwm2/FvwmIconMan.template +share/dotfile-2.0/fvwm2/FvwmIconBox.template +share/dotfile-2.0/fvwm2/FvwmButtons.template +share/dotfile-2.0/fvwm2/FvwmBanner.template +share/dotfile-2.0/fvwm2/FvwmBacker.template +share/dotfile-2.0/fvwm2/FvwmAuto.template +share/dotfile-2.0/fvwm2/virtual.template +share/dotfile-2.0/fvwm2/FvwmAudio.template +share/dotfile-2.0/fvwm2/tools.tcl +share/dotfile-2.0/fvwm2/bytecompile +share/dotfile-2.0/bash/save-files/author-export-1.save +share/dotfile-2.0/bash/save-files/author-export-2.save +share/dotfile-2.0/bash/exports/author-export-1.export +share/dotfile-2.0/bash/exports/author-export-2.export +share/dotfile-2.0/bash/exports/contents +share/dotfile-2.0/bash/sysLimits.template +share/dotfile-2.0/bash/prompting.template +share/dotfile-2.0/bash/promptWidget.template +share/dotfile-2.0/bash/path.template +share/dotfile-2.0/bash/main.template +share/dotfile-2.0/bash/mail.template +share/dotfile-2.0/bash/logo8.gif +share/dotfile-2.0/bash/logo1.gif +share/dotfile-2.0/bash/job.template +share/dotfile-2.0/bash/info +share/dotfile-2.0/bash/helpfile.data +share/dotfile-2.0/bash/help.html +share/dotfile-2.0/bash/generatedHelp +share/dotfile-2.0/bash/fileDir.template +share/dotfile-2.0/bash/errorHandling.template +share/dotfile-2.0/bash/completion.template +share/dotfile-2.0/bash/commLine.template +share/dotfile-2.0/bash/commHist.template +share/dotfile-2.0/bash/bindKey.template +share/dotfile-2.0/bash/alias.template +share/dotfile-2.0/bash/TODO +share/dotfile-2.0/bash/version.template +share/dotfile-2.0/bash/README +share/dotfile-2.0/bash/ttyApp.template +share/dotfile-2.0/bash/bytecompile +share/dotfile-2.0/tcsh/save-files/standard.save +share/dotfile-2.0/tcsh/save-files/complete.save +share/dotfile-2.0/tcsh/exports/contents +share/dotfile-2.0/tcsh/exports/standard.export +share/dotfile-2.0/tcsh/time.template +share/dotfile-2.0/tcsh/promptWidget.template +share/dotfile-2.0/tcsh/prompt.template +share/dotfile-2.0/tcsh/path.template +share/dotfile-2.0/tcsh/misc.template +share/dotfile-2.0/tcsh/main.template +share/dotfile-2.0/tcsh/logout.template +share/dotfile-2.0/tcsh/limit.template +share/dotfile-2.0/tcsh/jobs.template +share/dotfile-2.0/tcsh/info +share/dotfile-2.0/tcsh/history.template +share/dotfile-2.0/tcsh/helpfile.data +share/dotfile-2.0/tcsh/help.html +share/dotfile-2.0/tcsh/generatedHelp +share/dotfile-2.0/tcsh/files.template +share/dotfile-2.0/tcsh/editor.template +share/dotfile-2.0/tcsh/dirs.template +share/dotfile-2.0/tcsh/completion_user.template +share/dotfile-2.0/tcsh/completion_misc.template +share/dotfile-2.0/tcsh/bindings.template +share/dotfile-2.0/tcsh/alias.template +share/dotfile-2.0/tcsh/addset.template +share/dotfile-2.0/tcsh/watch.template +share/dotfile-2.0/tcsh/TAGS +share/dotfile-2.0/tcsh/util.tcl +share/dotfile-2.0/tcsh/bytecompile +share/dotfile-2.0/emacs/local/local.template +share/dotfile-2.0/emacs/save-files/Emacs.save +share/dotfile-2.0/emacs/exports/Emacs.export +share/dotfile-2.0/emacs/exports/contents +share/dotfile-2.0/emacs/saving.template +share/dotfile-2.0/emacs/python.template +share/dotfile-2.0/emacs/outline-mode.template +share/dotfile-2.0/emacs/modes-general.template +share/dotfile-2.0/emacs/misc.template +share/dotfile-2.0/emacs/main.template +share/dotfile-2.0/emacs/info +share/dotfile-2.0/emacs/html-helper-mode.template +share/dotfile-2.0/emacs/hilit-mode.template +share/dotfile-2.0/emacs/helpfile.data +share/dotfile-2.0/emacs/helper.template +share/dotfile-2.0/emacs/help.html +share/dotfile-2.0/emacs/generatedHelp +share/dotfile-2.0/emacs/comint-mode.template +share/dotfile-2.0/emacs/c-mode.template +share/dotfile-2.0/emacs/abbrev.template +share/dotfile-2.0/emacs/TAGS +share/dotfile-2.0/emacs/HELP +share/dotfile-2.0/emacs/util.tcl +share/dotfile-2.0/emacs/ChangeLog +share/dotfile-2.0/emacs/terminal.template +share/dotfile-2.0/emacs/tcl-mode.template +share/dotfile-2.0/emacs/bytecompile +share/dotfile-2.0/rtin/save-files/rtin.save +share/dotfile-2.0/rtin/exports/contents +share/dotfile-2.0/rtin/exports/rtin.export +share/dotfile-2.0/rtin/helpfile.data +share/dotfile-2.0/rtin/main.template +share/dotfile-2.0/rtin/info +share/dotfile-2.0/rtin/rtin-mod.template +share/dotfile-2.0/rtin/help.html +share/dotfile-2.0/rtin/generatedHelp +share/dotfile-2.0/rtin/rtinparser.tcl +share/dotfile-2.0/rtin/bytecompile +share/dotfile-2.0/elm/README +share/dotfile-2.0/elm/viewingcharset.template +share/dotfile-2.0/elm/viewer.template +share/dotfile-2.0/elm/version.template +share/dotfile-2.0/elm/textencoding.template +share/dotfile-2.0/elm/signature.template +share/dotfile-2.0/elm/quoting.template +share/dotfile-2.0/elm/optionmenu.template +share/dotfile-2.0/elm/navigation.template +share/dotfile-2.0/elm/main.template +share/dotfile-2.0/elm/layout.template +share/dotfile-2.0/elm/info +share/dotfile-2.0/elm/generel.template +share/dotfile-2.0/elm/folderdecision.template +share/dotfile-2.0/elm/foldercommunication.template +share/dotfile-2.0/elm/elmrc +share/dotfile-2.0/elm/elm-parser.tcl +share/dotfile-2.0/elm/editor.template +share/dotfile-2.0/elm/editingheaders.template +share/dotfile-2.0/elm/behavior.template +share/dotfile-2.0/elm/aliasmenu.template +share/dotfile-2.0/elm/viewingheaders.template +share/dotfile-2.0/elm/bytecompile +share/dotfile-2.0/fvwm1/save-files/system.save +share/dotfile-2.0/fvwm1/exports/contents +share/dotfile-2.0/fvwm1/exports/system.export +share/dotfile-2.0/fvwm1/paths.template +share/dotfile-2.0/fvwm1/modes.template +share/dotfile-2.0/fvwm1/menus.template +share/dotfile-2.0/fvwm1/main.template +share/dotfile-2.0/fvwm1/info +share/dotfile-2.0/fvwm1/fonts.template +share/dotfile-2.0/fvwm1/colors.template +share/dotfile-2.0/fvwm1/tools.tcl +share/dotfile-2.0/fvwm1/README +share/dotfile-2.0/fvwm1/ressources.template +share/dotfile-2.0/fvwm1/bytecompile diff --git a/misc/fd/Makefile b/misc/fd/Makefile new file mode 100644 index 00000000000..a7446009166 --- /dev/null +++ b/misc/fd/Makefile @@ -0,0 +1,35 @@ +# New ports collection makefile for: FD +# Version required: 1.01h +# Date created: 20 Feb 1996 +# Whom: Nobuhiro Yasutomi <nobu@psrc.isac.co.jp> +# +# $Id: Makefile,v 1.1.1.1 1997/10/11 21:54:16 hubertf Exp $ +# + +DISTNAME= FD-1.01 +PKGNAME= fd-1.01h +CATEGORIES= misc +# The original distribution (NetNews articles) can be found at following site. +# site= ftp://skylark.ics.es.osaka-u.ac.jp/pub/FDclone/ +# files= FD-1.01 FD-1.01g FD-1.01h +# Here ,we use already decoded archive for convenience. +MASTER_SITES= ftp://ftp.hipecs.hokudai.ac.jp/pub/unix/FD/ \ + ftp://ftp.cc.saga-u.ac.jp/pub/fj.sources/FD/ + +PATCHFILES= FD-1.01g.patch.gz FD-1.01h.patch.gz +PATCH_SITES= ${MASTER_SITES} + +MAINTAINER= nobu@psrc.isac.co.jp + +ALL_TARGET= goal +INSTALL_TARGET= install +MANLANG= ja_JP.EUC +MAN1= fd.1 + +do-configure: + cd ${WRKSRC} ; make config + +post-install: + @strip ${PREFIX}/bin/fd + +.include <bsd.port.mk> diff --git a/misc/fd/files/md5 b/misc/fd/files/md5 new file mode 100644 index 00000000000..1f5e11da2dd --- /dev/null +++ b/misc/fd/files/md5 @@ -0,0 +1,3 @@ +MD5 (FD-1.01.tar.gz) = 3444e994a8b37bd004280d44ffcccff0 +MD5 (FD-1.01g.patch.gz) = 8eb94f0bc3cc044e01ba181278499393 +MD5 (FD-1.01h.patch.gz) = 01dd4b346ec282cb4fe35f4e10dec0c0 diff --git a/misc/fd/patches/patch-aa b/misc/fd/patches/patch-aa new file mode 100644 index 00000000000..f4a97c2c669 --- /dev/null +++ b/misc/fd/patches/patch-aa @@ -0,0 +1,18 @@ +--- Makefile.in-orig Mon Jan 6 14:18:12 1997 ++++ Makefile.in Mon Jan 6 14:20:26 1997 +@@ -3,10 +3,12 @@ + # + + TITLE = FD- +-TOPDIR = /usr/local ++PREFIX ?= /usr/local ++TOPDIR = $(PREFIX) + BINDIR = $(TOPDIR)/bin +-MANDIR = $(TOPDIR)/man/man$(MANSEC) +-CATDIR = $(TOPDIR)/man/cat$(MANSEC) ++MANDIR = $(TOPDIR)/man/$(MANLANG)/man$(MANSEC) ++CATDIR = $(TOPDIR)/man/$(MANLANG)/cat$(MANSEC) ++MANLANG = ja_JP.EUC + DEFRC = /etc/fdrc + SHELL = /bin/sh + INSTALL = cp -p diff --git a/misc/fd/pkg/COMMENT b/misc/fd/pkg/COMMENT new file mode 100644 index 00000000000..2a1c33f6ef5 --- /dev/null +++ b/misc/fd/pkg/COMMENT @@ -0,0 +1 @@ +A file and directory management tool diff --git a/misc/fd/pkg/DESCR b/misc/fd/pkg/DESCR new file mode 100644 index 00000000000..a2f4ca9d01d --- /dev/null +++ b/misc/fd/pkg/DESCR @@ -0,0 +1,11 @@ +`FD' is a file and directory management tool for text terminal. +Browsing file list, viewing, editing, archiving/extracting management +with a few touch. + +FD for unix by shirai@red.nintendo.co.jp, and it is a clone of +FD for DOS (AT and PC9801) designed by A. Idei (SDI00544@niftyserve.or.jp). + + Currently, the man page is available only in Japanese, but it's + easy to use. Setting `FD_LANGUAGE' environment to 'english' you can + use English help. + -- nobu@psrc.isac.co.jp diff --git a/misc/fd/pkg/PLIST b/misc/fd/pkg/PLIST new file mode 100644 index 00000000000..3c938bea823 --- /dev/null +++ b/misc/fd/pkg/PLIST @@ -0,0 +1,2 @@ +bin/fd +man/ja_JP.EUC/man1/fd.1.gz diff --git a/misc/fep/Makefile b/misc/fep/Makefile new file mode 100644 index 00000000000..8e9f40fa170 --- /dev/null +++ b/misc/fep/Makefile @@ -0,0 +1,18 @@ +# New ports collection makefile for: fep +# Version required: +# Date created: 20 Feb 1996 +# Whom: Nobuhiro Yasutomi <nobu@psrc.isac.co.jp> +# +# $Id: Makefile,v 1.1.1.1 1997/10/11 21:54:17 hubertf Exp $ +# + +DISTNAME= fep +PKGNAME= fep-1.0 +CATEGORIES= misc +MASTER_SITES= ftp://ftp.sra.co.jp/pub/cmd/ + +MAINTAINER= nobu@psrc.isac.co.jp + +NO_WRKSUBDIR= yes + +.include <bsd.port.mk> diff --git a/misc/fep/files/md5 b/misc/fep/files/md5 new file mode 100644 index 00000000000..f0e2da6a048 --- /dev/null +++ b/misc/fep/files/md5 @@ -0,0 +1 @@ +MD5 (fep.tar.gz) = 3e25e467383d09514c4a37c38d8bd632 diff --git a/misc/fep/patches/patch-aa b/misc/fep/patches/patch-aa new file mode 100644 index 00000000000..e47aa499760 --- /dev/null +++ b/misc/fep/patches/patch-aa @@ -0,0 +1,29 @@ +--- Makefile.orig Thu Jun 10 11:51:22 1993 ++++ Makefile Tue Feb 20 14:17:52 1996 +@@ -19,13 +19,13 @@ + + #STAT = -DSTAT# Delete # for statistic info + #KANJI = -DKANJI# Delete # for KANJI handling +-CONFIG = $(STAT) $(KANJI) ++CONFIG = $(STAT) $(KANJI) -D_cnt=_r + + #DEBUG = -g +-DEBUG = -O ++#DEBUG = -O + +-CFLAGS = $(DEBUG) $(CONFIG) ++CFLAGS += $(DEBUG) $(CONFIG) +-LDFLAGS = -ltermcap ++LDFLAGS = -ltermcap -lcompat + + all: $(TARGET) + +@@ -37,7 +37,7 @@ + + install: $(TARGET) + install -s $(TARGET) $(INSTDIR) +- install -c fep.1 /usr/man/manl/fep.l ++ gzip -9n -c fep.1 > /usr/local/man/man1/fep.1.gz + + fep.1: fep.jman + sed -e '/^\.EG/d' -e '/^\.JP/,/^\.EJ/d' -e '/^\.\\"KS/,/^\.\\"KE/d' \ diff --git a/misc/fep/pkg/COMMENT b/misc/fep/pkg/COMMENT new file mode 100644 index 00000000000..e221de8908e --- /dev/null +++ b/misc/fep/pkg/COMMENT @@ -0,0 +1 @@ +A general purpose front end for command line editing. diff --git a/misc/fep/pkg/DESCR b/misc/fep/pkg/DESCR new file mode 100644 index 00000000000..2ba9153ff91 --- /dev/null +++ b/misc/fep/pkg/DESCR @@ -0,0 +1,4 @@ +Fep is a general purpose front end processor applicable to +most UNIX commands that features vi(1)- or emacs(1)-like +line editing and a command history mechanism like that of +csh(1). diff --git a/misc/fep/pkg/PLIST b/misc/fep/pkg/PLIST new file mode 100644 index 00000000000..4da5d97ea2f --- /dev/null +++ b/misc/fep/pkg/PLIST @@ -0,0 +1,2 @@ +bin/fep +man/man1/fep.1.gz diff --git a/misc/figlet/Makefile b/misc/figlet/Makefile new file mode 100644 index 00000000000..150f08d5380 --- /dev/null +++ b/misc/figlet/Makefile @@ -0,0 +1,19 @@ +# New ports collection makefile for: figlet +# Version required: 2.2 +# Date created: Sat July 20, 1996 +# Whom: David O'Brien (obrien@cs.ucdavis.edu) +# +# $Id: Makefile,v 1.1.1.1 1997/10/11 21:54:18 hubertf Exp $ +# + +DISTNAME= figlet22 +PKGNAME= figlet-2.2 +CATEGORIES= misc +MASTER_SITES= ftp://ftp.nicoh.com/pub/figlet/program/unix/ \ + ftp://ftp.wwa.com/pub/Scarecrow/Figlet/Unix/ + +MAINTAINER= obrien@FreeBSD.org + +MAN6= figlet.6 + +.include <bsd.port.mk> diff --git a/misc/figlet/files/md5 b/misc/figlet/files/md5 new file mode 100644 index 00000000000..7301cc5fb0c --- /dev/null +++ b/misc/figlet/files/md5 @@ -0,0 +1 @@ +MD5 (figlet22.tar.gz) = 59fc72d8ed84902526ca1ea69f27ddec diff --git a/misc/figlet/patches/patch-aa b/misc/figlet/patches/patch-aa new file mode 100644 index 00000000000..e313f6f25e8 --- /dev/null +++ b/misc/figlet/patches/patch-aa @@ -0,0 +1,38 @@ +--- Makefile.orig Tue Feb 18 15:02:28 1997 ++++ Makefile Tue Aug 12 08:34:46 1997 +@@ -10,18 +10,18 @@ + # for changing this is if sh is not in the same place. + SHELL = /bin/sh + CC = gcc +-CFLAGS = -g ++#CFLAGS = -g + + # Where the executables should be put +-DESTDIR = /usr/games ++DESTDIR = $(PREFIX)/bin + + # Where the man page should be put +-MANDIR = /usr/man/man6 ++MANDIR = $(PREFIX)/man/man6 + + # Where figlet will search first for fonts (the ".flf" files). +-DEFAULTFONTDIR = $(DESTDIR)/lib/figlet.dir ++#DEFAULTFONTDIR = $(DESTDIR)/lib/figlet.dir + # Use this definition if you can't put things in /usr/games +-DEFAULTFONTDIR = fonts ++DEFAULTFONTDIR = $(PREFIX)/share/figlet + + # The filename of the font to be used if no other is specified + # (standard.flf is recommended, but any other can be used). +@@ -50,8 +50,10 @@ + rm -f *.o figlet chkfont + + install: figlet chkfont +- mkdir $(DEFAULTFONTDIR) ++ mkdir -p $(DEFAULTFONTDIR) ++ strip figlet + cp figlet $(DESTDIR) ++ strip chkfont + cp chkfont $(DESTDIR) + cp figlist $(DESTDIR) + cp showfigfonts $(DESTDIR) diff --git a/misc/figlet/pkg/COMMENT b/misc/figlet/pkg/COMMENT new file mode 100644 index 00000000000..050b6f2f5c3 --- /dev/null +++ b/misc/figlet/pkg/COMMENT @@ -0,0 +1 @@ +sysV banner like program prints strings in fancy ASCII art large characters diff --git a/misc/figlet/pkg/DESCR b/misc/figlet/pkg/DESCR new file mode 100644 index 00000000000..ae0fd7cedad --- /dev/null +++ b/misc/figlet/pkg/DESCR @@ -0,0 +1,18 @@ +Figlet is a program that creates large ASCII art characters out of ordinary +screen characters + + _ _ _ _ _ _ + | (_) | _____ | |_| |__ (_)___ + | | | |/ / _ \ | __| '_ \| / __| + | | | < __/ | |_| | | | \__ \_ + |_|_|_|\_\___| \__|_| |_|_|___(_) + + +Figlet can print in a variety of fonts, both left-to-right and right-to-left. +Figlet comes with several fonts. Also, many other fonts are avaiable, +including Hebrew, Cyrillic (Russian), and Greek. + +There is also a "Figlet Home Page" on the Worldwide Web. The URL is +http://www.math.uiuc.edu/~chappell/figlet + +-- David (obrien@cs.ucdavis.edu) diff --git a/misc/figlet/pkg/PLIST b/misc/figlet/pkg/PLIST new file mode 100644 index 00000000000..987c76c8a7d --- /dev/null +++ b/misc/figlet/pkg/PLIST @@ -0,0 +1,63 @@ +bin/figlet +bin/chkfont +bin/figlist +bin/showfigfonts +man/man6/figlet.6.gz +share/figlet/646-ca.flc +share/figlet/646-ca2.flc +share/figlet/646-cn.flc +share/figlet/646-cu.flc +share/figlet/646-de.flc +share/figlet/646-dk.flc +share/figlet/646-es.flc +share/figlet/646-es2.flc +share/figlet/646-fr.flc +share/figlet/646-gb.flc +share/figlet/646-hu.flc +share/figlet/646-irv.flc +share/figlet/646-it.flc +share/figlet/646-jp.flc +share/figlet/646-kr.flc +share/figlet/646-no.flc +share/figlet/646-no2.flc +share/figlet/646-pt.flc +share/figlet/646-pt2.flc +share/figlet/646-se.flc +share/figlet/646-se2.flc +share/figlet/646-yu.flc +share/figlet/8859-2.flc +share/figlet/8859-3.flc +share/figlet/8859-4.flc +share/figlet/8859-5.flc +share/figlet/8859-7.flc +share/figlet/8859-8.flc +share/figlet/8859-9.flc +share/figlet/banner.flf +share/figlet/big.flf +share/figlet/block.flf +share/figlet/bubble.flf +share/figlet/digital.flf +share/figlet/frango.flc +share/figlet/hz.flc +share/figlet/ilhebrew.flc +share/figlet/ivrit.flf +share/figlet/jis0201.flc +share/figlet/koi8r.flc +share/figlet/lean.flf +share/figlet/mini.flf +share/figlet/mnemonic.flf +share/figlet/moscow.flc +share/figlet/script.flf +share/figlet/shadow.flf +share/figlet/slant.flf +share/figlet/small.flf +share/figlet/smscript.flf +share/figlet/smshadow.flf +share/figlet/smslant.flf +share/figlet/standard.flf +share/figlet/term.flf +share/figlet/upper.flc +share/figlet/ushebrew.flc +share/figlet/uskata.flc +share/figlet/utf8.flc +@dirrm share/figlet diff --git a/misc/git/Makefile b/misc/git/Makefile new file mode 100644 index 00000000000..4dd64589e3a --- /dev/null +++ b/misc/git/Makefile @@ -0,0 +1,22 @@ +# New ports collection makefile for: git +# Version required: 4.3.11 +# Date created: 12 Jul 1995 +# Whom: torstenb@FreeBSD.ORG +# +# $Id: Makefile,v 1.1.1.1 1997/10/11 21:54:19 hubertf Exp $ +# + +DISTNAME= git-4.3.11 +CATEGORIES= misc +MASTER_SITES= ${MASTER_SITE_GNU} + +GNU_CONFIGURE= YES +MAN1= git.1 gitaction.1 gitmount.1 gitcmp.1 gitkeys.1 \ + gitredir.1 gitrgrep.1 gitps.1 gitview.1 + +pre-install: + ${CP} ${WRKSRC}/term/.gitrc.ansi \ + ${WRKSRC}/term/.gitrc.cons25 + (cd ${WRKSRC}/term ; patch --quiet -p0 <${FILESDIR}/gitrc.cons25.patch ) + +.include <bsd.port.mk> diff --git a/misc/git/files/gitrc.cons25.patch b/misc/git/files/gitrc.cons25.patch new file mode 100644 index 00000000000..ac052d49bd7 --- /dev/null +++ b/misc/git/files/gitrc.cons25.patch @@ -0,0 +1,11 @@ +--- .gitrc.cons25.orig Sat Jun 15 17:00:30 1996 ++++ .gitrc.cons25 Sat Jun 15 17:05:28 1996 +@@ -24,7 +24,7 @@ + [Setup] + TempDirectory = /tmp + AnsiColors = ON # empty means OFF +-UseLastScreenChar = OFF # use the last character on the screen ++UseLastScreenChar = ON # use the last character on the screen + StartupScrollStep = # empty means half the number of lines + + diff --git a/misc/git/files/md5 b/misc/git/files/md5 new file mode 100644 index 00000000000..9ccebb79fb7 --- /dev/null +++ b/misc/git/files/md5 @@ -0,0 +1 @@ +MD5 (git-4.3.11.tar.gz) = c29d348a9559860766cf97f043010a2b diff --git a/misc/git/patches/patch-aa b/misc/git/patches/patch-aa new file mode 100644 index 00000000000..ecc6c8db386 --- /dev/null +++ b/misc/git/patches/patch-aa @@ -0,0 +1,11 @@ +--- src/Makefile.in.orig Sat Jun 15 16:30:57 1996 ++++ src/Makefile.in Sat Jun 15 16:36:16 1996 +@@ -100,7 +100,7 @@ + for i in $(GIT_SCRIPTS);\ + do\ + rm -f $(bindir)/$$i;\ +- $(INSTALL_PROGRAM) $(srcdir)/$$i $(bindir)/$$i;\ ++ $(INSTALL) $(srcdir)/$$i $(bindir)/$$i;\ + done + for i in $(GIT_RGREPS);\ + do\ diff --git a/misc/git/patches/patch-ab b/misc/git/patches/patch-ab new file mode 100644 index 00000000000..17e8d727ae1 --- /dev/null +++ b/misc/git/patches/patch-ab @@ -0,0 +1,12 @@ +--- term/Makefile.in.orig Sat Jun 15 17:11:32 1996 ++++ term/Makefile.in Sat Jun 15 17:11:57 1996 +@@ -42,7 +42,8 @@ + + GIT_TERMS = .gitrc.thix .gitrc.linux .gitrc.vt100 .gitrc.vt102\ + .gitrc.xterm .gitrc.hpterm .gitrc.ansi .gitrc.generic\ +- .gitrc.common .gitrc.minix .gitrc.aixterm .gitrc.hft ++ .gitrc.common .gitrc.minix .gitrc.aixterm .gitrc.hft\ ++ .gitrc.cons25 + + GIT_GENERICS = .gitrc.sun .gitrc.sun-cmd + diff --git a/misc/git/pkg/COMMENT b/misc/git/pkg/COMMENT new file mode 100644 index 00000000000..6f21870402b --- /dev/null +++ b/misc/git/pkg/COMMENT @@ -0,0 +1 @@ +GNU Interactive Tools - a file system browser for UNIX systems diff --git a/misc/git/pkg/DESCR b/misc/git/pkg/DESCR new file mode 100644 index 00000000000..bb5cef955b4 --- /dev/null +++ b/misc/git/pkg/DESCR @@ -0,0 +1,3 @@ +GIT is a file system browser for UNIX systems. +An interactive process viewer/killer, a hex/ascii file viewer, an auto-mount +shell script and a per file type action script are also available. diff --git a/misc/git/pkg/PLIST b/misc/git/pkg/PLIST new file mode 100644 index 00000000000..f470e07050b --- /dev/null +++ b/misc/git/pkg/PLIST @@ -0,0 +1,54 @@ +bin/git +bin/gitps +bin/gitview +bin/gitcmp +bin/gitkeys +bin/gitwipe +bin/gitmount +bin/gitaction +bin/gitredir +bin/gitrgrep +bin/gitxgrep +bin/.gitaction +bin/gitregrep +bin/gitrfgrep +info/git.info +info/git.info-1 +info/git.info-2 +info/git.info-3 +lib/git/term/.gitrc.aixterm +lib/git/term/.gitrc.ansi +lib/git/term/.gitrc.common +lib/git/term/.gitrc.cons25 +lib/git/term/.gitrc.console +lib/git/term/.gitrc.generic +lib/git/term/.gitrc.hft +lib/git/term/.gitrc.hp +lib/git/term/.gitrc.hpterm +lib/git/term/.gitrc.linux +lib/git/term/.gitrc.minix +lib/git/term/.gitrc.sun +lib/git/term/.gitrc.sun-cmd +lib/git/term/.gitrc.thix +lib/git/term/.gitrc.vt100 +lib/git/term/.gitrc.vt102 +lib/git/term/.gitrc.vt125 +lib/git/term/.gitrc.vt200 +lib/git/term/.gitrc.vt201 +lib/git/term/.gitrc.vt220 +lib/git/term/.gitrc.vt240 +lib/git/term/.gitrc.vt300 +lib/git/term/.gitrc.vt320 +lib/git/term/.gitrc.vt400 +lib/git/term/.gitrc.vt420 +lib/git/term/.gitrc.xterm +lib/git/term/.gitrc.xterms +man/man1/git.1.gz +man/man1/gitaction.1.gz +man/man1/gitmount.1.gz +man/man1/gitcmp.1.gz +man/man1/gitkeys.1.gz +man/man1/gitredir.1.gz +man/man1/gitrgrep.1.gz +man/man1/gitps.1.gz +man/man1/gitview.1.gz diff --git a/misc/gnuls/Makefile b/misc/gnuls/Makefile new file mode 100644 index 00000000000..26ffd492dcb --- /dev/null +++ b/misc/gnuls/Makefile @@ -0,0 +1,24 @@ +# New ports collection makefile for: Linux-style colorized `ls' +# Version required: 3.12.0.2 (GNU fileutils 3.12) +# Date created: 06 January 1996 +# Whom: bmc@WillsCreek.COM +# +# $Id: Makefile,v 1.1.1.1 1997/10/11 21:54:21 hubertf Exp $ +# + +DISTNAME= fileutils-3.12 +PKGNAME= linuxls-3.12.0.2 +CATEGORIES= misc +MASTER_SITES= ${MASTER_SITE_GNU} + +PATCHFILES= color-ls-3.12.0.2.patch.gz +PATCH_SITES= ${MASTER_SITE_SUNSITE} +PATCH_SITE_SUBDIR= distributions/slackware/source/a/bin/ + +MAINTAINER= bmc@WillsCreek.COM + +PATCH_DIST_STRIP= -p1 +GNU_CONFIGURE= yes +MAN1= linuxls.1 dircolors.1 + +.include <bsd.port.mk> diff --git a/misc/gnuls/files/md5 b/misc/gnuls/files/md5 new file mode 100644 index 00000000000..8482216d240 --- /dev/null +++ b/misc/gnuls/files/md5 @@ -0,0 +1,2 @@ +MD5 (fileutils-3.12.tar.gz) = 4a9aa33e8d06eff7594153d8fc1d8e54 +MD5 (color-ls-3.12.0.2.patch.gz) = 6f15a6de66baf555753b058388419386 diff --git a/misc/gnuls/patches/patch-aa b/misc/gnuls/patches/patch-aa new file mode 100644 index 00000000000..fbd0ea84022 --- /dev/null +++ b/misc/gnuls/patches/patch-aa @@ -0,0 +1,437 @@ +*** Makefile.in.orig Fri Nov 4 09:53:23 1994 +--- Makefile.in Sun Jan 7 10:14:02 1996 +*************** +*** 37,43 **** + mkdir mkfifo mknod mv rm rmdir sync touch vdir @PROGS@ + + # Subdirectories to run make in for the primary targets. +! SUBDIRS = lib src man doc + + .SUFFIXES: + +--- 37,43 ---- + mkdir mkfifo mknod mv rm rmdir sync touch vdir @PROGS@ + + # Subdirectories to run make in for the primary targets. +! SUBDIRS = lib src man + + .SUFFIXES: + +*** src/Makefile.in.orig Sun Jan 7 10:13:58 1996 +--- src/Makefile.in Sun Jan 7 10:25:08 1996 +*************** +*** 1,4 **** +--- 1,7 ---- + # Makefile for GNU file utilities. ++ # ++ # Modified by bmc@WillsCreek.COM to build only `ls' and `dircolors' ++ # + # Copyright (C) 1990, 1991, 1992, 1993, 1994 Free Software Foundation, Inc. + + # This program is free software; you can redistribute it and/or modify +*************** +*** 37,50 **** + LN = @LN@ + MV = @MV@ + +! SOURCES = chmod.c chgrp.c chown.c cp-aux.c cp-hash.c cp.c \ +! dd.c df.c du.c install.c ln.c ls.c mkdir.c mkfifo.c mknod.c mv.c mvdir.c \ +! rm.c rmdir.c sync.c touch.c version.c ls-ls.c ls-dir.c ls-vdir.c \ + dircolors.c + +! OBJECTS = chmod.o chgrp.o chown.o cp-aux.o cp-hash.o cp.o \ +! dd.o df.o du.o install.o ln.o ls.o mkdir.o mkfifo.o mknod.o mv.o mvdir.o \ +! rm.o rmdir.o sync.o touch.o version.o ls-ls.o ls-dir.o ls-vdir.o \ + dircolors.o + + DISTFILES = Makefile.in cp.h ls.h version.h $(SOURCES) \ +--- 40,49 ---- + LN = @LN@ + MV = @MV@ + +! SOURCES = ls.c ls-ls.c \ + dircolors.c + +! OBJECTS = ls.o ls-ls.o \ + dircolors.o + + DISTFILES = Makefile.in cp.h ls.h version.h $(SOURCES) \ +*************** +*** 54,61 **** + # confusion with the `install' target. The install rule transforms `ginstall' + # to install before applying any user-specified name transformations. + +! PROGS = chgrp chown chmod cp dd du ginstall ln ls mkdir \ +! mkfifo mknod mv rm rmdir sync touch dircolors @PROGS@ + + LIBPROGS = @LIBPROGS@ + +--- 53,59 ---- + # confusion with the `install' target. The install rule transforms `ginstall' + # to install before applying any user-specified name transformations. + +! PROGS = linuxls dircolors dir vdir + + LIBPROGS = @LIBPROGS@ + +*************** +*** 83,92 **** + done + if [ "x$(LIBPROGS)" = x ]; then : ; else \ + $(INSTALL_PROGRAM) -o root -m 4755 $(LIBPROGS) $(libdir); fi +! cd $(bindir) && \ +! $(RM) -f d v && \ +! $(LN) `echo dir|sed '$(transform)'` d && \ +! $(LN) `echo vdir|sed '$(transform)'` v + + uninstall: + for f in $(LIBPROGS); do \ +--- 81,92 ---- + done + if [ "x$(LIBPROGS)" = x ]; then : ; else \ + $(INSTALL_PROGRAM) -o root -m 4755 $(LIBPROGS) $(libdir); fi +! # +! # NOTE: `dircolors' defines `d' and `v' aliases. - bmc@WillsCreek.COM +! # cd $(bindir) && \ +! # $(RM) -f d v && \ +! # $(LN) `echo dir|sed '$(transform)'` d && \ +! # $(LN) `echo vdir|sed '$(transform)'` v + + uninstall: + for f in $(LIBPROGS); do \ +*************** +*** 145,152 **** + #dir: ls.o ls-dir.o + # $(link_command) ls.o ls-dir.o ../lib/libfu.a version.o $(LIBS) + +! dir: ls ln +! ./ln ls dir + + dircolors: dircolors.o + $(link_command) dircolors.o ../lib/libfu.a version.o $(LIBS) +--- 145,152 ---- + #dir: ls.o ls-dir.o + # $(link_command) ls.o ls-dir.o ../lib/libfu.a version.o $(LIBS) + +! dir: linuxls +! ln linuxls dir + + dircolors: dircolors.o + $(link_command) dircolors.o ../lib/libfu.a version.o $(LIBS) +*************** +*** 160,166 **** + ln: ln.o + $(link_command) ln.o ../lib/libfu.a version.o $(LIBS) + +! ls: ls.o ls-ls.o + $(link_command) ls.o ls-ls.o ../lib/libfu.a version.o $(LIBS) + + mkdir: mkdir.o +--- 160,166 ---- + ln: ln.o + $(link_command) ln.o ../lib/libfu.a version.o $(LIBS) + +! linuxls: ls.o ls-ls.o + $(link_command) ls.o ls-ls.o ../lib/libfu.a version.o $(LIBS) + + mkdir: mkdir.o +*************** +*** 193,200 **** + #vdir: ls.o ls-vdir.o + # $(link_command) ls.o ls-vdir.o ../lib/libfu.a version.o $(LIBS) + +! vdir: ls ln +! ./ln vdir ls + + $(PROGS) $(LIBPROGS): ../lib/libfu.a version.o + $(OBJECTS): ../lib/pathmax.h +--- 193,200 ---- + #vdir: ls.o ls-vdir.o + # $(link_command) ls.o ls-vdir.o ../lib/libfu.a version.o $(LIBS) + +! vdir: linuxls +! ln linuxls vdir + + $(PROGS) $(LIBPROGS): ../lib/libfu.a version.o + $(OBJECTS): ../lib/pathmax.h +*** man/Makefile.in.orig Sun Jan 7 10:13:57 1996 +--- man/Makefile.in Sun Jan 7 10:14:02 1996 +*************** +*** 1,4 **** +--- 1,7 ---- + # Makefile for GNU file utilities documentation. ++ # ++ # Modified by bmc@WillsCreek.COM to build only `ls' and `dircolors' man pages ++ # + # Copyright (C) 1991, 1992, 1993, 1994 Free Software Foundation, Inc. + + # This program is free software; you can redistribute it and/or modify +*************** +*** 28,39 **** + INSTALL_DATA = @INSTALL_DATA@ + RM = @RM@ + +! MANFILES = chgrp.1 chown.1 chmod.1 cp.1 dd.1 df.1 du.1 install.1 \ +! ln.1 ls.1 mkdir.1 mkfifo.1 mknod.1 mv.1 rm.1 rmdir.1 touch.1 dircolors.1 + + DISTFILES = Makefile.in $(MANFILES) + +! all: dircolors.1 + + .SUFFIXES: + +--- 31,41 ---- + INSTALL_DATA = @INSTALL_DATA@ + RM = @RM@ + +! MANFILES = linuxls.1 dircolors.1 + + DISTFILES = Makefile.in $(MANFILES) + +! all: dircolors.1 linuxls.1 + + .SUFFIXES: + +*************** +*** 85,90 **** +--- 87,95 ---- + dircolors.1: dircolors.1.in + sed -e "s:XXX_PREFIX_XXX:$(prefix):g" < dircolors.1.in | \ + sed -e 's:///*:/:g' > dircolors.1 ++ ++ linuxls.1: ls.1 ++ ln ls.1 linuxls.1 + + # Tell versions [3.59,3.63) of GNU make not to export all variables. + # Otherwise a system limit (for SysV at least) may be exceeded. +*** src/dircolors.c.orig Sun Jan 7 10:14:00 1996 +--- src/dircolors.c Sun Jan 7 10:14:03 1996 +*************** +*** 12,17 **** +--- 12,23 ---- + #include <string.h> + #include "version.h" + ++ #ifdef linux ++ #define LS_COMMAND_NAME "ls" ++ #else ++ #define LS_COMMAND_NAME "linuxls" ++ #endif ++ + #define USER_FILE ".dir_colors" /* Versus user's home directory */ + #define SYSTEM_FILE "//DIR_COLORS" /* System-wide file in directory SYSTEM_DIR + (defined on the cc command line) */ +*************** +*** 436,442 **** + if ( *(q-1) != '/' ) + *(q++) = '/'; + +! strcpy(q, "ls"); + if ( access(line, X_OK) == 0 ) + { + no_path = 0; /* Found it */ +--- 442,448 ---- + if ( *(q-1) != '/' ) + *(q++) = '/'; + +! strcpy(q, LS_COMMAND_NAME); + if ( access(line, X_OK) == 0 ) + { + no_path = 0; /* Found it */ +*** man/dircolors.1.in.orig Sun Jan 7 10:13:57 1996 +--- man/dircolors.1.in Sun Jan 7 10:14:03 1996 +*************** +*** 1,7 **** + .TH DIRCOLORS 1L \" -*- nroff -*- + .SH NAME + dircolors \- Set color parameters for +! .BR ls (1) + .SH SYNOPSIS + .TP + \fBeval `dircolors\fR [\-abckstzPS] [filename]\fB`\fR +--- 1,7 ---- + .TH DIRCOLORS 1L \" -*- nroff -*- + .SH NAME + dircolors \- Set color parameters for +! .BR linuxls (1) + .SH SYNOPSIS + .TP + \fBeval `dircolors\fR [\-abckstzPS] [filename]\fB`\fR +*************** +*** 71,81 **** + .TP + .I "\-P" + Do not seek the path to find the location of the +! .B ls + binary. By default, + .B dircolors + will find the location of the +! .B ls + binary at the time it is run, and include it in the shell function or + alias, which for most shells results in a significant speed + improvement. +--- 71,81 ---- + .TP + .I "\-P" + Do not seek the path to find the location of the +! .B linuxls + binary. By default, + .B dircolors + will find the location of the +! .B linuxls + binary at the time it is run, and include it in the shell function or + alias, which for most shells results in a significant speed + improvement. +*************** +*** 88,94 **** + statement, even if there is a + .B COLOR + statement in the global section of the file. This is for +! compatibility with Slackware GNU + .B ls + for which the order of the statements did not matter. + .TP +--- 88,94 ---- + statement, even if there is a + .B COLOR + statement in the global section of the file. This is for +! compatibility with Slackware Linux GNU + .B ls + for which the order of the statements did not matter. + .TP +*************** +*** 146,154 **** + .TP + .B OPTIONS \fIoptions\fR + Adds command line options to the default +! .B ls + command line. The options can be any valid +! .B ls + command line options, and should include the leading minus sign. + Please note that + .B dircolors +--- 146,154 ---- + .TP + .B OPTIONS \fIoptions\fR + Adds command line options to the default +! .B linuxls + command line. The options can be any valid +! .B linuxls + command line options, and should include the leading minus sign. + Please note that + .B dircolors +*************** +*** 169,175 **** + .B ORPHAN \fIcolor-sequence\fR + Specifies the color used for an orphanned symbolic link (one which + points to a nonexistent file). If this is unspecified, +! .B ls + will use the + .B LINK + color instead. +--- 169,175 ---- + .B ORPHAN \fIcolor-sequence\fR + Specifies the color used for an orphanned symbolic link (one which + points to a nonexistent file). If this is unspecified, +! .B linuxls + will use the + .B LINK + color instead. +*************** +*** 177,183 **** + .B MISSING \fIcolor-sequence\fR + Specifies the color used for a missing file (a nonexistent file which + nevertheless has a symbolic link pointing to it). If this is unspecified, +! .B ls + will use the + .B FILE + color instead. +--- 177,183 ---- + .B MISSING \fIcolor-sequence\fR + Specifies the color used for a missing file (a nonexistent file which + nevertheless has a symbolic link pointing to it). If this is unspecified, +! .B linuxls + will use the + .B FILE + color instead. +*************** +*** 230,236 **** + .B xterm + and the widely used and cloned DEC VT100, will recognize ISO 6429 color + codes and harmlessly eliminate them from the output or emulate them. +! .B ls + uses ISO 6429 codes by default, assuming colorization is enabled. + + ISO 6429 color sequences are composed of sequences of numbers +--- 230,236 ---- + .B xterm + and the widely used and cloned DEC VT100, will recognize ISO 6429 color + codes and harmlessly eliminate them from the output or emulate them. +! .B linuxls + uses ISO 6429 codes by default, assuming colorization is enabled. + + ISO 6429 color sequences are composed of sequences of numbers +*************** +*** 264,270 **** + .sp + Not all commands will work on all systems or display devices. + .PP +! .B ls + uses the following defaults: + .sp + .RS +.2i +--- 264,270 ---- + .sp + Not all commands will work on all systems or display devices. + .PP +! .B linuxls + uses the following defaults: + .sp + .RS +.2i +*************** +*** 303,309 **** + definitions. + .PP + When writing out a filename, +! .B ls + generates the following output sequence: + .B LEFTCODE + .I typecode +--- 303,309 ---- + definitions. + .PP + When writing out a filename, +! .B linuxls + generates the following output sequence: + .B LEFTCODE + .I typecode +*************** +*** 385,390 **** +--- 385,391 ---- + .SH AUTHOR + H. Peter Anvin <hpa@nwu.edu> with input from Patrick Volkerding, + creator of the Slackware Linux distribution. ++ Ported to FreeBSD by Brian Clapper <bmc@willscreek.com>. + .SH BUGS + Currently is somewhat poorly integrated into the GNU fileutils + package. For example, it does not support long options and is +*** man/ls.1.orig Sun Jan 7 10:13:57 1996 +--- man/ls.1 Sun Jan 7 10:14:03 1996 +*************** +*** 18,24 **** + This manual page + documents the GNU version of + .BR ls , +! with color extensions. + .B dir + and + .B vdir +--- 18,25 ---- + This manual page + documents the GNU version of + .BR ls , +! with color extensions (installed on this machine as +! .BR linuxls ). + .B dir + and + .B vdir diff --git a/misc/gnuls/pkg/COMMENT b/misc/gnuls/pkg/COMMENT new file mode 100644 index 00000000000..f7c630b2c1d --- /dev/null +++ b/misc/gnuls/pkg/COMMENT @@ -0,0 +1 @@ +FreeBSD port of Linux Slackware colorized GNU `ls'. diff --git a/misc/gnuls/pkg/DESCR b/misc/gnuls/pkg/DESCR new file mode 100644 index 00000000000..69bd9a24d82 --- /dev/null +++ b/misc/gnuls/pkg/DESCR @@ -0,0 +1,27 @@ +This is a port of the Slackware Linux colorized `ls' program, which is, in +turn, adapted from the `ls' program that comes with the GNU `fileutils' +package. It is based on GNU fileutils version 3.12. The port installs +four programs in `/usr/local/bin': `linuxls', `dir', `vdir' and +`dircolors'. It also installs man pages for `linuxls' and `dircolors'. +The programs are compatible with their counterparts in Slackware Linux +releases. + +Standard xterm prior to XFree86 3.1.2B doesn't know about colors, so +you should use color_xterm or kterm (available from the ports +collection) if you are using older versions of XFree86. + +NOTES: + +1. This port modifies the GNU `fileutils' make procedure (as originally + patched for Linux) so that it installs only programs and man pages + listed above. + +2. Unlike the Slackware Linux version, this port installs `ls' as `linuxls' + so it won't conflict with the normal BSD `ls' program or the BSD + `colorls' program (the latter available from the ports collection). + +3. This colorized `ls' program is not the same as the `colorls' program + available from the ports collection. + +Brian Clapper <bmc@WillsCreek.COM> +07 January 1996 diff --git a/misc/gnuls/pkg/PLIST b/misc/gnuls/pkg/PLIST new file mode 100644 index 00000000000..45e06faf2b3 --- /dev/null +++ b/misc/gnuls/pkg/PLIST @@ -0,0 +1,6 @@ +bin/linuxls +bin/dircolors +bin/dir +bin/vdir +man/man1/linuxls.1.gz +man/man1/dircolors.1.gz diff --git a/misc/jive/Makefile b/misc/jive/Makefile new file mode 100644 index 00000000000..fa5ce945d27 --- /dev/null +++ b/misc/jive/Makefile @@ -0,0 +1,25 @@ +# ex:ts=8 +# Ports collection makefile for: jive +# Version required: 1.0 +# Date created: Mon Feb 17, 1997 +# Whom: David O'Brien (obrien@NUXI.com) +# +# $Id: Makefile,v 1.1.1.1 1997/10/11 21:54:24 hubertf Exp $ +# + +DISTNAME= jive-1.1 +CATEGORIES= misc +MASTER_SITES= ${MASTER_SITE_SUNSITE} +MASTER_SITE_SUBDIR= games/amusements + +MAINTAINER= obrien@FreeBSD.org + +WRKSRC= ${WRKDIR}/jive +MAN1= jive.1 + +do-install: + ${INSTALL_PROGRAM} ${WRKSRC}/jive ${PREFIX}/bin + ${INSTALL_MAN} ${WRKSRC}/${MAN1} ${PREFIX}/man/man1 + + +.include <bsd.port.mk> diff --git a/misc/jive/files/md5 b/misc/jive/files/md5 new file mode 100644 index 00000000000..879d8e36620 --- /dev/null +++ b/misc/jive/files/md5 @@ -0,0 +1 @@ +MD5 (jive-1.1.tar.gz) = 6d1132f08857d67b94e45339f5dbed29 diff --git a/misc/jive/pkg/COMMENT b/misc/jive/pkg/COMMENT new file mode 100644 index 00000000000..6b375b01299 --- /dev/null +++ b/misc/jive/pkg/COMMENT @@ -0,0 +1 @@ +filter that converts English text to Jive diff --git a/misc/jive/pkg/DESCR b/misc/jive/pkg/DESCR new file mode 100644 index 00000000000..c26174ccfe1 --- /dev/null +++ b/misc/jive/pkg/DESCR @@ -0,0 +1,2 @@ +Jive is a filter that converts English text to Jive. +Jive reads from standard input and writes to standard output. diff --git a/misc/jive/pkg/PLIST b/misc/jive/pkg/PLIST new file mode 100644 index 00000000000..9fb7f303f76 --- /dev/null +++ b/misc/jive/pkg/PLIST @@ -0,0 +1,2 @@ +bin/jive +man/man1/jive.1.gz diff --git a/misc/kp/Makefile b/misc/kp/Makefile new file mode 100644 index 00000000000..2fd9247d864 --- /dev/null +++ b/misc/kp/Makefile @@ -0,0 +1,20 @@ +# New ports collection makefile for: kp +# Version required: 0.96 +# Date created: 8 May 1995 +# Whom: asami +# +# $Id: Makefile,v 1.1.1.1 1997/10/11 21:54:25 hubertf Exp $ +# + +DISTNAME= kp-0.96 +CATEGORIES= misc tk41 +MASTER_SITES= ftp://stampede.cs.berkeley.edu/pub/kp/ + +MAINTAINER= asami@FreeBSD.org + +RUN_DEPENDS= wish4.1:${PORTSDIR}/x11/tk41 + +USE_X11= yes +MAN1= kp.1 + +.include <bsd.port.mk> diff --git a/misc/kp/files/md5 b/misc/kp/files/md5 new file mode 100644 index 00000000000..aaae16fab79 --- /dev/null +++ b/misc/kp/files/md5 @@ -0,0 +1 @@ +MD5 (kp-0.96.tar.gz) = 19cd13b6970d9aeb1b3a0f33437536b8 diff --git a/misc/kp/pkg/COMMENT b/misc/kp/pkg/COMMENT new file mode 100644 index 00000000000..1353e610000 --- /dev/null +++ b/misc/kp/pkg/COMMENT @@ -0,0 +1 @@ +The Keyboard Practicer, touch-type training program diff --git a/misc/kp/pkg/DESCR b/misc/kp/pkg/DESCR new file mode 100644 index 00000000000..97440688072 --- /dev/null +++ b/misc/kp/pkg/DESCR @@ -0,0 +1,6 @@ +This is kp, the Keyboard Practicer. It's a rewrite of a Motif version +of the program with the same name. It's still very incomplete, but it +at least runs so it's included here for your convenience. :) + +Satoshi +asami@cs.berkeley.edu
\ No newline at end of file diff --git a/misc/kp/pkg/PLIST b/misc/kp/pkg/PLIST new file mode 100644 index 00000000000..4abf336cb9d --- /dev/null +++ b/misc/kp/pkg/PLIST @@ -0,0 +1,3 @@ +bin/kp +lib/kp +man/man1/kp.1.gz diff --git a/misc/lile/Makefile b/misc/lile/Makefile new file mode 100644 index 00000000000..9ce00b46211 --- /dev/null +++ b/misc/lile/Makefile @@ -0,0 +1,24 @@ +# New ports collection makefile for: ile +# Version required: 2.0 +# Date created: 25 Jun 1997 +# Whom: jmz +# +# $Id: Makefile,v 1.1.1.1 1997/10/11 21:54:29 hubertf Exp $ +# + +DISTNAME= lile-2.0 +PKGNAME= ile-2.0 +CATEGORIES= misc +MASTER_SITES= ftp://ftp.inria.fr/system/user/ +EXTRACT_SUFX= .tar.z + +MAINTAINER= jmz@FreeBSD.org + +MAN1= ile.1 + +do-configure: + @(cd ${WRKSRC}; mv Makefile Makefile.old; \ + sed -e s:/usr/local:${PREFIX}: <Makefile.old > Makefile; \ + echo all: ile >> Makefile; echo CC=cc ${CFLAGS} >> Makefile) + +.include <bsd.port.mk> diff --git a/misc/lile/files/md5 b/misc/lile/files/md5 new file mode 100644 index 00000000000..2f6b34754cb --- /dev/null +++ b/misc/lile/files/md5 @@ -0,0 +1 @@ +MD5 (lile-2.0.tar.z) = 70b3565053e31910abec207b3731a60a diff --git a/misc/lile/patches/patch-aa b/misc/lile/patches/patch-aa new file mode 100644 index 00000000000..d9c70f461f6 --- /dev/null +++ b/misc/lile/patches/patch-aa @@ -0,0 +1,19 @@ +--- ile.c.orig Wed Jun 25 01:54:50 1997 ++++ ile.c Wed Jun 25 01:55:24 1997 +@@ -65,7 +65,7 @@ + #include <errno.h> + #include <sys/ioctl.h> + #include <sys/types.h> +-#include <sys/dir.h> ++#include <sys/dirent.h> + #include <sys/file.h> + #include <sys/time.h> + /* +@@ -75,7 +75,6 @@ + /* Definitions of system stuff. */ + extern int errno; + +-long lseek(); + char *malloc(); + char *realloc(); + time_t time(); diff --git a/misc/lile/pkg/COMMENT b/misc/lile/pkg/COMMENT new file mode 100644 index 00000000000..99b1a284b67 --- /dev/null +++ b/misc/lile/pkg/COMMENT @@ -0,0 +1 @@ +An Input Line Editor that wraps itself around programs. diff --git a/misc/lile/pkg/DESCR b/misc/lile/pkg/DESCR new file mode 100644 index 00000000000..591851e570b --- /dev/null +++ b/misc/lile/pkg/DESCR @@ -0,0 +1,6 @@ +The ile program can be run as a simple shell around any program. +It gives any program an input line editing and a history mechanism. It +can also be run around your favourite shell. When run around the shell +ile records the input to interactive programs launched from the +shell as well as the commands to the shell in its history buffer. + diff --git a/misc/lile/pkg/PLIST b/misc/lile/pkg/PLIST new file mode 100644 index 00000000000..b0ab53a4c27 --- /dev/null +++ b/misc/lile/pkg/PLIST @@ -0,0 +1,2 @@ +bin/ile +man/man1/ile.1.gz diff --git a/misc/linuxls/Makefile b/misc/linuxls/Makefile new file mode 100644 index 00000000000..26ffd492dcb --- /dev/null +++ b/misc/linuxls/Makefile @@ -0,0 +1,24 @@ +# New ports collection makefile for: Linux-style colorized `ls' +# Version required: 3.12.0.2 (GNU fileutils 3.12) +# Date created: 06 January 1996 +# Whom: bmc@WillsCreek.COM +# +# $Id: Makefile,v 1.1.1.1 1997/10/11 21:54:21 hubertf Exp $ +# + +DISTNAME= fileutils-3.12 +PKGNAME= linuxls-3.12.0.2 +CATEGORIES= misc +MASTER_SITES= ${MASTER_SITE_GNU} + +PATCHFILES= color-ls-3.12.0.2.patch.gz +PATCH_SITES= ${MASTER_SITE_SUNSITE} +PATCH_SITE_SUBDIR= distributions/slackware/source/a/bin/ + +MAINTAINER= bmc@WillsCreek.COM + +PATCH_DIST_STRIP= -p1 +GNU_CONFIGURE= yes +MAN1= linuxls.1 dircolors.1 + +.include <bsd.port.mk> diff --git a/misc/linuxls/files/md5 b/misc/linuxls/files/md5 new file mode 100644 index 00000000000..8482216d240 --- /dev/null +++ b/misc/linuxls/files/md5 @@ -0,0 +1,2 @@ +MD5 (fileutils-3.12.tar.gz) = 4a9aa33e8d06eff7594153d8fc1d8e54 +MD5 (color-ls-3.12.0.2.patch.gz) = 6f15a6de66baf555753b058388419386 diff --git a/misc/linuxls/patches/patch-aa b/misc/linuxls/patches/patch-aa new file mode 100644 index 00000000000..fbd0ea84022 --- /dev/null +++ b/misc/linuxls/patches/patch-aa @@ -0,0 +1,437 @@ +*** Makefile.in.orig Fri Nov 4 09:53:23 1994 +--- Makefile.in Sun Jan 7 10:14:02 1996 +*************** +*** 37,43 **** + mkdir mkfifo mknod mv rm rmdir sync touch vdir @PROGS@ + + # Subdirectories to run make in for the primary targets. +! SUBDIRS = lib src man doc + + .SUFFIXES: + +--- 37,43 ---- + mkdir mkfifo mknod mv rm rmdir sync touch vdir @PROGS@ + + # Subdirectories to run make in for the primary targets. +! SUBDIRS = lib src man + + .SUFFIXES: + +*** src/Makefile.in.orig Sun Jan 7 10:13:58 1996 +--- src/Makefile.in Sun Jan 7 10:25:08 1996 +*************** +*** 1,4 **** +--- 1,7 ---- + # Makefile for GNU file utilities. ++ # ++ # Modified by bmc@WillsCreek.COM to build only `ls' and `dircolors' ++ # + # Copyright (C) 1990, 1991, 1992, 1993, 1994 Free Software Foundation, Inc. + + # This program is free software; you can redistribute it and/or modify +*************** +*** 37,50 **** + LN = @LN@ + MV = @MV@ + +! SOURCES = chmod.c chgrp.c chown.c cp-aux.c cp-hash.c cp.c \ +! dd.c df.c du.c install.c ln.c ls.c mkdir.c mkfifo.c mknod.c mv.c mvdir.c \ +! rm.c rmdir.c sync.c touch.c version.c ls-ls.c ls-dir.c ls-vdir.c \ + dircolors.c + +! OBJECTS = chmod.o chgrp.o chown.o cp-aux.o cp-hash.o cp.o \ +! dd.o df.o du.o install.o ln.o ls.o mkdir.o mkfifo.o mknod.o mv.o mvdir.o \ +! rm.o rmdir.o sync.o touch.o version.o ls-ls.o ls-dir.o ls-vdir.o \ + dircolors.o + + DISTFILES = Makefile.in cp.h ls.h version.h $(SOURCES) \ +--- 40,49 ---- + LN = @LN@ + MV = @MV@ + +! SOURCES = ls.c ls-ls.c \ + dircolors.c + +! OBJECTS = ls.o ls-ls.o \ + dircolors.o + + DISTFILES = Makefile.in cp.h ls.h version.h $(SOURCES) \ +*************** +*** 54,61 **** + # confusion with the `install' target. The install rule transforms `ginstall' + # to install before applying any user-specified name transformations. + +! PROGS = chgrp chown chmod cp dd du ginstall ln ls mkdir \ +! mkfifo mknod mv rm rmdir sync touch dircolors @PROGS@ + + LIBPROGS = @LIBPROGS@ + +--- 53,59 ---- + # confusion with the `install' target. The install rule transforms `ginstall' + # to install before applying any user-specified name transformations. + +! PROGS = linuxls dircolors dir vdir + + LIBPROGS = @LIBPROGS@ + +*************** +*** 83,92 **** + done + if [ "x$(LIBPROGS)" = x ]; then : ; else \ + $(INSTALL_PROGRAM) -o root -m 4755 $(LIBPROGS) $(libdir); fi +! cd $(bindir) && \ +! $(RM) -f d v && \ +! $(LN) `echo dir|sed '$(transform)'` d && \ +! $(LN) `echo vdir|sed '$(transform)'` v + + uninstall: + for f in $(LIBPROGS); do \ +--- 81,92 ---- + done + if [ "x$(LIBPROGS)" = x ]; then : ; else \ + $(INSTALL_PROGRAM) -o root -m 4755 $(LIBPROGS) $(libdir); fi +! # +! # NOTE: `dircolors' defines `d' and `v' aliases. - bmc@WillsCreek.COM +! # cd $(bindir) && \ +! # $(RM) -f d v && \ +! # $(LN) `echo dir|sed '$(transform)'` d && \ +! # $(LN) `echo vdir|sed '$(transform)'` v + + uninstall: + for f in $(LIBPROGS); do \ +*************** +*** 145,152 **** + #dir: ls.o ls-dir.o + # $(link_command) ls.o ls-dir.o ../lib/libfu.a version.o $(LIBS) + +! dir: ls ln +! ./ln ls dir + + dircolors: dircolors.o + $(link_command) dircolors.o ../lib/libfu.a version.o $(LIBS) +--- 145,152 ---- + #dir: ls.o ls-dir.o + # $(link_command) ls.o ls-dir.o ../lib/libfu.a version.o $(LIBS) + +! dir: linuxls +! ln linuxls dir + + dircolors: dircolors.o + $(link_command) dircolors.o ../lib/libfu.a version.o $(LIBS) +*************** +*** 160,166 **** + ln: ln.o + $(link_command) ln.o ../lib/libfu.a version.o $(LIBS) + +! ls: ls.o ls-ls.o + $(link_command) ls.o ls-ls.o ../lib/libfu.a version.o $(LIBS) + + mkdir: mkdir.o +--- 160,166 ---- + ln: ln.o + $(link_command) ln.o ../lib/libfu.a version.o $(LIBS) + +! linuxls: ls.o ls-ls.o + $(link_command) ls.o ls-ls.o ../lib/libfu.a version.o $(LIBS) + + mkdir: mkdir.o +*************** +*** 193,200 **** + #vdir: ls.o ls-vdir.o + # $(link_command) ls.o ls-vdir.o ../lib/libfu.a version.o $(LIBS) + +! vdir: ls ln +! ./ln vdir ls + + $(PROGS) $(LIBPROGS): ../lib/libfu.a version.o + $(OBJECTS): ../lib/pathmax.h +--- 193,200 ---- + #vdir: ls.o ls-vdir.o + # $(link_command) ls.o ls-vdir.o ../lib/libfu.a version.o $(LIBS) + +! vdir: linuxls +! ln linuxls vdir + + $(PROGS) $(LIBPROGS): ../lib/libfu.a version.o + $(OBJECTS): ../lib/pathmax.h +*** man/Makefile.in.orig Sun Jan 7 10:13:57 1996 +--- man/Makefile.in Sun Jan 7 10:14:02 1996 +*************** +*** 1,4 **** +--- 1,7 ---- + # Makefile for GNU file utilities documentation. ++ # ++ # Modified by bmc@WillsCreek.COM to build only `ls' and `dircolors' man pages ++ # + # Copyright (C) 1991, 1992, 1993, 1994 Free Software Foundation, Inc. + + # This program is free software; you can redistribute it and/or modify +*************** +*** 28,39 **** + INSTALL_DATA = @INSTALL_DATA@ + RM = @RM@ + +! MANFILES = chgrp.1 chown.1 chmod.1 cp.1 dd.1 df.1 du.1 install.1 \ +! ln.1 ls.1 mkdir.1 mkfifo.1 mknod.1 mv.1 rm.1 rmdir.1 touch.1 dircolors.1 + + DISTFILES = Makefile.in $(MANFILES) + +! all: dircolors.1 + + .SUFFIXES: + +--- 31,41 ---- + INSTALL_DATA = @INSTALL_DATA@ + RM = @RM@ + +! MANFILES = linuxls.1 dircolors.1 + + DISTFILES = Makefile.in $(MANFILES) + +! all: dircolors.1 linuxls.1 + + .SUFFIXES: + +*************** +*** 85,90 **** +--- 87,95 ---- + dircolors.1: dircolors.1.in + sed -e "s:XXX_PREFIX_XXX:$(prefix):g" < dircolors.1.in | \ + sed -e 's:///*:/:g' > dircolors.1 ++ ++ linuxls.1: ls.1 ++ ln ls.1 linuxls.1 + + # Tell versions [3.59,3.63) of GNU make not to export all variables. + # Otherwise a system limit (for SysV at least) may be exceeded. +*** src/dircolors.c.orig Sun Jan 7 10:14:00 1996 +--- src/dircolors.c Sun Jan 7 10:14:03 1996 +*************** +*** 12,17 **** +--- 12,23 ---- + #include <string.h> + #include "version.h" + ++ #ifdef linux ++ #define LS_COMMAND_NAME "ls" ++ #else ++ #define LS_COMMAND_NAME "linuxls" ++ #endif ++ + #define USER_FILE ".dir_colors" /* Versus user's home directory */ + #define SYSTEM_FILE "//DIR_COLORS" /* System-wide file in directory SYSTEM_DIR + (defined on the cc command line) */ +*************** +*** 436,442 **** + if ( *(q-1) != '/' ) + *(q++) = '/'; + +! strcpy(q, "ls"); + if ( access(line, X_OK) == 0 ) + { + no_path = 0; /* Found it */ +--- 442,448 ---- + if ( *(q-1) != '/' ) + *(q++) = '/'; + +! strcpy(q, LS_COMMAND_NAME); + if ( access(line, X_OK) == 0 ) + { + no_path = 0; /* Found it */ +*** man/dircolors.1.in.orig Sun Jan 7 10:13:57 1996 +--- man/dircolors.1.in Sun Jan 7 10:14:03 1996 +*************** +*** 1,7 **** + .TH DIRCOLORS 1L \" -*- nroff -*- + .SH NAME + dircolors \- Set color parameters for +! .BR ls (1) + .SH SYNOPSIS + .TP + \fBeval `dircolors\fR [\-abckstzPS] [filename]\fB`\fR +--- 1,7 ---- + .TH DIRCOLORS 1L \" -*- nroff -*- + .SH NAME + dircolors \- Set color parameters for +! .BR linuxls (1) + .SH SYNOPSIS + .TP + \fBeval `dircolors\fR [\-abckstzPS] [filename]\fB`\fR +*************** +*** 71,81 **** + .TP + .I "\-P" + Do not seek the path to find the location of the +! .B ls + binary. By default, + .B dircolors + will find the location of the +! .B ls + binary at the time it is run, and include it in the shell function or + alias, which for most shells results in a significant speed + improvement. +--- 71,81 ---- + .TP + .I "\-P" + Do not seek the path to find the location of the +! .B linuxls + binary. By default, + .B dircolors + will find the location of the +! .B linuxls + binary at the time it is run, and include it in the shell function or + alias, which for most shells results in a significant speed + improvement. +*************** +*** 88,94 **** + statement, even if there is a + .B COLOR + statement in the global section of the file. This is for +! compatibility with Slackware GNU + .B ls + for which the order of the statements did not matter. + .TP +--- 88,94 ---- + statement, even if there is a + .B COLOR + statement in the global section of the file. This is for +! compatibility with Slackware Linux GNU + .B ls + for which the order of the statements did not matter. + .TP +*************** +*** 146,154 **** + .TP + .B OPTIONS \fIoptions\fR + Adds command line options to the default +! .B ls + command line. The options can be any valid +! .B ls + command line options, and should include the leading minus sign. + Please note that + .B dircolors +--- 146,154 ---- + .TP + .B OPTIONS \fIoptions\fR + Adds command line options to the default +! .B linuxls + command line. The options can be any valid +! .B linuxls + command line options, and should include the leading minus sign. + Please note that + .B dircolors +*************** +*** 169,175 **** + .B ORPHAN \fIcolor-sequence\fR + Specifies the color used for an orphanned symbolic link (one which + points to a nonexistent file). If this is unspecified, +! .B ls + will use the + .B LINK + color instead. +--- 169,175 ---- + .B ORPHAN \fIcolor-sequence\fR + Specifies the color used for an orphanned symbolic link (one which + points to a nonexistent file). If this is unspecified, +! .B linuxls + will use the + .B LINK + color instead. +*************** +*** 177,183 **** + .B MISSING \fIcolor-sequence\fR + Specifies the color used for a missing file (a nonexistent file which + nevertheless has a symbolic link pointing to it). If this is unspecified, +! .B ls + will use the + .B FILE + color instead. +--- 177,183 ---- + .B MISSING \fIcolor-sequence\fR + Specifies the color used for a missing file (a nonexistent file which + nevertheless has a symbolic link pointing to it). If this is unspecified, +! .B linuxls + will use the + .B FILE + color instead. +*************** +*** 230,236 **** + .B xterm + and the widely used and cloned DEC VT100, will recognize ISO 6429 color + codes and harmlessly eliminate them from the output or emulate them. +! .B ls + uses ISO 6429 codes by default, assuming colorization is enabled. + + ISO 6429 color sequences are composed of sequences of numbers +--- 230,236 ---- + .B xterm + and the widely used and cloned DEC VT100, will recognize ISO 6429 color + codes and harmlessly eliminate them from the output or emulate them. +! .B linuxls + uses ISO 6429 codes by default, assuming colorization is enabled. + + ISO 6429 color sequences are composed of sequences of numbers +*************** +*** 264,270 **** + .sp + Not all commands will work on all systems or display devices. + .PP +! .B ls + uses the following defaults: + .sp + .RS +.2i +--- 264,270 ---- + .sp + Not all commands will work on all systems or display devices. + .PP +! .B linuxls + uses the following defaults: + .sp + .RS +.2i +*************** +*** 303,309 **** + definitions. + .PP + When writing out a filename, +! .B ls + generates the following output sequence: + .B LEFTCODE + .I typecode +--- 303,309 ---- + definitions. + .PP + When writing out a filename, +! .B linuxls + generates the following output sequence: + .B LEFTCODE + .I typecode +*************** +*** 385,390 **** +--- 385,391 ---- + .SH AUTHOR + H. Peter Anvin <hpa@nwu.edu> with input from Patrick Volkerding, + creator of the Slackware Linux distribution. ++ Ported to FreeBSD by Brian Clapper <bmc@willscreek.com>. + .SH BUGS + Currently is somewhat poorly integrated into the GNU fileutils + package. For example, it does not support long options and is +*** man/ls.1.orig Sun Jan 7 10:13:57 1996 +--- man/ls.1 Sun Jan 7 10:14:03 1996 +*************** +*** 18,24 **** + This manual page + documents the GNU version of + .BR ls , +! with color extensions. + .B dir + and + .B vdir +--- 18,25 ---- + This manual page + documents the GNU version of + .BR ls , +! with color extensions (installed on this machine as +! .BR linuxls ). + .B dir + and + .B vdir diff --git a/misc/linuxls/pkg/COMMENT b/misc/linuxls/pkg/COMMENT new file mode 100644 index 00000000000..f7c630b2c1d --- /dev/null +++ b/misc/linuxls/pkg/COMMENT @@ -0,0 +1 @@ +FreeBSD port of Linux Slackware colorized GNU `ls'. diff --git a/misc/linuxls/pkg/DESCR b/misc/linuxls/pkg/DESCR new file mode 100644 index 00000000000..69bd9a24d82 --- /dev/null +++ b/misc/linuxls/pkg/DESCR @@ -0,0 +1,27 @@ +This is a port of the Slackware Linux colorized `ls' program, which is, in +turn, adapted from the `ls' program that comes with the GNU `fileutils' +package. It is based on GNU fileutils version 3.12. The port installs +four programs in `/usr/local/bin': `linuxls', `dir', `vdir' and +`dircolors'. It also installs man pages for `linuxls' and `dircolors'. +The programs are compatible with their counterparts in Slackware Linux +releases. + +Standard xterm prior to XFree86 3.1.2B doesn't know about colors, so +you should use color_xterm or kterm (available from the ports +collection) if you are using older versions of XFree86. + +NOTES: + +1. This port modifies the GNU `fileutils' make procedure (as originally + patched for Linux) so that it installs only programs and man pages + listed above. + +2. Unlike the Slackware Linux version, this port installs `ls' as `linuxls' + so it won't conflict with the normal BSD `ls' program or the BSD + `colorls' program (the latter available from the ports collection). + +3. This colorized `ls' program is not the same as the `colorls' program + available from the ports collection. + +Brian Clapper <bmc@WillsCreek.COM> +07 January 1996 diff --git a/misc/linuxls/pkg/PLIST b/misc/linuxls/pkg/PLIST new file mode 100644 index 00000000000..45e06faf2b3 --- /dev/null +++ b/misc/linuxls/pkg/PLIST @@ -0,0 +1,6 @@ +bin/linuxls +bin/dircolors +bin/dir +bin/vdir +man/man1/linuxls.1.gz +man/man1/dircolors.1.gz diff --git a/misc/logsurfer/Makefile b/misc/logsurfer/Makefile new file mode 100644 index 00000000000..8ef496b7a04 --- /dev/null +++ b/misc/logsurfer/Makefile @@ -0,0 +1,19 @@ +# New ports collection makefile for: logsurfer +# Version required: 1.41 +# Date created: 28 Jul 1996 +# Whom: shanee@rabbit.augusta.de +# +# $Id: Makefile,v 1.1.1.1 1997/10/11 21:54:30 hubertf Exp $ +# + +DISTNAME= logsurfer-1.41 +CATEGORIES= misc +MASTER_SITES= ftp://ftp.fh-rosenheim.de/pub/systems/unix/cert/tools/audit/logsurfer/ \ + ftp://ftp.tuwien.ac.at/pub/auxc/dfn/tools/audit/logsurfer/ \ + ftp://ftp.uni-magdeburg.de/pub/mirror/ftp.cert.dfn.de/tools/audit/logsurfer/ \ + +MAINTAINER= shanee@rabbit.augusta.de + +GNU_CONFIGURE= YES + +.include <bsd.port.mk> diff --git a/misc/logsurfer/files/md5 b/misc/logsurfer/files/md5 new file mode 100644 index 00000000000..b98c4141296 --- /dev/null +++ b/misc/logsurfer/files/md5 @@ -0,0 +1 @@ +MD5 (logsurfer-1.41.tar.gz) = 0871a4f23d91d0e19956b19a4162992b diff --git a/misc/logsurfer/patches/patch-aa b/misc/logsurfer/patches/patch-aa new file mode 100644 index 00000000000..6eac686d31d --- /dev/null +++ b/misc/logsurfer/patches/patch-aa @@ -0,0 +1,13 @@ +*** Makefile.in.orig Sun Jul 28 10:17:10 1996 +--- Makefile.in Sun Jul 28 10:16:55 1996 +*************** +*** 1,4 **** +! # Makefile for logsurfer + # + # Copyright (C) 1995 Wolfgang Ley (ley@cert.dfn.de) + # +--- 1,4 ---- +! # Makefile for logsurfer 1.4 + # + # Copyright (C) 1995 Wolfgang Ley (ley@cert.dfn.de) + # diff --git a/misc/logsurfer/patches/patch-ab b/misc/logsurfer/patches/patch-ab new file mode 100644 index 00000000000..45b94c8d4a0 --- /dev/null +++ b/misc/logsurfer/patches/patch-ab @@ -0,0 +1,43 @@ +*** man/Makefile.in.orig Sun Jul 28 10:27:38 1996 +--- man/Makefile.in Sun Jul 28 10:28:18 1996 +*************** +*** 11,28 **** + logsurfer.1: logsurfer.1.in + sed -e "s,@DUMPFILE@,$(DEF_DUMPFILE)," \ + -e "s,@CONFFILE@,$(DEF_CONFFILE)," < logsurfer.1.in > logsurfer.1 + + logsurfer.conf.4: logsurfer.conf.4.in + sed -e "s,@DUMPFILE@,$(DEF_DUMPFILE)," \ + -e "s,@CONFFILE@,$(DEF_CONFFILE)," < logsurfer.conf.4.in > logsurfer.conf.4 + + install: +! $(INSTALL_DATA) logsurfer.1 $(mandir)/man1/logsurfer.1 +! $(INSTALL_DATA) logsurfer.conf.4 $(mandir)/man4/logsurfer.conf.4 + + clean: +! $(RM) logsurfer.1 logsurfer.conf.4 + + distclean: + $(RM) Makefile +! $(RM) logsurfer.1 logsurfer.conf.4 +--- 11,30 ---- + logsurfer.1: logsurfer.1.in + sed -e "s,@DUMPFILE@,$(DEF_DUMPFILE)," \ + -e "s,@CONFFILE@,$(DEF_CONFFILE)," < logsurfer.1.in > logsurfer.1 ++ gzip -9fn logsurfer.1 + + logsurfer.conf.4: logsurfer.conf.4.in + sed -e "s,@DUMPFILE@,$(DEF_DUMPFILE)," \ + -e "s,@CONFFILE@,$(DEF_CONFFILE)," < logsurfer.conf.4.in > logsurfer.conf.4 ++ gzip -9fn logsurfer.conf.4 + + install: +! $(INSTALL_DATA) logsurfer.1.gz $(mandir)/man1/logsurfer.1.gz +! $(INSTALL_DATA) logsurfer.conf.4.gz $(mandir)/man4/logsurfer.conf.4.gz + + clean: +! $(RM) logsurfer.1.gz logsurfer.conf.4.gz + + distclean: + $(RM) Makefile +! $(RM) logsurfer.1.gz logsurfer.conf.4.gz diff --git a/misc/logsurfer/pkg/COMMENT b/misc/logsurfer/pkg/COMMENT new file mode 100644 index 00000000000..d1f5bd22660 --- /dev/null +++ b/misc/logsurfer/pkg/COMMENT @@ -0,0 +1 @@ +Processes logfiles and perform certain actions. diff --git a/misc/logsurfer/pkg/DESCR b/misc/logsurfer/pkg/DESCR new file mode 100644 index 00000000000..ddbb46156be --- /dev/null +++ b/misc/logsurfer/pkg/DESCR @@ -0,0 +1,4 @@ + Logsurfer is a program that works on single textlines from + a logfile (or from standard input). It compares each line + against regular expressions of a set of "rules" and per- + forms certain actions that are defined for this match. diff --git a/misc/logsurfer/pkg/PLIST b/misc/logsurfer/pkg/PLIST new file mode 100644 index 00000000000..b2543f16e1c --- /dev/null +++ b/misc/logsurfer/pkg/PLIST @@ -0,0 +1,3 @@ +bin/logsurfer +man/man1/logsurfer.1.gz +man/man4/logsurfer.conf.4.gz 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 diff --git a/misc/most/Makefile b/misc/most/Makefile new file mode 100644 index 00000000000..7fda92c38b3 --- /dev/null +++ b/misc/most/Makefile @@ -0,0 +1,23 @@ +# New ports collection makefile for: most +# Version required: 4.7 +# Date created: 31 May 1997 +# Whom: rhwang@bigpanda.com +# +# $Id: Makefile,v 1.1.1.1 1997/10/11 21:54:34 hubertf Exp $ +# + +DISTNAME= most4.7 +PKGNAME= most-4.7 +CATEGORIES= misc +MASTER_SITES= ftp://space.mit.edu/pub/davis/most/ \ + ftp://ftp.uni-stuttgart.de/pub/unix/misc/slang/most/ + +MAINTAINER= rhwang@bigpanda.com + +LIB_DEPENDS= slang\\.0\\.99[0-9][0-9]:${PORTSDIR}/devel/libslang + +GNU_CONFIGURE= yes +WRKSRC= ${WRKDIR}/most +MAN1= most.1 + +.include <bsd.port.mk> diff --git a/misc/most/files/md5 b/misc/most/files/md5 new file mode 100644 index 00000000000..01f9dbaa9cc --- /dev/null +++ b/misc/most/files/md5 @@ -0,0 +1 @@ +MD5 (most4.7.tar.gz) = cf3703e9555447cf450e02aeff69a170 diff --git a/misc/most/pkg/COMMENT b/misc/most/pkg/COMMENT new file mode 100644 index 00000000000..ee3e6f7cc05 --- /dev/null +++ b/misc/most/pkg/COMMENT @@ -0,0 +1 @@ +A pager (like less) which has support for windows and binary files diff --git a/misc/most/pkg/DESCR b/misc/most/pkg/DESCR new file mode 100644 index 00000000000..bb4cbc93acb --- /dev/null +++ b/misc/most/pkg/DESCR @@ -0,0 +1,15 @@ +most is a pager (like less) that displays, one windowful at a time, +the contents of a file on a terminal. It pauses after each windowful +and prints the following on the window status line: the screen, the +file name, current line number, and the percentage of the file so far +displayed. + +In addition to displaying ordinary text files, most can also display +binary files as well as files with arbitrary ascii characters. As an +option, autosensing of binary files can be disabled (via the -k +option), thereby allowing one to browse files encoded in a different +language (Japanese, Korean, Chinese, etc). + + web site: http://space.mit.edu/%7Edavis/most.html + ftp site: ftp://space.mit.edu/pub/davis/most +maintainer: Richard Hwang <rhwang@bigpanda.com> diff --git a/misc/most/pkg/PLIST b/misc/most/pkg/PLIST new file mode 100644 index 00000000000..1f8f6ff1894 --- /dev/null +++ b/misc/most/pkg/PLIST @@ -0,0 +1,2 @@ +bin/most +man/man1/most.1.gz diff --git a/misc/p5-Array-PrintCols/Makefile b/misc/p5-Array-PrintCols/Makefile new file mode 100644 index 00000000000..b3625bee4e8 --- /dev/null +++ b/misc/p5-Array-PrintCols/Makefile @@ -0,0 +1,24 @@ +# New ports collection makefile for: p5-Array-PrintCols +# Version required: 1.2 +# Date created: October 17th 1996 +# Whom: James FitzGibbon <jfitz@FreeBSD.org> +# +# $Id: Makefile,v 1.1.1.1 1997/10/11 21:54:39 hubertf Exp $ +# + +DISTNAME= Array-PrintCols-1.2 +PKGNAME= p5-Array-PrintCols-1.2 +CATEGORIES= misc perl5 +MASTER_SITES= ${MASTER_SITE_PERL_CPAN} +MASTER_SITE_SUBDIR= Array + +MAINTAINER= jfitz@FreeBSD.ORG + +USE_PERL5= YES + +NO_BUILD= YES +WRKSRC= ${WRKDIR}/Array-PrintCols +MAN3= Array::PrintCols.3p +MANPREFIX= ${PREFIX}/lib/perl5 + +.include <bsd.port.mk> diff --git a/misc/p5-Array-PrintCols/files/md5 b/misc/p5-Array-PrintCols/files/md5 new file mode 100644 index 00000000000..79746b7709a --- /dev/null +++ b/misc/p5-Array-PrintCols/files/md5 @@ -0,0 +1 @@ +MD5 (Array-PrintCols-1.2.tar.gz) = 9dd483fbc72eefb0587a0e0c0a614926 diff --git a/misc/p5-Array-PrintCols/patches/patch-aa b/misc/p5-Array-PrintCols/patches/patch-aa new file mode 100644 index 00000000000..4b9fc5cd4dd --- /dev/null +++ b/misc/p5-Array-PrintCols/patches/patch-aa @@ -0,0 +1,13 @@ +--- Makefile.orig Thu Oct 17 16:53:08 1996 ++++ Makefile Thu Oct 17 16:53:58 1996 +@@ -65,8 +65,8 @@ + NETLIB = $(NETROOT)/lib + NETMAN = $(NETROOT)/man/man$(MANSEC) + +- LOCALROOT = /usr/local/perl5 +- LOCALLIB = $(LOCALROOT)/lib ++ LOCALROOT = /usr/local/lib/perl5 ++ LOCALLIB = $(LOCALROOT)/site_perl + LOCALMAN = $(LOCALROOT)/man/man$(MANSEC) + + HOMEROOT = $(HOME) diff --git a/misc/p5-Array-PrintCols/pkg/COMMENT b/misc/p5-Array-PrintCols/pkg/COMMENT new file mode 100644 index 00000000000..53dd98936e8 --- /dev/null +++ b/misc/p5-Array-PrintCols/pkg/COMMENT @@ -0,0 +1 @@ +perl5 module to print arrays of elements in sorted columns. diff --git a/misc/p5-Array-PrintCols/pkg/DESCR b/misc/p5-Array-PrintCols/pkg/DESCR new file mode 100644 index 00000000000..47d35269d56 --- /dev/null +++ b/misc/p5-Array-PrintCols/pkg/DESCR @@ -0,0 +1,5 @@ +Array::PrintCols is a Perl 5 module which defines a subroutine to +print arrays of elements in alphabetically, vertically sorted columns. +Optional arguments can be given to control either the width or number of +the columns, the total width of the output, and the amount of +indentation. diff --git a/misc/p5-Array-PrintCols/pkg/PLIST b/misc/p5-Array-PrintCols/pkg/PLIST new file mode 100644 index 00000000000..3f3692fb881 --- /dev/null +++ b/misc/p5-Array-PrintCols/pkg/PLIST @@ -0,0 +1,4 @@ +lib/perl5/site_perl/Array/PrintCols-1.2.pm +lib/perl5/site_perl/Array/PrintCols.pm +lib/perl5/man/man3/Array::PrintCols.3p.gz +@dirrm lib/perl5/site_perl/Array diff --git a/misc/p5-Business-CreditCard/Makefile b/misc/p5-Business-CreditCard/Makefile new file mode 100644 index 00000000000..95a9c84d140 --- /dev/null +++ b/misc/p5-Business-CreditCard/Makefile @@ -0,0 +1,27 @@ +# New ports collection makefile for: p5-Business-CreditCard +# Version required: 0.1 +# Date created: October 20th 1996 +# Whom: James FitzGibbon <jfitz@FreeBSD.org> +# +# $Id: Makefile,v 1.1.1.1 1997/10/11 21:54:44 hubertf Exp $ +# + +DISTNAME= Business-CreditCard-0.1 +PKGNAME= p5-Business-CreditCard-0.1 +CATEGORIES= misc perl5 +MASTER_SITES= ${MASTER_SITE_PERL_CPAN} +MASTER_SITE_SUBDIR= Business + +MAINTAINER= jfitz@FreeBSD.ORG + +USE_PERL5= YES + +NO_BUILD= YES + +do-install: + @ ${CP} ${WRKSRC}/CreditCard.pm ${WRKSRC}/CreditCard-0.1.pm + @ ${MKDIR} ${PREFIX}/lib/perl5/site_perl/Business/ + @ ${INSTALL_DATA} ${WRKSRC}/CreditCard-0.1.pm ${PREFIX}/lib/perl5/site_perl/Business/ + @ ln -sf ${PREFIX}/lib/perl5/site_perl/Business/CreditCard-0.1.pm ${PREFIX}/lib/perl5/site_perl/Business/CreditCard.pm + +.include <bsd.port.mk> diff --git a/misc/p5-Business-CreditCard/files/md5 b/misc/p5-Business-CreditCard/files/md5 new file mode 100644 index 00000000000..2cd298df8cf --- /dev/null +++ b/misc/p5-Business-CreditCard/files/md5 @@ -0,0 +1 @@ +MD5 (Business-CreditCard-0.1.tar.gz) = 42132d39c21faa3a99282b462f8228f0 diff --git a/misc/p5-Business-CreditCard/pkg/COMMENT b/misc/p5-Business-CreditCard/pkg/COMMENT new file mode 100644 index 00000000000..1c7a024a544 --- /dev/null +++ b/misc/p5-Business-CreditCard/pkg/COMMENT @@ -0,0 +1 @@ +perl5 module to validate/generate credit card checksums/names. diff --git a/misc/p5-Business-CreditCard/pkg/DESCR b/misc/p5-Business-CreditCard/pkg/DESCR new file mode 100644 index 00000000000..dfcea144d3d --- /dev/null +++ b/misc/p5-Business-CreditCard/pkg/DESCR @@ -0,0 +1,32 @@ + These subroutines tell you whether a credit card number is + self-consistent -- whether the last digit of the number is + a valid checksum for the preceding digits. + + The validate() subroutine returns 1 if the card number + provided passes the checksum test, and 0 otherwise. + + The cardtype() subroutine returns a string containing the + type of card: "MasterCard", "VISA", and so on. My list is + not complete; I welcome additions. + + The generate_last_digit() subroutine computes and returns + the last digit of the card given the preceding digits. + With a 16-digit card, you provide the first 15 digits; the + subroutine returns the sixteenth. + + This module does not tell you whether the number is on an + actual card, only whether it might conceivably be on a + real card. To verify whether a card is real, or whether + it's been stolen, or what its balance is, you need a + Merchant ID, which gives you access to credit card + databases. The Perl Journal + (http://work.media.mit.edu/tpj) has a Merchant ID so that + I can accept MasterCard and VISA payments; it comes with + the little pushbutton/slide-your-card-through device + you've seen in restaurants and stores. That device + calculates the checksum for you, so I don't actually use + this module. + + These subroutines will also work if you provide the + arguments as numbers instead of strings, e.g. + validate(5276440065421319). diff --git a/misc/p5-Business-CreditCard/pkg/PLIST b/misc/p5-Business-CreditCard/pkg/PLIST new file mode 100644 index 00000000000..8def302b21a --- /dev/null +++ b/misc/p5-Business-CreditCard/pkg/PLIST @@ -0,0 +1,3 @@ +lib/perl5/site_perl/Business/CreditCard-0.1.pm +lib/perl5/site_perl/Business/CreditCard.pm +@dirrm lib/perl5/site_perl/Business diff --git a/misc/p5-Locale-Codes/Makefile b/misc/p5-Locale-Codes/Makefile new file mode 100644 index 00000000000..b90ec3e1c4a --- /dev/null +++ b/misc/p5-Locale-Codes/Makefile @@ -0,0 +1,25 @@ +# New ports collection makefile for: p5-Locale-Codes +# Version required: 0.003 +# Date created: June 26th 1997 +# Whom: James FitzGibbon <jfitz@FreeBSD.ORG> +# +# $Id: Makefile,v 1.1.1.1 1997/10/11 21:54:41 hubertf Exp $ +# + +DISTNAME= Locale-Codes-0.003 +PKGNAME= p5-Locale-Codes-0.003 +CATEGORIES= misc perl5 +MASTER_SITES= ${MASTER_SITE_PERL_CPAN} +MASTER_SITE_SUBDIR= Locale + +MAINTAINER= jfitz@FreeBSD.ORG + +USE_PERL5= YES + +MANPREFIX= ${PREFIX}/lib/perl5 +MAN3= Locale::Country.3 Locale::Language.3 + +do-configure: + @cd ${WRKSRC}; ${SETENV} ${CONFIGURE_ENV} ${PREFIX}/bin/perl Makefile.PL + +.include <bsd.port.mk> diff --git a/misc/p5-Locale-Codes/files/md5 b/misc/p5-Locale-Codes/files/md5 new file mode 100644 index 00000000000..356d97a07ef --- /dev/null +++ b/misc/p5-Locale-Codes/files/md5 @@ -0,0 +1 @@ +MD5 (Locale-Codes-0.003.tar.gz) = ae62819979b2929275f570f4859b711a diff --git a/misc/p5-Locale-Codes/pkg/COMMENT b/misc/p5-Locale-Codes/pkg/COMMENT new file mode 100644 index 00000000000..ed35cc7dedf --- /dev/null +++ b/misc/p5-Locale-Codes/pkg/COMMENT @@ -0,0 +1,2 @@ +perl5 module providing access to ISO3166 and ISO639 Country Codes + diff --git a/misc/p5-Locale-Codes/pkg/DESCR b/misc/p5-Locale-Codes/pkg/DESCR new file mode 100644 index 00000000000..e6170bd3989 --- /dev/null +++ b/misc/p5-Locale-Codes/pkg/DESCR @@ -0,0 +1,13 @@ + The Locale::Country module provides access to the ISO two- + letter codes for identifying countries, as defined in ISO + 3166. You can either access the codes via the the section + on conversion routines (described below), or with the two + functions which return lists of all country codes or all + country names. + + The Locale::Language module provides access to the ISO + two-letter codes for identifying languages, as defined in + ISO 639. You can either access the codes via the the + section on conversion routines (described below), or with + the two functions which return lists of all language codes + or all language names. diff --git a/misc/p5-Locale-Codes/pkg/PLIST b/misc/p5-Locale-Codes/pkg/PLIST new file mode 100644 index 00000000000..27368c57ad1 --- /dev/null +++ b/misc/p5-Locale-Codes/pkg/PLIST @@ -0,0 +1,7 @@ +lib/perl5/man/man3/Locale::Country.3.gz +lib/perl5/man/man3/Locale::Language.3.gz +lib/perl5/site_perl/Locale/Country.pm +lib/perl5/site_perl/Locale/Language.pm +lib/perl5/site_perl/i386-freebsd/auto/Locale/.packlist +@dirrm lib/perl5/site_perl/i386-freebsd/auto/Locale +@dirrm lib/perl5/site_perl/Locale diff --git a/misc/p5-Search/Makefile b/misc/p5-Search/Makefile new file mode 100644 index 00000000000..ef235d34304 --- /dev/null +++ b/misc/p5-Search/Makefile @@ -0,0 +1,25 @@ +# New ports collection makefile for: p5-Search +# Version required: 0.2 +# Date created: October 17th 1996 +# Whom: James FitzGibbon <jfitz@FreeBSD.org> +# +# $Id: Makefile,v 1.1.1.1 1997/10/11 21:54:46 hubertf Exp $ +# + +DISTNAME= Search-0.2 +PKGNAME= p5-Search-0.2 +CATEGORIES= misc perl5 +MASTER_SITES= ${MASTER_SITE_PERL_CPAN} +MASTER_SITE_SUBDIR= Search + +MAINTAINER= jfitz@FreeBSD.ORG + +USE_PERL5= YES + +MAN3= Search::Base.3 +MANPREFIX= ${PREFIX}/lib/perl5 + +do-configure: + @ cd ${WRKSRC}; ${SETENV} ${MAKE_ENV} ${PREFIX}/bin/perl Makefile.PL + +.include <bsd.port.mk> diff --git a/misc/p5-Search/files/md5 b/misc/p5-Search/files/md5 new file mode 100644 index 00000000000..6eeb7388f35 --- /dev/null +++ b/misc/p5-Search/files/md5 @@ -0,0 +1 @@ +MD5 (Search-0.2.tar.gz) = 219489c16addfdfdacd6ce8ffca85040 diff --git a/misc/p5-Search/pkg/COMMENT b/misc/p5-Search/pkg/COMMENT new file mode 100644 index 00000000000..bb87651cf27 --- /dev/null +++ b/misc/p5-Search/pkg/COMMENT @@ -0,0 +1 @@ +perl5 module to provide framework for multiple searches. diff --git a/misc/p5-Search/pkg/DESCR b/misc/p5-Search/pkg/DESCR new file mode 100644 index 00000000000..a6fa6f7c1f3 --- /dev/null +++ b/misc/p5-Search/pkg/DESCR @@ -0,0 +1,9 @@ + This module is a base class interfacing to search engines. + It defines an interface that can be used by any of the + Search search modules, such as Search::Glimpse or + Search::TextSearch, which are the standard ones included + with the module. + + It exports no routines, just provides methods for the + other classes. + diff --git a/misc/p5-Search/pkg/PLIST b/misc/p5-Search/pkg/PLIST new file mode 100644 index 00000000000..e2e5254838e --- /dev/null +++ b/misc/p5-Search/pkg/PLIST @@ -0,0 +1,5 @@ +lib/perl5/man/man3/Search::Base.3.gz +lib/perl5/site_perl/Search/Base.pm +lib/perl5/site_perl/Search/Glimpse.pm +lib/perl5/site_perl/Search/TextSearch.pm +@dirrm lib/perl5/site_perl/Search
\ No newline at end of file diff --git a/misc/pkg/COMMENT b/misc/pkg/COMMENT new file mode 100644 index 00000000000..5a9fb7d2866 --- /dev/null +++ b/misc/pkg/COMMENT @@ -0,0 +1 @@ +Miscellaneous utilities. diff --git a/misc/rpm/Makefile b/misc/rpm/Makefile new file mode 100644 index 00000000000..0ec36dfbc27 --- /dev/null +++ b/misc/rpm/Makefile @@ -0,0 +1,25 @@ +# New ports collection makefile for: rpm +# Version required: 2.4.3 +# Date created: 23 January 1997 +# Whom: Thomas Gellekum <tg@FreeBSD.ORG> +# +# $Id: Makefile,v 1.1.1.1 1997/10/11 21:54:51 hubertf Exp $ +# + +DISTNAME= rpm-2.4.3 +CATEGORIES= misc +MASTER_SITES= ftp://ftp.redhat.com/pub/redhat/code/rpm/ \ + ftp://ftp.gwdg.de/pub/linux/redhat/code/rpm/ + +MAINTAINER= tg@FreeBSD.ORG + +BUILD_DEPENDS= ${PREFIX}/lib/libgdbm.a:${PORTSDIR}/databases/gdbm + +GNU_CONFIGURE= yes +USE_GMAKE= yes +MAN8= rpm.8 rpm2cpio.8 + +pre-install: + ${MKDIR} ${PREFIX}/include/rpm + +.include <bsd.port.mk> diff --git a/misc/rpm/files/md5 b/misc/rpm/files/md5 new file mode 100644 index 00000000000..35f41e95c90 --- /dev/null +++ b/misc/rpm/files/md5 @@ -0,0 +1 @@ +MD5 (rpm-2.4.3.tar.gz) = dda17eb9223ec270fa1f7a1fda0efbb2 diff --git a/misc/rpm/patches/patch-aa b/misc/rpm/patches/patch-aa new file mode 100644 index 00000000000..d0035ebeaf1 --- /dev/null +++ b/misc/rpm/patches/patch-aa @@ -0,0 +1,16 @@ +--- build/myftw.c.orig Thu Jan 23 17:14:47 1997 ++++ build/myftw.c Thu Jan 23 17:11:27 1997 +@@ -19,12 +19,12 @@ + not, write to the Free Software Foundation, Inc., 675 Mass Ave, + Cambridge, MA 02139, USA. */ + ++#include <sys/types.h> + #include <errno.h> + #include <limits.h> + #include <stdlib.h> + #include <string.h> + #include <dirent.h> +-#include <sys/types.h> + #include <sys/stat.h> + + #ifndef NAMLEN diff --git a/misc/rpm/patches/patch-ab b/misc/rpm/patches/patch-ab new file mode 100644 index 00000000000..bcdb0e7575c --- /dev/null +++ b/misc/rpm/patches/patch-ab @@ -0,0 +1,10 @@ +--- lib/header.c.orig Thu Jan 16 17:20:50 1997 ++++ lib/header.c Thu Jan 23 17:18:34 1997 +@@ -9,7 +9,6 @@ + + #include <stdlib.h> + #include <ctype.h> +-#include <malloc.h> + #include <string.h> + #include <unistd.h> + #include <netinet/in.h> diff --git a/misc/rpm/patches/patch-ac b/misc/rpm/patches/patch-ac new file mode 100644 index 00000000000..d1ea9e9e6a1 --- /dev/null +++ b/misc/rpm/patches/patch-ac @@ -0,0 +1,10 @@ +--- misc/miscfn.h.orig Fri Jun 27 23:55:33 1997 ++++ misc/miscfn.h Wed Jul 2 14:31:14 1997 +@@ -2,6 +2,7 @@ + #define H_MISCFN + + #include "config.h" ++#include <sys/types.h> + + #if HAVE_FNMATCH_H + #include <fnmatch.h> diff --git a/misc/rpm/patches/patch-ae b/misc/rpm/patches/patch-ae new file mode 100644 index 00000000000..b02d6f81034 --- /dev/null +++ b/misc/rpm/patches/patch-ae @@ -0,0 +1,18 @@ +--- Makefile.inc.in.orig Wed May 28 16:19:44 1997 ++++ Makefile.inc.in Wed Jul 2 14:09:57 1997 +@@ -3,12 +3,13 @@ + prefix= @prefix@ + exec_prefix = @exec_prefix@ + libdir= $(prefix)/lib ++datadir= $(prefix)/share + + AR = ar + RANLIB = @RANLIB@ + OPTS = @DEFS@ +-LIBRPMRC_FILENAME=$(libdir)/rpmrc +-LIBRPMALIAS_FILENAME=$(libdir)/rpmpopt ++LIBRPMRC_FILENAME=$(datadir)/misc/rpmrc ++LIBRPMALIAS_FILENAME=$(datadir)/misc/rpmpopt + RPMNLSDIR=@datadir@/locale + RPMNLSPACKAGE=rpm + CFLAGS = @CFLAGS@ @INCPATH@ $(WARNINGS) $(OPTS) -I$(topdir) \ diff --git a/misc/rpm/patches/patch-af b/misc/rpm/patches/patch-af new file mode 100644 index 00000000000..13fddb1daa1 --- /dev/null +++ b/misc/rpm/patches/patch-af @@ -0,0 +1,30 @@ +--- Makefile.in.orig Wed Jun 25 18:11:30 1997 ++++ Makefile.in Wed Jul 2 14:14:10 1997 +@@ -25,6 +25,7 @@ + RPMBINDIR=$(subst usr/bin,bin,$(BINDIR)) + MANDIR=$(prefix)/man/man8 + LIBDIR=$(libdir) ++DATADIR=$(datadir) + INCDIR=$(prefix)/include/rpm + ETCDIR=$(ROOT)/etc + +@@ -49,7 +50,7 @@ + all: $(TARGET) + + rpm: lib/librpm.a build/libbuild.a misc/libmisc.a $(OBJS) +- $(CC) -o rpm -static $(LDFLAGS) $(OBJS) $(LOADLIBES) $(LIBS) \ ++ $(CC) -o rpm $(LDFLAGS) $(OBJS) $(LOADLIBES) $(LIBS) \ + $(LIBEFENCE) + + rpm.shared: lib/librpm.a build/libbuild.a $(OBJS) +@@ -121,8 +122,8 @@ + $(INSTALL) -s -m 755 rpm2cpio $(installprefix)/$(BINDIR) + $(INSTALL) -m 644 $(srcdir)/rpm.8 $(installprefix)/$(MANDIR) + $(INSTALL) -m 644 $(srcdir)/rpm2cpio.8 $(installprefix)/$(MANDIR) +- $(INSTALL) -m 644 $(srcdir)/lib-rpmrc $(installprefix)/$(LIBDIR)/rpmrc +- $(INSTALL) -m 644 $(srcdir)/rpmpopt $(installprefix)/$(LIBDIR)/rpmpopt ++ $(INSTALL) -m 644 $(srcdir)/lib-rpmrc $(installprefix)/$(DATADIR)/misc/rpmrc ++ $(INSTALL) -m 644 $(srcdir)/rpmpopt $(installprefix)/$(DATADIR)/misc/rpmpopt + (cd lib; $(MAKE) LIBDIR=$(installprefix)/$(LIBDIR) INCDIR=$(installprefix)/$(INCDIR) install) + for d in $(INSTSUBDIRS); do \ + (cd $$d; $(MAKE) installprefix=$(installprefix) LIBDIR=$(installprefix)/$(LIBDIR) INCDIR=$(installprefix)/$(INCDIR) install) ;\ diff --git a/misc/rpm/pkg/COMMENT b/misc/rpm/pkg/COMMENT new file mode 100644 index 00000000000..b312119efb7 --- /dev/null +++ b/misc/rpm/pkg/COMMENT @@ -0,0 +1 @@ +The Red Hat Package Manager diff --git a/misc/rpm/pkg/DESCR b/misc/rpm/pkg/DESCR new file mode 100644 index 00000000000..37e6dfd8bce --- /dev/null +++ b/misc/rpm/pkg/DESCR @@ -0,0 +1 @@ +This is the Red Hat Package Manager. diff --git a/misc/rpm/pkg/PLIST b/misc/rpm/pkg/PLIST new file mode 100644 index 00000000000..02b68efb6f0 --- /dev/null +++ b/misc/rpm/pkg/PLIST @@ -0,0 +1,13 @@ +bin/gendiff +bin/rpm +bin/find-requires +bin/find-provides +bin/rpm2cpio +include/rpm/rpmlib.h +include/rpm/dbindex.h +include/rpm/header.h +lib/librpm.a +man/man8/rpm.8.gz +man/man8/rpm2cpio.8.gz +share/misc/rpmrc +share/misc/rpmpopt diff --git a/misc/splitvt/Makefile b/misc/splitvt/Makefile new file mode 100644 index 00000000000..ce5b873319b --- /dev/null +++ b/misc/splitvt/Makefile @@ -0,0 +1,25 @@ +# New ports collection makefile for: Splitvt +# Version required: 1.6.1 +# Date created: Fri Oct 4, 1996 +# Whom: David O'Brien (obrien@cs.ucdavis.edu) +# +# $Id: Makefile,v 1.1.1.1 1997/10/11 21:54:59 hubertf Exp $ +# + +DISTNAME= splitvt-1.6.3 +CATEGORIES= misc +MASTER_SITES= ${MASTER_SITE_SUNSITE} +MASTER_SITE_SUBDIR= utils/console + +MAINTAINER= obrien@FreeBSD.org + +HAS_CONFIGURE= yes +CONFIGURE_SCRIPT= Configure +ALL_TARGET= +MAN1= splitvt.1 + +do-install: + ${INSTALL_PROGRAM} ${WRKSRC}/splitvt ${PREFIX}/bin + ${INSTALL_MAN} ${WRKSRC}/splitvt.1 ${PREFIX}/man/man1 + +.include <bsd.port.mk> diff --git a/misc/splitvt/files/md5 b/misc/splitvt/files/md5 new file mode 100644 index 00000000000..5a85ea14947 --- /dev/null +++ b/misc/splitvt/files/md5 @@ -0,0 +1 @@ +MD5 (splitvt-1.6.3.tar.gz) = e95e166145ec51d2a9d80aa6472f9f98 diff --git a/misc/splitvt/pkg/COMMENT b/misc/splitvt/pkg/COMMENT new file mode 100644 index 00000000000..a58c6d15dcd --- /dev/null +++ b/misc/splitvt/pkg/COMMENT @@ -0,0 +1 @@ +run two shells in a split window/terminal diff --git a/misc/splitvt/pkg/DESCR b/misc/splitvt/pkg/DESCR new file mode 100644 index 00000000000..6008aa751aa --- /dev/null +++ b/misc/splitvt/pkg/DESCR @@ -0,0 +1,11 @@ +Splitvt splits the screen into two windows, each running a shell, so you +can do and see two things at once. + +Using special keys, the focus may be changed from one window to another. +Other features include cut & pasting between windows, and the ability to +the terminal. + +Note: users may want to take a look at /usr/bin/window (see ``man window'') +for a FreeBSD native version this type of program. + +-- David (obrien@cs.ucdavis.edu) diff --git a/misc/splitvt/pkg/PLIST b/misc/splitvt/pkg/PLIST new file mode 100644 index 00000000000..9ba24f90bfd --- /dev/null +++ b/misc/splitvt/pkg/PLIST @@ -0,0 +1,2 @@ +bin/splitvt +man/man1/splitvt.1.gz diff --git a/misc/team/Makefile b/misc/team/Makefile new file mode 100644 index 00000000000..b3bdb72c206 --- /dev/null +++ b/misc/team/Makefile @@ -0,0 +1,15 @@ +# New ports collection makefile for: team +# Version required: 3.1 (From the RCS Id line of team.c) +# Date created: 1 July 1995 +# Whom: joerg +# +# $Id: Makefile,v 1.1.1.1 1997/10/11 21:55:00 hubertf Exp $ +# + +DISTNAME= team-3.1 +CATEGORIES= misc +MASTER_SITES= ${MASTER_SITE_LOCAL} + +MAINTAINER= joerg@FreeBSD.org + +.include <bsd.port.mk> diff --git a/misc/team/files/md5 b/misc/team/files/md5 new file mode 100644 index 00000000000..45ee3aa62cc --- /dev/null +++ b/misc/team/files/md5 @@ -0,0 +1 @@ +MD5 (team-3.1.tar.gz) = e2095ee087a61d784bd2e296724d4316 diff --git a/misc/team/patches/patch-a b/misc/team/patches/patch-a new file mode 100644 index 00000000000..2a8bd311e97 --- /dev/null +++ b/misc/team/patches/patch-a @@ -0,0 +1,34 @@ +diff -u team-3.1/Makefile ./Makefile +--- team-3.1/Makefile Sat Jul 1 17:33:24 1995 ++++ ./Makefile Sat Jul 1 17:53:20 1995 +@@ -1,25 +1,8 @@ +-CFLAGS =-O +-LDFLAGS =-s ++PROG= team + +-INSTX =install -m 0755 -s +-INSTD =install -m 0644 ++BINDIR= ${PREFIX}/bin ++MANDIR= ${PREFIX}/man/man + +-DEST= ++CFLAGS+= -DHAVE_PARAM_H + +-MI =$(DEST)/usr/ +-MD =$(DEST)/usr/ +- +-M1X =1 +- +-BIND =$(MD)bin/ +-MANI =$(MI)man +- +-MANI1 =$(MANI)$(M1X)/ +- +-all: team +- +-clean:: +- rm -f team team.o +- +-$(BIND)team: team; $(INSTX) $? $@ +-$(MANI1)team.$(M1X): team.1; $(INSTD) $? $@ ++.include <bsd.prog.mk> diff --git a/misc/team/patches/patch-b b/misc/team/patches/patch-b new file mode 100644 index 00000000000..293325e09a3 --- /dev/null +++ b/misc/team/patches/patch-b @@ -0,0 +1,28 @@ +diff -u team-3.1/team.c ./team.c +--- team-3.1/team.c Sat Jul 1 17:33:24 1995 ++++ ./team.c Sat Jul 1 17:54:05 1995 +@@ -85,6 +85,11 @@ + #include <sys/stat.h> + #include <fcntl.h> + ++#ifdef HAVE_PARAM_H ++#include <sys/param.h> ++#endif ++ ++ + #ifdef sun + # undef F_SETLKW + #endif +@@ -286,7 +291,12 @@ + do + { + #if (defined i386 || defined sun) ++# if !(defined(BSD) && (BSD >= 199306)) + extern char *(sys_errlist[]); ++# endif ++# if (defined(BSD) && (BSD >= 199306)) && __STDC__ ++ const ++# endif + char *errmsg = sys_errlist[errno]; + #else + char errmsg[32]; diff --git a/misc/team/patches/patch-c b/misc/team/patches/patch-c new file mode 100644 index 00000000000..3cc2b11cf5e --- /dev/null +++ b/misc/team/patches/patch-c @@ -0,0 +1,453 @@ +*** team.c.ORIG Wed Nov 6 17:51:42 1996 +--- team.c Wed Nov 6 18:07:15 1996 +*************** +*** 58,65 **** + upstream to it, which has much the same effect. + */ + +! #define TeamLVOLSZ (1L<<10) +! #define TeamHVOLSZ ((long unsigned) 3 * ((long unsigned) 1 << 30)) + + #define TeamLBUFSZ (64) /* Low buffer size */ + #define TeamDBUFSZ (60*512) /* Default buffer size */ +--- 58,65 ---- + upstream to it, which has much the same effect. + */ + +! #define TeamLVOLSZ (off_t unsigned)(1L<<10) +! #define TeamHVOLSZ ((off_t unsigned) 3 * ((off_t unsigned) 1 << 62)) + + #define TeamLBUFSZ (64) /* Low buffer size */ + #define TeamDBUFSZ (60*512) /* Default buffer size */ +*************** +*** 195,201 **** + { + int fd; + short status; +! long unsigned size; + }; + + local Fd FdIn,FdOut; +--- 195,201 ---- + { + int fd; + short status; +! off_t unsigned size; + }; + + local Fd FdIn,FdOut; +*************** +*** 204,210 **** + ( + fast Fd *fd + _ int ffd +! _ long unsigned size + ) + { + fd->status = (ffd >= 0) ? FdOPEN : FdCLOSED; +--- 204,210 ---- + ( + fast Fd *fd + _ int ffd +! _ off_t unsigned size + ) + { + fd->status = (ffd >= 0) ? FdOPEN : FdCLOSED; +*************** +*** 257,268 **** + to->fd = from->fd; + } + +! local long unsigned FdRetry on((fd,which,done,space)) is + ( + fast Fd *fd + _ char *which +! _ long unsigned done +! _ long unsigned space + ) + { + int tty; +--- 257,268 ---- + to->fd = from->fd; + } + +! local off_t unsigned FdRetry on((fd,which,done,space)) is + ( + fast Fd *fd + _ char *which +! _ off_t unsigned done +! _ off_t unsigned space + ) + { + int tty; +*************** +*** 303,311 **** + (void) sprintf(errmsg,"Error %d",errno); + #endif + if (errno) +! mesg("'%s' on %s after %luk. Continue [cyn] ? ",errmsg,which,done>>10); + else +! mesg("EOF on %s after %luk. Continue [cyn] ? ",which,done>>10); + + read(tty,reply,sizeof reply); + } +--- 303,311 ---- + (void) sprintf(errmsg,"Error %d",errno); + #endif + if (errno) +! mesg("'%s' on %s after %quk. Continue [cyn] ? ",errmsg,which,done>>10); + else +! mesg("EOF on %s after %quk. Continue [cyn] ? ",which,done>>10); + + read(tty,reply,sizeof reply); + } +*************** +*** 330,336 **** + local unsigned FdCanDo on((remaining,available)) is + ( + fast address remaining +! _ fast long unsigned available + ) + { + return (remaining < available) +--- 330,336 ---- + local unsigned FdCanDo on((remaining,available)) is + ( + fast address remaining +! _ fast off_t unsigned available + ) + { + return (remaining < available) +*************** +*** 342,351 **** + fast Fd *fd + _ pointer buffer + _ fast address todo +! _ long unsigned done + ) + { +! fast long unsigned space; + fast int bytesRead; + fast address justDone; + +--- 342,351 ---- + fast Fd *fd + _ pointer buffer + _ fast address todo +! _ off_t unsigned done + ) + { +! fast off_t unsigned space; + fast int bytesRead; + fast address justDone; + +*************** +*** 383,392 **** + fast Fd *fd + _ pointer buffer + _ fast address todo +! _ long unsigned done + ) + { +! fast long unsigned space; + fast int bytesWritten; + fast address justDone; + +--- 383,392 ---- + fast Fd *fd + _ pointer buffer + _ fast address todo +! _ off_t unsigned done + ) + { +! fast off_t unsigned space; + fast int bytesWritten; + fast address justDone; + +*************** +*** 463,469 **** + { + Token token; + short status; +! long unsigned done; + }; + + local bool StreamSend on((fd,token,status,done)) is +--- 463,469 ---- + { + Token token; + short status; +! off_t unsigned done; + }; + + local bool StreamSend on((fd,token,status,done)) is +*************** +*** 471,477 **** + fast Fd *fd + _ Token token + _ short status +! _ long unsigned done + ) + { + fast int n; +--- 471,477 ---- + fast Fd *fd + _ Token token + _ short status +! _ off_t unsigned done + ) + { + fast int n; +*************** +*** 493,499 **** + fast Fd *fd + _ Token *tokenp + _ short *statusp +! _ long unsigned *donep + ) + { + fast int n; +--- 493,499 ---- + fast Fd *fd + _ Token *tokenp + _ short *statusp +! _ off_t unsigned *donep + ) + { + fast int n; +*************** +*** 546,552 **** + #define GuyRECEIVE(guy,tokenp,statusp,donep) \ + StreamReceive(&guy->upStream,tokenp,statusp,donep) + +! local bool GuyStop of((Guy *,char *,long unsigned)); + + local bool GuyStart on((guy,bufsize)) is + ( +--- 546,552 ---- + #define GuyRECEIVE(guy,tokenp,statusp,donep) \ + StreamReceive(&guy->upStream,tokenp,statusp,donep) + +! local bool GuyStop of((Guy *,char *,off_t unsigned)); + + local bool GuyStart on((guy,bufsize)) is + ( +*************** +*** 557,563 **** + fast char *buffer; + Token token; + short status; +! long unsigned done; + bool received; + static int bytesRead,bytesWritten; + +--- 557,563 ---- + fast char *buffer; + Token token; + short status; +! off_t unsigned done; + bool received; + static int bytesRead,bytesWritten; + +*************** +*** 587,593 **** + done += bytesRead; + + if (verbose) +! mesg("%luk read \r",done>>10); + + if (!GuySEND(guy,TokenREAD,FdIn.status,done)) + GuyStop(guy,"guy cannot send READ",done); +--- 587,593 ---- + done += bytesRead; + + if (verbose) +! mesg("%quk read \r",done>>10); + + if (!GuySEND(guy,TokenREAD,FdIn.status,done)) + GuyStop(guy,"guy cannot send READ",done); +*************** +*** 605,611 **** + done += bytesWritten; + + if (verbose) +! mesg("%luk written\r",done>>10); + + if (!GuySEND(guy,TokenWRITE,FdOut.status,done)) + GuyStop(guy,"guy cannot send WRITE",done); +--- 605,611 ---- + done += bytesWritten; + + if (verbose) +! mesg("%quk written\r",done>>10); + + if (!GuySEND(guy,TokenWRITE,FdOut.status,done)) + GuyStop(guy,"guy cannot send WRITE",done); +*************** +*** 629,635 **** + ( + fast Guy *guy + _ char *errormsg +! _ long unsigned done + ) + { + Mesg(("GuyStop guy %#o\n",guy)); +--- 629,635 ---- + ( + fast Guy *guy + _ char *errormsg +! _ off_t unsigned done + ) + { + Mesg(("GuyStop guy %#o\n",guy)); +*************** +*** 637,644 **** + if (done) + { + if (report) +! mesg("%lu kilobytes, %lu seconds\r\n", +! done>>10,(long unsigned) (time((time_t *) 0)-origin)); + else if (verbose) + mesg("\n"); + } +--- 637,644 ---- + if (done) + { + if (report) +! mesg("%qu kilobytes, %lu seconds\r\n", +! done>>10,(off_t unsigned) (time((time_t *) 0)-origin)); + else if (verbose) + mesg("\n"); + } +*************** +*** 707,714 **** + ( + fast Team *team + _ address bufsize +! _ long unsigned isize +! _ long unsigned osize + ) + { + /* +--- 707,714 ---- + ( + fast Team *team + _ address bufsize +! _ off_t unsigned isize +! _ off_t unsigned osize + ) + { + /* +*************** +*** 924,931 **** + syntax: team [-[vr]] [-iI[bkm] [-oO[bkm] [N[bkm] [P]]\n\ + copies standard input to output\n\ + -v gives ongoing report, -r final report\n\ +! I is input volume size (default %lum)\n\ +! O is output volume size (default %lum)\n\ + N is buffer size (default %luk)\n\ + P is number of processes (default %u)\n\ + (postfix b means *512, k means *1KB, m means *1MB)\n\ +--- 924,931 ---- + syntax: team [-[vr]] [-iI[bkm] [-oO[bkm] [N[bkm] [P]]\n\ + copies standard input to output\n\ + -v gives ongoing report, -r final report\n\ +! I is input volume size (default %qum)\n\ +! O is output volume size (default %qum)\n\ + N is buffer size (default %luk)\n\ + P is number of processes (default %u)\n\ + (postfix b means *512, k means *1KB, m means *1MB)\n\ +*************** +*** 937,955 **** + /*NOTREACHED*/ + } + +! local long unsigned atos on((s)) is + ( + fast char *s + ) + { +! fast unsigned long l; + + for ( + s, l = 0L; + *s >= '0' && *s <= '9'; + s++ + ) +! l = l*10L + (long unsigned) (*s-'0'); + + if (*s == 'b') l *= (1L<<9); + if (*s == 'k') l *= (1L<<10); +--- 937,955 ---- + /*NOTREACHED*/ + } + +! local off_t unsigned atos on((s)) is + ( + fast char *s + ) + { +! fast off_t unsigned l; + + for ( + s, l = 0L; + *s >= '0' && *s <= '9'; + s++ + ) +! l = l*10L + (off_t unsigned) (*s-'0'); + + if (*s == 'b') l *= (1L<<9); + if (*s == 'k') l *= (1L<<10); +*************** +*** 968,975 **** + short unsigned teamsize; + + address bufsize; +! long unsigned isize; +! long unsigned osize; + int opt; + + teamsize = TeamDTEAMSZ; +--- 968,975 ---- + short unsigned teamsize; + + address bufsize; +! off_t unsigned isize; +! off_t unsigned osize; + int opt; + + teamsize = TeamDTEAMSZ; +*************** +*** 985,991 **** + isize = atos(optarg); + if (isize < TeamLVOLSZ || isize > TeamHVOLSZ) + { +! fprintf(stderr,"team: invalid input volume size %lu\n",isize); + usage(); + } + +--- 985,991 ---- + isize = atos(optarg); + if (isize < TeamLVOLSZ || isize > TeamHVOLSZ) + { +! fprintf(stderr,"team: invalid input volume size %qu\n",isize); + usage(); + } + +*************** +*** 993,999 **** + osize = atos(optarg); + if (osize < TeamLVOLSZ || osize > TeamHVOLSZ) + { +! fprintf(stderr,"team: invalid output volume size %lu\n",osize); + usage(); + } + +--- 993,999 ---- + osize = atos(optarg); + if (osize < TeamLVOLSZ || osize > TeamHVOLSZ) + { +! fprintf(stderr,"team: invalid output volume size %qu\n",osize); + usage(); + } + diff --git a/misc/team/patches/patch-d b/misc/team/patches/patch-d new file mode 100644 index 00000000000..53b4698adb0 --- /dev/null +++ b/misc/team/patches/patch-d @@ -0,0 +1,146 @@ +*** Makefile.ORIG Fri Dec 13 16:26:46 1996 +--- Makefile Sat Dec 14 11:01:06 1996 +*************** +*** 3,8 **** + BINDIR= ${PREFIX}/bin + MANDIR= ${PREFIX}/man/man + +! CFLAGS+= -DHAVE_PARAM_H + + .include <bsd.prog.mk> +--- 3,8 ---- + BINDIR= ${PREFIX}/bin + MANDIR= ${PREFIX}/man/man + +! CFLAGS+= -DHAVE_PARAM_H -DHAVE_WAIT_H + + .include <bsd.prog.mk> +*** team.c.ORIG Fri Dec 13 16:26:50 1996 +--- team.c Sun Dec 15 10:35:10 1996 +*************** +*** 84,89 **** +--- 84,92 ---- + #include <sys/file.h> + #include <sys/stat.h> + #include <fcntl.h> ++ #ifdef HAVE_WAIT_H ++ #include <sys/wait.h> ++ #endif + + #ifdef HAVE_PARAM_H + #include <sys/param.h> +*************** +*** 165,170 **** +--- 168,174 ---- + + local bool verbose = false; + local bool report = true; ++ local bool guyhaderror = false; + + extern int errno; + local time_t origin; +*************** +*** 647,653 **** + { + mesg("team: guy pid %u: %s\n",guy->pid,errormsg); + call GuySEND(guy,TokenABORT,FdERROR,0L); +! exit(1); + /*NOTREACHED*/ + } + +--- 651,657 ---- + { + mesg("team: guy pid %u: %s\n",guy->pid,errormsg); + call GuySEND(guy,TokenABORT,FdERROR,0L); +! exit(2); + /*NOTREACHED*/ + } + +*************** +*** 807,812 **** +--- 811,819 ---- + { + pid = getpid(); + ++ /* Set SIGPIPE handling back to the default in the guys */ ++ signal(SIGPIPE, SIG_DFL); ++ + if (!FdClose(&last_downstream)) + perror("cannot close inherited first link"); + +*************** +*** 826,838 **** + } + } + +! if (!StreamSend(&last_downstream,TokenREAD,FdOPEN,0L)) + { + perror("cannot send first READ token"); + return false; + } + +! if (!StreamSend(&last_downstream,TokenWRITE,FdOPEN,0L)) + { + perror("cannot send first WRITE token"); + return false; +--- 833,845 ---- + } + } + +! if (!StreamSend(&last_downstream,TokenREAD,FdOPEN,0L) && errno != EPIPE) + { + perror("cannot send first READ token"); + return false; + } + +! if (!StreamSend(&last_downstream,TokenWRITE,FdOPEN,0L) && errno != EPIPE) + { + perror("cannot send first WRITE token"); + return false; +*************** +*** 874,879 **** +--- 881,894 ---- + + --team->active; + ++ #ifdef WIFEXITED ++ /* If a guy had an error, its exit status is 2. Also catch a killed guy */ ++ if ((WIFEXITED(status) && WEXITSTATUS(status) == 2) || ++ (WIFSIGNALED(status) && WTERMSIG(status) != SIGPIPE)) { ++ guyhaderror = true; ++ } ++ #endif ++ + if (status != 0 && team->active != 0) + return false; + } +*************** +*** 1042,1047 **** +--- 1057,1067 ---- + + origin = time((time_t *) 0); + ++ /* ++ * Ignore SIGPIPE in the parent as it affects the exit status reporting. ++ */ ++ signal(SIGPIPE, SIG_IGN); ++ + if (!TeamStart(&team,bufsize,isize,osize)) + { + mesg("team: cannot start the team\n"); +*************** +*** 1062,1067 **** +--- 1082,1093 ---- + if (!TeamClose(&team)) + { + mesg("team: cannot close the team\n"); ++ return 1; ++ } ++ ++ if (guyhaderror) ++ { ++ mesg("team: guy had error\n"); + return 1; + } + + diff --git a/misc/team/patches/patch-e b/misc/team/patches/patch-e new file mode 100644 index 00000000000..b54f83d040e --- /dev/null +++ b/misc/team/patches/patch-e @@ -0,0 +1,15 @@ +*** team.c.ORIG Fri Dec 13 16:26:50 1996 +--- team.c Fri Dec 13 16:28:14 1996 +*************** +*** 94,99 **** +--- 94,103 ---- + # undef F_SETLKW + #endif + ++ #ifdef __FreeBSD__ ++ # undef F_SETLKW ++ #endif ++ + #if (PCG) + # include "Extend.h" + # include "Here.h" diff --git a/misc/team/pkg/COMMENT b/misc/team/pkg/COMMENT new file mode 100644 index 00000000000..13af6a9fa7d --- /dev/null +++ b/misc/team/pkg/COMMENT @@ -0,0 +1 @@ +Portable multi-buffered tape streaming utility. diff --git a/misc/team/pkg/DESCR b/misc/team/pkg/DESCR new file mode 100644 index 00000000000..ff1cf0979d9 --- /dev/null +++ b/misc/team/pkg/DESCR @@ -0,0 +1,17 @@ +Submitted-By: pcg@aber.ac.uk (Piercarlo Grandi) +Posting-Number: Volume 27, Issue 195 +Archive-Name: team/part01 + +There exist a few filters that help tapes streams by buffering IO and +allowing reads to overlaps with writes under Unix. Most of these filters +rely on relatively unportable features, for example SYSV like shared +memory. + +team is a filter that runs essentially unchanged on any Unix version, as +it relies only on features present in V7. A number of team processes +(team members) share a common input fd and a common output fd, and they +take turns at reading from the former and writing to the latter; they +synchronize by using a ring of pipes between them, where a "read-enable" +and a "write-enable" token circulate. + +The team source is GPL'ed, and it comes with no warranty. diff --git a/misc/team/pkg/PLIST b/misc/team/pkg/PLIST new file mode 100644 index 00000000000..41c7a200c31 --- /dev/null +++ b/misc/team/pkg/PLIST @@ -0,0 +1,2 @@ +bin/team +man/man1/team.1.gz diff --git a/misc/tkcron/Makefile b/misc/tkcron/Makefile new file mode 100644 index 00000000000..f4b2d23dccb --- /dev/null +++ b/misc/tkcron/Makefile @@ -0,0 +1,27 @@ +# New ports collection makefile for: tkcron-2.12 +# Version required: 2.12 +# Date created: 30 July 1996 +# Whom: Sander Vesik <sander@haldjas.folklore.ee> +# +# $Id: Makefile,v 1.1.1.1 1997/10/11 21:55:02 hubertf Exp $ +# + +DISTNAME= tkcron-2.12 +DISTFILES= tkcron-2.12.tcl.gz +CATEGORIES= misc tk41 +MASTER_SITES= ftp://ftp.neosoft.com/languages/tcl/alcatel/code/ +EXTRACT_SUFX= .tcl.gz + +MAINTAINER= sander@haldjas.folklore.ee + +RUN_DEPENDS= wish4\.1:${PORTSDIR}/x11/tk41 + +EXTRACT_CMD= ${GZIP_CMD} +EXTRACT_BEFORE_ARGS= -cd +EXTRACT_AFTER_ARGS= > tkcron.tcl +NO_WRKSUBDIR= yes + +post-extract: + @${CP} ${FILESDIR}/Makefile ${WRKSRC} + +.include <bsd.port.mk> diff --git a/misc/tkcron/files/Makefile b/misc/tkcron/files/Makefile new file mode 100644 index 00000000000..c9903f00c0f --- /dev/null +++ b/misc/tkcron/files/Makefile @@ -0,0 +1,12 @@ +BINDIR= ${PREFIX}/bin +WISHDIR?= ${BINDIR} + +all: tkcron + +tkcron: + sed -e "\:/usr/local/bin/wish: s;;${BINDIR}/wish4.1;g" tkcron.tcl > tkcron + +install: all + install ${COPY} -o ${BINOWN} -g ${BINGRP} -m ${BINMODE} tkcron ${BINDIR} + +.include <bsd.own.mk> diff --git a/misc/tkcron/files/md5 b/misc/tkcron/files/md5 new file mode 100644 index 00000000000..1fcf6b29e07 --- /dev/null +++ b/misc/tkcron/files/md5 @@ -0,0 +1 @@ +MD5 (tkcron-2.12.tcl.gz) = 585a44f793c0b8a8a353f79a217deda0 diff --git a/misc/tkcron/patches/patch-aa b/misc/tkcron/patches/patch-aa new file mode 100644 index 00000000000..b6c4026ef5a --- /dev/null +++ b/misc/tkcron/patches/patch-aa @@ -0,0 +1,11 @@ +--- tkcron.tcl Sat Aug 3 17:53:42 1996 ++++ tkcron.tcl Sat Aug 3 17:52:03 1996 +@@ -281,6 +281,7 @@ + + # Return the crontab string as a list + proc parseCrontabFile {str} { ++ set result "" + set crontablist [split $str \n] + set listlength [llength $crontablist] + for {set i 0} {$i < $listlength} {incr i 1} { + diff --git a/misc/tkcron/pkg/COMMENT b/misc/tkcron/pkg/COMMENT new file mode 100644 index 00000000000..c3edc3e3773 --- /dev/null +++ b/misc/tkcron/pkg/COMMENT @@ -0,0 +1 @@ +A frontend to crontab. diff --git a/misc/tkcron/pkg/DESCR b/misc/tkcron/pkg/DESCR new file mode 100644 index 00000000000..757ac1e020b --- /dev/null +++ b/misc/tkcron/pkg/DESCR @@ -0,0 +1,6 @@ +Tkcron is a frontend to crontab which allows the user to conviniently +add/modify/install/remove cron jobs. + +This is crontab version 2.12 + + Sander diff --git a/misc/tkcron/pkg/PLIST b/misc/tkcron/pkg/PLIST new file mode 100644 index 00000000000..6bac0b2ad7b --- /dev/null +++ b/misc/tkcron/pkg/PLIST @@ -0,0 +1 @@ +bin/tkcron diff --git a/misc/tkinfo/Makefile b/misc/tkinfo/Makefile new file mode 100644 index 00000000000..62b8d7eeb99 --- /dev/null +++ b/misc/tkinfo/Makefile @@ -0,0 +1,22 @@ +# New ports collection makefile for: tkinfo +# Version required: 1.5 +# Date created: 16 Jan 1995 +# Whom: thomas@ghpc8.ihf.rwth-aachen.de +# +# $Id: Makefile,v 1.1.1.1 1997/10/11 21:55:03 hubertf Exp $ +# + +DISTNAME= tkinfo-1.5 +CATEGORIES= misc tk41 +MASTER_SITES= http://www.math.ucsb.edu/~boldt/tkinfo/ \ + http://math-www.uni-paderborn.de/~axel/tkinfo/ + +MAINTAINER= tg@freebsd.org + +RUN_DEPENDS= wish4.1:${PORTSDIR}/x11/tk41 +NO_BUILD= yes + +do-install: + @${INSTALL_SCRIPT} ${WRKSRC}/tkinfo ${PREFIX}/bin + +.include <bsd.port.mk> diff --git a/misc/tkinfo/files/md5 b/misc/tkinfo/files/md5 new file mode 100644 index 00000000000..120a7b8a8ff --- /dev/null +++ b/misc/tkinfo/files/md5 @@ -0,0 +1 @@ +MD5 (tkinfo-1.5.tar.gz) = fca3d35cf9017ffb7935c65323568436 diff --git a/misc/tkinfo/patches/patch-aa b/misc/tkinfo/patches/patch-aa new file mode 100644 index 00000000000..d2a005f3ac3 --- /dev/null +++ b/misc/tkinfo/patches/patch-aa @@ -0,0 +1,19 @@ +--- tkinfo.orig Thu Mar 6 02:07:29 1997 ++++ tkinfo Thu Mar 6 11:41:30 1997 +@@ -1,6 +1,6 @@ + #!/bin/sh + # This is a Tcl/Tk script to be interpreted by wish (Tk4.0 or better): \ +-exec wish "$0" "$@" ++exec wish4.1 "$0" "$@" + + ########################################################################## + # Version of TkInfo: +@@ -443,7 +443,7 @@ + proc tkiInit { } { + global tki env auto_path tkiEmbed geometry + +- set defInfoPath [list . \ ++ set defInfoPath [list . /usr/share/info \ + /usr/info /usr/local/info /usr/local/gnu/info \ + /usr/local/emacs/info /usr/local/lib/emacs/info \ + /usr/lib/xemacs/info /usr/local/lib/xemacs/info \ diff --git a/misc/tkinfo/pkg/COMMENT b/misc/tkinfo/pkg/COMMENT new file mode 100644 index 00000000000..11cfacd3648 --- /dev/null +++ b/misc/tkinfo/pkg/COMMENT @@ -0,0 +1 @@ +A tk script to read GNU "info" files and display them. diff --git a/misc/tkinfo/pkg/DESCR b/misc/tkinfo/pkg/DESCR new file mode 100644 index 00000000000..53939576f87 --- /dev/null +++ b/misc/tkinfo/pkg/DESCR @@ -0,0 +1,17 @@ +tkInfo is a tk script to read GNU "info" files and display them. +tkInfo can be used stand alone (via WISH), or embeded within an +application to provide integrated, on-line help. + +Info files provide a robust hyper-text capability that is ideal for +on-line help. The format is suitable for both tty-based systems and +graphical systems. In addition, the same document source can produce +both a "nice" hardcopy manual and Info files. Note that most GNU tools +are documented in this way (via texinfo). + +Info files can be created manually with any text editor, with the +support of the emacs "info" package, with the GNU "makeinfo" program, +or with the emacs scripts for latexinfo. The makeinfo program produces +a set of info files from TeX source that use the GNU texinfo style (the +one that uses "@" everywhere). Similarly, the latexinfo package (like +texinfo, but with latex commands and syntax) provides emacs scripts for +producing info files. diff --git a/misc/tkinfo/pkg/PLIST b/misc/tkinfo/pkg/PLIST new file mode 100644 index 00000000000..c1923c49dfc --- /dev/null +++ b/misc/tkinfo/pkg/PLIST @@ -0,0 +1 @@ +bin/tkinfo diff --git a/misc/tkman/Makefile b/misc/tkman/Makefile new file mode 100644 index 00000000000..d6f04f1a6e0 --- /dev/null +++ b/misc/tkman/Makefile @@ -0,0 +1,23 @@ +# New ports collection makefile for: tkman +# Version required: 1.8 +# Date created: 27 Dec 1994 +# Whom: thomas Gellekum <tg@freebsd.org> +# +# $Id: Makefile,v 1.1.1.1 1997/10/11 21:55:04 hubertf Exp $ +# + +DISTNAME= tkman-1.8 +CATEGORIES= misc tk41 +MASTER_SITES= ftp://ftp.cs.berkeley.edu/ucb/people/phelps/tcltk/old/ +EXTRACT_SUFX= .tar.Z + +MAINTAINER= tg@freebsd.org + +LIB_DEPENDS= tk41\\.1\\.:${PORTSDIR}/x11/tk41 +RUN_DEPENDS= rman:${PORTSDIR}/textproc/rman \ + glimpse:${PORTSDIR}/textproc/glimpse + +NO_CDROM= "Don't sell for profit" +MAN1= tkman.1 + +.include <bsd.port.mk> diff --git a/misc/tkman/files/md5 b/misc/tkman/files/md5 new file mode 100644 index 00000000000..b7bb42d4211 --- /dev/null +++ b/misc/tkman/files/md5 @@ -0,0 +1 @@ +MD5 (tkman-1.8.tar.Z) = 91d08d3bfe5518c1f23505c400ddeb2c diff --git a/misc/tkman/patches/patch-aa b/misc/tkman/patches/patch-aa new file mode 100644 index 00000000000..2b83542a57a --- /dev/null +++ b/misc/tkman/patches/patch-aa @@ -0,0 +1,80 @@ +--- Makefile.orig Wed Aug 14 21:51:18 1996 ++++ Makefile Sat Oct 19 17:02:21 1996 +@@ -47,22 +47,22 @@ + + ### you need to localize the paths on these lines + +-WISH = /usr/sww/tcl-7.5/bin/wish +-#WISH = /home/orodruin/h/bair/phelps/bin/sun4/wish4.2 +-#WISH = /usr/local/bin/wish ++#WISH = /usr/sww/tcl-7.5/bin/wish ++#WISH = /home/orodruin/h/bair/phelps/bin/sun4/wish4.2 ++WISH = ${PREFIX}/bin/wish4.1 + + + # the executable `tkman' is placed in BINDIR + # this should be a directory that's in your bin PATH +-BINDIR = /home/orodruin/h/bair/phelps/bin +-#BINDIR = /usr/local/bin ++#BINDIR = /home/orodruin/h/bair/phelps/bin ++BINDIR = ${PREFIX}/bin + + # directory in which to place the manual page. The help information + # is maintained in HTML, from which the [tn]roff version is + # automatically generated. +-MANDIR = /home/orodruin/h/bair/phelps/man/man1 ++#MANDIR = /home/orodruin/h/bair/phelps/man/man1 + #MANDIR = /usr/sww/X11/man/man1 +-#MANDIR = /usr/local/man/man1 ++MANDIR = ${PREFIX}/man/man1 + + + # list of common printers, in addition to default printer (PRINTER or LPDEST) +@@ -74,12 +74,12 @@ + + # # # MACHINE DEPENDENCIES # # # + +-manformat = {tbl | neqn | nroff -man } ++#manformat = {tbl | neqn | nroff -man } + # col performs the line overlays implied by reverse line-feeds, + # but seems to kill international characters, such as u-with-umlaut + #manformat = {tbl | neqn | nroff -man | col } + # alternatives +-#manformat = {groff -Tascii -te -mandoc} ++manformat = {groff -Tascii -te -mandoc} + # Ultrix users should uncomment the following line + #manformat = {tbl | nroff -man } + # for BSDI +@@ -159,12 +159,12 @@ + # (Even if your pages aren't compressed, this speeds up searching dramatically, + # which is why it's the default.) + # If you choose this option, also set glimpseindex to use -o or -b. +-glimpse = "glimpse -N" ++#glimpse = "glimpse -N" + # IF YOU DON'T WANT TO BOTHER WITH GLIMPSE, you can disable it here + # ALSO DISABLE GLIMPSEINDEX BELOW + #glimpse = "" + # if you have any compressed pages (and aren't using -N), use the -z option +-#glimpse = "glimpse -z" ++glimpse = "glimpse -z" + # give the full path, if you'd like + #glimpse = /usr/sww/bin/glimpse + # variations (refer to the Glimpse manual page) +@@ -209,7 +209,7 @@ + # default MANPATH to use if user doesn't have a MANPATH environment variable set. + # Leave this empty to have TkMan calculate a MANPATH based on a users PATH + # (like Perl man does). +-manpathdef = "" ++manpathdef = /usr/share/man:${PREFIX}/man:/usr/X11R6/man + #manpathdef = /usr/man:/usr/local/man + #manpathdef = /usr/man:/usr/local/man:/usr/sww/man:/usr/sww/X11/man + # for SGI +@@ -373,7 +373,7 @@ + $(CP) tkman $(BINDIR) + chmod +rx $(BINDIR)/tkman + $(CP) tkman.1 $(MANDIR) +- @echo 'You also need RosettaMan to run TkMan.' ++# @echo 'You also need RosettaMan to run TkMan.' + + test: dox tkman + cp tkman $(BINDIR) diff --git a/misc/tkman/patches/patch-ab b/misc/tkman/patches/patch-ab new file mode 100644 index 00000000000..38a7fa02bfc --- /dev/null +++ b/misc/tkman/patches/patch-ab @@ -0,0 +1,11 @@ +--- tkman.tcl.orig Mon Nov 11 21:18:41 1996 ++++ tkman.tcl Thu Nov 14 20:07:27 1996 +@@ -5018,7 +5018,7 @@ + # ... then check for proper versions of selected executables + if {[set info [lassoc $manx(bin-versioned) $tail]]!=""} { + lset $info flag minvers +- set execerr [catch {set lines [exec $fullpath $flag < /dev/null]} info] ++ set execerr [catch {set lines [exec $fullpath $flag < /dev/null 2> /dev/null]} info] + } elseif {[string match "g*" $tail]} { + # could be a GNU -- maybe take this out since it lengthens startup for all in exchange for small benefit for few + set minvers 0.0 diff --git a/misc/tkman/pkg/COMMENT b/misc/tkman/pkg/COMMENT new file mode 100644 index 00000000000..6c55dd8496d --- /dev/null +++ b/misc/tkman/pkg/COMMENT @@ -0,0 +1 @@ +A Tcl/Tk based manual browser diff --git a/misc/tkman/pkg/DESCR b/misc/tkman/pkg/DESCR new file mode 100644 index 00000000000..4f5192f5d2a --- /dev/null +++ b/misc/tkman/pkg/DESCR @@ -0,0 +1,16 @@ +A manual page reader, TkMan offers two major advantages over xman: +hypertext links to other man pages (click on a word in the text which +corresponds to a man page, and you jump there), and better navigation +within long man pages with searches (both incremental and regular +expression) and jumps to section headers. TkMan also offers some +convenience features, like a user-configurable list of commonly used man +pages, a one-click printout, and integration of `whatis' and `apropos'. +Further, one may highlight, as if with a yellow marker, arbitrary passages +of text in man pages and subsequently jump directly to these passages by +selecting an identifying excerpt from a pulldown menu. Finally, TkMan +gives one control over the directory-to-menu volume mapping of man pages +with a capability similar to but superior to xman's mandesc in that rather +than forcing all who share a man directory to follow a single organization, +TkMan gives control to the individual. In fact, one may decide he has no +use for a large set of man pages--say for instance the programmer routines +in volumes 2, 3, 4, 8--and eliminate them from his personal database. diff --git a/misc/tkman/pkg/PLIST b/misc/tkman/pkg/PLIST new file mode 100644 index 00000000000..73d49160842 --- /dev/null +++ b/misc/tkman/pkg/PLIST @@ -0,0 +1,2 @@ +bin/tkman +man/man1/tkman.1.gz diff --git a/misc/unclutter/Makefile b/misc/unclutter/Makefile new file mode 100644 index 00000000000..65f761ca2f7 --- /dev/null +++ b/misc/unclutter/Makefile @@ -0,0 +1,20 @@ +# New ports collection makefile for: unclutter +# Version required: -8 +# Date created: 03 Aug 1996 +# Whom: shanee@rabbit.augusta.de +# +# $Id: Makefile,v 1.1.1.1 1997/10/11 21:55:06 hubertf Exp $ +# + +DISTNAME= unclutter-8 +CATEGORIES= misc +MASTER_SITES= ${MASTER_SITE_XCONTRIB} +MASTER_SITE_SUBDIR= utilities +EXTRACT_SUFX= .tar.Z + +MAINTAINER= shanee@rabbit.augusta.de + +WRKSRC= $(WRKDIR)/unclutter +USE_IMAKE= yes + +.include <bsd.port.mk> diff --git a/misc/unclutter/files/md5 b/misc/unclutter/files/md5 new file mode 100644 index 00000000000..ee7935fa0d4 --- /dev/null +++ b/misc/unclutter/files/md5 @@ -0,0 +1 @@ +MD5 (unclutter-8.tar.Z) = 83d7a6498b69078f869378f801b6a84b diff --git a/misc/unclutter/pkg/COMMENT b/misc/unclutter/pkg/COMMENT new file mode 100644 index 00000000000..a4d070d3b99 --- /dev/null +++ b/misc/unclutter/pkg/COMMENT @@ -0,0 +1 @@ +Remove idle cursor image from screen. diff --git a/misc/unclutter/pkg/DESCR b/misc/unclutter/pkg/DESCR new file mode 100644 index 00000000000..618618f49ce --- /dev/null +++ b/misc/unclutter/pkg/DESCR @@ -0,0 +1,6 @@ + unclutter removes the cursor image from the screen so that + it does not obstruct the area you are looking at after it + has not moved for a given time. It does not do this if + the cursor is in the root window or a button is down. It + tries to ignore jitter (small movements due to noise) if + you have a mouse that twitches. diff --git a/misc/unclutter/pkg/PLIST b/misc/unclutter/pkg/PLIST new file mode 100644 index 00000000000..75dc6d43055 --- /dev/null +++ b/misc/unclutter/pkg/PLIST @@ -0,0 +1,2 @@ +bin/unclutter +man/man1/unclutter.1.gz diff --git a/misc/xgas/Makefile b/misc/xgas/Makefile new file mode 100644 index 00000000000..0dad6282ab5 --- /dev/null +++ b/misc/xgas/Makefile @@ -0,0 +1,22 @@ +#New ports collection makefile for: xgas +# Version required: +# Date created: 20 Oct 1996 +# Whom: Yukihiro Nakai <nakai@mlab.t.u-tokyo.ac.jp> +# +# $Id: Makefile,v 1.1.1.1 1997/10/11 21:55:09 hubertf Exp $ +# + +DISTNAME= xgas +PKGNAME= xgas-1.0 +CATEGORIES= misc +MASTER_SITES= ftp://ftp.tut.ac.jp/.h3/X11/X11R6/contrib/programs/ + +MAINTAINER= nakai@mlab.t.u-tokyo.ac.jp + +USE_IMAKE= yes + +post-install: + @chmod 755 ${PREFIX}/bin/xgas + @chown bin.bin ${PREFIX}/bin/xgas + +.include <bsd.port.mk> diff --git a/misc/xgas/files/md5 b/misc/xgas/files/md5 new file mode 100644 index 00000000000..5046d0ca8ca --- /dev/null +++ b/misc/xgas/files/md5 @@ -0,0 +1 @@ +MD5 (xgas.tar.gz) = d48372429fbada32acf403105865924d diff --git a/misc/xgas/pkg/COMMENT b/misc/xgas/pkg/COMMENT new file mode 100644 index 00000000000..848ac355c75 --- /dev/null +++ b/misc/xgas/pkg/COMMENT @@ -0,0 +1 @@ +The animated simulation of an ideal gas diff --git a/misc/xgas/pkg/DESCR b/misc/xgas/pkg/DESCR new file mode 100644 index 00000000000..71681390abb --- /dev/null +++ b/misc/xgas/pkg/DESCR @@ -0,0 +1,25 @@ +Xgas, animated simulation of an ideal gas + +Xgas is a physical simulation of an ideal gas in a heated box. +Gas molecules move around the box with velocities dependent on +their temperature. A chamber consisting of two boxes contains +the gas molecules collide with the walls, their temperature +approarches that of the box. + +Use mouse button 1 to create molecules one at a time at +the cursor position. Use mouse button 2 to create the +maximum number of molecules at the cursor position. + +Usage: xgas [ -options ] + +Options: + -as Sets the autoStart resource. + -ts Sets the timeStepSize resource. + -d Sets the delay resource. + -rb Sets the randomBounce resource. + -eq Sets the equilibrium resource. + -mm Sets the maxMolecules resource. + -fg Sets the foreground. + -bg Sets the background. + +Yukihiro Nakai <Nakai@Mlab.t.u-tokyo.ac.jp> diff --git a/misc/xgas/pkg/PLIST b/misc/xgas/pkg/PLIST new file mode 100644 index 00000000000..8634c62ba5c --- /dev/null +++ b/misc/xgas/pkg/PLIST @@ -0,0 +1,3 @@ +bin/xgas +lib/X11/app-defaults/XGas +man/man1/xgas.1.gz diff --git a/misc/xless/Makefile b/misc/xless/Makefile new file mode 100644 index 00000000000..c071b02ee16 --- /dev/null +++ b/misc/xless/Makefile @@ -0,0 +1,19 @@ +# New ports collection makefile for: xless +# Version required: 1.7 +# Date created: 23 December 1996 +# Whom: Conrad Sabatier <conrads@neosoft.com> +# +# $Id: Makefile,v 1.1.1.1 1997/10/11 21:55:10 hubertf Exp $ +# + +DISTNAME= xless-1.7 +CATEGORIES= misc +MASTER_SITES= ${MASTER_SITE_XCONTRIB} \ + ftp://ftp.cs.berkeley.edu/ucb/people/dglo/xless/ +MASTER_SITE_SUBDIR= applications + +MAINTAINER= conrads@neosoft.com + +USE_IMAKE= yes + +.include <bsd.port.mk> diff --git a/misc/xless/files/md5 b/misc/xless/files/md5 new file mode 100644 index 00000000000..585a1406b8e --- /dev/null +++ b/misc/xless/files/md5 @@ -0,0 +1 @@ +MD5 (xless-1.7.tar.gz) = 8b6322b7f08be533380ca2a32b7f2963 diff --git a/misc/xless/patches/patch-aa b/misc/xless/patches/patch-aa new file mode 100644 index 00000000000..a71f4ffc80e --- /dev/null +++ b/misc/xless/patches/patch-aa @@ -0,0 +1,12 @@ +--- Imakefile.orig Thu Jun 2 16:22:14 1994 ++++ Imakefile Fri Dec 27 18:52:23 1996 +@@ -5,7 +5,8 @@ + * -DPRINTCMD=\"/usr/ucb/lpr\" - path to send file to printer + * -DTILDE_EXPANSION - perform ~ expansion on filenames + */ +- DEFINES = -DHELPFILE=\"${LIBDIR}/xless.help\" -DTILDE_EXPANSION ++ DEFINES = -DHELPFILE=\"${LIBDIR}/xless.help\" -DTILDE_EXPANSION \ ++ -DDEFEDITOR=\"/usr/bin/vi\" -DPRINTCMD=\"/usr/bin/lpr\" + + + SRCS = help.c init.c popup.c util.c callbacks.c window.c main.c \ diff --git a/misc/xless/patches/patch-ab b/misc/xless/patches/patch-ab new file mode 100644 index 00000000000..b41554543c2 --- /dev/null +++ b/misc/xless/patches/patch-ab @@ -0,0 +1,32 @@ +*** ../work/xless-1.7/xless.h Mon Dec 23 15:57:37 1996 +--- xless.h Mon Dec 23 16:11:53 1996 +*************** +*** 38,50 **** + + #define XLESS_MAX_INPUT 256 + +! /* handle differences between K&R and ANSI C */ + #if __STDC__ + #define __P(a) a + #else + #define __P(a) () + #define const + #endif + + /* + * The default editor; make sure the file exists. +--- 38,51 ---- + + #define XLESS_MAX_INPUT 256 + +! /* handle differences between K&R and ANSI C + #if __STDC__ + #define __P(a) a + #else + #define __P(a) () + #define const + #endif ++ */ + + /* + * The default editor; make sure the file exists. diff --git a/misc/xless/pkg/COMMENT b/misc/xless/pkg/COMMENT new file mode 100644 index 00000000000..7836eb974a0 --- /dev/null +++ b/misc/xless/pkg/COMMENT @@ -0,0 +1 @@ +An X11 viewer for text files. Useful as an add-on tool for other apps. diff --git a/misc/xless/pkg/DESCR b/misc/xless/pkg/DESCR new file mode 100644 index 00000000000..23239df6569 --- /dev/null +++ b/misc/xless/pkg/DESCR @@ -0,0 +1,22 @@ +This is a port of xless (version 1.7), a handy text file viewer for X. +Useful as a viewer tool for other apps (e.g., xfm, the X file manager), +or as a standalone viewer. Presents a scrollable text window (both +vertical and horizontal scrolling), with a number of clickable buttons. + +From the README file: + +FEATURES: + Display either the file(s) specified on the command line or input from + standard input, supplied by a pipe. File/pipe may be optionally + monitored so that the display is continuously updated as new text is + added. + Display new files in the current window or by creating a new window. + Reload or print the displayed file. + Search the displayed file using either exact, case-insensitive, or + regular expression patterns. + Edit the displayed file with your favorite editor (as specified in + the VISUAL or EDITOR environment variable) + +-- +Conrad Sabatier +conrads@neosoft.com diff --git a/misc/xless/pkg/PLIST b/misc/xless/pkg/PLIST new file mode 100644 index 00000000000..72e34d38646 --- /dev/null +++ b/misc/xless/pkg/PLIST @@ -0,0 +1,6 @@ +bin/xless +lib/X11/xless.help +lib/X11/app-defaults/XLess +lib/X11/app-defaults/XLess-color +man/man1/xless.1.gz + diff --git a/misc/xpns/Makefile b/misc/xpns/Makefile new file mode 100644 index 00000000000..51855d12dbe --- /dev/null +++ b/misc/xpns/Makefile @@ -0,0 +1,35 @@ +# New ports collection makefile for: xpns +# Version required: 1.0 +# Date created: 6 Apr 97 +# Whom: Pedro Giffuni <pgiffuni@fps.biblos.unal.edu.co> +# +# $Id: Makefile,v 1.1.1.1 1997/10/11 21:55:15 hubertf Exp $ +# + +DISTNAME= pns_source +PKGNAME= xpns-1.0 +CATEGORIES= misc cad +MASTER_SITES= ftp://ftp.informatik.uni-stuttgart.de/pub/petri-nets/ +EXTRACT_SUFX= .tar.Z + +MAINTAINER= pgiffuni@fps.biblos.unal.edu.co + +USE_X11= yes +NO_WRKSUBDIR= yes +MAKEFILE= makefile +ALL_TARGET= pns + +do-install: + ${MKDIR} ${PREFIX}/lib/xpns + ${INSTALL_PROGRAM} ${WRKSRC}/pns ${PREFIX}/lib/xpns/ + ${INSTALL_DATA} ${WRKSRC}/pns.hlp ${PREFIX}/lib/xpns/ + ${INSTALL_DATA} ${WRKSRC}/pns.shell ${PREFIX}/lib/xpns/ + ${INSTALL_SCRIPT} ${WRKSRC}/xpns ${PREFIX}/bin/xpns + +post-install: +.if !defined(NOPORTDOCS) + ${MKDIR} ${PREFIX}/share/doc/xpns + ${CP} ${WRKSRC}/*.net ${PREFIX}/share/doc/xpns/ +.endif + +.include <bsd.port.mk> diff --git a/misc/xpns/files/md5 b/misc/xpns/files/md5 new file mode 100644 index 00000000000..7604b7e6d21 --- /dev/null +++ b/misc/xpns/files/md5 @@ -0,0 +1 @@ +MD5 (pns_source.tar.Z) = 156e5971dc27e9580c68a9947eeb327c diff --git a/misc/xpns/patches/patch-aa b/misc/xpns/patches/patch-aa new file mode 100644 index 00000000000..aa8b025d4e2 --- /dev/null +++ b/misc/xpns/patches/patch-aa @@ -0,0 +1,28 @@ +--- makefile.orig Wed Jul 14 06:05:14 1993 ++++ makefile Tue Apr 8 11:49:27 1997 +@@ -7,19 +7,19 @@ + #I = -I/usr/include + + #------------------------------------------ +-# OPTIONEN SUN ++# OPTIONEN FreeBSD + #------------------------------------------ +-O = -O +-I = -I/usr/local/X11R5/include ++O = -O2 -m486 ++I = -I/usr/X11R6/include + +-L = -L/usr/local/X11R5/lib -lXaw -lXmu -lXt -lXext -lX11 -lm ++L = -L/usr/X11R6/lib -lXaw -lXmu -lXt -lXext -lX11 -lm + + + #------------------------------------------ + # COMPILER UND LINKER + #------------------------------------------ +-B = gcc-2.3.3 $O -o +-CC = gcc-2.3.3 $O $I ++B = gcc $O -o ++CC = gcc $O $I + + #------------------------------------------ + # FUNKTIONEN DIR diff --git a/misc/xpns/patches/patch-ab b/misc/xpns/patches/patch-ab new file mode 100644 index 00000000000..6f224dbc0bd --- /dev/null +++ b/misc/xpns/patches/patch-ab @@ -0,0 +1,13 @@ +--- xpns.orig Tue Apr 8 11:27:14 1997 ++++ xpns Tue Apr 8 11:29:05 1997 +@@ -1,6 +1,7 @@ +-#!/bin/tcsh +-setenv XAPPLRESDIR $PWD/ +-pns ++#!/bin/csh ++setenv XAPPLRESDIR /usr/X11R6/lib/xpns/ ++# Note pns will dump core if environment is not correct ++/usr/X11R6/lib/xpns/pns + + + diff --git a/misc/xpns/pkg/COMMENT b/misc/xpns/pkg/COMMENT new file mode 100644 index 00000000000..c6ba332b84b --- /dev/null +++ b/misc/xpns/pkg/COMMENT @@ -0,0 +1 @@ +Petri-Net Simulator for Xwindows diff --git a/misc/xpns/pkg/DESCR b/misc/xpns/pkg/DESCR new file mode 100644 index 00000000000..f81cee25a9d --- /dev/null +++ b/misc/xpns/pkg/DESCR @@ -0,0 +1,29 @@ +PNS +--- +Is a public domain Petri net simulation tool +for Unix systems. +PNS is a graphics tool and requires the X window system. +see also www-page: +http://www.informatik.uni-stuttgart.de/ipvr/bv/pns/pns.html + +Examples: +--------- +- simple.net + 3-2 Reduction + +- add.net + x = x + y + +- sub1.net + x >= y : x = x - y + x < y : y = y - x + +- sub2.net + x = x - y + NEGATIVE = 1 <=> x-y < 0 + +- mult.net + z = x * y + +- phil.net + Dining Philosophers Problem diff --git a/misc/xpns/pkg/PLIST b/misc/xpns/pkg/PLIST new file mode 100644 index 00000000000..e9f476cc6b9 --- /dev/null +++ b/misc/xpns/pkg/PLIST @@ -0,0 +1,14 @@ +lib/xpns/pns +lib/xpns/pns.hlp +lib/xpns/pns.shell +bin/xpns +share/doc/xpns/a.net +share/doc/xpns/a1.net +share/doc/xpns/add.net +share/doc/xpns/mult.net +share/doc/xpns/phil.net +share/doc/xpns/rw.net +share/doc/xpns/sub.net +share/doc/xpns/sub2.net +@dirrm share/doc/xpns +@dirrm lib/xpns diff --git a/misc/xtimer/Makefile b/misc/xtimer/Makefile new file mode 100644 index 00000000000..b312715034c --- /dev/null +++ b/misc/xtimer/Makefile @@ -0,0 +1,20 @@ +# New ports collection makefile for: xtimer +# Version required: 0.8087 +# Date created: 05 Apr 1997 +# Whom: candy@fct.kgc.co.jp +# +# $Id: Makefile,v 1.1.1.1 1997/10/11 21:55:17 hubertf Exp $ +# + +DISTNAME= xtimer-8087 +PKGNAME= xtimer-0.8087 +CATEGORIES= misc +MASTER_SITES= http://spock.vector.co.jp/authors/VA004959/xtimer/ + +MAINTAINER= candy@fct.kgc.co.jp + +USE_IMAKE= yes +MAN1= xtimer.1 +MANCOMPRESSED= yes + +.include <bsd.port.mk> diff --git a/misc/xtimer/files/md5 b/misc/xtimer/files/md5 new file mode 100644 index 00000000000..9d6ebf58f60 --- /dev/null +++ b/misc/xtimer/files/md5 @@ -0,0 +1 @@ +MD5 (xtimer-8087.tar.gz) = 90e85ad8a4b8a30da2ff5af7d359c174 diff --git a/misc/xtimer/pkg/COMMENT b/misc/xtimer/pkg/COMMENT new file mode 100644 index 00000000000..f212b216492 --- /dev/null +++ b/misc/xtimer/pkg/COMMENT @@ -0,0 +1 @@ +A super simple digital timer for X11 diff --git a/misc/xtimer/pkg/DESCR b/misc/xtimer/pkg/DESCR new file mode 100644 index 00000000000..0ff390119e8 --- /dev/null +++ b/misc/xtimer/pkg/DESCR @@ -0,0 +1,3 @@ +xtimer is a very simple timer for X11. +The best use is to display the connecting time of iij-ppp. +candy@fct.kgc.co.jp (Toshihiro Kanda) diff --git a/misc/xtimer/pkg/PLIST b/misc/xtimer/pkg/PLIST new file mode 100644 index 00000000000..fdd4eed643c --- /dev/null +++ b/misc/xtimer/pkg/PLIST @@ -0,0 +1,2 @@ +bin/xtimer +man/man1/xtimer.1.gz diff --git a/misc/zorro/Makefile b/misc/zorro/Makefile new file mode 100644 index 00000000000..bda1cd7f830 --- /dev/null +++ b/misc/zorro/Makefile @@ -0,0 +1,28 @@ +# New ports collection makefile for: zorro +# Version required: 1.1p8 +# Date created: 03 Aug 1996 +# Whom: shanee@rabbit.augusta.de +# +# $Id: Makefile,v 1.1.1.1 1997/10/11 21:55:18 hubertf Exp $ +# + +DISTNAME= zorro-1.1p8 +PKGNAME= zorro-1.1.8 +CATEGORIES= misc tk41 +MASTER_SITES= ftp://ftp.neosoft.com/pub/tcl/sorted/apps/zorro-1.1p8/ + +MAINTAINER= shanee@augusta.de + +LIB_DEPENDS= tk41\\.1\\.:${PORTSDIR}/x11/tk41 + +NO_BUILD= yes + +do-install: + ${INSTALL_SCRIPT} ${WRKSRC}/zorro ${PREFIX}/bin/zorro + ${MKDIR} ${PREFIX}/share/zorro + ${INSTALL_DATA} ${WRKSRC}/DOTzorrorc ${PREFIX}/share/zorro + @echo "" + @echo "Take a look at ${PREFIX}/share/zorro/DOTzorrorc" + @echo "" + +.include <bsd.port.mk> diff --git a/misc/zorro/files/md5 b/misc/zorro/files/md5 new file mode 100644 index 00000000000..b53a850e126 --- /dev/null +++ b/misc/zorro/files/md5 @@ -0,0 +1 @@ +MD5 (zorro-1.1p8.tar.gz) = af21c8435f7a8b33614e2a761c6dbd54 diff --git a/misc/zorro/patches/patch-aa b/misc/zorro/patches/patch-aa new file mode 100644 index 00000000000..a4730760921 --- /dev/null +++ b/misc/zorro/patches/patch-aa @@ -0,0 +1,17 @@ +*** zorro.orig Sat Aug 3 22:52:54 1996 +--- zorro Sat Aug 3 22:53:10 1996 +*************** +*** 1,6 **** +! #!/usr/local/bin/wish + # +! # Version 1.1 Patch 7 + # + # ---------------------------------------------------------------------- + # AUTHOR: Lindsay Marshall <lindsay.marshall@newcastle.ac.uk> +--- 1,6 ---- +! #!/usr/local/bin/wish4.1 + # +! # Version 1.1 Patch 8 + # + # ---------------------------------------------------------------------- + # AUTHOR: Lindsay Marshall <lindsay.marshall@newcastle.ac.uk> diff --git a/misc/zorro/patches/patch-ab b/misc/zorro/patches/patch-ab new file mode 100644 index 00000000000..7efefb9b34b --- /dev/null +++ b/misc/zorro/patches/patch-ab @@ -0,0 +1,19 @@ +*** DOTzorrorc.orig Sat Aug 3 23:02:53 1996 +--- DOTzorrorc Sat Aug 3 23:06:44 1996 +*************** +*** 3,9 **** + # the defaults so if you like them dont do anything! You can probably + # configure all kinds of things using X resources as well but I havent + # got it set up for that yet. The easiest way to set many of these is +! # using the configure option oof the program. + # + # Set the sort order controlling how actions are displayed. + # +--- 3,9 ---- + # the defaults so if you like them dont do anything! You can probably + # configure all kinds of things using X resources as well but I havent + # got it set up for that yet. The easiest way to set many of these is +! # using the configure option of the program. + # + # Set the sort order controlling how actions are displayed. + # diff --git a/misc/zorro/pkg/COMMENT b/misc/zorro/pkg/COMMENT new file mode 100644 index 00000000000..6225c816b08 --- /dev/null +++ b/misc/zorro/pkg/COMMENT @@ -0,0 +1 @@ +A simple to-do list manager. diff --git a/misc/zorro/pkg/DESCR b/misc/zorro/pkg/DESCR new file mode 100644 index 00000000000..1bb021488aa --- /dev/null +++ b/misc/zorro/pkg/DESCR @@ -0,0 +1,7 @@ +The program allows you to set up a tree of actions starting +from an (invisible) root and going down to as many levels as you +specify. Associated with each action is a descriptive note, a done/ +not done flag, an optional priority and an optional completion date +(more to come). Zorro stores your to-do list in the file ~/.zorrodb +and it reads the file ~/.zorrorc on startup. There are quite a lot of +configurable items - look at the file DOTzorrorc for further details. diff --git a/misc/zorro/pkg/PLIST b/misc/zorro/pkg/PLIST new file mode 100644 index 00000000000..3f29957e723 --- /dev/null +++ b/misc/zorro/pkg/PLIST @@ -0,0 +1,2 @@ +bin/zorro +share/zorro/DOTzorrorc |