aboutsummaryrefslogtreecommitdiffstats
path: root/testing/hylafaxplus/common-functions-busybox-awk.patch
diff options
context:
space:
mode:
authorRobert Boisvert <rdboisvert@gmail.com>2019-05-15 09:52:38 +0000
committerFrancesco Colista <fcolista@alpinelinux.org>2019-05-15 10:29:21 +0000
commit59639c312f43102dab0ad51d92580c6fbc86bfeb (patch)
tree246509266753897d2318460ae06ed25d3ab4f709 /testing/hylafaxplus/common-functions-busybox-awk.patch
parent8b6985a8b04f7994386b5f146366ede67556ac89 (diff)
testing/hylafaxplus: address other bug with awk busybox
Diffstat (limited to 'testing/hylafaxplus/common-functions-busybox-awk.patch')
-rw-r--r--testing/hylafaxplus/common-functions-busybox-awk.patch19
1 files changed, 19 insertions, 0 deletions
diff --git a/testing/hylafaxplus/common-functions-busybox-awk.patch b/testing/hylafaxplus/common-functions-busybox-awk.patch
index 3e9ddd6031b..b217b20b7f8 100644
--- a/testing/hylafaxplus/common-functions-busybox-awk.patch
+++ b/testing/hylafaxplus/common-functions-busybox-awk.patch
@@ -20,4 +20,23 @@ index 38049e3..54cfd6b 100644
if [ $THISLEN -gt $ITEMSIZE ]; then ITEMSIZE=$THISLEN; fi
done
}
+@@ -146,12 +146,12 @@
+ } p("faxstatus", status);
+ next;
+ }
+- /^[!]*post/ { p("files_"++nfiles, $4); p("filetype_"nfiles, "PostScript"); next; }
+- /^[!]*tiff/ { p("files_"++nfiles, $4); p("filetype_"nfiles, "TIFF"); next; }
+- /^[!]*pdf/ { p("files_"++nfiles, $4); p("filetype_"nfiles, "PDF"); next; }
+- /^[!]*pcl/ { p("files_"++nfiles, $4); p("filetype_"nfiles, "PCL"); next; }
+- /^page:/ { p("pins_"++npins, $4); next; }
+- /^data:/ { p("files_"++nfiles, $4); next; }
++ /^[!]*post/ { ++nfiles; p("files_"nfiles, $4); p("filetype_"nfiles, "PostScript"); next; }
++ /^[!]*tiff/ { ++nfiles; p("files_"nfiles, $4); p("filetype_"nfiles, "TIFF"); next; }
++ /^[!]*pdf/ { ++nfiles; p("files_"nfiles, $4); p("filetype_"nfiles, "PDF"); next; }
++ /^[!]*pcl/ { ++nfiles; p("files_"nfiles, $4); p("filetype_"nfiles, "PCL"); next; }
++ /^page:/ { ++npins; p("pins_"npins, $4); next; }
++ /^data:/ { ++nfiles; p("files_"nfiles, $4); next; }
+ /^poll/ { p("poll", " -p"); next; }
+ # Only parse remaining valid lines and allows for colons to appear in the value part
+ /^[a-z]+:/ { str = $0; sub($1":", "", str); p($1, str); next; }