summaryrefslogtreecommitdiff
path: root/comms/minicom/files
diff options
context:
space:
mode:
authorDavid E. O'Brien <obrien@FreeBSD.org>1998-08-11 10:29:56 +0000
committerDavid E. O'Brien <obrien@FreeBSD.org>1998-08-11 10:29:56 +0000
commit98ab79e697efbc9d09d0541a15b1fc5a2de92050 (patch)
tree689181476a5b6659e1c36a152a35de89e114fac4 /comms/minicom/files
parentAdd an additional install target (install-man) to the ports Makefile (diff)
Upgrade to version 1.80.
Notes
Notes: svn path=/head/; revision=12445
Diffstat (limited to 'comms/minicom/files')
-rw-r--r--comms/minicom/files/patch-aa84
-rw-r--r--comms/minicom/files/patch-ab43
-rw-r--r--comms/minicom/files/patch-ac12
-rw-r--r--comms/minicom/files/patch-af11
-rw-r--r--comms/minicom/files/patch-ag26
-rw-r--r--comms/minicom/files/patch-ai11
6 files changed, 145 insertions, 42 deletions
diff --git a/comms/minicom/files/patch-aa b/comms/minicom/files/patch-aa
index c73c1e7eb178..6dbf14e1df81 100644
--- a/comms/minicom/files/patch-aa
+++ b/comms/minicom/files/patch-aa
@@ -1,56 +1,96 @@
---- Makefile.orig Sun Apr 28 07:16:29 1996
-+++ Makefile Sat Jan 3 02:45:02 1998
-@@ -12,17 +12,17 @@
+--- Makefile.orig Tue Mar 10 12:15:11 1998
++++ Makefile Tue Aug 11 02:51:32 1998
+@@ -13,10 +13,10 @@
#
# Where to install things for Linux sites (FSSTND)
-BINDIR = /usr/bin
-LIBDIR = /etc
--DOCDIR = /usr/doc/examples/minicom
+-DOCDIR = /usr/doc/minicom
-MANDIR = /usr/man/man1
+# BINDIR = /usr/bin
+# LIBDIR = /etc
-+# DOCDIR = /usr/doc/examples/minicom
++# DOCDIR = /usr/doc/minicom
+# MANDIR = /usr/man/man1
+ # fmg 8/22/97: seems a more logical place for this :-)
+ # Select Compile Options you want:
+@@ -29,14 +29,14 @@
+ # -D_SEARCH_HISTORY - Support searching of History buffer
+ # For documentation, see file "../doc/HistSearch"
+ #
+-OPFLAGS = -D_HISTORY -D_HAVE_MACROS -D_SEARCH_HISTORY -D_I18N_
++OPFLAGS = -D_HISTORY -D_HAVE_MACROS -D_SEARCH_HISTORY # -D_I18N_
+
# Where to install things for FreeBSD sites.
-# BINDIR = /usr/local/bin
-# LIBDIR = /usr/local/etc/minicom
-+BINDIR = ${PREFIX}/bin
-+LIBDIR = ${PREFIX}/etc/minicom
++ BINDIR = $(PREFIX)/bin
++ LIBDIR = $(PREFIX)/etc/minicom
##DOCDIR = /usr/local/share/minicom
-# DOCDIR = /usr/local/etc/minicom
-# MANDIR = /usr/local/man/man1
-+DOCDIR = ${PREFIX}/etc/minicom
-+MANDIR = ${PREFIX}/man/man1
++ DOCDIR = $(PREFIX)/etc/minicom
++ MANDIR = $(PREFIX)/man/man1
# Where to install things for "normal" sites.
# BINDIR = /usr/local/bin
-@@ -38,18 +38,18 @@
- #CC = cc
+@@ -45,19 +45,19 @@
+ # MANDIR = /usr/local/man/man1
- # Take these compilation flags for Linux with ncurses.
--FLAGS = -Wall -D_POSIX -D_SYSV -D_SELECT -D_HAVE_MACROS # -I/usr/include/ncurses
+ # Take these compilation flags for Linux with libncurses.
+-FLAGS = -Wall -D_POSIX -D_SYSV -D_SELECT -pipe # -I/usr/include/ncurses
-PROGS = minicom runscript ascii-xfr
-LFLAGS = -s
--LIBS = -lncurses
+-LIBS = -lncurses -lintl
-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
+-#FLAGS = -Wall -D_POSIX -D_BSD43 -D_SELECT -D_DCDFLOW
++#FLAGS = -Wall -D_POSIX -D_SYSV -D_SELECT -pipe # -I/usr/include/ncurses
#PROGS = minicom runscript ascii-xfr
#LFLAGS = -s
-#LIBS = -ltermcap
-+#LIBS = -lncurses
++#LIBS = -lncurses -lintl
#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_BSD43 -D_SELECT -D_DCDFLOW -D_HAVE_MACROS
+PROGS = minicom runscript ascii-xfr
+LFLAGS = -s
-+LIBS = -ltermcap
++LIBS = -ltermcap -lcurses
+CC = cc
-
++
# Take these flags for SCO unix.
- #FLAGS = -D_SYSV -D_SCO -D_POSIX -D_SELECT -D_HAVE_MACROS
+ #FLAGS = -D_SYSV -D_SCO -D_POSIX -D_SELECT
+ #PROGS = minicom runscript ascii-xfr
+@@ -165,13 +165,13 @@
+
+ R = $(ROOTDIR)
+
+-all: $(PROGS) po
++all: $(PROGS) # po
+
+ minicom: $(MOBJS)
+ $(CC) $(LFLAGS) -o minicom $(MOBJS) $(LIBS)
+
+ po: dummy
+- make -C po
++ $(MAKE) -C po
+
+ keyserv: $(KOBJS)
+ $(CC) -o keyserv $(LFLAGS) $(KOBJS) $(LIBS)
+@@ -223,11 +223,11 @@
+
+ install: $(PROGS)
+ sh install.sh $(R)$(LIBDIR) $(R)$(BINDIR) $(R)$(MANDIR) $(R)$(DOCDIR)
+- make -C po install
++ # $(MAKE) -C po install
+
+ clobber:
+ rm -f *.o *~ minicom keyserv runscript ascii-xfr
+- make -C po clean
++ # $(MAKE) -C po clean
+
+ clean:
+ rm -f *.o
diff --git a/comms/minicom/files/patch-ab b/comms/minicom/files/patch-ab
index 1fa580ff0ae3..926b28821ce8 100644
--- a/comms/minicom/files/patch-ab
+++ b/comms/minicom/files/patch-ab
@@ -1,5 +1,5 @@
---- install.sh.orig Sat Sep 27 10:21:12 1997
-+++ install.sh Sat Jan 10 01:16:04 1998
+--- install.sh.orig Sun Feb 22 14:59:37 1998
++++ install.sh Tue Aug 11 02:57:05 1998
@@ -29,6 +29,7 @@
exit 1
fi
@@ -8,17 +8,17 @@
if test ! -d $2
then
-@@ -47,8 +48,8 @@
+@@ -46,8 +47,8 @@
+ then
echo "Installing minicom in $2"
cp minicom $2/minicom
- chmod 755 $2/minicom
- chown root $2/minicom
-- chgrp root $2/minicom
+- chgrp uucp $2/minicom
+ chown uucp $2/minicom
+ chgrp dialer $2/minicom
+ chmod 755 $2/minicom
fi
- for i in runscript xminicom ascii-xfr
@@ -59,7 +60,7 @@
cp $i $2/$i
chmod 755 $2/$i
@@ -55,16 +55,27 @@
chmod 644 $1/minicom.users
fi
-@@ -98,7 +99,7 @@
- cp ../demos/$i $4/$i
- chmod 644 $4/$i
- chown root $4/$i
-- chgrp root $4/$i
-+ chgrp bin $4/$i
- done
+@@ -95,13 +96,13 @@
+ if test -d $4
+ then
+ echo "Installing script demos, docs, & character tables in $4"
+- cp ../doc/* $4
++ ##cp ../doc/* $4
+ cp -r ../demos $4
+- cp -r ../tables $4
+- chmod 644 $4/* $4/demos/* $4/tables/*
+- chmod a+x $4/demos $4/tables
+- chown root $4/* $4/demos/* $4/tables/*
+- chgrp root $4/* $4/demos/* $4/tables/*
++ ##cp -r ../tables $4
++ chmod 644 $4/* $4/demos/* ## $4/tables/*
++ chmod a+x $4/demos ## $4/tables
++ chown root $4/* $4/demos/* ## $4/tables/*
++ chgrp bin $4/* $4/demos/* ## $4/tables/*
else
echo "You don't have a $4 directory - script examples not installed."
-@@ -109,9 +110,10 @@
+ fi
+@@ -111,11 +112,12 @@
rm minicom.o
fi
@@ -72,10 +83,14 @@
-echo
-echo "chmod +s $2/minicom"
-echo
+-echo "or make your modem device in the /dev directory world writable "
+-echo "with chmod a+rw"
+###echo "Minicom is NOT setuid yet - you must do this yourself by entering:"
+###echo
+###echo "chmod +s $2/minicom"
+###echo
+chmod u+s $2/minicom
++###echo "or make your modem device in the /dev directory world writable "
++###echo "with chmod a+rw"
exit 0
diff --git a/comms/minicom/files/patch-ac b/comms/minicom/files/patch-ac
index bd14ef0a9671..e6ebf094b913 100644
--- a/comms/minicom/files/patch-ac
+++ b/comms/minicom/files/patch-ac
@@ -1,11 +1,11 @@
---- updown.c.orig Sun Oct 13 13:56:18 1996
-+++ updown.c Sun Oct 13 13:58:54 1996
-@@ -150,7 +150,7 @@
- sprintf(cmdline, "%s %s", P_PPROG(g), s);
+--- updown.c.orig Sat Feb 28 14:58:00 1998
++++ updown.c Tue May 12 18:12:37 1998
+@@ -209,7 +209,7 @@
+ do_log(cmdline); /* jl 22.06.97 */
if (P_PFULL(g) == 'N') {
- win = wopen(10, 7, 70, 13, BSINGLE, stdattr, mfcolor, mbcolor, 1, 0, 1);
+ win = wopen(5, 5, 74, 11, BSINGLE, stdattr, mfcolor, mbcolor, 1, 0, 1);
- sprintf(title, "%.30s %s - Press CTRL-C to quit", P_PNAME(g),
- what == 'U' ? "upload" : "download");
+ sprintf(title, _("%.30s %s - Press CTRL-C to quit"), P_PNAME(g),
+ what == 'U' ? _("upload") : _("download"));
wtitle(win, TMID, title);
diff --git a/comms/minicom/files/patch-af b/comms/minicom/files/patch-af
new file mode 100644
index 000000000000..9804c1f66c8c
--- /dev/null
+++ b/comms/minicom/files/patch-af
@@ -0,0 +1,11 @@
+--- window.c.orig Tue Aug 11 03:10:29 1998
++++ window.c Tue Aug 11 03:07:12 1998
+@@ -104,7 +104,7 @@
+
+ int useattr = 1;
+ int dirflush = 1;
+-extern int LINES, COLS;
++int LINES, COLS;
+ int usecolor = 0;
+ WIN *stdwin;
+ char *_tptr = CNULL;
diff --git a/comms/minicom/files/patch-ag b/comms/minicom/files/patch-ag
new file mode 100644
index 000000000000..0a4f6e128464
--- /dev/null
+++ b/comms/minicom/files/patch-ag
@@ -0,0 +1,26 @@
+--- windiv.c.orig Mon Mar 2 14:28:51 1998
++++ windiv.c Tue Aug 11 02:48:32 1998
+@@ -12,6 +12,7 @@
+ *
+ * hgk+jl 02.98 File selection window
+ */
++#include <sys/types.h>
+ #include <dirent.h>
+ #include <sys/stat.h>
+ #include "port.h"
+@@ -244,8 +245,14 @@
+
+ /* get regular files */
+ dirlist[nCnt].d_ino = dirent->d_ino;
+- dirlist[nCnt].d_off = dirent->d_off;
+ dirlist[nCnt].d_reclen = dirent->d_reclen;
++#if (defined(BSD) && (BSD >= 199306))
++ dirlist[nCnt].d_type = dirent->d_type;
++ dirlist[nCnt].d_namlen = dirent->d_namlen;
++#else
++ dirlist[nCnt].d_off = dirent->d_off;
++#endif
++
+ strcpy(dirlist[nCnt].d_name, dirent->d_name );
+ nMaxWidth = max(nMaxWidth, strlen(dirent->d_name));
+ nCnt++;
diff --git a/comms/minicom/files/patch-ai b/comms/minicom/files/patch-ai
new file mode 100644
index 000000000000..8be58f97aaf2
--- /dev/null
+++ b/comms/minicom/files/patch-ai
@@ -0,0 +1,11 @@
+--- config.h.orig Fri Oct 31 11:48:00 1997
++++ config.h Tue Aug 11 02:44:53 1998
+@@ -58,7 +58,7 @@
+
+ #ifdef __FreeBSD__
+ # define DFL_PORT "/dev/modem"
+-# define DEF_BAUD "19200"
++# define DEF_BAUD "38400"
+ # define CALLOUT ""
+ # define CALLIN ""
+ #endif