From owner-cvs-all Mon Sep 25 13:23:10 2000 Delivered-To: cvs-all@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 81F1237B422; Mon, 25 Sep 2000 13:23:07 -0700 (PDT) Received: (from jkh@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id NAA51837; Mon, 25 Sep 2000 13:23:07 -0700 (PDT) (envelope-from jkh@FreeBSD.org) Message-Id: <200009252023.NAA51837@freefall.freebsd.org> From: "Jordan K. Hubbard" Date: Mon, 25 Sep 2000 13:23:07 -0700 (PDT) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/release/sysinstall http.c media.c sysinstall.h X-FreeBSD-CVS-Branch: RELENG_4 Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG jkh 2000/09/25 13:23:07 PDT Modified files: (Branch: RELENG_4) release/sysinstall http.c media.c sysinstall.h Log: MFC: [and I'll take the opportunity to put a more informative commit message into this one from the PR] 1) Installing via HTTP proxy ( mediaSetHTTP() ) relies on mediaSetFTP(). It's broken right now because the method of looking up the correct directory on the FTP server was changed in version 1.39 of ftp.c. This has to be changed in http.c, too. I only look for one path (pub/FreeBSD/releases/MACHINE), though. 2) The issue that the FTP server's name should be resolved by the proxy: The current fix unsets VAR_NAMESERVER before calling mediaSetFTP(). But in a normal install, the network hasn't been set up at this time. Therefore, mediaSetFTP() will call tcpDeviceSelect() which sets VAR_NAMESERVER. Therefore the unwanted lookup takes place. PR: 21449 Submitted by: Philipp Mergenthaler Revision Changes Path 1.2.2.2 +30 -7 src/release/sysinstall/http.c 1.107.2.4 +9 -8 src/release/sysinstall/media.c 1.186.2.10 +2 -1 src/release/sysinstall/sysinstall.h To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message