1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-04 01:48:54 +00:00
Commit Graph

759 Commits

Author SHA1 Message Date
Mathieu Arnold
a8409dba34 Add GH_SUBDIR, automatically moves a secondary distfile to the right
place inside ${WRKSRC}.

Before:

GH_TUPLE=	Regaddi:Chart.js:f13f99b:chart_js \
		FVANCOP:ChartNew.js:77e7f87:chartnew_js
post-extract:
	@${RMDIR} ${WRKSRC}/database ${WRKSRC}/3rd/Chart.js
	@${MV} ${WRKSRC_database} ${WRKSRC}/database
	@${MV} ${WRKSRC_chart_js} ${WRKSRC}/3rd/Chart.js

After:

GH_TUPLE=	Regaddi:Chart.js:f13f99b:chart_js/3rd/Chart.js \
		FVANCOP:ChartNew.js:77e7f87:chartnew_js/3rd/ChartNew.js

Sponsored by:	Absolight
Differential Revision:	https://reviews.freebsd.org/D7583
2016-08-24 14:50:04 +00:00
Alexey Dokuchaev
aa94a4ac33 Add another http:// GENTOO mirror and kill stray EOL whitespace while here. 2016-07-02 10:39:52 +00:00
Mathieu Arnold
16eeb83bd8 Add a few checks for (MASTER|PATCH)_SITES groups.
While make(1) is ok with variable names having quite a lot of strange
characters in them, the fetch code mostly uses sh(1), where variable
names can't include a dash (or pluses, or many other things).

PR:		210251 210198
Submitted by:	mat
Exp-run by:	antoine
Sponsored by:	The FreeBSD Foundation, Absolight
Differential Revision:	https://reviews.freebsd.org/D6779
2016-06-19 11:25:44 +00:00
Mathieu Arnold
672a2f6eee Fix last entry of MASTER_SITE_EXIM.
PR:		210198
Sponsored by:	Absolight
2016-06-17 16:30:35 +00:00
Mathieu Arnold
f578a4c138 Github silently replaces + with - in the tag when creating a tarball.
Reported by:	antoine
Sponsored by:	Absolight
2016-06-02 07:29:01 +00:00
Li-Wen Hsu
f80efdd76e - Add one more MASTER_SITE_ECLIPSE 2016-05-31 08:06:39 +00:00
Li-Wen Hsu
6fefe05c3d - Use files.pythonhosted.org for less redirections 2016-05-13 03:46:14 +00:00
Li-Wen Hsu
1a252fcda8 - Add pypi.io to MASTER_SITE_CHEESESHOP, which supports redirection for
package-version-based URL scheme.  This eases python ports updating.
2016-05-06 09:12:02 +00:00
Jan Beich
e68ffdaff6 bsd.sites.mk: with last mirror dead retire MASTER_SITE_ALSA
$ fetch -v http://alsa.cybermirror.org/lib/alsa-lib-1.1.0.tar.bz2
[...]
404 Not Found

Not Found
The requested URL /lib/alsa-lib-1.1.0.tar.bz2 was not found on this server.
2016-04-01 20:45:03 +00:00
Mathieu Arnold
018eeadae5 Always set the DEFAULT github DISTFILE with .tar.gz for EXTRACT_SUFX.
Fix distinfo for the offending ports.

lang/yorick's tag was moved, and the added patch was no longer needed.

PR:			207644
Submitted by:		mat
Exp-run by by:		antoine
Sponsored by:		Absolight
Differential Revision:	https://reviews.freebsd.org/D4268
2016-03-08 13:09:12 +00:00
Mathieu Arnold
3b8753a0a6 Introduce GH_TUPLE.
GH_TUPLE allows one to put all the GH_{ACCOUNT,PROJECT,TAGNAME} into one
variable, in the form of account:project:tagname[:group].  It is helpful
when there are many submodules.

PR:		204772
With hat:	portmgr
Sponsored by:	Absolight
Differential Revision:	https://reviews.freebsd.org/D4514
2016-03-01 20:22:45 +00:00
Mathieu Arnold
4941a6c229 Update the RUBYGEMS master site, the previous ones are legacy and were
not being updated any more.

