aboutsummaryrefslogtreecommitdiffstats
path: root/comms/minicom/files
diff options
context:
space:
mode:
authorasami <asami@FreeBSD.org>1996-03-05 15:46:58 +0800
committerasami <asami@FreeBSD.org>1996-03-05 15:46:58 +0800
commit8bb3909f2aa036ebe65184f36a74ec12167ec4f2 (patch)
tree42d22a71625cf7decc2d3b9c52a524ae2dbd39f1 /comms/minicom/files
parent9c581bf4aa0470fa31da8c63938da48748caa3f0 (diff)
downloadfreebsd-ports-gnome-8bb3909f2aa036ebe65184f36a74ec12167ec4f2.tar.gz
freebsd-ports-gnome-8bb3909f2aa036ebe65184f36a74ec12167ec4f2.tar.zst
freebsd-ports-gnome-8bb3909f2aa036ebe65184f36a74ec12167ec4f2.zip
A serial communication program. A clone of MS-DOS Telix.
Submitted by: obrien@cs.ucdavis.edu
Diffstat (limited to 'comms/minicom/files')
-rw-r--r--comms/minicom/files/patch-aa70
-rw-r--r--comms/minicom/files/patch-ab69
2 files changed, 139 insertions, 0 deletions
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