In <[EMAIL PROTECTED]>, Thomas E. Spanjaard <[EMAIL PROTECTED]> shouted to everyone in earshot, >There >might be more places in Postfix where patches like these are required, >so if you have the time, it would be great if you could check for those >as well. Then, submit them to both Postfix and Pkgsrc.
It looks like everything is set up in the same file, src/util/sys_defs.h. The other FreeBSD definitions are all cases: #define HAS_DEV_URANDOM #define HAS_ISSETUGID #define HAS_FUTIMES #define SOCKADDR_SIZE socklen_t #define SOCKOPT_SIZE socklen_t #define HAS_DUPLEX_PIPE #define USE_SYSV_POLL if NO_KQUEUE is not defined (when the builder executes 'makedefs'), #define EVENTS_STYLE EVENTS_STYLE_KQUEUE All macros rely on FBSD 4.2 or earlier. If any of this has changed since the fork from FreeBSD, please let me know. There may be other macros that only DF (not FBSD) supports, but I'm not enough of a DF or postfix hacker to know which ones. Updated patch at the same URL, http://web.mr-happy.com/~jfb/patches/patch-postfix_2.5.1-src-util-sys_defs.h I haven't done much testing other than to verify that it compiles, that the SMTP client uses IPv6, and that postfix works as a leaf/satellite/whatever (no local mail, just unconditional relaying to another host). (My only DF box is old, slow hardware that doesn't do much with mail. Postfix build takes around half an hour.) I'd appreciate hearing from DF/postfix users who try this patch out, especially if not using DF 1.12 or if using more postfix features than I do. How should I go about getting this patch into pkgsrc when I'm ready to submit it? Do I just contact the postfix ${MAINTAINER}, or is there a better/preferred route? Jeff