Discussed with:	swills
Sponsored by:	Absolight
2016-02-12 18:24:11 +00:00
Gerald Pfeifer
cdb8fae546 Remove mirrors.webhostinggeeks.com from MASTER_SITE_GCC. It delivers
truncated archives while it is has not yet completed its own mirroring.
2016-01-31 22:58:43 +00:00
Martin Wilke
93026b8fcf - Drop dk1|gr.php.net mirrors there are down since a while 2016-01-11 16:02:54 +00:00
Sunpoet Po-Chuan Hsieh
f43ad0fe27 - Update MASTER_SITE_CHEESESHOP: remove http:// because it always redirects to https://
% fetch -v http://pypi.python.org/packages/source/s/setuptools/setuptools-19.2.tar.gz
looking up pypi.python.org
connecting to pypi.python.org:80
requesting http://pypi.python.org/packages/source/s/setuptools/setuptools-19.2.tar.gz
301 redirect to https://pypi.python.org/packages/source/s/setuptools/setuptools-19.2.tar.gz
2016-01-01 17:06:19 +00:00
Sunpoet Po-Chuan Hsieh
fdb011d8e1 - Add http://ftp.ruby-lang.org/ to MASTER_SITE_RUBY
- Remove dead links:
  - Error code 403: http://www.ibiblio.org/
  - Error code 404: http://mirrors.sunsite.dk/
  - Error code 550: ftp://xyz.lcs.mit.edu/, ftp://ftp.easynet.be/, ftp://ftp.ntua.gr/
  - Unable to resolve: ftp.SpringDaemons.com
2015-12-21 18:33:23 +00:00
Jan Beich
f1118f9d99 sites: update MOZILLA mirrors
- releases.m.o and ftp.m.o now point to archive.m.o
- CDN (Akamai) uses broken SSL certificate
- ftp:// is turned off [1]

[1] https://blog.mozilla.org/it/2015/07/27/product-delivery-migration-what-is-changing-when-its-changing-and-the-impacts/
2015-12-19 10:46:48 +00:00
Jason E. Hale
6395b1009e Update MASTER_SITES_GNUPG
- Remove dead mirrors
- Sorted with ports-mgmt/fastest_sites and manually moved a few sites
  to the bottom of the list that were not synced
2015-12-08 03:19:44 +00:00
Baptiste Daroussin
fdad782a4e Also add a centos vault master sites for updates 2015-11-26 17:08:23 +00:00
Mathieu Arnold
3a02a9c2cc Indent the make logic inside the USE_GITHUB block properly.
With hat:	portmgr
Sponsored by:	Absolight
2015-11-25 13:17:58 +00:00
Mathieu Arnold
ca55cc861b keep the multi-github-magic inside of defined(USE_GITHUB)
With hat:	portmgr
Sponsored by:	Absolight
2015-11-25 13:17:42 +00:00
Kubilay Kocak
9297c40658 Mk/bsd.sites.mk: Remove non-PEP449 Python mirrors [Part III]
PEP-449 [1] describes the 'Removal of the PyPI Mirror Auto Discovery and
Naming Scheme'.

The main elements of this (Accepted) proposal are:

    Removal of [a-z].pypi.python.org DNS CNAMES
    Replacing individual mirrors with a single Geo-aware CDN service

Previous revisions 365159, 347895, 342514 deprecated several individual
mirrors and *.pypi.python.org aliases. The following changes (Part III)
completes the (PEP-449 compatibility) transition:

    Remove pypi.crate.io (NXDOMAIN)
    Remove pypi.python.jp (Outdated, Broken for DISTNAMEs w/ hyphens
    Switch to TLS (HTTPS) MASTER_SITE by default
    Leave a non-TLS (HTTP) MASTER_SITE for fallback (proxy environments)

This change is also likely to fix PyPI (CHEESESHOP) update detection in
Portscout, at least until upcoming changes for the portscout port add a
dedicated sitehandler for it (and GitHub).

[1] https://www.python.org/dev/peps/pep-0449/

MFH:			2015Q4
Differential Revision:	https://reviews.freebsd.org/D3972
2015-10-24 04:28:37 +00:00
Mathieu Arnold
76fa2c1542 http://cloud.github.com/ redirects to https.
With hat:	portmgr
Sponsored by:	Absolight
2015-09-04 16:01:51 +00:00
Andrej Zverev
6527d59f9d Move one of the fallback site upper 2015-08-30 12:48:27 +00:00
Andrej Zverev
4e8331167b Help portscout to detect a new version of the module on CPAN if the AUTHOR_ID
for the new version and the current are not equal. This is only partial
hack and won't work for all modules.
2015-08-30 10:08:11 +00:00
Mark Felder
7b4d5bf3e6 Update MASTER_SITE_GNUPG
I took all of the mirrors I could find and ran them against sysutils/fastest_sites
from a server in a datacenter in Chicago. It removed a few dead mirrors
and I have added a few new ones. Hopefully this provides a better
overall experience.

New order is roughly: UK, NL, IE, DE, etc

PR:		202332
2015-08-14 20:59:29 +00:00
Alexander Leidinger
435ea2a95a Re-commit of
64 bit linuxulator support (not activated by default):
 - most of the work was done by Alan Jude
 - all errors are mine
 - 64bit (may) have rough edges
 - I validated
    * that the 32bit part doesn't has deinstall regressions (incl. EXP runs by
      antoine)
    * 29 of 72 64bit ports ports don't have deinstall leftovers (more validation
      later, when I dare to activate the 64bit linuxulator in the kernel)
 - the infrastructure part looks mature enough to let more test-bunnies get
   some experience with the new 64 bit parts
 - to use it you shall have no linux ports installed and have to specify
   (on your own risk) the following in make.conf before installing the ports:
   OVERRIDE_LINUX_BASE_PORT=c6_64
   OVERRIDE_LINUX_NONBASE_PORTS=c6_64

