[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: problem using JIGDO-EASY2WIN



Hello,

On Mon, May 20, 2002 at 11:54:02AM +0530, Kunal Shah wrote:
> I am using JIGDO-EASY2WIN for downloading debian potato.
[snip]
> I know the problem. The machine running jigdo is behind firewall. 
> One solution I could see is , to change the mode to passive , but I
> don't know how to do it in jigdo.

You need to add a --passive-ftp switch in two places in the jigdo-easy
script. Load "jigdo-easy" into an editor and first change this:

fetch() {
    if test "$#" -eq 0; then return 0; fi
    wget --user-agent="jigdo-easy/2.1 ($wgetVersion)" \
         --no-directories --timestamping "$@" || return 1

to this:

fetch() {
    if test "$#" -eq 0; then return 0; fi
    wget --passive-ftp --user-agent="jigdo-easy/2.1 ($wgetVersion)" \
         --no-directories --timestamping "$@" || return 1

The second invocation is a little below the first one:

     wget --user-agent="jigdo-easy/2.1 ($wgetVersion)" \
          --no-directories --no-parent "$@")

Change this to:

     wget --passive-ftp --user-agent="jigdo-easy/2.1 ($wgetVersion)" \
          --no-directories --no-parent "$@")

Hope this helps,

  Richard

-- 
  __   _
  |_) /|  Richard Atterer     |  CS student at the Technische  |  GnuPG key:
  | \/¯|  http://atterer.net  |  Universität München, Germany  |  0x888354F7
  ¯ '` ¯


-- 
To UNSUBSCRIBE, email to debian-cd-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org



Reply to: