Commit graph

119 commits

Author SHA1 Message Date
joerg
1f5cd4138a Optionally request passive FTP for wget. 2009-02-10 19:25:09 +00:00
joerg
d02ad103b8 Change the way the fetch process is organised as proposed on tech-pkg:
- Introduce FETCH_USING, which specifies the mechanism to use; possible
  values are ftp, fetch, curl, wget, manual and custom.
- Depend on the correct tool/program if not using manual or custom.
- For manual, just use /usr/bin/false to bail out if a distfile is
  missing.
- For custom, FETCH_CMD and related variables are used as before.
- Default value is ftp.
2009-02-10 18:55:54 +00:00
wiz
f4d4d06ea1 Break out of fetch loop if cd to _DISTDIR fails.
From Anon Ymous.
2009-02-08 23:16:08 +00:00
taca
beb4f88cfa Remove extra debug codes which noted by Ryo HAYASAKA as PR pkg/40175. 2008-12-15 09:01:30 +00:00
rillig
5a901cfed5 Added a -v flag to the verify_file function, which in case of a
verification failure prints a useful and concrete error message.
2008-12-14 14:09:32 +00:00
obache
581742f7e4 Add a missing end of slash. 2008-12-02 12:58:59 +00:00
obache
fe2a3978cf Update MASTER_SITE_MOZILLA with today's primary and secondary mirrors. 2008-12-01 11:49:20 +00:00
obache
96bb16916f Remove belnet from MASTER_SITE_SOURCEFORGE.
It is not listed in mirror picker and can't resolve the name.
Noticed by Zafer Aydogan via private mail.
2008-11-25 05:21:35 +00:00
joerg
92b7363904 Allow use of fetch as FETCH_CMD. 2008-10-08 15:39:07 +00:00
obache
dc6f08ef29 Fix a typo in comment. 2008-09-24 05:33:17 +00:00
rillig
930598a2d4 Corrected the usage message. 2008-09-15 21:07:46 +00:00
obache
60ce23921c Add FETCH_*_ARGS templates for curl.
Should be solution for PR 39208.
2008-09-07 08:17:39 +00:00
obache
233258e7f0 Remove ftp.scarlet.be from MASTER_SITE_KDE, service suspended over a month.
Noticed by Zafer Aydogan via private mail.
2008-08-25 02:40:33 +00:00
obache
c39b0a3e62 Remove ftp.scarlet.be from MASTER_SITE_MOZILLA_ALL.
It was uncompleted and now service suspended, noticed by Zafer Aydogan.

While here, update MSTER_SITE_MOZILLA taken from mirrors list:
  http://www.mozilla.org/mirrors.html
2008-08-24 05:46:43 +00:00
obache
f6fb61c8e9 Update MASTER_SITE_PGSQL, but it is not used anywhere... 2008-08-23 12:37:48 +00:00
obache
478e76cf18 Update MASTER_SITE_MYSQL, taken from current download page.
Noticed some dead hosts by Zafer Aydogan via private mail.
2008-08-23 03:07:33 +00:00
obache
8f263e90c4 Update MASTER_SITE_GENTOO, taken from http://www.gentoo.org/main/en/mirrors2.xml
Noticed some dead hosts by Zafer Aydogan via private mail.
2008-08-23 02:21:13 +00:00
heinz
600f9fc51c Removed stale mirrors for Apache and synchronized pkgsrc list with
http://www.apache.org/mirrors/. Tried to introduce some geographic
diversity (America, Europe, Asia, Australia).
2008-06-18 18:40:36 +00:00
tnn
9f2af91942 Add MASTER_SITE_XORG 2008-05-24 19:41:48 +00:00
joerg
4a202fc0c8 Add ftp as tool. On NetBSD and DragonFly, this will use the system
version of tnftp, otherwise it will use net/tnftp. Require ftp as
bootstrap dependency when the package has files to fetch.

The dependency is currently unconditional and FETCH_CMD is set to
TOOLS_PATH.ftp by default.
2008-05-22 20:11:55 +00:00
joerg
65244e1c32 Move digest dependency into checksum and fetch part.
Make _ALL_FILES and in turn _CKSUMFILES available earlier.
Use it to only depend on digest if _CKSUMFILES is non-empty.
NO_CHECKSUM will now only skip the checksum and checksum-phase
targets. FAILOVER_FETCH will independently check the sums on
distfiles and depend on digest, fixing the remaining issues
originally raised in PR 34914.
2008-05-22 16:27:22 +00:00
joerg
caa9b2eebf Move handling of pkg_install version into flavor. Add an explicit
phase pkg_install-depends before bootstrap-depends that just tries to
install a new pkg_install if the current version is too old. Still
keep it as bootstrap dependency for the bulk build code.
For NetBSD, PKG_TOOLS_BIN has to be computed in shell code due to a make
bug.

