pkgsrc-Changes archive

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

CVS commit: pkgsrc/mk/fetch



Module Name:    pkgsrc
Committed By:   jperkin
Date:           Wed Feb 21 10:53:28 UTC 2024

Modified Files:
        pkgsrc/mk/fetch: fetch.mk

Log Message:
mk/fetch: Remove -O from curl's FETCH_AFTER_ARGS.

Perhaps this was required in some ancient version of curl, but in any modern
version having both "-o filename" and "-O" (which means to use the remote
filename) only results in "Warning: Got more output options than URLs" messages
for every single download.


To generate a diff of this commit:
cvs rdiff -u -r1.75 -r1.76 pkgsrc/mk/fetch/fetch.mk

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/mk/fetch/fetch.mk
diff -u pkgsrc/mk/fetch/fetch.mk:1.75 pkgsrc/mk/fetch/fetch.mk:1.76
--- pkgsrc/mk/fetch/fetch.mk:1.75       Tue Aug  4 21:54:46 2020
+++ pkgsrc/mk/fetch/fetch.mk    Wed Feb 21 10:53:28 2024
@@ -1,4 +1,4 @@
-# $NetBSD: fetch.mk,v 1.75 2020/08/04 21:54:46 rillig Exp $
+# $NetBSD: fetch.mk,v 1.76 2024/02/21 10:53:28 jperkin Exp $
 
 .if empty(INTERACTIVE_STAGE:Mfetch) && empty(FETCH_MESSAGE:U)
 _MASTER_SITE_BACKUP=   ${MASTER_SITE_BACKUP:=${DIST_SUBDIR}${DIST_SUBDIR:D/}}
@@ -268,7 +268,7 @@ _FETCH_BEFORE_ARGS.curl=    ${PASSIVE_FETCH
                                ${FETCH_TIMEOUT:D--speed-time ${FETCH_TIMEOUT}} \
                                ${FETCH_PROXY:D--proxy ${FETCH_PROXY:Q}} \
                                ${FETCH_USE_IPV4_ONLY:D--ipv4}
-_FETCH_AFTER_ARGS.curl=                -O # must be here to honor -o option
+_FETCH_AFTER_ARGS.curl=                # empty
 _FETCH_RESUME_ARGS.curl=       -C -
 _FETCH_OUTPUT_ARGS.curl=       -o
 _FETCH_CMD.curl=               ${PKGSRC_SETENV} \



Home | Main Index | Thread Index | Old Index