[php-src] Issue #7833: www.php.net blocks "fetch libfetch/2.0" user-agent
| From: | CyberCr33p | Date: | Sun, 26 Dec 2021 13:33:06 +0000 |
| Subject: | [php-src] Issue #7833: www.php.net blocks "fetch libfetch/2.0" user-agent | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-238571@lists.php.net to get a copy of this message | ||
Issue: https://github.com/php/php-src/issues/7833
Author: CyberCr33p
### Description
This is what I get when I try to upgrade PHP from 7.4.26 to 7.4.27 using FreeBSD ports:
=> php-7.4.27.tar.xz doesn't seem to exist in /usr/ports/distfiles//.
=> Attempting to fetch https://www.php.net/distributions/php-7.4.27.tar.xz
fetch: https://www.php.net/distributions/php-7.4.27.tar.xz:
Service Unavailable
=> Attempting to fetch http://distcache.FreeBSD.org/ports-distfiles/php-7.4.27.tar.xz
fetch: http://distcache.FreeBSD.org/ports-distfiles/php-7.4.27.tar.xz:
Not Found
=> Couldn't fetch it - please try to retrieve this
=> port manually into /usr/ports/distfiles// and try again.
-----
FreeBSD ports uses "fetch" to download https://www.php.net/distributions/php-7.4.27.tar.xz
but looks like www.php.net web-server blocks user agent "fetch libfetch/2.0" and returns
"Service Unavailable".
Can you whitelist this user agent?
### PHP Version
PHP 7.4
### Operating System
FreeBSD