OK: jlam@
2008-04-03 14:07:51 +00:00
wiz
a35121ac8e Remove outdated/non-existing mysql mirror sites. 2008-03-26 06:43:14 +00:00
xtraeme
5285714147 Add two spain mirrors to MASTER_SITE_KDE. 2008-02-21 11:52:21 +00:00
tnn
3abd1a38e8 Remove ftp.informatik.hu-berlin.de from MASTER_SITES_GNU since it doesn't
seem to support passive mode. From Alver on #pkgsrc
In it's place, add mirrors.kernel.org and ftp.sunet.se instead.
2008-02-03 22:23:30 +00:00
obache
2d70679191 Mirror site of sourceforge.jp, keihanna and globalbase come back. 2008-01-21 02:15:45 +00:00
ghen
9ec634a248 Update list of PostgreSQL mirrors, from:
http://wwwmaster.postgresql.org/download/mirrors-ftp

Include http mirrors.
2008-01-09 12:57:05 +00:00
obache
bfcf1f5783 Mirrors of SourceForgeJP seems changed, noticed by Zafer Aydogan in private mail.
+ jaist, iij
- keihanna, globalbase

Move round-robin host name to last, since it refers old mirros now.
2008-01-03 14:34:08 +00:00
obache
6456ebb5c8 Change MOZILLA master sites difinitions, related to PR 37379.
There are three types Mozilla mirrors.
(http://www.mozilla.org/mirroring.html)
 * mozilla-current
        contains only the current version of Firefox and Thunderbird
 * mozilla-release
        contains Firefox, Thunderbird, and Sunbird releases
 * mozilla-all
        complete archive

Define following variables for mozilla master sites:
        MASTER_SITE_MOZILLA_ALL = mozilla-all
        MASTER_SITE_MOZILLA     = mozilla-release
and change some packages to use appropriate variable.

Update contents of MASTER_SITE_MOZILLA with master and primary mirrors
taken from http://www.mozilla.org/mirrors.html and add some sample definitions.
2007-12-22 07:22:04 +00:00
obache
2a5240ee93 Removing '||' does not mean 'simpler' (hi rillig). 2007-12-16 02:51:24 +00:00
heinz
c500777638 Updated list of sourceforge mirrors according to
http://sourceforge.net/project/mirror_picker.php and sourceforge.jp
2007-12-11 19:55:06 +00:00
rillig
9fab8079e7 Removed _INTERACTIVE_COOKIE, after asking on tech-pkg if anyone needs
it. It had only been used to change the "nerrors" variable in bulk
builds, but this variable is not used further anyway.
2007-12-01 11:11:53 +00:00
rillig
d493e10615 If a package defines FETCH_MESSAGE, show that instead of the generic
instructions.
2007-12-01 10:56:31 +00:00
rillig
67974dcb6a Added some variables for "bmake show-all-fetch". 2007-11-02 09:02:57 +00:00
rillig
6974a32cea Simpler .include lines. 2007-10-30 23:35:51 +00:00
rillig
6ae88c613d Made the code simpler and documented it. 2007-10-13 13:49:19 +00:00
xtraeme
9bc710da92 Move belnet sourceforge mirror to the last position, it's unreachable
for me.
2007-09-11 17:22:18 +00:00
joerg
4f84d697c2 If DISTDIR points to a non-existing location and a package has neither
PATCHFILES nor DISTFILES, make fetch would complain about an unbuildable
dependency. Fix this by explicitly checking that _ALLFILES is not empty.
Reported by Sean Boudreau.
2007-09-06 20:54:53 +00:00
heinz
cd9a231f36 Removed mirror qgpop.dl.sourceforge.jp. It is not listed anymore on the
sourceforge.jp download pages and was not restored since this topic came
up in mid-July.
2007-08-19 19:16:58 +00:00
rillig
fca91bf3c4 Added a variable DEFAULT_DISTFILES that can be used when adding
distfiles to DISTFILES.
2007-08-16 07:42:53 +00:00
joerg
1024803ccc Checksum checks only make sense when distinfo is also present, so
move this into the conditional.
2007-08-14 14:19:19 +00:00
obache
1d2a0b073b Move ${DISTDIR} write permission check to just before really need to write.
Patch provided by Aleksej Saushev in PR 36473.
2007-08-04 15:00:29 +00:00
jlam
13157ce5e2 Teach mirror-distfiles to use emul-fetch if EMUL_PLATFORMS is defined so
that mirror sites will grab all of the distfiles, not just the ones that
are for the native platform.
2007-08-01 15:24:51 +00:00
joerg
ced3f13079 Don't depend on digest if FAILOVER_FETCH and NO_CHECKSUM are set
together.
2007-07-27 14:24:53 +00:00
heinz
e37c99a149 Updated list of sourceforge mirrors according to
http://sourceforge.net/project/mirror_picker.php.
2007-07-15 09:53:38 +00:00
obache
01b24d20c2 No need to pass "." as directory, it is default value. 2007-07-14 05:51:11 +00:00
obache
1fcc9dd138 Allow empty DIST_SUBDIR, need to fix PR 35494. 2007-07-14 05:45:35 +00:00
obache
7ca7b65ff4 Define some variables for using FETCH_CMD=wget. 2007-06-12 09:54:52 +00:00
obache
a22e60a21b Add two mirror servers for sourceforge.jp:
* IIJ
 * GLOBALBASE PROJECT
2007-06-11 08:17:54 +00:00
obache
22a6337ce1 Add ring servers to MASTER_SITE_TEX_CTAN. 2007-05-26 04:07:11 +00:00