Commit graph

82 commits

Author SHA1 Message Date
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
wiz
db056fe3bc Remove some more outdated/broken mirror sites.
From Zafer Aydogan.
2007-05-23 23:48:52 +00:00
martti
8b869189b2 Remove trailing spaces. This will fix my problems with pkglint:
# pkglint -Wall
FATAL: ../../mk/fetch/sites.mk:56: Unknown line type.
2007-05-22 12:27:08 +00:00
wiz
00cb019610 Remove some outdated mirror sites. From Zafer Aydogan. 2007-05-21 22:42:22 +00:00
wiz
8bf04f2f48 Remove two mirror obsolete mirror sites, from Zafer Aydogan. 2007-05-20 08:54:36 +00:00
wiz
db449971c3 Remove gentoo mirror that does not resolve any longer. From Zafer Aydogan. 2007-05-20 08:53:40 +00:00
wiz
03fb57fcc5 Sync postgresql mirror list. 2007-05-20 08:52:29 +00:00
wiz
71203d2002 Remove two GNU ex-mirrors. 2007-03-04 10:53:17 +00:00
sketch
b1e7556614 The HTTP interface to ftp.fi.netbsd.org has a nasty 404 handler which results
in missing distfiles retrieving www.nic.funet.fi.file_not_found.html instead
of failing and carrying on to the next site.

Use FTP instead which does the right thing.
2007-02-09 15:33:19 +00:00
wiz
b9105fc685 Sync kde mirrors with reality a bit. 2007-01-27 06:32:37 +00:00
rillig
777113885f Backed out my previous change. The variable fetchdir needs to be a
relative path.

The error message nevertheless includes the full path.
2007-01-18 10:51:48 +00:00
rillig
39f6b30d1d It's more informative to use absolute pathnames in error messages than
just ".".
2007-01-10 14:31:35 +00:00
rillig
2edda5704a Better documentation for the "fetch" phase. 2007-01-02 17:54:32 +00:00
schmonz
a35f4e9517 Silence some longstanding noise in mail/qmail, caused by the fact
that its ${DISTFILES} is also a common ${PATCHFILES}, resulting in
the file being listed twice in ${_ALLFILES}. This one-line change
removes duplicate filenames from ${_ALLFILES}, mirroring an identical
transformation to ${ALLFILES} that used to do the trick. (The fetch
code, obviously, has since changed a bit.)

What the noise looked like:

$ cd pkgsrc/mail/qmail
$ make clean PKG_OPTIONS="netqmail"
make: "/home/build/trees/pkgsrc-current/mk/fetch/fetch.mk" line 133: warning: duplicate script for target "/home/build/trees/pkgsrc-current/distfiles/netqmail-1.05.tar.gz" ignored
make: "/home/build/trees/pkgsrc-current/mk/fetch/fetch.mk" line 133: warning: using previous script for "/home/build/trees/pkgsrc-current/distfiles/netqmail-1.05.tar.gz" defined here
===> Cleaning for qmail-1.03nb12
$

Tested in a bulk build by joerg@.
2006-12-29 20:14:57 +00:00
wiz
6d85aa556d mirrors.cloud9.net: No address associated with hostname; remove it 2006-12-10 11:30:16 +00:00
wiz
a05c8b0444 wustl GNU mirror is gone. 2006-12-10 11:28:40 +00:00
jdolecek
ff7e8ffa0d set ORS to space for _MASTER_RAND_AWK, so that the output would be the
in the format MASTER_SORT_REGEX expects when MASTER_SORT_RANDOM is off,
in order for MASTER_SORT to actually work when MASTER_SORT_RANDOM=YES
(default nowadays)

