summaryrefslogtreecommitdiff
path: root/comms/hylafax/patches/patch-ah
diff options
context:
space:
mode:
Diffstat (limited to 'comms/hylafax/patches/patch-ah')
-rw-r--r--comms/hylafax/patches/patch-ah18
1 files changed, 9 insertions, 9 deletions
diff --git a/comms/hylafax/patches/patch-ah b/comms/hylafax/patches/patch-ah
index e51808cd80b..b45decbc310 100644
--- a/comms/hylafax/patches/patch-ah
+++ b/comms/hylafax/patches/patch-ah
@@ -1,16 +1,16 @@
-$NetBSD: patch-ah,v 1.6 2005/01/27 16:22:37 adam Exp $
+$NetBSD: patch-ah,v 1.7 2014/03/14 15:59:29 adam Exp $
---- etc/faxaddmodem.sh.in.orig 2004-12-22 13:44:05.000000000 +0000
+--- etc/faxaddmodem.sh.in.orig 2012-06-06 00:58:38.000000000 +0000
+++ etc/faxaddmodem.sh.in
-@@ -46,6 +46,7 @@
- SPOOL=@SPOOL@
+@@ -51,6 +51,7 @@ die()
+ }
SPEED=
+TTY=
+ DOFUSER=no
while [ x"$1" != x"" ] ; do
case $1 in
- -s) SPEED=$2; shift;;
-@@ -115,7 +116,7 @@ CAT="$CAT -u" # something to do unbuff
+@@ -124,7 +125,7 @@ CAT="$CAT -u" # something to do unbuff
FAX=@FAXUID@ # identity of the fax user
GROUP=/etc/group # where to go for group entries
PROTOGID=@FAXGID@ # group who's gid we use for FAX user
@@ -19,7 +19,7 @@ $NetBSD: patch-ah,v 1.6 2005/01/27 16:22:37 adam Exp $
MODEMCONFIG=$SPOOL/config # location of prototype modem config files
RMCMD="$RM -f" # forced removal
-@@ -809,7 +810,7 @@ SendToModem()
+@@ -833,7 +834,7 @@ SendToModem()
COMMAND=$*
sleep 1 # wait for previous kill
case $TARGET in
@@ -28,7 +28,7 @@ $NetBSD: patch-ah,v 1.6 2005/01/27 16:22:37 adam Exp $
*) onDev $STTY 0; sleep 1 ;; # reset the modem (hopefully)
esac
# start listening for output
-@@ -1152,7 +1153,7 @@ EOF
+@@ -1178,7 +1179,7 @@ EOF
done;
MODEMCLASSES=`echo $MODEMCLASSES | $SED -e 's/3/2.0/g' -e 's/4/1.0/g' -e 's/5/2.1/g' -e 's/ $//g'`
SUPPORT=`echo $SUPPORT | $SED -e 's/3/2.0/g' -e 's/4/1.0/g' -e 's/5/2.1/g'`.
@@ -37,7 +37,7 @@ $NetBSD: patch-ah,v 1.6 2005/01/27 16:22:37 adam Exp $
case "$MODEMCLASSES" in
"") giveup;;
"1") ModemType=Class1; configureClass1Modem;;
-@@ -1163,7 +1164,7 @@ EOF
+@@ -1189,7 +1190,7 @@ EOF
*)
DEFAULTCLASS=`echo $MODEMCLASSES | $SED 's/\([^ ]*\).*/\1/g'`
x=""