summaryrefslogtreecommitdiff
path: root/print/foo2zjs/files/patch-getweb.in
diff options
context:
space:
mode:
authorTijl Coosemans <tijl@FreeBSD.org>2017-01-12 20:20:08 +0000
committerTijl Coosemans <tijl@FreeBSD.org>2017-01-12 20:20:08 +0000
commitcf90ce864e6be733fb3810877b7cabc804084e17 (patch)
treed53eecc315af0499a25d3fbaef60b99471525105 /print/foo2zjs/files/patch-getweb.in
parentUpdate to 0.24.0 (diff)
Add support for HBPLv1 printers with patch from
https://www.cybercom.net/~dcoffin/hbpl/ Also fix patch-getweb.in: remove -o from FETCHOPTS because fetch is sometimes executed without output file. PR: 211754 Submitted by: Oliver Kett <freebsd@broken-wire.de>
Diffstat (limited to 'print/foo2zjs/files/patch-getweb.in')
-rw-r--r--print/foo2zjs/files/patch-getweb.in10
1 files changed, 5 insertions, 5 deletions
diff --git a/print/foo2zjs/files/patch-getweb.in b/print/foo2zjs/files/patch-getweb.in
index 6857a8e2fa6d..d5c52cf5c855 100644
--- a/print/foo2zjs/files/patch-getweb.in
+++ b/print/foo2zjs/files/patch-getweb.in
@@ -5,7 +5,7 @@
VERSION='$Id: getweb.in,v 1.112 2013/12/25 21:00:11 rick Exp $'
-WGETOPTS="--passive-ftp -q"
-+FETCHOPTS="-p -m -o"
++FETCHOPTS="-p -m"
usage() {
cat <<EOF
@@ -14,7 +14,7 @@
shift; shift
- wget $WGETOPTS -O $exefile "$url/$exefile" ||
-+ fetch $FETCHOPTS $exefile "$url/$exefile" ||
++ fetch $FETCHOPTS -o $exefile "$url/$exefile" ||
error "Couldn't download $url/$exefile"
unzip -oj $exefile "$@"
rm $exefile
@@ -23,7 +23,7 @@
what="$3"
- wget $WGETOPTS -O $file "$url/$file" ||
-+ fetch $FETCHOPTS $file "$url/$file" ||
++ fetch $FETCHOPTS -o $file "$url/$file" ||
error "Couldn't download $url/$file"
gunzip <$file | tar xvf - $what
rm $file
@@ -50,7 +50,7 @@
URL="$URL&.submit=Generate+PPD+file"
URL="$URL&show=1&.cgifields=shortgui&.cgifields=show"
- wget $WGETOPTS -O PPD/$printer.ppd "$URL" ||
-+ fetch $FETCHOPTS PPD/$printer.ppd "$URL" ||
++ fetch $FETCHOPTS -o PPD/$printer.ppd "$URL" ||
error "Couldn't dowload $URL"
done
;;
@@ -59,7 +59,7 @@
url=${URLZJS}
file=foo2zjs.tar.gz
- wget $WGETOPTS -O $file $url/$file ||
-+ fetch $FETCHOPTS $file $url/$file ||
++ fetch $FETCHOPTS -o $file $url/$file ||
error "Couldn't download $url/$exefile"
mv getweb getweb.old
HERE=`pwd`