From owner-cvs-src@FreeBSD.ORG Mon Aug 9 21:50:10 2004 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9257C16A4CE; Mon, 9 Aug 2004 21:50:10 +0000 (GMT) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 89FD643D48; Mon, 9 Aug 2004 21:50:10 +0000 (GMT) (envelope-from simon@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.11/8.12.11) with ESMTP id i79LoALl080108; Mon, 9 Aug 2004 21:50:10 GMT (envelope-from simon@repoman.freebsd.org) Received: (from simon@localhost) by repoman.freebsd.org (8.12.11/8.12.11/Submit) id i79LoA81080107; Mon, 9 Aug 2004 21:50:10 GMT (envelope-from simon) Message-Id: <200408092150.i79LoA81080107@repoman.freebsd.org> From: "Simon L. Nielsen" Date: Mon, 9 Aug 2004 21:50:10 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/usr.sbin/sysinstall config.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 09 Aug 2004 21:50:10 -0000 simon 2004-08-09 21:50:10 UTC FreeBSD src repository (doc committer) Modified files: usr.sbin/sysinstall config.c Log: During FTP installs, when installing Postfix as an alternate MTA, the install of Postfix fails since Postfix 1 is picked from INDEX instead of Postfix 2. The problem is that the package_add function matches multiple Postfix packages and then installs a "random" version (the last one found in INDEX). This does not occur with a CD-ROM install since there is only one Postfix package on the CD-ROM. The correct solution to this would be to check the origin field from INDEX instead of the package name, but due to the way sysinstall is made that is not trivial, so instead work around the problem by hard-coding the Postfix major and minor revision (for the current stable version) to install directly into the package_add call. PR: misc/65426 Reported by: Harold Kachelmyer Approved by: trhodes Revision Changes Path 1.224 +1 -1 src/usr.sbin/sysinstall/config.c