update to 1.82
This commit is contained in:
parent
4bb08a3659
commit
0c77dab41e
@ -1,20 +1,44 @@
|
||||
# $OpenBSD: Makefile,v 1.7 1998/10/20 08:39:44 form Exp $
|
||||
# $OpenBSD: Makefile,v 1.8 1998/12/18 10:49:20 form Exp $
|
||||
#
|
||||
|
||||
PKGNAME= minicom-1.78
|
||||
PKGNAME= minicom-1.82
|
||||
DISTNAME= ${PKGNAME}.src
|
||||
CATEGORIES= comms
|
||||
|
||||
#BROKEN= "newer version available"
|
||||
|
||||
MAINTAINER= form@OpenBSD.ORG
|
||||
|
||||
MASTER_SITES= ftp://ftp.cistron.nl/pub/people/miquels/software/
|
||||
MASTER_SITES= ${MASTER_SITE_SUNSITE} \
|
||||
ftp://ftp.cistron.nl/pub/people/miquels/software/ \
|
||||
http://www.clinet.fi/~walker/
|
||||
|
||||
RUN_DEPENDS= rz:${PORTSDIR}/comms/rzsz \
|
||||
sz:${PORTSDIR}/comms/rzsz \
|
||||
kermit:${PORTSDIR}/comms/kermit
|
||||
MASTER_SITE_SUBDIR= apps/serialcomm/dialout
|
||||
|
||||
WRKSRC= ${WRKDIR}/${PKGNAME}/src
|
||||
|
||||
pre-build:
|
||||
.if defined(USE_LRZSZ)
|
||||
@cd ${WRKSRC}; /usr/bin/patch -p0 < ${FILESDIR}/patch-lrzsz; \
|
||||
touch ${WRKDIR}/.with_lrzsz
|
||||
.else
|
||||
@${ECHO} "***"
|
||||
@${ECHO} "*** Building minicom with rzsz support."
|
||||
@${ECHO} "*** If you wish to use lrzsz package instead of rzsz,"
|
||||
@${ECHO} "*** do 'make USE_LRZSZ=yes'."
|
||||
@${ECHO} "***"
|
||||
.endif
|
||||
|
||||
post-install:
|
||||
.if exists(/etc/minicom/minicom.users)
|
||||
@${ECHO} "*** Found existing /etc/minicom/minicom.users -- not replacing."
|
||||
.else
|
||||
${INSTALL_DATA} ${WRKSRC}/minicom.users /etc/minicom
|
||||
.endif
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
||||
.if exists(${WRKDIR}/.with_lrzsz)
|
||||
RUN_DEPENDS= lrz:${PORTSDIR}/comms/lrzsz lsz:${PORTSDIR}/comms/lrzsz
|
||||
.else
|
||||
RUN_DEPENDS= rz:${PORTSDIR}/comms/rzsz sz:${PORTSDIR}/comms/rzsz
|
||||
.endif
|
||||
RUN_DEPENDS+= kermit:${PORTSDIR}/comms/kermit
|
||||
|
@ -1 +1 @@
|
||||
MD5 (minicom-1.78.src.tar.gz) = ba4597cf787e35800206167c99bb50df
|
||||
MD5 (minicom-1.82.src.tar.gz) = c7720f3d8e5a32459a171971fd1bb80c
|
||||
|
21
comms/minicom/files/patch-lrzsz
Normal file
21
comms/minicom/files/patch-lrzsz
Normal file
@ -0,0 +1,21 @@
|
||||
--- rwconf.c.orig Sun Apr 28 07:22:28 1996
|
||||
+++ rwconf.c Sun Nov 24 00:41:47 1996
|
||||
@@ -70,12 +70,12 @@
|
||||
{ "/usr/bin/kermit -i -l %l -r", PUBLIC, "pprog8" },
|
||||
#else
|
||||
/* Most sites have this in /usr/local, except Linux. */
|
||||
- { "/usr/local/bin/sz -vv", PUBLIC, "pprog1" },
|
||||
- { "/usr/local/bin/sb -vv", PUBLIC, "pprog2" },
|
||||
- { "/usr/local/bin/sx -vv", PUBLIC, "pprog3" },
|
||||
- { "/usr/local/bin/rz -vv", PUBLIC, "pprog4" },
|
||||
- { "/usr/local/bin/rb -vv", PUBLIC, "pprog5" },
|
||||
- { "/usr/local/bin/rx -vv", PUBLIC, "pprog6" },
|
||||
+ { "/usr/local/bin/lsz -vv", PUBLIC, "pprog1" },
|
||||
+ { "/usr/local/bin/lsb -vv", PUBLIC, "pprog2" },
|
||||
+ { "/usr/local/bin/lsx -vv", PUBLIC, "pprog3" },
|
||||
+ { "/usr/local/bin/lrz -vv", PUBLIC, "pprog4" },
|
||||
+ { "/usr/local/bin/lrb -vv", PUBLIC, "pprog5" },
|
||||
+ { "/usr/local/bin/lrx -vv", PUBLIC, "pprog6" },
|
||||
{ "/usr/local/bin/kermit -i -l %l -s", PUBLIC, "pprog7" },
|
||||
{ "/usr/local/bin/kermit -i -l %l -r", PUBLIC, "pprog8" },
|
||||
#endif
|
@ -1,76 +1,162 @@
|
||||
*** Makefile.orig Sun Apr 28 21:16:29 1996
|
||||
--- Makefile Tue May 5 11:28:19 1998
|
||||
*** Makefile.orig Sun Jul 26 02:05:46 1998
|
||||
--- Makefile Fri Dec 18 14:58:50 1998
|
||||
***************
|
||||
*** 12,28 ****
|
||||
*** 22,31 ****
|
||||
#
|
||||
|
||||
# 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
|
||||
|
||||
! # 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
|
||||
--- 12,28 ----
|
||||
# fmg 8/22/97: seems a more logical place for this :-)
|
||||
# Select Compile Options you want:
|
||||
--- 22,31 ----
|
||||
#
|
||||
|
||||
# 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
|
||||
|
||||
# fmg 8/22/97: seems a more logical place for this :-)
|
||||
# Select Compile Options you want:
|
||||
***************
|
||||
*** 40,57 ****
|
||||
# -D_I18N_ - Internationalization and localized text strings
|
||||
# see file "../doc/Locales"
|
||||
#
|
||||
! OPFLAGS = -D_HISTORY -D_HAVE_MACROS -D_SEARCH_HISTORY -D_I18N_
|
||||
|
||||
# Remove if you don't have gettext and don't want to install it and use
|
||||
# the localized strings
|
||||
PO = po
|
||||
|
||||
# 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
|
||||
--- 40,63 ----
|
||||
# -D_I18N_ - Internationalization and localized text strings
|
||||
# see file "../doc/Locales"
|
||||
#
|
||||
! OPFLAGS = -D_HISTORY -D_HAVE_MACROS -D_SEARCH_HISTORY ## -D_I18N_
|
||||
|
||||
# Remove if you don't have gettext and don't want to install it and use
|
||||
# the localized strings
|
||||
PO = po
|
||||
|
||||
# Where to install things for FreeBSD sites.
|
||||
! # BINDIR = $(PREFIX)/bin
|
||||
! # LIBDIR = $(PREFIX)/etc/minicom
|
||||
##DOCDIR = /usr/local/share/minicom
|
||||
! # DOCDIR = $(PREFIX)/etc/minicom
|
||||
! # MANDIR = $(PREFIX)/man/man1
|
||||
!
|
||||
! # Where to install things for OpenBSD sites.
|
||||
! BINDIR = /usr/local/bin
|
||||
! BINDIR = $(PREFIX)/bin
|
||||
! LIBDIR = /etc/minicom
|
||||
! DOCDIR = /usr/local/share/examples/minicom
|
||||
# DOCDIR = /usr/local/etc/minicom
|
||||
! MANDIR = /usr/local/man/man1
|
||||
! DOCDIR = $(PREFIX)/share/minicom
|
||||
! MANDIR = $(PREFIX)/man/man1
|
||||
|
||||
# Where to install things for "normal" sites.
|
||||
# BINDIR = /usr/local/bin
|
||||
***************
|
||||
*** 38,54 ****
|
||||
#CC = cc
|
||||
*** 60,78 ****
|
||||
# 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
|
||||
! CC = cc
|
||||
!
|
||||
! # Take these compilation flags for FreeBSD.
|
||||
! #FLAGS = -Wall -D_POSIX -D_BSD43 -D_SELECT -D_HAVE_MACROS -D_DCDFLOW
|
||||
! #PROGS = minicom runscript ascii-xfr
|
||||
! #LFLAGS = -s
|
||||
! #LIBS = -ltermcap
|
||||
#CC = cc
|
||||
! LIBS = -lncurses #-lintl
|
||||
CC = cc
|
||||
|
||||
- # Take these compilation flags for FreeBSD.
|
||||
- #FLAGS = -Wall -D_POSIX -D_BSD43 -D_SELECT -D_DCDFLOW
|
||||
- #PROGS = minicom runscript ascii-xfr
|
||||
- #LFLAGS = -s
|
||||
- #LIBS = -ltermcap
|
||||
- #CC = cc
|
||||
-
|
||||
# Take these flags for SCO unix.
|
||||
--- 38,54 ----
|
||||
#CC = cc
|
||||
#FLAGS = -D_SYSV -D_SCO -D_POSIX -D_SELECT
|
||||
#PROGS = minicom runscript ascii-xfr
|
||||
--- 66,91 ----
|
||||
# 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_DCDFLOW -D_HAVE_MACROS
|
||||
! # PROGS = minicom runscript ascii-xfr
|
||||
! # LFLAGS = -s
|
||||
! # LIBS = -ltermcap -lcurses
|
||||
! # CC = cc
|
||||
!
|
||||
! # Take these compilation flags for OpenBSD.
|
||||
! 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
|
||||
#CC = cc
|
||||
! LIBS = -lcurses
|
||||
CC = cc
|
||||
|
||||
# Take these flags for SCO unix.
|
||||
#FLAGS = -D_SYSV -D_SCO -D_POSIX -D_SELECT
|
||||
#PROGS = minicom runscript ascii-xfr
|
||||
***************
|
||||
*** 188,194 ****
|
||||
$(CC) $(LFLAGS) -o minicom $(MOBJS) $(LIBS)
|
||||
|
||||
po: dummy
|
||||
! make -C po
|
||||
|
||||
keyserv: $(KOBJS)
|
||||
$(CC) -o keyserv $(LFLAGS) $(KOBJS) $(LIBS)
|
||||
--- 201,207 ----
|
||||
$(CC) $(LFLAGS) -o minicom $(MOBJS) $(LIBS)
|
||||
|
||||
po: dummy
|
||||
! ## cd po ; $(MAKE)
|
||||
|
||||
keyserv: $(KOBJS)
|
||||
$(CC) -o keyserv $(LFLAGS) $(KOBJS) $(LIBS)
|
||||
***************
|
||||
*** 241,252 ****
|
||||
dummy:
|
||||
|
||||
install: $(PROGS)
|
||||
! make -C po install R=$(R)
|
||||
sh install.sh $(R)$(LIBDIR) $(R)$(BINDIR) $(R)$(MANDIR) $(R)$(DOCDIR)
|
||||
|
||||
clobber:
|
||||
rm -f *.o *~ minicom keyserv runscript ascii-xfr
|
||||
! make -C po clean
|
||||
|
||||
clean:
|
||||
rm -f *.o
|
||||
--- 254,265 ----
|
||||
dummy:
|
||||
|
||||
install: $(PROGS)
|
||||
! ## cd po ; $(MAKE) install R=$(R)
|
||||
sh install.sh $(R)$(LIBDIR) $(R)$(BINDIR) $(R)$(MANDIR) $(R)$(DOCDIR)
|
||||
|
||||
clobber:
|
||||
rm -f *.o *~ minicom keyserv runscript ascii-xfr
|
||||
! ## cd po ; $(MAKE) clean
|
||||
|
||||
clean:
|
||||
rm -f *.o
|
||||
|
@ -1,156 +1,159 @@
|
||||
*** install.sh.orig Sun Sep 28 00:21:12 1997
|
||||
--- install.sh Tue May 5 12:17:22 1998
|
||||
*** install.sh.orig Wed Apr 22 00:45:42 1998
|
||||
--- install.sh Fri Dec 18 16:09:21 1998
|
||||
***************
|
||||
*** 28,33 ****
|
||||
--- 28,35 ----
|
||||
echo "$1: No such directory"
|
||||
*** 24,29 ****
|
||||
--- 24,30 ----
|
||||
exit 1
|
||||
fi
|
||||
+ chown uucp.dialer $1
|
||||
+ chmod 750 $1
|
||||
fi
|
||||
+ chown uucp $1
|
||||
|
||||
if test ! -d $2
|
||||
then
|
||||
***************
|
||||
*** 42,54 ****
|
||||
exit 1
|
||||
fi
|
||||
|
||||
if test -f minicom
|
||||
*** 41,48 ****
|
||||
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
|
||||
chmod 755 $2/minicom
|
||||
fi
|
||||
|
||||
for i in runscript xminicom ascii-xfr
|
||||
--- 44,66 ----
|
||||
exit 1
|
||||
fi
|
||||
|
||||
+ if test ! -d $4
|
||||
+ then
|
||||
+ mkdir $4
|
||||
+ if [ $? != 0 ]
|
||||
+ then
|
||||
+ echo "$4: No such directory"
|
||||
+ exit 1
|
||||
+ fi
|
||||
+ fi
|
||||
+
|
||||
if test -f minicom
|
||||
--- 42,49 ----
|
||||
then
|
||||
echo "Installing minicom in $2"
|
||||
cp minicom $2/minicom
|
||||
! chown uucp $2/minicom
|
||||
! chgrp dialer $2/minicom
|
||||
! chmod 4755 $2/minicom
|
||||
chmod 755 $2/minicom
|
||||
fi
|
||||
|
||||
for i in runscript xminicom ascii-xfr
|
||||
***************
|
||||
*** 58,65 ****
|
||||
echo "Installing $i in $2"
|
||||
*** 54,60 ****
|
||||
cp $i $2/$i
|
||||
chmod 755 $2/$i
|
||||
! chown root $2/$i
|
||||
chown root $2/$i
|
||||
! chgrp root $2/$i
|
||||
fi
|
||||
done
|
||||
|
||||
--- 70,77 ----
|
||||
echo "Installing $i in $2"
|
||||
--- 55,61 ----
|
||||
cp $i $2/$i
|
||||
chmod 755 $2/$i
|
||||
! chown uucp $2/$i
|
||||
! chgrp bin $2/$i
|
||||
chown root $2/$i
|
||||
! chgrp wheel $2/$i
|
||||
fi
|
||||
done
|
||||
|
||||
***************
|
||||
*** 68,75 ****
|
||||
echo "Installing keyserv in $1"
|
||||
*** 64,70 ****
|
||||
cp keyserv $1/keyserv
|
||||
chmod 755 $1/keyserv
|
||||
! chown root $1/keyserv
|
||||
chown root $1/keyserv
|
||||
! chgrp root $1/keyserv
|
||||
fi
|
||||
|
||||
echo "Installing manpages in $3"
|
||||
--- 80,87 ----
|
||||
echo "Installing keyserv in $1"
|
||||
--- 65,71 ----
|
||||
cp keyserv $1/keyserv
|
||||
chmod 755 $1/keyserv
|
||||
! chown uucp $1/keyserv
|
||||
! chgrp bin $1/keyserv
|
||||
chown root $1/keyserv
|
||||
! chgrp wheel $1/keyserv
|
||||
fi
|
||||
|
||||
echo "Installing manpages in $3"
|
||||
***************
|
||||
*** 78,92 ****
|
||||
*** 73,102 ****
|
||||
cp ../man/$i $3
|
||||
chmod 644 $3/$i
|
||||
chown root $3/$i
|
||||
! chgrp root $3/$i
|
||||
done
|
||||
|
||||
if [ ! -f $1/minicom.users ]
|
||||
then
|
||||
echo "Installing sample config file minicom.users in $1"
|
||||
cp minicom.users $1
|
||||
! if [ ! -f $1/minicom.users ]
|
||||
! then
|
||||
! echo "Installing sample config file minicom.users in $1"
|
||||
! cp minicom.users $1
|
||||
! chown root $1/minicom.users
|
||||
! chgrp root $1/minicom.users
|
||||
chmod 644 $1/minicom.users
|
||||
fi
|
||||
! chmod 644 $1/minicom.users
|
||||
! fi
|
||||
|
||||
--- 90,104 ----
|
||||
mkdir -p $4 2>/dev/null
|
||||
|
||||
if test -d $4
|
||||
then
|
||||
! echo "Installing script demos, docs, & character tables in $4"
|
||||
! cp ../doc/* $4
|
||||
! cp -r ../demos $4
|
||||
! cp -r ../tables $4
|
||||
! chmod -f 644 $4/* $4/demos/* $4/tables/*
|
||||
! chmod -f a+x $4/demos $4/tables
|
||||
! chown -f root $4/* $4/demos/* $4/tables/*
|
||||
! chgrp -f root $4/* $4/demos/* $4/tables/*
|
||||
else
|
||||
echo "You don't have a $4 directory - script examples not installed."
|
||||
fi
|
||||
--- 74,108 ----
|
||||
cp ../man/$i $3
|
||||
chmod 644 $3/$i
|
||||
chown root $3/$i
|
||||
! chgrp bin $3/$i
|
||||
! chgrp wheel $3/$i
|
||||
done
|
||||
|
||||
if [ ! -f $1/minicom.users ]
|
||||
then
|
||||
echo "Installing sample config file minicom.users in $1"
|
||||
cp minicom.users $1
|
||||
! chown uucp $1/minicom.users
|
||||
! chgrp dialer $1/minicom.users
|
||||
chmod 644 $1/minicom.users
|
||||
fi
|
||||
! #if [ ! -f $1/minicom.users ]
|
||||
! #then
|
||||
! # echo "Installing sample config file minicom.users in $1"
|
||||
! # cp minicom.users $1
|
||||
! # chown root $1/minicom.users
|
||||
! # chgrp wheel $1/minicom.users
|
||||
! # chmod 644 $1/minicom.users
|
||||
! #fi
|
||||
|
||||
***************
|
||||
*** 98,105 ****
|
||||
cp ../demos/$i $4/$i
|
||||
chmod 644 $4/$i
|
||||
chown root $4/$i
|
||||
! chgrp root $4/$i
|
||||
done
|
||||
else
|
||||
echo "You don't have a $4 directory - script examples not installed."
|
||||
fi
|
||||
--- 110,119 ----
|
||||
cp ../demos/$i $4/$i
|
||||
chmod 644 $4/$i
|
||||
chown root $4/$i
|
||||
! chgrp wheel $4/$i
|
||||
done
|
||||
+ cp minicom.users $4
|
||||
+ chown root.wheel $4/minicom.users
|
||||
mkdir -p $4 2>/dev/null
|
||||
|
||||
if test -d $4
|
||||
then
|
||||
! echo "Installing script demos, docs, & character tables in $4"
|
||||
! ##cp ../doc/* $4
|
||||
! cp -r ../demos $4
|
||||
! cp -r ../tables $4
|
||||
! chmod -f 644 $4/* $4/demos/* $4/tables/*
|
||||
! chmod -f a+x $4/demos $4/tables
|
||||
! chown -f root $4/* $4/demos/* $4/tables/*
|
||||
! chgrp -f wheel $4/* $4/demos/* $4/tables/*
|
||||
! echo "Installing sample config file minicom.users in $4"
|
||||
! cp minicom.users $4
|
||||
! chown root $4/minicom.users
|
||||
! chgrp wheel $4/minicom.users
|
||||
! chmod 644 $4/minicom.users
|
||||
else
|
||||
echo "You don't have a $4 directory - script examples not installed."
|
||||
fi
|
||||
***************
|
||||
*** 109,117 ****
|
||||
*** 106,116 ****
|
||||
rm minicom.o
|
||||
fi
|
||||
|
||||
- echo "Minicom is NOT setuid yet - you must do this yourself by entering:"
|
||||
- echo
|
||||
- echo "chmod +s $2/minicom"
|
||||
- echo
|
||||
-
|
||||
! echo "Minicom is NOT setuid yet - you must do this yourself by entering:"
|
||||
! echo
|
||||
! echo "chmod +s $2/minicom"
|
||||
! echo
|
||||
! echo "or make your modem device in the /dev directory world writable "
|
||||
! echo "with chmod a+rw"
|
||||
|
||||
exit 0
|
||||
--- 112,123 ----
|
||||
rm minicom.o
|
||||
fi
|
||||
|
||||
! ###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
|
||||
--- 123,126 ----
|
||||
|
@ -1,14 +1,11 @@
|
||||
*** window.c.orig Tue May 5 11:04:40 1998
|
||||
--- window.c Tue May 5 11:06:14 1998
|
||||
***************
|
||||
*** 1875,1881 ****
|
||||
--- 1875,1883 ----
|
||||
_has_am = tgetflag("am");
|
||||
_mv_standout = tgetflag("ms");
|
||||
if (tgetflag("bs"))
|
||||
+ {
|
||||
if (BC == CNULL) BC = "\b";
|
||||
+ }
|
||||
else
|
||||
BC = CNULL;
|
||||
|
||||
--- 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;
|
||||
|
@ -1,19 +1,11 @@
|
||||
*** updown.c.orig Tue May 5 12:20:12 1998
|
||||
--- updown.c Tue May 5 12:20:27 1998
|
||||
***************
|
||||
*** 18,24 ****
|
||||
#include "port.h"
|
||||
#include "minicom.h"
|
||||
|
||||
! #define LOG_XFER debugging option
|
||||
/* */
|
||||
static int udpid;
|
||||
|
||||
--- 18,24 ----
|
||||
#include "port.h"
|
||||
#include "minicom.h"
|
||||
|
||||
! /* #define LOG_XFER debugging option */
|
||||
/* */
|
||||
static int udpid;
|
||||
|
||||
--- updown.c.orig Thu Jul 9 14:49:47 1998
|
||||
+++ updown.c Sun Dec 13 18:34:51 1998
|
||||
@@ -230,7 +230,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);
|
||||
snprintf(title, sizeof(title), _("%.30s %s - Press CTRL-C to quit"), P_PNAME(g),
|
||||
what == 'U' ? _("upload") : _("download"));
|
||||
wtitle(win, TMID, title);
|
||||
|
26
comms/minicom/patches/patch-ae
Normal file
26
comms/minicom/patches/patch-ae
Normal file
@ -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++;
|
13
comms/minicom/patches/patch-af
Normal file
13
comms/minicom/patches/patch-af
Normal file
@ -0,0 +1,13 @@
|
||||
--- ascii-xfr.c.orig Sun Mar 8 08:10:26 1998
|
||||
+++ ascii-xfr.c Sun Dec 13 21:55:16 1998
|
||||
@@ -14,6 +14,10 @@
|
||||
#include <string.h>
|
||||
#include <time.h>
|
||||
#include <fcntl.h>
|
||||
+#if (defined(__unix__) || defined(unix)) && !defined(USG)
|
||||
+#include <sys/param.h> /* get BSD definition if present */
|
||||
+#endif
|
||||
+
|
||||
|
||||
/*
|
||||
* Externals.
|
30
comms/minicom/patches/patch-ag
Normal file
30
comms/minicom/patches/patch-ag
Normal file
@ -0,0 +1,30 @@
|
||||
*** config.h.orig Sat Nov 1 01:48:00 1997
|
||||
--- config.h Fri Dec 18 14:49:44 1998
|
||||
***************
|
||||
*** 58,64 ****
|
||||
|
||||
#ifdef __FreeBSD__
|
||||
# define DFL_PORT "/dev/modem"
|
||||
! # define DEF_BAUD "19200"
|
||||
# define CALLOUT ""
|
||||
# define CALLIN ""
|
||||
#endif
|
||||
--- 58,75 ----
|
||||
|
||||
#ifdef __FreeBSD__
|
||||
# define DFL_PORT "/dev/modem"
|
||||
! # define DEF_BAUD "38400"
|
||||
! # define CALLOUT ""
|
||||
! # define CALLIN ""
|
||||
! #endif
|
||||
!
|
||||
! #ifdef __OpenBSD__
|
||||
! # ifdef sparc
|
||||
! # define DFL_PORT "/dev/ttya"
|
||||
! # else
|
||||
! # define DFL_PORT "/dev/tty00"
|
||||
! # endif
|
||||
! # define DEF_BAUD "38400"
|
||||
# define CALLOUT ""
|
||||
# define CALLIN ""
|
||||
#endif
|
11
comms/minicom/patches/patch-ah
Normal file
11
comms/minicom/patches/patch-ah
Normal file
@ -0,0 +1,11 @@
|
||||
--- help.c.orig Thu Feb 26 16:11:47 1998
|
||||
+++ help.c Tue Aug 11 03:26:43 1998
|
||||
@@ -30,7 +30,7 @@
|
||||
#endif
|
||||
x1 = (COLS / 2) - 34;
|
||||
x2 = (COLS / 2) + 32;
|
||||
- w = wopen(x1, 3, x2, 21 + i, BDOUBLE, stdattr, mfcolor, mbcolor, 0, 0, 1);
|
||||
+ w = wopen(x1, 2, x2, 20 + i, BDOUBLE, stdattr, mfcolor, mbcolor, 0, 0, 1);
|
||||
|
||||
wlocate(w, 21, 0);
|
||||
wputs(w, _("Minicom Command Summary"));
|
19
comms/minicom/patches/patch-ai
Normal file
19
comms/minicom/patches/patch-ai
Normal file
@ -0,0 +1,19 @@
|
||||
*** dial.c.orig Fri Dec 18 15:06:06 1998
|
||||
--- dial.c Fri Dec 18 15:06:15 1998
|
||||
***************
|
||||
*** 224,230 ****
|
||||
w = mc_tell(_("Hanging up"));
|
||||
|
||||
timer_update();
|
||||
! snprintf(buf, sizeof(buf),_("Hangup (%ld:%02ld:%02ld)"),
|
||||
online / 3600, (online / 60) % 60, online>0 ? online % 60 : 0);
|
||||
do_log(buf);
|
||||
online = -1;
|
||||
--- 224,230 ----
|
||||
w = mc_tell(_("Hanging up"));
|
||||
|
||||
timer_update();
|
||||
! snprintf(buf, sizeof(buf),_("Hangup (%d:%02d:%02d)"),
|
||||
online / 3600, (online / 60) % 60, online>0 ? online % 60 : 0);
|
||||
do_log(buf);
|
||||
online = -1;
|
19
comms/minicom/patches/patch-aj
Normal file
19
comms/minicom/patches/patch-aj
Normal file
@ -0,0 +1,19 @@
|
||||
*** main.c.orig Fri Dec 18 15:06:49 1998
|
||||
--- main.c Fri Dec 18 15:06:53 1998
|
||||
***************
|
||||
*** 393,399 ****
|
||||
|
||||
if (old_online == online) return;
|
||||
if ((old_online >= 0) && (online < 0)) {
|
||||
! snprintf(buf, sizeof(buf), _("Gone offline (%ld:%02ld:%02ld)"),
|
||||
old_online / 3600, (old_online / 60) % 60, old_online % 60);
|
||||
do_log(buf);
|
||||
}
|
||||
--- 393,399 ----
|
||||
|
||||
if (old_online == online) return;
|
||||
if ((old_online >= 0) && (online < 0)) {
|
||||
! snprintf(buf, sizeof(buf), _("Gone offline (%d:%02d:%02d)"),
|
||||
old_online / 3600, (old_online / 60) % 60, old_online % 60);
|
||||
do_log(buf);
|
||||
}
|
@ -1,19 +1,24 @@
|
||||
bin/minicom
|
||||
bin/xminicom
|
||||
bin/runscript
|
||||
bin/xminicom
|
||||
bin/ascii-xfr
|
||||
share/examples/minicom/minicom.users
|
||||
share/examples/minicom/htsalogin
|
||||
share/examples/minicom/saralogin
|
||||
share/examples/minicom/scriptdemo
|
||||
share/examples/minicom/unixlogin
|
||||
@dirrm share/examples/minicom
|
||||
man/man1/minicom.1
|
||||
man/man1/runscript.1
|
||||
man/man1/ascii-xfr.1
|
||||
@exec if [ ! -d /etc/minicom ]; then mkdir /etc/minicom; chown uucp.dialer /etc/minicom; chmod 755 /etc/minicom; fi
|
||||
@exec if [ ! -f /etc/minicom/minicom.users ]; then cp %D/share/examples/minicom/minicom.users /etc/minicom; chown uucp.dialer /etc/minicom/minicom.users; chmod 644 /etc/minicom/minicom.users; fi
|
||||
share/minicom/minicom.users
|
||||
share/minicom/demos/htsalogin
|
||||
share/minicom/demos/saralogin
|
||||
share/minicom/demos/unixlogin
|
||||
share/minicom/demos/scriptdemo
|
||||
share/minicom/tables/mc.pc8
|
||||
share/minicom/tables/mc.sf7
|
||||
share/minicom/tables/mc.iso
|
||||
share/minicom/tables/mc.noconv
|
||||
@dirrm share/minicom/tables
|
||||
@dirrm share/minicom/demos
|
||||
@dirrm share/minicom
|
||||
@unexec echo "***"
|
||||
@unexec echo "*** Remove /etc/minicom directory and it's contents"
|
||||
@unexec echo "*** if you won't install minicom again."
|
||||
@unexec echo "*** Finished uninstalling minicom."
|
||||
@unexec echo "*** Please remove /etc/minicom directory if you"
|
||||
@unexec echo "*** don't want to keep minicom configuration files."
|
||||
@unexec echo "***"
|
||||
|
Loading…
Reference in New Issue
Block a user