Date: Mon, 13 Jun 2005 22:00:52 GMT From: "Simon L. Nielsen" <simon@nitro.dk> To: freebsd-i386@FreeBSD.org Subject: Re: i386/82030: Choosing an alternate default MTA Message-ID: <200506132200.j5DM0qPA076652@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
The following reply was made to PR i386/82030; it has been noted by GNATS. From: "Simon L. Nielsen" <simon@nitro.dk> To: Matteo Riondato <rionda@gufi.org> Cc: freebsd-gnats-submit@FreeBSD.org Subject: Re: i386/82030: Choosing an alternate default MTA Date: Mon, 13 Jun 2005 23:54:07 +0200 --fWddYNRDgTk9wQGZ Content-Type: multipart/mixed; boundary="Qrgsu6vtpU/OV/zm" Content-Disposition: inline --Qrgsu6vtpU/OV/zm Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On 2005.06.13 21:30:26 +0000, Matteo Riondato wrote: > This is a serious bug and should be solved altough we're now in a code > freeze, that's why I'm CC'ing re@. A patch for this bug follows > (the problem resides in src/usr.sbin/sysinstall/config.c) and > should be ok until postfix2 will become postfix3. > =20 > Please note that this bug is not properly i386 specific. > =20 > Patch: (can be found at http://www.riondabsd.net/diff/config.c.diff ) > =20 > --- config.c.old Tue Jun 7 23:01:41 2005 > +++ config.c Mon Jun 13 23:17:26 2005 > @@ -990,7 +990,7 @@ > msgError("Error setting the enviroment variable POSTFIX_DEFAULT_MTA: %= s (%u)", > strerror(errno), errno); > =20 > - ret =3D package_add("postfix-2.1"); > + ret =3D package_add("postfix-2"); > unsetenv("POSTFIX_DEFAULT_MTA"); > =20 > if(DITEM_STATUS(ret) =3D=3D DITEM_FAILURE) { This does not fix the problem since it will now pick up the wrong postfix version when you install from a complete FTP mirror (see the CVS log for the commit that added the -2.1 part as to why). I made the simple attached patch some time ago, I just forgot about it again since I needed to test that it actually did work as expected before committing... :-/ - I will try to get around to it soon, unless somebody else beats me to it. --=20 Simon L. Nielsen --Qrgsu6vtpU/OV/zm Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename="sysinstall-postfix22.patch" Content-Transfer-Encoding: quoted-printable Index: config.c =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D RCS file: /home/ncvs/src/usr.sbin/sysinstall/config.c,v retrieving revision 1.231 diff -u -d -r1.231 config.c --- config.c 16 Nov 2004 21:59:00 -0000 1.231 +++ config.c 4 Apr 2005 21:39:29 -0000 @@ -990,7 +990,7 @@ msgError("Error setting the enviroment variable POSTFIX_DEFAULT_MTA: %s (= %u)", strerror(errno), errno); =20 - ret =3D package_add("postfix-2.1"); + ret =3D package_add("postfix-2.2"); unsetenv("POSTFIX_DEFAULT_MTA"); =20 if(DITEM_STATUS(ret) =3D=3D DITEM_FAILURE) { --Qrgsu6vtpU/OV/zm-- --fWddYNRDgTk9wQGZ Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.1 (FreeBSD) iD8DBQFCrgB/h9pcDSc1mlERArecAJ9IG0GiuL7i1ygZhPzJ+XO5wCui4QCfRD6a wd8+LMJWAIBHkTAZ9q4hmqg= =pK5F -----END PGP SIGNATURE----- --fWddYNRDgTk9wQGZ--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200506132200.j5DM0qPA076652>