From 8bb3909f2aa036ebe65184f36a74ec12167ec4f2 Mon Sep 17 00:00:00 2001 From: asami Date: Tue, 5 Mar 1996 07:46:58 +0000 Subject: A serial communication program. A clone of MS-DOS Telix. Submitted by: obrien@cs.ucdavis.edu --- comms/minicom/Makefile | 34 +++++++++++++++++++++ comms/minicom/distinfo | 1 + comms/minicom/files/patch-aa | 70 ++++++++++++++++++++++++++++++++++++++++++++ comms/minicom/files/patch-ab | 69 +++++++++++++++++++++++++++++++++++++++++++ comms/minicom/pkg-comment | 1 + comms/minicom/pkg-descr | 9 ++++++ comms/minicom/pkg-plist | 10 +++++++ 7 files changed, 194 insertions(+) create mode 100644 comms/minicom/Makefile create mode 100644 comms/minicom/distinfo create mode 100644 comms/minicom/files/patch-aa create mode 100644 comms/minicom/files/patch-ab create mode 100644 comms/minicom/pkg-comment create mode 100644 comms/minicom/pkg-descr create mode 100644 comms/minicom/pkg-plist (limited to 'comms/minicom') diff --git a/comms/minicom/Makefile b/comms/minicom/Makefile new file mode 100644 index 000000000000..30d951783f9e --- /dev/null +++ b/comms/minicom/Makefile @@ -0,0 +1,34 @@ +# New ports collection makefile for: minicom +# Version required: 1.74 +# Date created: Fri Dec 01, 1995 +# Whom: obrien@cs.ucdavis.edu +# +# $Id$ +# + +DISTNAME= minicom-1.74 +CATEGORIES+= comms +MASTER_SITES= ftp://sunsite.unc.edu/pub/Linux/apps/comm/ \ + ftp://ftp.yggdrasil.com/mirrors/sunsite/apps/comm/ + +MAINTAINER= obrien@cs.ucdavis.edu + +EXEC_DEPENDS= rz:${PORTSDIR}/comms/rzsz \ + sz:${PORTSDIR}/comms/rzsz \ + kermit:${PORTSDIR}/comms/kermit + +WRKSRC= ${WRKDIR}/${PKGNAME}/src +IS_INTERACTIVE= yes +NO_PACKAGE= yes # modem port etc. built in + +# I believe I prefer to do this in Minicom's Makefile so as to use its macros +pre-install: +# [ -d ${PREFIX}/etc/minicom ] || /bin/mkdir -p ${PREFIX}/etc/minicom + +post-install: +.if !defined(NOMANCOMPRESS) + gzip -9nf ${PREFIX}/man/man1/minicom.1 + gzip -9nf ${PREFIX}/man/man1/runscript.1 +.endif + +.include diff --git a/comms/minicom/distinfo b/comms/minicom/distinfo new file mode 100644 index 000000000000..c29d23458140 --- /dev/null +++ b/comms/minicom/distinfo @@ -0,0 +1 @@ +MD5 (minicom-1.74.tar.gz) = 669c8ff5ace2a401caf297e29de5bb5b diff --git a/comms/minicom/files/patch-aa b/comms/minicom/files/patch-aa new file mode 100644 index 000000000000..078954b213c0 --- /dev/null +++ b/comms/minicom/files/patch-aa @@ -0,0 +1,70 @@ +--- Makefile.orig Thu Jan 18 14:32:00 1996 ++++ Makefile Mon Mar 4 23:36:34 1996 +@@ -12,10 +12,17 @@ + # + + # Where to install things for Linux sites (FSSTND) +-BINDIR = /usr/bin +-LIBDIR = /etc +-DOCDIR = /usr/doc/examples/minicom +-MANDIR = /usr/man/man1 ++#BINDIR = /usr/bin ++#LIBDIR = /etc ++#DOCDIR = /usr/doc/examples/minicom ++#MANDIR = /usr/man/man1 ++ ++# Where to install things for FreeBSD sites. ++BINDIR = /usr/local/bin ++LIBDIR = /usr/local/etc/minicom ++#DOCDIR = /usr/local/share/minicom ++DOCDIR = /usr/local/etc/minicom ++MANDIR = /usr/local/man/man1 + + # Where to install things for "normal" sites. + # BINDIR = /usr/local/bin +@@ -31,19 +38,19 @@ + #CC = cc + + # Take these compilation flags for Linux with ncurses. +-FLAGS = -Wall -D_POSIX -D_SYSV -D_SELECT -D_HAVE_MACROS # -I/usr/include/ncurses +-PROGS = minicom runscript +-LFLAGS = -s +-LIBS = -lncurses +-CC = cc +- +-# Take these compilation flags for FreeBSD. +-#FLAGS = -Wall -D_POSIX -D_BSD43 -D_SELECT -D_HAVE_MACROS -D_DCDFLOW ++#FLAGS = -Wall -D_POSIX -D_SYSV -D_SELECT -D_HAVE_MACROS # -I/usr/include/ncurses + #PROGS = minicom runscript + #LFLAGS = -s +-#LIBS = -ltermcap ++#LIBS = -lncurses + #CC = cc + ++# Take these compilation flags for FreeBSD. ++FLAGS = -Wall -D_POSIX -D_BSD43 -D_SELECT -D_HAVE_MACROS -D_DCDFLOW ++PROGS = minicom runscript ++LFLAGS = -s ++LIBS = -ltermcap ++CC = cc ++ + # Take these flags for SCO unix. + #FLAGS = -D_SYSV -D_SCO -D_POSIX -D_SELECT -D_HAVE_MACROS + #PROGS = minicom runscript +@@ -146,7 +153,7 @@ + + SOBJS = script.o sysdep1.o + +-CFLAGS = $(FLAGS) -DLIBDIR=\"$(LIBDIR)\" ++CFLAGS += $(FLAGS) -DLIBDIR=\"$(LIBDIR)\" + + R = $(ROOTDIR) + +@@ -197,6 +204,7 @@ + rwconf.o: rwconf.c $(HDRS) + + install: $(PROGS) ++ # -/bin/mkdir -p $(R)$(BINDIR) $(R)$(LIBDIR) $(R)$(MANDIR) $(R)$(DOCDIR) + sh install.sh $(R)$(LIBDIR) $(R)$(BINDIR) $(R)$(MANDIR) $(R)$(DOCDIR) + + clobber: diff --git a/comms/minicom/files/patch-ab b/comms/minicom/files/patch-ab new file mode 100644 index 000000000000..d903971552de --- /dev/null +++ b/comms/minicom/files/patch-ab @@ -0,0 +1,69 @@ +--- install.sh.orig Thu Jan 18 20:45:40 1996 ++++ install.sh Sat Jan 27 02:07:26 1996 +@@ -48,7 +48,7 @@ + cp minicom $2/minicom + chmod 755 $2/minicom + chown root $2/minicom +- chgrp root $2/minicom ++ chgrp bin $2/minicom + fi + + for i in runscript xminicom +@@ -59,7 +59,7 @@ + cp $i $2/$i + chmod 755 $2/$i + chown root $2/$i +- chgrp root $2/$i ++ chgrp bin $2/$i + fi + done + +@@ -69,7 +69,7 @@ + cp keyserv $1/keyserv + chmod 755 $1/keyserv + chown root $1/keyserv +- chgrp root $1/keyserv ++ chgrp bin $1/keyserv + fi + + echo "Installing manpages in $3" +@@ -78,7 +78,7 @@ + cp ../man/$i $3 + chmod 644 $3/$i + chown root $3/$i +- chgrp root $3/$i ++ chgrp bin $3/$i + done + + if [ ! -f $1/minicom.users ] +@@ -86,7 +86,7 @@ + echo "Installing sample config file minicom.users in $1" + cp minicom.users $1 + chown root $1/minicom.users +- chgrp root $1/minicom.users ++ chgrp bin $1/minicom.users + chmod 644 $1/minicom.users + fi + +@@ -98,15 +98,18 @@ + cp ../demos/$i $4/$i + chmod 644 $4/$i + chown root $4/$i +- chgrp root $4/$i ++ chgrp bin $4/$i + done + else + echo "You don't have a $4 directory - script examples not installed." + fi + +-echo "Minicom is NOT setuid yet - you must do this yourself by entering:" ++#echo "Minicom is NOT setuid yet - you must do this yourself by entering:" + echo +-echo "chmod +s $2/minicom" ++#echo "chmod +s $2/minicom" ++echo "chmod 4511 $2/minicom" + echo ++ ++ chmod 4511 $2/minicom + + exit 0 diff --git a/comms/minicom/pkg-comment b/comms/minicom/pkg-comment new file mode 100644 index 000000000000..e3c08ebc58cb --- /dev/null +++ b/comms/minicom/pkg-comment @@ -0,0 +1 @@ +An MS-DOS Telix serial communication program "workalike". diff --git a/comms/minicom/pkg-descr b/comms/minicom/pkg-descr new file mode 100644 index 000000000000..7f11c286803d --- /dev/null +++ b/comms/minicom/pkg-descr @@ -0,0 +1,9 @@ +Minicom is a serial communication program. It is a un*x clone of the +well-known MS-DOS Telix program. It has ANSI color, dialing directory, +dial-a-list, script language, file up/download support, screen capture, +scroll-back, etc. + +The author is Miquel van Smoorenburg (miquels@cistron.nl -or- +miquels@drinkel.ow.org). Note, minicom is covered by the GNU GPL. + +-- David (obrien@cs.ucdavis.edu) diff --git a/comms/minicom/pkg-plist b/comms/minicom/pkg-plist new file mode 100644 index 000000000000..e6ae85577972 --- /dev/null +++ b/comms/minicom/pkg-plist @@ -0,0 +1,10 @@ +bin/minicom +bin/xminicom +bin/runscript +etc/minicom/minicom.users +etc/minicom/htsalogin +etc/minicom/saralogin +etc/minicom/scriptdemo +etc/minicom/unixlogin +man/man1/minicom.1.gz +man/man1/runscript.1.gz -- cgit