Bug 214882 - Allow CentOS distfiles to be downloaded from CR repo
Summary: Allow CentOS distfiles to be downloaded from CR repo
Status: Closed Not Accepted
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Ports Framework (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: freebsd-emulation (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-11-27 15:50 UTC by Piotr Kubaj
Modified: 2017-01-24 14:56 UTC (History)
3 users (show)

See Also:
pkubaj: maintainer-feedback? (emulation)


Attachments
patch (1.64 KB, patch)
2016-11-27 15:50 UTC, Piotr Kubaj
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Piotr Kubaj freebsd_committer freebsd_triage 2016-11-27 15:50:06 UTC
Created attachment 177451 [details]
patch

This change makes it possible to upgrade to the newer CentOS release before such is available. Of course packages still need to be bumped, but with this change we don't have to wait for e.g. CentOS 7.3 to upgrade to 7.3's packages.
Comment 1 Tijl Coosemans freebsd_committer freebsd_triage 2016-11-27 17:02:23 UTC
For now I think it would be better to restrict this to the ports that need to be updated (currently libgcrypt and nss).  You can just set MASTER_SITES in their Makefile:

MASTER_SITES= CENTOS/centos/${LINUX_DIST_VER}/cr/x86_64/Packages
Comment 2 Piotr Kubaj freebsd_committer freebsd_triage 2016-11-27 17:08:10 UTC
(In reply to Tijl Coosemans from comment #1)
I know, it's just that there's a lot of ports to be updated:
http://mirror.centos.org/centos/7.2.1511/cr/x86_64/Packages/

And those custom settings will need to be backed out after upgrading to e.g. 7.3, so it's a double work.

7.3 doesn't really matter, as it will be released soon anyway, but adding those entries to linux.mk will make upgrading to 6.9 and 7.4 quicker.
Comment 3 Tijl Coosemans freebsd_committer freebsd_triage 2016-11-27 17:48:28 UTC
(In reply to Piotr Kubaj from comment #2)
For now only libgcrypt and nss need to be updated because of outstanding security issues.  The others can wait until 7.3 is released.  You can of course already work on them on your machine, but the ports tree should not contain prerelease packages unless there's no alternative.