ports/178447: Fix MASTER_SITE_KERNEL_ORG
Max Khon
fjoe at FreeBSD.org
Thu May 9 10:10:00 UTC 2013
>Number: 178447
>Category: ports
>Synopsis: Fix MASTER_SITE_KERNEL_ORG
>Confidential: no
>Severity: serious
>Priority: high
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: change-request
>Submitter-Id: current-users
>Arrival-Date: Thu May 09 10:10:00 UTC 2013
>Closed-Date:
>Last-Modified:
>Originator: Max Khon
>Release: FreeBSD 10.0-CURRENT amd64
>Organization:
>Environment:
>Description:
MASTER_SITE_KERNEL_ORG contains two broken sites:
- http://kernel.org/pub/ - permanent redirect
- http://ftp.ntu.edu.tw/ - does not return 404 Not Found, but returns a file with a locl path in it instead
This causes checksum mismatch at least for ports/sysutils/zisofs-tools port.
>How-To-Repeat:
1) http://kernel.org/
[May 09 16:51:15] fjoe at husky:/usr/ports/sysutils/zisofs-tools % wget http://kernel.org/pub/linux/utils/fs/zisofs/zisofs-tools-1.0.8.tar.bz2
--2013-05-09 16:51:24-- http://kernel.org/pub/linux/utils/fs/zisofs/zisofs-tools-1.0.8.tar.bz2
Resolving kernel.org... 198.145.20.140, 149.20.4.69
Connecting to kernel.org|198.145.20.140|:80... connected.
HTTP request sent, awaiting response... 301 Moved Permanently
Location: https://www.kernel.org/pub/linux/utils/fs/zisofs/zisofs-tools-1.0.8.tar.bz2 [following]
2) http://ftp.ntu.edu.tw/
[09 16:52:28] fjoe at husky:/usr/ports/sysutils/zisofs-tools % wget http://ftp.ntu.edu.tw/linux/utils/fs/zisofs/zisofs-tools-1.0.8.tar.bz2
--2013-05-09 16:52:30-- http://ftp.ntu.edu.tw/linux/utils/fs/zisofs/zisofs-tools-1.0.8.tar.bz2
Resolving ftp.ntu.edu.tw... 140.112.2.5
Connecting to ftp.ntu.edu.tw|140.112.2.5|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 58 [text/html]
Saving to: `zisofs-tools-1.0.8.tar.bz2'
100%[====================================================================>] 58 --.-K/s in 0s
2013-05-09 16:52:31 (4.52 MB/s) - `zisofs-tools-1.0.8.tar.bz2' saved [58/58]
[May 09 16:52:31] fjoe at husky:/usr/ports/sysutils/zisofs-tools % cat zisofs-tools-1.0.8.tar.bz2
/home/ftp/linux/utils/fs/zisofs/zisofs-tools-1.0.8.tar.bz2[May 09 16:52:37] fjoe at husky:/usr/ports/sysutils/zisofs-tools %
[May 09 17:02:08] fjoe at husky:/usr/ports/sysutils/zisofs-tools % wget http://ftp.ntu.edu.tw/linux/utils/fs/zisofs/nonexistent
--2013-05-09 17:02:17-- http://ftp.ntu.edu.tw/linux/utils/fs/zisofs/nonexistent
Resolving ftp.ntu.edu.tw... 140.112.2.5
Connecting to ftp.ntu.edu.tw|140.112.2.5|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 43 [text/html]
Saving to: `nonexistent'
100%[====================================================================>] 43 --.-K/s in 0s
2013-05-09 17:02:17 (4.66 MB/s) - `nonexistent' saved [43/43]
[May 09 17:02:17] fjoe at husky:/usr/ports/sysutils/zisofs-tools % cat nonexistent
/home/ftp/linux/utils/fs/zisofs/nonexistent[May 09 17:02:20] fjoe at husky:/usr/ports/sysutils/zisofs-tools %
>Fix:
Index: bsd.sites.mk
===================================================================
--- bsd.sites.mk (revision 317723)
+++ bsd.sites.mk (working copy)
@@ -1448,8 +1448,7 @@
.if !defined(IGNORE_MASTER_SITE_KERNEL_ORG)
MASTER_SITE_KERNEL_ORG+= \
- http://kernel.org/pub/%SUBDIR%/ \
- http://ftp.ntu.edu.tw/%SUBDIR%/ \
+ https://www.kernel.org/pub/%SUBDIR%/ \
http://ftp.sunet.se/pub/Linux/kernel.org/%SUBDIR%/ \
http://ftp.yandex.ru/pub/%SUBDIR%/ \
http://ftp.heanet.ie/pub/%SUBDIR%/ \
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list