pkgsrc-Users archive

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

FETCH_BEFORE_ARGS



Hi,

Where should I set FETCH_BEFORE_ARGS?

I want to disable IPv6 but setting this in /etc/mk.conf seems to have no 
effect...

Martti



# grep FETCH_BEFORE_ARGS /etc/mk.conf
FETCH_BEFORE_ARGS=-4

# ps axww | grep ftp
20426 ttyp2 I+ 0:00.01 /bin/sh /home/pkgsrc/mk/fetch/fetch ftp://ftp.fu-berlin.de/misc/editors/vim/patches/7.2/ ftp://ftp.fi.NetBSD.org/pub/NetBSD/packages/distfiles/vim7.2/ ftp://ftp.NetBSD.org/pub/NetBSD/packages/distfiles/vim7.2/ http://ftp.NetBSD.org/pub/NetBSD/packages/distfiles/vim7.2/ ftp://ftp.FreeBSD.org/pub/FreeBSD/distfiles/vim7.2/ 24775 ttyp2 I+ 0:00.00 /bin/sh -c set -e;\t\t\t\t\t\t\t\t unsorted_sites="ftp://ftp.vim.org/pub/editors/vim/patches/7.2/ ftp://ftp.fu-berlin.de/misc/editors/vim/patches/7.2/";\t\t\t sites=" $unsorted_sites ftp://ftp.fi.NetBSD.org/pub/NetBSD/packages/distfiles/vim7.2/ ftp://ftp.NetBSD.org/pub/NetBSD/packages/distfiles/vim7.2/ http://ftp.NetBSD.org/pub/NetBSD/packages/distfiles/vim7.2/ ftp://ftp.FreeBSD.org/pub/FreeBSD/distfiles/vim7.2/";\t\t cd /home/distfiles &&\t\t\t /usr/bin/env CHECKSUM=/usr/bin/env\\ DIGEST=/usr/pkg/bin/digest\\ CAT=/bin/cat\\\t\\\t\\ ECHO=echo\\ SED=/usr/bin/sed\\\t\\\t\\\t\\ TEST=test\\\t\\\t\\\t\\\t\\\t\\ /bin/sh\\ /home/pkgsrc/mk/checksum/checksum\t\t\t CP=/bin/cp\t\t\t\t ECHO=echo\t\t\t\t FETCH_CMD=/usr/bin/ftp\t FETCH_BEFORE_ARGS= FETCH_AFTER_ARGS= FETCH_RESUME_ARGS=-R FETCH_OUTPUT_ARGS=-o MKDIR=/bin/mkdir MV=/bin/mv\t\t TEST=test TOUCH=/usr/bin/touch\t WC=/usr/bin/wc\t\t\t\t /bin/sh /home/pkgsrc/mk/fetch/fetch -f /usr/pkgsrc/editors/vim-share/../../editors/vim-share/distinfo -d vim7.2 7.2.184 $sites 24918 ttyp2 S+ 0:00.01 /usr/bin/ftp ftp://ftp.vim.org/pub/editors/vim/patches/7.2/7.2.184

Same thing if I set it on my shell with

# export FETCH_BEFORE_ARGS=-4
# echo $FETCH_BEFORE_ARGS
-4


Home | Main Index | Thread Index | Old Index