summaryrefslogtreecommitdiff
path: root/print/foo2zjs/files/patch-getweb.in
diff options
context:
space:
mode:
Diffstat (limited to 'print/foo2zjs/files/patch-getweb.in')
-rw-r--r--print/foo2zjs/files/patch-getweb.in36
1 files changed, 10 insertions, 26 deletions
diff --git a/print/foo2zjs/files/patch-getweb.in b/print/foo2zjs/files/patch-getweb.in
index 99856cb4ca9b..41d62f3793f6 100644
--- a/print/foo2zjs/files/patch-getweb.in
+++ b/print/foo2zjs/files/patch-getweb.in
@@ -1,15 +1,15 @@
---- getweb.in 2009-05-04 09:10:55.000000000 -0500
-+++ getweb.in 2009-06-23 12:24:38.000000000 -0500
+--- getweb.in.orig 2011-05-17 13:44:16.000000000 +0400
++++ getweb.in 2011-06-19 21:29:51.249616941 +0400
@@ -11,7 +11,7 @@
- VERSION='$Id: getweb.in,v 1.85 2009/05/04 14:10:55 rick Exp $'
+ VERSION='$Id: getweb.in,v 1.103 2011/05/17 09:44:16 rick Exp $'
-WGETOPTS="--passive-ftp -q"
+FETCHOPTS="-p -m -o"
usage() {
cat <<EOF
-@@ -111,7 +111,7 @@
+@@ -119,7 +119,7 @@ getexe() {
exefile="$2"
shift; shift
@@ -18,7 +18,7 @@
error "Couldn't download $url/$exefile"
unzip -oj $exefile "$@"
rm $exefile
-@@ -125,7 +125,7 @@
+@@ -133,7 +133,7 @@ gettgz() {
file="$2"
what="$3"
@@ -27,23 +27,7 @@
error "Couldn't download $url/$file"
gunzip <$file | tar xvf - $what
rm $file
-@@ -193,13 +193,13 @@
- ;;
- 2200dl|2200)
- getexe \
-- ftp://ftp.minolta-qms.com/pub/crc/out_going/win2000 m22dlicc.exe \
-+ http://printer.konicaminolta.net/drivers/win2000 m22dlicc.exe \
- "*.icm"
- copyright "(c) Copyright Minolta-QMS 1999"
- ;;
- 2300dl|2300)
- getexe \
-- ftp://ftp.minolta-qms.com/pub/crc/out_going/other m23dlicc.exe \
-+ http://printer.konicaminolta.net/drivers/other m23dlicc.exe \
- "*.icm"
- gettgz \
- http://foo2zjs.rkkda.com/icm km2430.tar.gz \
-@@ -212,7 +212,7 @@
+@@ -236,7 +236,7 @@ getone() {
BASE="$BASE/openmind/technic/swfw/mswprtdl.nsf/logdwl"
FILE="MC2300DL_v255.zip"
URL="$BASE?openagent&4CE486C20839C75AC1256D9E001EBD1F/\$File/$FILE"
@@ -52,7 +36,7 @@
echo "*** Now use a windows box to unzip and install $FILE ***"
;;
cpwl|pageworks)
-@@ -224,7 +224,7 @@
+@@ -252,7 +252,7 @@ getone() {
do
base=`basename $i .IC_`
mv $base.IC_ $base.ic_
@@ -60,8 +44,8 @@
+ msexpand $base.ic_
rm -f $base.ic_
done
- copyright "(c) Copyright Minolta-QMS 1998"
-@@ -332,7 +332,7 @@
+ fi
+@@ -383,7 +383,7 @@ getone() {
URL="$URL?driver=$driver&printer=$printer"
URL="$URL&.submit=Generate+PPD+file"
URL="$URL&show=1&.cgifields=shortgui&.cgifields=show"
@@ -70,7 +54,7 @@
error "Couldn't dowload $URL"
done
;;
-@@ -368,7 +368,7 @@
+@@ -420,7 +420,7 @@ getone() {
update)
url=${URLZJS}
file=foo2zjs.tar.gz