diff options
| author | Francesco Colista <fcolista@alpinelinux.org> | 2019-05-22 10:50:42 +0000 |
|---|---|---|
| committer | Francesco Colista <fcolista@alpinelinux.org> | 2019-05-22 11:26:13 +0000 |
| commit | e08a203bb1b8603ad8b3ecc3f197f186117fe39c (patch) | |
| tree | 966a4e4727390200914a486ee36c791161995126 /testing/hylafaxplus/common-functions-busybox-awk.patch | |
| parent | e024847d5abb0464afc10d9b557eaf9eaccc7261 (diff) | |
| download | aports-e08a203bb1b8603ad8b3ecc3f197f186117fe39c.tar.bz2 aports-e08a203bb1b8603ad8b3ecc3f197f186117fe39c.tar.xz | |
community/hylafaxplus: moved from testing, added -openrc subpackage
Diffstat (limited to 'testing/hylafaxplus/common-functions-busybox-awk.patch')
| -rw-r--r-- | testing/hylafaxplus/common-functions-busybox-awk.patch | 42 |
1 files changed, 0 insertions, 42 deletions
diff --git a/testing/hylafaxplus/common-functions-busybox-awk.patch b/testing/hylafaxplus/common-functions-busybox-awk.patch deleted file mode 100644 index b217b20b7f..0000000000 --- a/testing/hylafaxplus/common-functions-busybox-awk.patch +++ /dev/null @@ -1,42 +0,0 @@ -diff --git a/util/common-functions.sh.in b/util/common-functions.sh.in -index 38049e3..54cfd6b 100644 ---- a/util/common-functions.sh.in -+++ b/util/common-functions.sh.in -@@ -40,7 +40,7 @@ setInfoSize() - DICTTIMETORECV DICTSIGNALRATE DICTDATAFORMAT DICTERRCORRECT \ - DICTCALLID1 DICTCALLID2 DICTCALLID3 DICTCALLID4 DICTCALLID \ - DICTCALLID6 DICTCALLID7 DICTRECEIVEDON DICTCOMMID; do -- THISLEN="`eval echo \\\""$"$ITEM\\\" | $AWK 'BEGIN {L=0} length>L {L=length} END {print L}' | $SED 's/ //g'`" -+ THISLEN=`eval 'echo ${#'$ITEM'}'` - if [ $THISLEN -gt $INFOSIZE ]; then INFOSIZE=$THISLEN; fi - done - } -@@ -57,7 +57,7 @@ setItemSize() - DICTCALLS DICTPAGES DICTATTEMPTS DICTDIRNUM DICTRECEIVER DICTQUALITY \ - DICTPAGEWIDTH DICTPAGELENGTH DICTDATAFORMAT DICTREMOTEEQUIPMENT \ - DICTREMOTESTATION DICTSIGNALRATE; do -- THISLEN="`eval echo \\\""$"$ITEM\\\" | $AWK 'BEGIN {L=0} length>L {L=length} END {print L}' | $SED 's/ //g'`" -+ THISLEN=`eval 'echo ${#'$ITEM'}'` - 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; } - |
