%n setserial %v 2.11 %c * %l * %b * %d * %f * %t setserial-2.11.tgz %w Linux %% %setup patch -u -p1 <<'ENDPATCH' diff -ru2N setserial-2.11/Makefile setserial-MCC/Makefile --- setserial-2.11/Makefile Fri May 20 06:19:39 1994 +++ setserial-MCC/Makefile Thu Aug 29 00:05:52 1996 @@ -3,7 +3,7 @@ CC = gcc -CFLAGS = -O +CFLAGS = -O6 -m386 -all: setserial setserial.cat +all: setserial setserial: setserial.c @@ -14,5 +14,8 @@ install: setserial - install -s setserial /sbin + install -s -m 555 setserial /bin +# install -m 744 rc.serial /etc/rc.boot/0setserial + install -m 444 setserial.8 /usr/man/man8 + gzip -9f /usr/man/man8/setserial.8 clean: diff -ru2N setserial-2.11/rc.serial setserial-MCC/rc.serial --- setserial-2.11/rc.serial Fri May 20 06:17:57 1994 +++ setserial-MCC/rc.serial Thu Aug 29 00:01:36 1996 @@ -1,3 +1,3 @@ -# +#!/bin/sh # /etc/rc.serial # Initializes the serial ports on your system @@ -11,5 +11,5 @@ STD_FLAGS="session_lockout" -SETSERIAL=/sbin/setserial +SETSERIAL='/bin/setserial -b' echo -n "Configuring serial ports...." @@ -46,5 +46,7 @@ ${SETSERIAL} /dev/cua1 ${AUTO_IRQ} skip_test autoconfig ${STD_FLAGS} ${SETSERIAL} /dev/cua2 ${AUTO_IRQ} skip_test autoconfig ${STD_FLAGS} -${SETSERIAL} /dev/cua3 ${AUTO_IRQ} autoconfig ${STD_FLAGS} +# Can't configure cua3 by default, because that shares the same port +# address as some graphics cards (S3, Mach*, 8514/a). +#${SETSERIAL} /dev/cua3 ${AUTO_IRQ} autoconfig ${STD_FLAGS} # These are for the first AST Fourport board (base address 0x1A0) @@ -192,3 +194,3 @@ echo "done." -${SETSERIAL} -bg /dev/cua? /dev/cua?? +${SETSERIAL} -bg /dev/cua* ENDPATCH make * make install %%