pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/mk/fetch Add FETCH_*_ARGS templates for curl.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/a6e052f18900
branches:  trunk
changeset: 546731:a6e052f18900
user:      obache <obache%pkgsrc.org@localhost>
date:      Sun Sep 07 08:17:39 2008 +0000

description:
Add FETCH_*_ARGS templates for curl.
Should be solution for PR 39208.

diffstat:

 mk/fetch/fetch.mk |  8 +++++++-
 1 files changed, 7 insertions(+), 1 deletions(-)

diffs (22 lines):

diff -r abb3dbece6f5 -r a6e052f18900 mk/fetch/fetch.mk
--- a/mk/fetch/fetch.mk Sun Sep 07 08:02:59 2008 +0000
+++ b/mk/fetch/fetch.mk Sun Sep 07 08:17:39 2008 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: fetch.mk,v 1.34 2008/05/22 16:27:22 joerg Exp $
+# $NetBSD: fetch.mk,v 1.35 2008/09/07 08:17:39 obache Exp $
 
 _MASTER_SITE_BACKUP=   ${MASTER_SITE_BACKUP:=${DIST_SUBDIR}${DIST_SUBDIR:D/}}
 _MASTER_SITE_OVERRIDE= ${MASTER_SITE_OVERRIDE:=${DIST_SUBDIR}${DIST_SUBDIR:D/}}
@@ -206,6 +206,12 @@
 _FETCH_RESUME_ARGS.wget=       -c
 _FETCH_OUTPUT_ARGS.wget=       -O
 
+_FETCH_BEFORE_ARGS.curl=       # empty
+_FETCH_BEFORE_ARGS.curl+=      ${PASSIVE_FETCH:D--ftp-pasv}
+_FETCH_AFTER_ARGS.curl=                -O # must be here to honer -o option
+_FETCH_RESUME_ARGS.curl=       -C -
+_FETCH_OUTPUT_ARGS.curl=       -o
+
 _FETCH_CMD=    ${SETENV} CHECKSUM=${_CHECKSUM_CMD:Q}                   \
                        CP=${TOOLS_CP:Q}                                \
                        ECHO=${TOOLS_ECHO:Q}                            \



Home | Main Index | Thread Index | Old Index