This is on top of the exiting c6 linux ports. Given that CentOS 7 is 64bits
only, we decided to have it as an "overlay" instead of new ports.
The 64bit part only installs 64bit executables, the 32bit ports can not be
installed at the same time (if needed we can think of letting the 64bit
overlay install the 32bit parts too, but given the CentOS 7 comment
above...).

Differential Revision:	https://reviews.freebsd.org/D174
Submitted by:		alanjude
Sponsored by:		Essen FreeBSD Hackathon 2015
Reviewed by:		xmj, eadler (earlier versions)
Approved by:		portmgr (antoine after some EXP-runs)
2015-08-09 19:14:13 +00:00
Antoine Brodin
011dfa81be Unbreak INDEX, reverting r392921
With hat:	portmgr
2015-07-26 13:35:29 +00:00
Alexander Leidinger
3aeeb3f1bd 64 bit linuxulator support (not activated by default):
- most of the work was done by Alan Jude
 - all errors are mine
 - 64bit (may) have rough edges
 - I validated
    * that the 32bit part doesn't has deinstall regressions
    * 29 of 72 64bit ports ports don't have deinstall leftovers (more validation
      later, when I dare to activate the 64bit linuxulator in the kernel)
 - the infrastructure part looks mature enough to let more test-bunnies get
   some experience with it
 - to use it you shall have no linux ports installed and have to specify
   (on your own risk) the following in make.conf before installing the ports:
   OVERRIDE_LINUX_BASE_PORT=c6_64
   OVERRIDE_LINUX_NONBASE_PORTS=c6_64

This is on top of the exiting c6 linux ports. Given that CentOS 7 is 64bits
only, we decided to have it as an "overlay" instead of new ports.
The 64bit part only installs 64bit executables, the 32bit ports can not be
installed at the same time (if needed we can think of letting the 64bit
overlay install the 32bit parts too, but given the CentOS 7 comment
above...).

Differential Revision:	https://reviews.freebsd.org/D174
Submitted by:		alanjude
Sponsored by:		Essen FreeBSD Hackathon 2015
Reviewed by:		xmj, eadler (earlier versions)
Approved by:		portmgr (implicit, I remember blanked approval for
			linux parts loooong ago, punish me if you don't
			agree anymore)
2015-07-26 13:06:24 +00:00
Mathieu Arnold
141ae86239 Rename a few internal multi-USE_GITHUB variables, to ease usage.
With hat:	portmgr@
Sponsored by:	Absolight
Differential Revision:	https://reviews.freebsd.org/D2942
2015-06-30 13:33:36 +00:00
Thomas Zander
599e996b60 - Reintroduce MASTER_SITE_COMP_SOURCES
- Update list of valid sites for MASTER_SITE_COMP_SOURCES

PR:		199447
Submitted by:	portmaster@bsdforge.com
2015-06-28 08:49:01 +00:00
Jun Kuriyama
a63d5ffdd4 Add ring server again (seems okay now) to gnupg mirrors. 2015-06-13 08:26:08 +00:00
Mathieu Arnold
743a96dea8 Update ftp://ftp.kddlabs.co.jp's usage.
PR:		200650
Submitted by:	takefu
Sponsored by:	Absolight
2015-06-12 20:19:41 +00:00
Jan Beich
6828ea7d03 bsd.sites.mk: cleanup MOZILLA mirrors
- Switch to CDN by default as mirrors are no longer kept up to date
- Drop obsolete pointer to http://www.mozilla.org/mirrors.html
- Drop redundant BUGZILLA and MOZILLA_EXTEND
- Shorten MASTER_SITES in gecko@ ports
- Move MOZILLA_ADDONS to bsd.sites.mk
- Move one of MOZILLA mirrors with old addons under MOZILLA_ADDONS
- Addons CDN redirects to https://, so don't mislead with http://

https://blog.mozilla.org/it/2012/08/03/dear-mozilla-mirrors-thank-you/

