summaryrefslogtreecommitdiff
path: root/comms/hylafax/patches/patch-ah
diff options
context:
space:
mode:
authoradam <adam@pkgsrc.org>2005-01-27 16:22:37 +0000
committeradam <adam@pkgsrc.org>2005-01-27 16:22:37 +0000
commita56bf1eb4af9c48984160908dc09ecefb469b7cb (patch)
tree08e88a42a70d45d67765a63b91760e50f2987f4c /comms/hylafax/patches/patch-ah
parentd36d42c003006002c11fd71a7aeae805e998ded8 (diff)
downloadpkgsrc-a56bf1eb4af9c48984160908dc09ecefb469b7cb.tar.gz
Changes 4.2.1:
* fix CAN-2004-1182: hfaxd client/server authentication vulnerability (10 Jan 2005) * fix possible filename race in tiff2pdf (10 Jan 2005) * improve modern distinctive ring support, add NoAnswerVoice config feature, and enhance third-party getty interaction (1, 2 Jan 2005) * add support for etc/resetmodem (30 Dec 2004) * fix NOTIFY_FAXMASTER within notify (30 Dec 2004) * improve tiff2pdf and use it more (29 Dec 2004) * fix 300 dpi support for some receivers (28 Dec 2004) * cause faxsetup to double-check and fix attachment encoding setup (27 Dec 2004) * add uuencode support in pollrcvd (27 Dec 2004) * add support for base64-encode (27 Dec 2004) * check strftime with arguments, gcc-3.3 fix (23 Dec 2004) * initialize some variables in some scripts that may not be initialzed in setup.cache (23, 27 Dec 2004) * remove need to have separate "fax" user (22 Dec 2004) * fix parsing of AT+FCLASS=? response within faxaddmodem and probemodem (21 Dec 2004) * improve multi-line handling within notify (20 Dec 2004) * improve trap handling in faxaddmodem/probemodem (17 Dec 2004) * fix hfaxd from rejecting jobs scheduled for the past while the killtime is still in the future (15 Dec 2004) * drop ftp links from received notification e-mail (8 Dec 2004) * fix dial-and-answer feature (2 Dec 2004) * add NSF recognition for MFC-3100C (29 Nov 2004) * fix Class 1 support for services "0,1.0" (26 Nov 2004) * limit hfaxd jobs cache size (23 Nov 2004) * fix hfaxd ABOR command and trigger (23 Nov 2004) * fix error when hfaxd FIFO fills (23 Nov 2004) * document -age option for recvstats/xferfaxstats (23 Nov 2004) * add coversheet information into the q-file (23 Nov 2004) * fix documentation regarding DesiredEC (23 Nov 2004) * change minsp to minbr for consistency (23 Nov, 2 Dec 2004) * fix hfaxd problem with file descriptors (23 Nov 2004) * fix hfaxd from dying on ECONNABORTED (23 Nov 2004) * add -fpic to DSO build for non-x86 Linux (23 Nov 2004) * add CALL records to xferfaxlog and LogCalls config (16 Nov 2004) * fix/implement desireddf in faxsend and faxq (29 Oct 2004) * fix the filetype output for JPARM DOCUMENTS (14 Oct 2004) * add SHIELDED_DTMF option for CIDNumber (7 Oct 2004) * add Class1Resolutions, deprecate Class1ExtendedRes (20 Sep 2004) * fix a bug in notify when the job is killed (15 Sep 2004) * initialize supplementary groups when switching uid (13 Sep, 8 Dec 2004) * fix faxsend to retrain after receiving RTP (9 Sep 2004) * fix tiffcheck unit comparison error (1 Sep 2004) * fix misconfirmation of some ECM faxes (30 Aug 2004) * add fax batching support to faxq (30 Aug, 9 Sep 2004) * ignore garbage after sending TCF data (26 Aug 2004) * fix truncation of filenames in faxcron (26 Aug 2004) * add configure support for libtiff 3.7 (25 Aug 2004) * extend short send-HDLC timeouts (18 Aug 2004) * add a pause after receiving MCF on non-ECM send sessions (18 Aug 2004) * fix broken fax polling (17 Aug 2004) * add several timing enhancements for stressed servers (16 Aug, 10, 15 Sep, 14 Oct 2004)
Diffstat (limited to 'comms/hylafax/patches/patch-ah')
-rw-r--r--comms/hylafax/patches/patch-ah18
1 files changed, 7 insertions, 11 deletions
diff --git a/comms/hylafax/patches/patch-ah b/comms/hylafax/patches/patch-ah
index 091bfaf5324..e51808cd80b 100644
--- a/comms/hylafax/patches/patch-ah
+++ b/comms/hylafax/patches/patch-ah
@@ -1,6 +1,6 @@
-$NetBSD: patch-ah,v 1.5 2003/09/23 21:39:48 abs Exp $
+$NetBSD: patch-ah,v 1.6 2005/01/27 16:22:37 adam Exp $
---- etc/faxaddmodem.sh.in.orig Fri May 30 00:30:11 2003
+--- etc/faxaddmodem.sh.in.orig 2004-12-22 13:44:05.000000000 +0000
+++ etc/faxaddmodem.sh.in
@@ -46,6 +46,7 @@
SPOOL=@SPOOL@
@@ -10,12 +10,8 @@ $NetBSD: patch-ah,v 1.5 2003/09/23 21:39:48 abs Exp $
while [ x"$1" != x"" ] ; do
case $1 in
-s) SPEED=$2; shift;;
-@@ -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
+@@ -115,7 +116,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
-defPROTOGID=10 # use this gid if PROTOGID doesn't exist
@@ -32,7 +28,7 @@ $NetBSD: patch-ah,v 1.5 2003/09/23 21:39:48 abs Exp $
*) onDev $STTY 0; sleep 1 ;; # reset the modem (hopefully)
esac
# start listening for output
-@@ -1129,7 +1130,7 @@ if [ "$RESULT" = "OK" ]; then
+@@ -1152,7 +1153,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'`.
@@ -41,12 +37,12 @@ $NetBSD: patch-ah,v 1.5 2003/09/23 21:39:48 abs Exp $
case "$MODEMCLASSES" in
"") giveup;;
"1") ModemType=Class1; configureClass1Modem;;
-@@ -1140,7 +1141,7 @@ if [ "$RESULT" = "OK" ]; then
+@@ -1163,7 +1164,7 @@ EOF
*)
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]?"
+ prompt "How should it be configured [$DEFAULTCLASS]?";
read x