freebsd-dev/usr.sbin/sysinstall
Simon L. B. Nielsen 7226ecc0ce 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
2004-08-09 21:50:10 +00:00
..
help Join the 21st century: Cryptography is no longer an optional component 2004-08-06 07:27:08 +00:00
anonFTP.c
cdrom.c
command.c
config.c During FTP installs, when installing Postfix as an alternate MTA, the 2004-08-09 21:50:10 +00:00
devices.c
dhcp.c
disks.c
dispatch.c
dist.c Join the 21st century: Cryptography is no longer an optional component 2004-08-06 07:27:08 +00:00
dist.h Join the 21st century: Cryptography is no longer an optional component 2004-08-06 07:27:08 +00:00
dmenu.c
doc.c
dos.c
floppy.c
ftp.c
globals.c o Save pointers to the chunks for root, home, swap, usr, var and tmp in 2004-08-07 01:19:54 +00:00
http.c
index.c
install.c o Save pointers to the chunks for root, home, swap, usr, var and tmp in 2004-08-07 01:19:54 +00:00
install.cfg
installUpgrade.c
keymap.c
label.c Create an EFI partition when the user wants auto defaults. There's 2004-08-07 04:03:18 +00:00
list.h
main.c
Makefile
media.c
menus.c Join the 21st century: Cryptography is no longer an optional component 2004-08-06 07:27:08 +00:00
misc.c
modules.c
mouse.c
msg.c
network.c
nfs.c
options.c
package.c
pccard.c
rtermcap.c
sysinstall.8 Join the 21st century: Cryptography is no longer an optional component 2004-08-06 07:27:08 +00:00
sysinstall.h o Save pointers to the chunks for root, home, swap, usr, var and tmp in 2004-08-07 01:19:54 +00:00
system.c
tape.c
tcpip.c
termcap.c
ttys.c
ufs.c
usb.c
user.c
variable.c
wizard.c