| @@ -1,14 +1,14 @@ | | | @@ -1,14 +1,14 @@ |
1 | # $NetBSD: fetch.mk,v 1.50 2011/02/10 10:46:45 tron Exp $ | | 1 | # $NetBSD: fetch.mk,v 1.51 2011/05/17 16:38:18 mspo Exp $ |
2 | | | 2 | |
3 | _MASTER_SITE_BACKUP= ${MASTER_SITE_BACKUP:=${DIST_SUBDIR}${DIST_SUBDIR:D/}} | | 3 | _MASTER_SITE_BACKUP= ${MASTER_SITE_BACKUP:=${DIST_SUBDIR}${DIST_SUBDIR:D/}} |
4 | _MASTER_SITE_OVERRIDE= ${MASTER_SITE_OVERRIDE:=${DIST_SUBDIR}${DIST_SUBDIR:D/}} | | 4 | _MASTER_SITE_OVERRIDE= ${MASTER_SITE_OVERRIDE:=${DIST_SUBDIR}${DIST_SUBDIR:D/}} |
5 | | | 5 | |
6 | # Where to put distfiles that don't have any other master site | | 6 | # Where to put distfiles that don't have any other master site |
7 | MASTER_SITE_LOCAL?= ${MASTER_SITE_BACKUP:=LOCAL_PORTS/} | | 7 | MASTER_SITE_LOCAL?= ${MASTER_SITE_BACKUP:=LOCAL_PORTS/} |
8 | | | 8 | |
9 | # Set up _ORDERED_SITES to work out the exact list of sites for every file, | | 9 | # Set up _ORDERED_SITES to work out the exact list of sites for every file, |
10 | # using the dynamic sites script, or ordering according to the master site | | 10 | # using the dynamic sites script, or ordering according to the master site |
11 | # list, MASTER_SORT_RANDOM randomization feature, or the patterns in | | 11 | # list, MASTER_SORT_RANDOM randomization feature, or the patterns in |
12 | # MASTER_SORT or MASTER_SORT_REGEX as appropriate. | | 12 | # MASTER_SORT or MASTER_SORT_REGEX as appropriate. |
13 | # No actual sorting is done until _ORDERED_SITES is expanded. | | 13 | # No actual sorting is done until _ORDERED_SITES is expanded. |
14 | # | | 14 | # |
| @@ -157,27 +157,27 @@ fetch-check-interactive: .USEBEFORE | | | @@ -157,27 +157,27 @@ fetch-check-interactive: .USEBEFORE |
157 | .endif | | 157 | .endif |
158 | | | 158 | |
159 | ###################################################################### | | 159 | ###################################################################### |
160 | ### do-fetch-file (PRIVATE) | | 160 | ### do-fetch-file (PRIVATE) |
161 | ###################################################################### | | 161 | ###################################################################### |
162 | ### do-fetch-file is a macro target that runs the "fetch" script to | | 162 | ### do-fetch-file is a macro target that runs the "fetch" script to |
163 | ### transfer the files from the appropriate sites if needed. | | 163 | ### transfer the files from the appropriate sites if needed. |
164 | ### | | 164 | ### |
165 | # | | 165 | # |
166 | # FETCH_CMD is the program used to fetch files for FETCH_USING=custom. | | 166 | # FETCH_CMD is the program used to fetch files for FETCH_USING=custom. |
167 | # It must understand fetching files located via URLs, | | 167 | # It must understand fetching files located via URLs, |
168 | # e.g. NetBSD's ftp, net/tnftp, etc. | | 168 | # e.g. NetBSD's ftp, net/tnftp, etc. |
169 | # | | 169 | # |
170 | # The following variables are all lists of options to pass to he command | | 170 | # The following variables are all lists of options to pass to the command |
171 | # used to do the actual fetching of the file. | | 171 | # used to do the actual fetching of the file. |
172 | # | | 172 | # |
173 | # FETCH_BEFORE_ARGS appear before all other options on the command line. | | 173 | # FETCH_BEFORE_ARGS appear before all other options on the command line. |
174 | # | | 174 | # |
175 | # FETCH_AFTER_ARGS appear after all other options on the command line. | | 175 | # FETCH_AFTER_ARGS appear after all other options on the command line. |
176 | # | | 176 | # |
177 | # FETCH_RESUME_ARGS appears just after FETCH_BEFORE_ARGS and is the set | | 177 | # FETCH_RESUME_ARGS appears just after FETCH_BEFORE_ARGS and is the set |
178 | # of options for causing the command to resume a previous transfer. | | 178 | # of options for causing the command to resume a previous transfer. |
179 | # | | 179 | # |
180 | # FETCH_OUTPUT_ARGS is a set of options for specifying the name of the | | 180 | # FETCH_OUTPUT_ARGS is a set of options for specifying the name of the |
181 | # local file that will hold the contents of the fetched file. | | 181 | # local file that will hold the contents of the fetched file. |
182 | # | | 182 | # |
183 | # FAILOVER_FETCH, if defined, will cause a checksum to be performed during | | 183 | # FAILOVER_FETCH, if defined, will cause a checksum to be performed during |