Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 7 Oct 2006 06:22:54 -0500
From:      "Josh Paetzel <josh@tcbug.org>" <josh@tcbug.org>
To:        "FreeBSD gnats submit" <FreeBSD-gnats-submit@FreeBSD.org>
Cc:        olgeni@FreeBSD.org
Subject:   ports/104094: [patch] Fix download site for sysutils/webmin
Message-ID:  <1160220174.4300@gimpy.tcbug.org>
Resent-Message-ID: <200610071130.k97BUJbD045705@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         104094
>Category:       ports
>Synopsis:       [patch] Fix download site for sysutils/webmin
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sat Oct 07 11:30:18 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator:     Josh Paetzel <josh@tcbug.org>
>Release:        FreeBSD 6.1-RELEASE-p6 i386
>Organization:
>Environment:


System: FreeBSD 6.1-RELEASE-p6 #1: Mon Sep 18 19:09:47 UTC 2006
    jpaetzel@gimpy.tcbug.org:/usr/obj/usr/src/sys/GIMPY



>Description:


The makefile for the latest webmin port points to www.webmin.com/updates for
additional wbm downloads. However, the file is actually located at
download.webmin.com/updates 

The webmin.com server is configured for a 302 redirect, but fetch does not
obey 302's, so doing a "make" of webmin from the latest port fails when
attempting to download additional wbm archives.

Changing www.webmin.com in the Makefile to download.webmin.com fixes this
problem.



>How-To-Repeat:


cd /usr/ports/sysutils/webmin
make install

=> apache-1.300-1.wbm.gz doesn't seem to exist in /usr/ports/distfiles/.
=> Attempting to fetch from http://www.webmin.com/updates/.
fetch: http://www.webmin.com/updates/apache-1.300-1.wbm.gz: Moved Temporarily
=> Attempting to fetch from ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/local-distfiles/olgeni/.
fetch: ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/local-distfiles/olgeni/apache-1.300-1.wbm.gz: File unavailable (e.g., file not found, no access)

....


>Fix:


Apply the following patch:

--- Makefile.old        Sat Oct  7 06:16:16 2006
+++ Makefile    Sat Oct  7 06:16:44 2006
@@ -9,7 +9,7 @@
 PORTVERSION=   1.300
 PORTREVISION=  1
 CATEGORIES=    sysutils
-MASTER_SITES=  http://www.webmin.com/updates/:up \
+MASTER_SITES=  http://download.webmin.com/updates/:up \
                ${MASTER_SITE_SOURCEFORGE:S/$/:sf/} \
                ${MASTER_SITE_LOCAL:S/$/:up/}
 MASTER_SITE_SUBDIR=    webadmin/:sf \



>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1160220174.4300>