[Bug 260699] lang/php74: www.php.net blocks "fetch libfetch/2.0" user-agent

From: <bugzilla-noreply_at_freebsd.org>
Date: Sun, 26 Dec 2021 13:37:28 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=260699

            Bug ID: 260699
           Summary: lang/php74: www.php.net blocks "fetch libfetch/2.0"
                    user-agent
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: tz@freebsd.org
          Reporter: chris@cretaforce.gr
          Assignee: tz@freebsd.org
             Flags: maintainer-feedback?(tz@freebsd.org)

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".

----

I submit a bug report here too:

https://github.com/php/php-src/issues/7833

-- 
You are receiving this mail because:
You are the assignee for the bug.