Commit graph

233 commits

Author SHA1 Message Date
dsainty
0757ea0f74 As discussed on-list, remove www.ibiblio.org from MASTER_SITE_APACHE so that
its habit of returning HTTP 200 on files it doesn't have will not corrupt
resuming file downloads.

Also remove from MASTER_SITE_OPENOFFICE, for the same reason and also because
their openoffice mirror appears empty anyway.

There are no other instances of www.ibiblio.org in the mirror lists.
2015-03-26 07:54:51 +00:00
tnn
68a7fc3fdc '-' is a valid character in github account names 2015-03-12 21:00:01 +00:00
tnn
976b7a048b Use SITES.${_GITHUB_DEFAULT_DISTFILES} instead of ugly := assignment
to MASTER_SITES which could conceivably break some use cases.
Also add comment in bsd.fetch-vars.mk.
2015-03-09 15:50:18 +00:00
tnn
5239c0ecd1 MASTER_SITE_GITHUB goes in sites.mk 2015-03-09 13:10:45 +00:00
tnn
c9632aa0f3 Address issues raised by agc@ to make the github master site handling
more pkgsrcesque.

1) turn _USE_GITHUB into an internal infrastructure variable
2) put back MASTER_SITES in packages' Makefiles.
3) encode the account in the master site URL, remove GH_ACCOUNT
4) rename GH_PROJECT to GITHUB_PROJECT
5) rename GH_TAGNAME to GITHUB_TAG and allow it to accept commit hash
   as well as tag. GH_COMMIT is gone.
6) turn on this functionality when MASTER_SITES matches a predefined github
   pattern instead of via explicit USE_GITHUB setting.
2015-03-07 21:14:32 +00:00
tnn
a687a51ddc use https. Unconditionally gets redirected to https, so saves a redirect. 2015-03-07 16:54:28 +00:00
tnn
c6ef0cef20 improve inline documentation 2015-03-07 16:17:42 +00:00
tnn
7daa17b76d add keyword for make help 2015-03-07 15:31:52 +00:00
tnn
a5c5eb95d9 Adopt USE_GITHUB from FreeBSD ports to make github MASTER_SITE
handling less painful.
See: https://www.freebsd.org/doc/en_US.ISO8859-1/books/porters-handbook/makefile-distfiles.html#makefile-master_sites-github

To use, set in Makefile:

DISTNAME=	exampleproject-1.2
USE_GITHUB=	YES

The following variables alter USE_GITHUB behavior:

GH_ACCOUNT	defaults to PKGBASE
GH_PROJECT	defaults to PKGBASE
GH_TAGNAME	defaults to PKGVERSION_NOREV
		(sometimes you want to override with v${PKGVERSION_NOREV})
GH_COMMIT	explicit commit hash if no tag is available
GH_RELEASE	default empty, may be set to ${DISTNAME} for example
GH_TYPE		overrides the autodetected MASTER_SITE URL scheme
2015-03-07 14:17:51 +00:00
tnn
eb4a5426dc Update MASTER_SITE_FREEBSD and MASTER_SITE_FREEBSD_LOCAL as per
ftp://ftp.freebsd.org/pub/FreeBSD/ports/distfiles/README.txt and
ftp://ftp.freebsd.org/pub/FreeBSD/ports/local-distfiles/README.txt
respectively.
2015-03-06 21:11:09 +00:00
tnn
133ca6be16 close line 2015-03-06 20:58:47 +00:00
tnn
ca56801ab3 use ftp.fr.NetBSD.org instead of ftp.fi.NetBSD.org. ok bouyer@ 2015-03-06 20:58:17 +00:00
tnn
9c54f3616b Changes to MASTER_SITE_BACKUP:
1) Reduce preference of the primary master site:
   ftp://ftp.fi.NetBSD.org/pub/NetBSD/packages/distfiles/
   It seems to have stopped mirroring distfiles back in 2012 and we have
   been falling back to ftp.n.o anyway for years.
2) Remove the the FreeBSD backup master site as per instructions in
   ftp://ftp.freebsd.org/pub/FreeBSD/ports/distfiles/README.txt
   Unfortunately the new distcache service is not usable as it relies
   heavily on subdirectories.

We need to either contact Funet and ask them to start mirroring again or
get a different fast backup site in Europe.
2015-03-06 20:15:19 +00:00
tnn
c562e00818 prefer http for ftp.xemacs.org because passive FTP is broken 2015-03-06 18:01:28 +00:00
ryoon
e14fe0b55d mozilla.mirror.ac.za is empty. 2015-02-24 03:30:07 +00:00
ryoon
7a2c85b5f1 mirror.yandex.ru does not mirror mozilla/ anymore. 2015-02-24 03:28:41 +00:00
ryoon
94b4a86f39 ftp://releases.mozilla.org/ is not available anymore. 2015-02-24 03:26:44 +00:00
mef
9a94e65dcc mysql.skynet.be for MASTER_SITE_MYSQL does not seem to available. Drop two lines. 2015-02-21 14:46:08 +00:00
jperkin
71d3100aa1 Switch MASTER_SITE_PGSQL over to non-https URL. 2015-02-16 11:04:16 +00:00
jperkin
680762de01 Put back implementation of MASTER_SITE_OPENBSD. 2015-02-16 11:03:20 +00:00
mef
4bb927c596 As was proposed at pkgsrc-users@:
http://mail-index.netbsd.org/pkgsrc-users/2015/02/08/msg021031.html
Some sites not found DNS on records are deleted.
One hostname change included also.
  -	ftp://ftp.gtlib.cc.gatech.edu/pub/kde/stable/ \
  +	ftp://ftp.gtlib.gatech.edu/pub/kde/stable/ \
