Date: Mon, 9 Aug 2004 21:50:10 +0000 (UTC) From: "Simon L. Nielsen" <simon@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/usr.sbin/sysinstall config.c Message-ID: <200408092150.i79LoA81080107@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
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 <bugs@princessharold.net>
Approved by: trhodes
Revision Changes Path
1.224 +1 -1 src/usr.sbin/sysinstall/config.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200408092150.i79LoA81080107>
