I bet we are going to see a lot of this sort of problem. ;) Here's my portupgrade log: Fri Aug 20 13:17:23 CDT 2004 ---> Session started at: Fri, 20 Aug 2004 13:17:25 -0500 ** No need to upgrade 'cyrus-sasl-2.1.19' (>= cyrus-sasl-2.1.19). (specify -f to force) ** No need to upgrade 'pcre-4.5' (>= pcre-4.5). (specify -f to force) ** No need to upgrade 'openldap-client-2.2.15' (>= openldap-client-2.2.15). (specify -f to force) ---> Upgrade of mail/postfix-current started at: Fri, 20 Aug 2004 13:17:33 -0500 ---> Upgrading 'postfix-2.2.20040721,2' to 'postfix-2.2.20040801,2' (mail/postfix-current) ---> Build of mail/postfix-current started at: Fri, 20 Aug 2004 13:17:33 -0500 ---> Building '/usr/ports/mail/postfix-current' ===> Vulnerability check disabled, database not found ===> Extracting for postfix-2.2.20040801,2 ===> Vulnerability check disabled, database not found Fix: A simple patch for the original project's makedefs to add FreeBSD.6* to the list of known systems did not work either. There seem to be much deeper things being changed over & above the original project's code (something I *hate* to see us do). So this one's beyond me. Sorry. -- thx, Paul Seniura System Specialist State of Okla. D.O.T. How-To-Repeat: Simply try building this on 6-Current.
I had to clean the work/ subdir, those .dot-files were out of sync with what portupgrade wanted to do. Now these patches will apply cleanly and the build on 6-current gcc342 went okay. This is a development workstation so postfix only gets used as a e-mail client so it's not tested much. Basically we're "lying" to postfix's makedefs by telling it FreeBSD.6 is just like FreeBSD.5. ;) I didn't know which makedefs_* to change, so I made them all have a FreeBSD.6 entry. In case these separate makedefs change in the future, I whipped-up a separate files/ patch for each one. (Yes they all look the same now -- but later, who knows?) If these patches work for everyone, would someone be able to send them up-stream to the project, please? new file: files/patch-makedefs ===cut-here=== --- makedefs_orig Tue Jun 15 16:41:45 2004 +++ makedefs Fri Aug 20 15:06:41 2004 @@ -93,6 +93,8 @@ ;; FreeBSD.5*) SYSTYPE=FREEBSD5 ;; + FreeBSD.6*) SYSTYPE=FREEBSD5 + ;; OpenBSD.2*) SYSTYPE=OPENBSD2 ;; OpenBSD.3*) SYSTYPE=OPENBSD3 ===cut-here=== new file: files/patch-makedefs_snapshot ===cut-here=== --- makedefs.snapshot_orig Wed Apr 14 14:18:06 2004 +++ makedefs.snapshot Fri Aug 20 15:08:54 2004 @@ -93,6 +93,8 @@ ;; FreeBSD.5*) SYSTYPE=FREEBSD5 ;; + FreeBSD.6*) SYSTYPE=FREEBSD5 + ;; OpenBSD.2*) SYSTYPE=OPENBSD2 ;; OpenBSD.3*) SYSTYPE=OPENBSD3 ===cut-here=== new file: files/patch-makedefs_stable ===cut-here=== --- makedefs.stable_orig Wed Apr 14 13:59:43 2004 +++ makedefs.stable Fri Aug 20 15:10:13 2004 @@ -93,6 +93,8 @@ ;; FreeBSD.5*) SYSTYPE=FREEBSD5 ;; + FreeBSD.6*) SYSTYPE=FREEBSD5 + ;; OpenBSD.2*) SYSTYPE=OPENBSD2 ;; OpenBSD.3*) SYSTYPE=OPENBSD3 ===cut-here=== -- thx, Paul Seniura.
Dear maintainer of FreeBSD port mail/postfix-current, please take a look at http://www.freebsd.org/cgi/query-pr.cgi?q=70742 What do you think about the included patches? -- Pav Lucistnik <pav@oook.cz> <pav@FreeBSD.org> The use of the lavatory is restricted to the train's cat.
State Changed From-To: open->feedback Asked maintainer for opinion.
Responsible Changed From-To: freebsd-ports-bugs->pav Handle.
I approve of the patch as an interim solution until such time that Postfix directly supports FreeBSD 6. Thanks. Vivek Khera, Ph.D. +1-301-869-4449 x806
State Changed From-To: feedback->closed Patch committed to CVS, thank you!