Differential Revision:	https://reviews.freebsd.org/D2550
Tested by:	distilator
Reviewed by:	mat (partial)
Approved by:	bz-ports (ohauer), portmgr blanket (office@ et al.)
Approved by:	portmgr (bapt, earlier version)
MFH:		2015Q2
2015-06-09 14:24:41 +00:00
Mathieu Arnold
8a130e97ca Revert that bit from r387852, it was not needed, and breaks at least
devel/poudriere-devel

PR:		200528
Poked by:	bdrewery
Pointy hat to:	mat
Sponsored by:	Absolight
2015-05-29 21:43:27 +00:00
Mathieu Arnold
70444a23e6 Introduce USE_GITHUB=nodefault to allow fetching additional distfiles
from github, but not the default one.

With hat:	portmgr
Sponsored by:	Absolight
2015-05-29 13:07:33 +00:00
Mathieu Arnold
28d9ccefb0 And this should have stayed.
Sponsored by:	Absolight
2015-05-28 17:01:05 +00:00
Mathieu Arnold
5cc4dd677b And make it work with FreeBSD 8 and 9.
Sponsored by:	Absolight
2015-05-28 16:52:34 +00:00
Mathieu Arnold
676e4ffcf4 USE_GITHUB can now fetch multiple distfiles. It uses a grouping feature
similar to MASTER_SITES/PATCH_SITES.

Some helpful variables are provided: WRKSRC_<group> for putting things in the
right place in post-extract, and DISTNAME_<group>/DISTFILE_<group> for use with
EXTRACT_ONLY.

PR:		200483
Differential Revision:	https://reviews.freebsd.org/D2608
Submitted by:	mat
With hat:	portmgr
Exp run by:	antoine
Sponsored by:	Absolight
2015-05-28 16:37:01 +00:00
Mathieu Arnold
cb28a089d6 Remove GH_COMMIT support.
Differential Revision:	https://reviews.freebsd.org/D2606
With hat:	portmgr
Sponsored by:	Absolight
2015-05-21 15:25:40 +00:00
Sunpoet Po-Chuan Hsieh
c7af43dfc7 - Remove MASTER_SITE_VIM
Differential Revision:	https://reviews.freebsd.org/D2520
Submitted by:	feld
2015-05-15 18:04:09 +00:00
Mathieu Arnold
ac1dd5cee9 Sort the master site abbreviations.
Sponsored by:	Absolight
2015-05-15 10:37:38 +00:00
Mathieu Arnold
60d1a83c2a MASTER_SITES cleanup.
- Replace ${MASTER_SITE_FOO} with FOO.
- Merge MASTER_SITE_SUBDIR into MASTER_SITES when possible. (This means 99.9%
  of the time.)
- Remove occurrences of MASTER_SITE_LOCAL when no subdirectory was present and
  no hint of what it should be was present.
- Fix some logic.
- And generally, make things more simple and easy to understand.

While there, add magic values to the FESTIVAL, GENTOO, GIMP, GNUPG, QT and
SAMBA macros.

Also, replace some EXTRACT_SUFX occurences with USES=tar:*.

Checked by:	make fetch-urlall-list
With hat:	portmgr
Sponsored by:	Absolight
2015-05-14 10:15:04 +00:00
Mathieu Arnold
9e8bfe9c71 Introduce two new magic master sites macros, APACHE_COMMONS_BINARIES and
APACHE_COMMONS_SOURCE.

With hat:	portmgr
Sponsored by:	Absolight
2015-05-11 18:31:01 +00:00
Bryan Drewery
94b4d68eae USE_GITHUB: Treat 'V' special just as 'v' is for DISTVERSIONPREFIX.
Fixes security/libzrtpcppcore after r385420.

Reported by:	antoine
With hat:	portmgr
2015-05-04 22:02:29 +00:00
Bryan Drewery
63408327b0 USES=xfce: Stop overriding MASTER_SITE_SUBDIR.
Add an XFCE SITE_SUBDIR abbreviation and use it forf or the xfce ports,
which removes the need to set MASTER_SITE_SUBDIR in any of them.

This fixes ports that have USES=xfce but do not use the XFCE MASTER_SITE,
namely sysutils/xfce4-bsdcpufreq-plugin.

With hat:	portmgr
2015-04-28 17:01:46 +00:00
Baptiste Daroussin
a219279717 Remove dead SF mirror 2015-04-05 17:25:18 +00:00
Don Lewis
033c171c16 Add MASTER_SITE_FARSIGHT
Differential Revision:	https://reviews.freebsd.org/D2202
Approved by:	mat (mentor)
2015-04-02 16:43:46 +00:00
Baptiste Daroussin
fff7ac2791 Remove dead COMP_SOURCES master sites
Mark as broken ports using it
2015-03-30 23:13:38 +00:00
Baptiste Daroussin
40925d8487 Remove dead GNUSTEP_CH master sites 2015-03-30 23:07:33 +00:00