diff options
author | abs <abs@pkgsrc.org> | 2003-09-23 21:39:46 +0000 |
---|---|---|
committer | abs <abs@pkgsrc.org> | 2003-09-23 21:39:46 +0000 |
commit | aec30397a0b06107cfc6c5490849dcf38c7e97c0 (patch) | |
tree | c6f8c691e569090f445c6be8b2722d6550a8f016 /comms/hylafax/patches/patch-ah | |
parent | d51a609679856caca41c0c47d4da93387ca23d62 (diff) | |
download | pkgsrc-aec30397a0b06107cfc6c5490849dcf38c7e97c0.tar.gz |
Update hylfax to 4.1.7. Changes since 4.1.5:
* added new edit-faxcover script
* added various enhancements to faxsetup
* default libtiff v3.6 compatibility
* added NOTIFY_FAXMASTER and ENCODING parameters for FaxDispatch
* added 2D-MMR support for Class 2 modems that support it
* added RingTimeout, ModemRingResponse, CIDNumberAnswerLength, and
CIDNameAnswerLength modem config parameters
* support for MultiTech MT5634ZDXb and MT5634ZBA-DID
* added subaddressing specification capability to sendfax
* numerous bugfixes (several significant) and build cleanups
* fixes the PageChop feature that broken in 4.1.6
Also fixed some cosmetic NetBSD issues with faxadmodem
Diffstat (limited to 'comms/hylafax/patches/patch-ah')
-rw-r--r-- | comms/hylafax/patches/patch-ah | 36 |
1 files changed, 31 insertions, 5 deletions
diff --git a/comms/hylafax/patches/patch-ah b/comms/hylafax/patches/patch-ah index 4e05f10ec6c..091bfaf5324 100644 --- a/comms/hylafax/patches/patch-ah +++ b/comms/hylafax/patches/patch-ah @@ -1,6 +1,6 @@ -$NetBSD: patch-ah,v 1.4 2001/04/23 15:06:15 abs Exp $ +$NetBSD: patch-ah,v 1.5 2003/09/23 21:39:48 abs Exp $ ---- etc/faxaddmodem.sh.in.orig Tue Feb 6 04:54:06 2001 +--- etc/faxaddmodem.sh.in.orig Fri May 30 00:30:11 2003 +++ etc/faxaddmodem.sh.in @@ -46,6 +46,7 @@ SPOOL=@SPOOL@ @@ -10,17 +10,43 @@ $NetBSD: patch-ah,v 1.4 2001/04/23 15:06:15 abs Exp $ while [ x"$1" != x"" ] ; do case $1 in -s) SPEED=$2; shift;; -@@ -112,10 +113,11 @@ +@@ -112,10 +113,10 @@ OUT=$TMPDIR/addmodem$$ # temp fi SVR4UULCKN=$LIBEXEC/lockname # SVR4 UUCP lock name construction program ONDELAY=$LIBEXEC/ondelay # prgm to open devices blocking on carrier CAT="$CAT -u" # something to do unbuffered reads and writes -FAX=fax # identity of the fax user +FAX=@FAXUID@ # identity of the fax user -+FAXGID=@FAXGID@ GROUP=/etc/group # where to go for group entries - PROTOGID=$FAXGID # group who's gid we use for FAX user + PROTOGID=@FAXGID@ # group who's gid we use for FAX user -defPROTOGID=10 # use this gid if PROTOGID doesn't exist +defPROTOGID=117 # use this gid if PROTOGID doesn't exist MODEMCONFIG=$SPOOL/config # location of prototype modem config files RMCMD="$RM -f" # forced removal +@@ -809,7 +810,7 @@ SendToModem() + COMMAND=$* + sleep 1 # wait for previous kill + case $TARGET in +- *-linux*) ;; ++ *-linux*|*-netbsd*) ;; + *) onDev $STTY 0; sleep 1 ;; # reset the modem (hopefully) + esac + # start listening for output +@@ -1129,7 +1130,7 @@ if [ "$RESULT" = "OK" ]; then + 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'`. +- if [ "`echo $SUPPORT | $GREP \" \"`" = "" ]; then echo $SUPPORT; fi ++ if [ "`echo $SUPPORT | $GREP \ `" = "" ]; then echo $SUPPORT; fi + case "$MODEMCLASSES" in + "") giveup;; + "1") ModemType=Class1; configureClass1Modem;; +@@ -1140,7 +1141,7 @@ if [ "$RESULT" = "OK" ]; then + *) + DEFAULTCLASS=`echo $MODEMCLASSES | $SED 's/\([^ ]*\).*/\1/g'` + x="" +- while [ "`echo \" $MODEMCLASSES \" | $GREP \" $x \"`" = "" ]; do ++ while [ "`echo \ $MODEMCLASSES\ | $GREP \ $x\ `" = "" ]; do + echo $SUPPORT + prompt "How should it be configured [$DEFAULTCLASS]?" + read x |