Opened 14 years ago

Closed 14 years ago

Last modified 14 years ago

#10332 closed defect (fixed)

Updated postfix - added sasl, tls variants

Reported by: opendarwin@… Owned by: yeled@…
Priority: Normal Milestone:
Component: ports Version: 1.2
Keywords: Cc: yeled@…
Port:

Description

I've added sasl, tls variants to postfix.

The old way of setting CCARGS and AUXLIBS as build.env args did not seem to handle append/delete, so the pcre variant didn't seem to work.

The platform darwin 7 variant didn't seem to be doing anything, as makedefs in postfix already adds -DBIND_8_COMPAT for darwin 7 and above

I've also incorporated the fixes from the following bugs:

http://bugzilla.opendarwin.org/show_bug.cgi?id=6786 http://bugzilla.opendarwin.org/show_bug.cgi?id=6787

Attachments (2)

postfix.patch (852 bytes) - added by opendarwin@… 14 years ago.
patch for postfix Portfile
Portfile (5.1 KB) - added by opendarwin@… 14 years ago.
Update Portfile

Download all attachments as: .zip

Change History (7)

Changed 14 years ago by opendarwin@…

Attachment: postfix.patch added

patch for postfix Portfile

comment:1 Changed 14 years ago by yeled@…

Cc: yeled@… added
Status: newassigned

wild thanks! i will test it now.

comment:2 Changed 14 years ago by yeled@…

Owner: changed from darwinports-bugs@… to yeled@…
Status: assignednew

I get this with your patch

---> Removing workpath for postfix 2:14 eris:dports/mail/postfix% sudo port -v install +sasl +tls +pcre Error: Error executing pcre: can't read "CCARGS": no such variable

comment:3 Changed 14 years ago by opendarwin@…

No idea why you're getting that error, I'm totally new when it comes to darwinPorts and Tcl... The "set CCARGS" line should define that variable.

I just did a clean/install with no errors.

I've also fixed up another problem with the startup item.

I'll attach the whole Portfile, maybe something went wrong with your patch?

Changed 14 years ago by opendarwin@…

Attachment: Portfile added

Update Portfile

comment:4 Changed 14 years ago by yeled@…

Resolution: fixed
Status: newclosed

cheers. have committed this.

comment:5 Changed 14 years ago by eloy.de.enige@…

Nice one! No I can finally stop patching the Postfix Portfile.

Thanks Charlie.

Note: See TracTickets for help on using tickets.