Bug 250258

Summary: Mk/bsd.sites.mk: Simplify MASTER_SITE_PHP and switch to use HTTPS
Product: Ports & Packages Reporter: Yasuhiro Kimura <yasu>
Component: Individual Port(s)Assignee: Koichiro Iwao <meta>
Status: Closed FIXED    
Severity: Affects Some People CC: diizzy, meta
Priority: ---    
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
Patch file none

Description Yasuhiro Kimura freebsd_committer freebsd_triage 2020-10-10 19:10:00 UTC
Created attachment 218651 [details]
Patch file

* Currently all of {de,es,fr,it,jp,se,uk3,us2,br,cn}.php.net are resolved to same IP address as 'www.php.net'. So simplify MASTER_SITE_PHP by replacing them with single 'www.php.net'.
* Switch to use HTTPS.
Comment 1 Daniel Engberg freebsd_committer freebsd_triage 2020-10-10 20:18:49 UTC
You should provide context for such as a change.
https://www.php.net/mirroring.php
Comment 2 Koichiro Iwao freebsd_committer freebsd_triage 2020-10-14 01:39:26 UTC
I agree. The fact "*.php.net" refers the same IP address is true but some references are needed. Are county subdomains officially deprecated?
Comment 3 Daniel Engberg freebsd_committer freebsd_triage 2020-10-14 11:03:24 UTC
"The PHP project does no have an official mirror program anymore, but you can set-up a mirror for your own network or company." ...from the link.
They've set it to so it wouldn't cause unneeded breakage I'd imagine.
Comment 4 commit-hook freebsd_committer freebsd_triage 2020-10-15 03:38:42 UTC
A commit references this bug:

Author: meta
Date: Thu Oct 15 03:38:06 UTC 2020
New revision: 552374
URL: https://svnweb.freebsd.org/changeset/ports/552374

Log:
  bsd.sites.mk: Unify MASTER_SITE_PHP and switch to HTTPS

  > The PHP project does no have an official mirror program anymore [1]

  [1] https://www.php.net/mirroring.php

  PR:		250258
  Submitted by:	Yasuhiro KIMURA <yasu@utahime.org>

Changes:
  head/Mk/bsd.sites.mk
Comment 5 Koichiro Iwao freebsd_committer freebsd_triage 2020-10-15 03:41:48 UTC
Committed, thanks!