Thank you,
2015-02-10 05:29:59 +00:00
tnn
27878afe08 The SUNET archive is being decomissioned ( http://ftp.sunet.se/news.html ) 2015-02-07 22:49:31 +00:00
wiz
4c1455c79a Remove postgres mirror, none of them worked for me nor ftp.netbsd.org.
Add main postgres site.
2015-02-01 13:40:36 +00:00
obache
07f5a526c0 Revert "Define and use MASTER_SITE_OPENBSD.",
proposed/discussed is required for such changes.
2015-02-01 09:07:40 +00:00
obache
749343dca8 Define and use MASTER_SITE_OPENBSD. 2015-01-17 05:51:43 +00:00
rodent
d43c96209e Update MASTER_SITE_SUSE with paths that work. 2014-12-04 18:42:40 +00:00
tron
f193382d69 Pass "--remote-time" option to "curl" to get correct time stamps
on downloaded files.
2014-10-07 07:27:18 +00:00
obache
803b90aae3 rubyforge.org had been gone, removed.
Additionally, rubygems master site respond right redirect now, so back to
master URL.
2014-08-08 11:17:13 +00:00
wiz
6e4d3eab54 Improve previous. 2014-05-19 13:59:15 +00:00
obache
ebfc719a19 Note about mantainance of pkgsrc guide. 2014-05-19 13:52:33 +00:00
ryoon
34152738e1 Re-add iij mirror of sourceforge.jp, and re-corder mirror sites.
Thank you, Shuji SADO and obache@.
2014-05-08 11:11:15 +00:00
ryoon
a450329d04 Remove sourceforge.jp mirror sites that is not listed
in official download page.
They have no uptodate content, and download.sourceforge.jp is
redirect only.
2014-05-06 13:11:46 +00:00
ryoon
a05b45c990 Remove http://keihanna.dl.sourceforge.jp/ from sourceforge.jp mirror.
It is dead.
2014-05-06 12:53:31 +00:00
ryoon
0cba27ee97 mozilla.org decided to discontinue mirroring of its content officially.
Remove not-working or abandoned mirror sites.
2014-05-06 12:26:53 +00:00
ryoon
8a325159d9 Remove mozilla-mirror.naist.jp from mozilla mirror sites.
It does not exist anymore.
Pointed out by nonaka@, thank you.
2014-03-31 09:06:29 +00:00
obache
b2f380436c loose mandantory DISTNAME. 2014-03-02 08:54:41 +00:00
obache
62d4cd4284 tell wget as a tool. 2014-02-14 07:43:46 +00:00
obache
e9c70574a4 Add MASTER_SITE_HASKELL_HACKAGE 2014-01-25 09:29:42 +00:00
jakllsch
83b3d6ebca Ensure failure on failure of depends-fetch and depends-checksum targets. 2013-11-16 15:29:39 +00:00
jakllsch
190884f976 Use correct verb in depends-fetch target information message. 2013-11-16 03:21:10 +00:00
wiz
2abc136826 ftp://sunsite.uio.no/pub/X11/individual/ was last updated in 2010,
remove it from xorg mirror list.
2013-06-14 07:40:15 +00:00
obache
39ffff7d30 Move definition of rubygems sites so that it is usable with packages
not using gem as installation but as archive.
2013-03-14 12:57:42 +00:00
obache
c75fa9d794 Remove fetched file if fetch command succeeds to fetch but checksum mismatch
with PKG_RESUME_TRANSFERS=YES.

PR 39896.
2013-02-16 07:32:28 +00:00
obache
9e00ba056d FTPUSERAGENT is a environment variable for ftp(1), not a make variable.
No need to pass here.

related to PR 47525.
2013-02-07 13:59:10 +00:00
morr
f33a3dc351 Allow overwritting of FTPUSERAGENT for some broken sites, which requires it. 2013-01-20 13:22:59 +00:00
ryoon
88aa728af6 Add download-origin.cdn.mozilla.net to MASTER_SITE_MOZILLA*. 2013-01-20 09:37:19 +00:00
ryoon
b53e7599d6 Clear FTPUSERAGENT environment variable.
When FTPUSERAGENT="Mozilla/1.0", for example, fetching from
MASTER_SITE_SOURCEFORGE fails.
Original problem is reported from tsutsui@.
2012-12-14 16:46:24 +00:00
ryoon
d45194451f Fix dm-download02.mozilla.org path in MASTER_SITE_MOZILLA_ESR. 2012-11-23 07:22:21 +00:00
jperkin
a5307e4d55 Make curl a tool. Add support for /usr/bin/curl, if available, on Solaris.
SmartOS and OmniOS users can now set FETCH_USING=curl and no longer require
pkgsrc dependencies for downloading distfiles.
2012-07-27 10:48:36 +00:00
jperkin
45fef0cec0 ftp.chg.ru has been unavailable for ages, remove it. 2012-07-22 20:39:47 +00:00