Source-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/mk/fetch mk/fetch/fetch.mk: Add ofhttp as fetcher



details:   https://anonhg.NetBSD.org/pkgsrc/rev/f6c7c0908582
branches:  trunk
changeset: 429811:f6c7c0908582
user:      js <js%pkgsrc.org@localhost>
date:      Sat Apr 25 11:21:06 2020 +0000

description:
mk/fetch/fetch.mk: Add ofhttp as fetcher

diffstat:

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

diffs (22 lines):

diff -r 07bed571579b -r f6c7c0908582 mk/fetch/fetch.mk
--- a/mk/fetch/fetch.mk Sat Apr 25 11:20:19 2020 +0000
+++ b/mk/fetch/fetch.mk Sat Apr 25 11:21:06 2020 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: fetch.mk,v 1.71 2020/03/30 22:44:26 rillig Exp $
+# $NetBSD: fetch.mk,v 1.72 2020/04/25 11:21:06 js Exp $
 
 .if empty(INTERACTIVE_STAGE:Mfetch) && empty(FETCH_MESSAGE:U)
 _MASTER_SITE_BACKUP=   ${MASTER_SITE_BACKUP:=${DIST_SUBDIR}${DIST_SUBDIR:D/}}
@@ -252,6 +252,12 @@
                                ${FETCH_PROXY.https:Dhttps_proxy=${FETCH_PROXY.https:Q}} \
                                ${TOOLS_PATH.wget}
 
+_FETCH_BEFORE_ARGS.ofhttp=     # empty (or --insecure to ignore SSL errors)
+_FETCH_AFTER_ARGS.ofhttp=      # empty
+_FETCH_RESUME_ARGS.ofhttp=     -c
+_FETCH_OUTPUT_ARGS.ofhttp=     -o
+_FETCH_CMD.ofhttp=             ${PKGSRC_SETENV} ofhttp
+
 # Protocol-specific variables are passed as environment variables.
 # Generic FETCH_PROXY is passed via the --proxy argument to support
 # other protocols like socks4/socks5.



Home | Main Index | Thread Index | Old Index