XXX testing stuff before committing would surely be a good idea
2006-11-25 21:33:39 +00:00
jdolecek
6b73f1c417 MASTER_SITE_GNOME - add a .cz mirror 2006-11-25 14:46:50 +00:00
obache
d997a0a7b7 Remove http://openoffice.behrsolutions.com/ from MASTER_SITE_OPENOFFICE.
Suggested by Zafer Aydogan in PR 32111.
2006-11-12 12:10:46 +00:00
drochner
33ea4f3b88 add MASTER_SITE_GENTOO, from FreeBSD
cvs: ----------------------------------------------------------------------
2006-10-27 13:38:52 +00:00
dsainty
980d6a91d4 Add an (up to date!) HTTP mirror for KDE sources, the first HTTP site in the preferred list on http://download.kde.org. 2006-10-17 12:14:03 +00:00
mishka
0f000d2afb pkg/34695: Static list of package master sites may (and often will)
lead to overloads of very first distribution site. Moreover, if first
site in the list is not available (often seen for sourceforge mirrors)
you have to wait for timeout each time. To distribute load on master
distribution sites and to make second problem not so annoying randomly
intermix list of MASTER_SITES with MASTER_SORT_RANDOM feature. Any of
MASTER_SORT and MASTER_SORT_REGEX can be applied later.

The feature is turned ON by default and is disabled for PKG_DEVELOPERs
or if MASTER_SORT_RANDOM=no.
2006-10-08 11:37:38 +00:00
rillig
ae06ae6696 Meta-packages that had DIST_SUBDIR set (for whatever reason) tried to
fetch files with an empty name, for example "geda/".

The problem was that the expression ${LIST:S,^,${DIST_SUBDIR}/,} results
in ${DIST_SUBDIR}/ when ${LIST} is empty. This is surprising but matches
the documentation in the manual page, so this cannot be called a bug.

The proper fix is to use ${LIST:@f@${DIST_SUBDIR}/${f}@} instead.

Noticed by Don Woodstock on #netbsd-code.
2006-10-07 12:22:06 +00:00
salo
ede2607dbc Adjust MASTER_SITE_MOZILLA. 2006-09-25 14:13:17 +00:00
wiz
9d3304f7eb Update MASTER_SITES (mirror.switch.ch).
From Jukka Salmi in PR 34457.
2006-09-03 10:21:52 +00:00
obache
ee65247b9c Added http://qgpop.dl.sourceforge.jp/ in MASTER_SITE_SOURCEFORGE_JP. 2006-09-02 15:10:38 +00:00
obache
5624d01004 SUNSITE in Tokyo University of Science has been closed,
so remove sunsite.{tus,sut}.ac.jp
2006-09-02 09:07:03 +00:00
obache
a76da5187a Canonical name of SourceForge.jp's DNS round robin download server is
`download', not `downloads'.
2006-09-02 08:13:07 +00:00
perry
132c931981 add an http: urls for gnome and gnu for the benefit of those with
broken ftp proxies
2006-08-06 04:56:50 +00:00
jlam
f3381a1115 Typo in comment. 2006-08-03 14:02:58 +00:00
tron
03fcef2986 Removed dead mirror "ftp.uk.kde.org" from list of KDE master sites. 2006-08-02 15:31:02 +00:00
uebayasi
7e4fbabf50 http://prdownloads.sourceforge.jp/ doesn't work for me. Remove it. 2006-08-02 07:09:52 +00:00
jlam
c489860d62 Whenever we invoke a recursive make, we need to ensure that the proper
environment ${PKGSRC_MAKE_ENV} is also passed along.  Create a
convenience variable RECURSIVE_MAKE that does exactly this and that
can be used in place of MAKE when invoking make recursively.

Use RECURSIVE_MAKE everywhere in pkgsrc/mk that we invoke make
recursively.
2006-07-27 21:46:45 +00:00
jlam
ccdf6dbe01 Rename "SITES_* to "SITES.*" for file-specific lists of sites from which
to fetch the file.  This completes the renaming described in revision
1.1799 of bsd.pkg.mk.
2006-07-27 18:48:02 +00:00
jlam
182dc839b5 Document the targets in fetch-list.mk. 2006-07-27 17:29:57 +00:00
jlam
1796f4ff8a Note that "fetch-list" is a public target. 2006-07-27 17:28:38 +00:00
jlam
bac7fb376d Remove an unnecessary recursive make invocation. 2006-07-27 17:23:16 +00:00
jlam
cb7b7bfbd8 Replace this:
for i in `cmd`; do ...; done

with this:

	cmd | while read i; do ...; done
2006-07-27 17:14:56 +00:00