[PATCH] Postfix port

Juan Manuel Palacios jmpp at macports.org
Thu Feb 15 11:03:13 PST 2007


	Hello Gufo! I'm replying to your original mail a little late, since 
I'm just catching up with mail here, so I can only hope my comments are 
still applicable!


On Sep 28, 2006, at 12:25 PM, Gufo wrote:

> Hi all,
> this is my first mail here, please correct if is not the right place to
> post this kind of informations.

	For these kinds of questions, this is the correct list to post to, yes.

---snip---

>
> There's one unresolved issue, no matter if I explicitly compile it
> against system or macports version of openssl, I have this warning:
>
> ------
> postfix/smtp[24927]: warning: run-time library vs. compile-time header
> version mismatch: OpenSSL 0.9.8 may not be compatible with OpenSSL 
> 0.9.7
> ------
>
> Which means it compiles against system version of openssl and uses
> macports' one at run time.
> As a result I can't start a tls connection with any mailserver.


	Proper use of CFLAGS, CPPFLAGS and LDFLAGS environment variables 
usually helps Makefiles locate appropriate header files and 
corresponding libraries, so I'd play with these in the Portfile's 
"configure.env" and "build.env" variables until the build is considered 
satisfactory. If no combination of them achieves that goal, then I'm 
afraid a patch against some Makefile would have to be written and 
listed in the Portfile's "patchfiles" variable.

>
>
> After installation 2 files must be deleted (I don't know which is the
> best way to do this in the Portfile):
>
> /opt/local/var//spool/postfix/maildrop/.turd_postfix
> /opt/local/var//spool/postfix/public/.turd_postfix


	.turd files are created by MacPorts through the values of the 
"destrook.keepdirs" variable to keep our post-destroot phase from 
deleting at-installation-time empty directories that the port might 
need once installed and running. Why do you need to remove them? If the 
directories are indeed empty and unnecessary, then look for stray 
"destroot.keepdirs" declarations in the Portfile and remove those, not 
the .turd files manually (at least that's my advice).

	Regards,...


-jmpp




More information about the macports-dev mailing list