summaryrefslogtreecommitdiff
path: root/mk/fetch
AgeCommit message (Collapse)AuthorFilesLines
2015-10-19Don't encode the github tag into the distfile name if we are packagingtnn1-2/+2
a github release and the release version happens to look like a tag. (a date like 20150714 could be misinterpreted as a git "short SHA")
2015-10-10Update MASTER_SITE_OSDN server names.ryoon1-3/+3
2015-09-19Alter the behaviour of the "fetch" executable to accept zero download sitesdsainty1-4/+4
as an acceptable input. Fixes Pkgsrc for users that set PKG_RESUME_TRANSFERS=yes in their mk.conf if installing a package that has an interactive fetch stage, after mk/fetch/fetch.mk revision 1.66. Tested for all combinations of: + PKG_RESUME_TRANSFERS=yes/no; and + interactive fetch=yes/no; and + distfile=downloaded/not downloaded ... with no signs of misbehaviour. The specific case that was broken, and this change fixes, is: + PKG_RESUME_TRANSFERS=yes; and + interactive fetch=yes; and + distfile=downloaded This change was designed with the following considerations: 1. Given it's a freeze, keep it simple. 2. The change in behaviour allows 'fetch' to succeed where it would previously fail fatally, so it's unlikely to affect any (intentional) existing behaviour in Pkgsrc. 3. The behaviour of 'fetch' with zero sites is essentially the same as a fetch where all the possible download sites fail, I.e. Pkgsrc already expects to handle such behaviour. ok gdt@
2015-09-14Reorder and fix logic snafu.joerg1-3/+3
2015-09-13Introduce IGNORE_INTERACTIVE_FETCH to allow trying to fetch files fromjoerg2-3/+14
the override site, even for INTERACTIVE_STATE=stage or FETCH_MESSAGE. Ignore all backup sites as they won't have the distfile anyway, the fetch wouldn't be interactive in first place otherwise.
2015-09-08Make the post-fetch hook a bit more useful by also handing down the URLjoerg2-6/+8
the file was obtained from. This makes it easier to skip any local mirrors.
2015-09-08Add a hook for running an action after a successful fetch.joerg3-6/+21
This is intended for keeping distfile archives synchronised between different machines without requiring NFS mounts or the like.
2015-08-11Anonymous ftp service of ftp.mozilla.org is no longer provided.ryoon1-5/+3
2015-07-12Add https://download.gnome.org/ to MASTER_SITES_GNOME.rodent1-2/+3
2015-07-11Sort. Move ODSN mirror.ryoon1-7/+6
2015-07-06Enabling handling of pypi packages. No opposing comments received inrodent2-4/+4
private mail nor on tech-pkg@ since the posting. Will begin the slow transition of packages to use this feature as they're updated.
2015-07-01Add support for Python Package Index (pypi) master site handling.rodent2-2/+43
This is commented for now in bsd.fetch.mk pending 48 hours of feedback on tech-pkg@.
2015-07-01pkglint didn't like my proposed format for this file.rodent1-2/+3
Reverting to convention.
2015-06-30Add MASTER_SITE_PYPI, which is going to be used in pypi.mk in a bit.rodent1-2/+4
This entire file needs: 1) collation; 2) the EOL escapes removed and turned into proper lists; Otherwise, it's a bit painful to read.
2015-06-29Rename MASTER_SITE_SOURCEFORGE_JP to MASTER_SITE_OSDN.ryoon1-3/+3
sourceforge.jp is renamed to osdn.jp. However its mirror sites are not ready for osdn.jp.
2015-05-16ftp.dti.ad.jp is not working for several years.tsutsui1-4/+1
Per debian-mirrors: https://lists.debian.org/debian-mirrors/2014/07/msg00013.html
2015-05-04I believe this is correct -> ftp://ftp.kde.org to http://download.kde.orgmef1-2/+2
2015-03-26As discussed on-list, remove www.ibiblio.org from MASTER_SITE_APACHE so thatdsainty1-3/+3
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-12'-' is a valid character in github account namestnn1-2/+2
2015-03-09Use SITES.${_GITHUB_DEFAULT_DISTFILES} instead of ugly := assignmenttnn2-5/+15
to MASTER_SITES which could conceivably break some use cases. Also add comment in bsd.fetch-vars.mk.
2015-03-09MASTER_SITE_GITHUB goes in sites.mktnn2-5/+5
2015-03-07Address issues raised by agc@ to make the github master site handlingtnn2-46/+46
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-07use https. Unconditionally gets redirected to https, so saves a redirect.tnn1-2/+2
2015-03-07improve inline documentationtnn1-7/+6
2015-03-07add keyword for make helptnn1-1/+3
2015-03-07Adopt USE_GITHUB from FreeBSD ports to make github MASTER_SITEtnn3-2/+76
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-06Update MASTER_SITE_FREEBSD and MASTER_SITE_FREEBSD_LOCAL as pertnn1-5/+3
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-06close linetnn1-2/+2
2015-03-06use ftp.fr.NetBSD.org instead of ftp.fi.NetBSD.org. ok bouyer@tnn1-2/+3
2015-03-06Changes to MASTER_SITE_BACKUP:tnn1-3/+2
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-06prefer http for ftp.xemacs.org because passive FTP is brokentnn1-1/+2
2015-02-24mozilla.mirror.ac.za is empty.ryoon1-2/+1
2015-02-24mirror.yandex.ru does not mirror mozilla/ anymore.ryoon1-2/+1
2015-02-24ftp://releases.mozilla.org/ is not available anymore.ryoon1-2/+1
2015-02-21mysql.skynet.be for MASTER_SITE_MYSQL does not seem to available. Drop two ↵mef1-3/+1
lines.
2015-02-16Switch MASTER_SITE_PGSQL over to non-https URL.jperkin1-2/+2
2015-02-16Put back implementation of MASTER_SITE_OPENBSD.jperkin1-1/+6
2015-02-10As was proposed at pkgsrc-users@:mef1-11/+2
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-07The SUNET archive is being decomissioned ( http://ftp.sunet.se/news.html )tnn1-7/+2
2015-02-01Remove postgres mirror, none of them worked for me nor ftp.netbsd.org.wiz1-53/+2
Add main postgres site.
2015-02-01Revert "Define and use MASTER_SITE_OPENBSD.",obache1-6/+1
proposed/discussed is required for such changes.
2015-01-17Define and use MASTER_SITE_OPENBSD.obache1-1/+6
2014-12-04Update MASTER_SITE_SUSE with paths that work.rodent1-4/+4
2014-10-07Pass "--remote-time" option to "curl" to get correct time stampstron1-2/+2
on downloaded files.
2014-08-08rubyforge.org had been gone, removed.obache1-3/+2
Additionally, rubygems master site respond right redirect now, so back to master URL.
2014-05-19Improve previous.wiz1-3/+3
2014-05-19Note about mantainance of pkgsrc guide.obache1-1/+3
2014-05-08Re-add iij mirror of sourceforge.jp, and re-corder mirror sites.ryoon1-3/+5
Thank you, Shuji SADO and obache@.
2014-05-06Remove sourceforge.jp mirror sites that is not listedryoon1-5/+2
in official download page. They have no uptodate content, and download.sourceforge.jp is redirect only.
2014-05-06Remove http://keihanna.dl.sourceforge.jp/ from sourceforge.jp mirror.ryoon1-2/+1
It is dead.