|
From: Jean-Francois M. <jf...@co...> - 2009-07-29 18:26:26
|
The following diff attempts to fix some building (using the right pkgs, and not at the same time the corresponding system pkgs), and some certificate-stuff : 12,14c12,13 Depends: cyrus-sasl2-shlibs, db44-aes-shlibs, libncurses5-shlibs, openldap24-shlibs, openssl098-shlibs, tcltk-shlibs BuildDepends: cyrus-sasl2-dev, libncurses5-dev, openldap24-dev, openssl098-dev, system-openssl-dev, fink (>= 0.24.12) BuildConflicts: libgettext3-dev, gettext-dev --- Depends: cyrus-sasl2-shlibs, db47-aes-shlibs, libgettext3-shlibs, libiconv, libncurses5-shlibs, openldap24-shlibs, openssl098-shlibs, tcltk-shlibs BuildDepends: cyrus-sasl2-dev, libgettext3-dev, libiconv-dev, libncurses5, openldap24-dev, openssl098-dev, fink (>= 0.24.12) 17c16,21 ConfigureParams: --bindir=%i/bin --sbindir=%i/sbin --datarootdir=%i/share --with-openssl=%p/lib/system-openssl --without-tcl --with-local-password-cache-method --- ConfigureParams: << --bindir=%i/bin --sbindir=%i/sbin --datarootdir=%i/share --with-ldap-dir=%p \ --with-ssl-include-dir=%p/include/openssl --with-ssl-certs-dir=%p/etc/ssl/certs \ --with-openssl=%p/lib --with-local-password-cache-method << SetLDFLAGS: -lintl It is not yet perfect; a.o.: - the SetLDFLAGS causes all binaries to get linked with -lintl; should be done only for those that need it - the "--with-ssl-certs-dir=%p/etc/ssl/certs" is maybe not fully effective; I see in the log passages like (in the beginning of the installscript): touch imap/ip6 cd imap && /sw/bin/make oxp EXTRASPECIALS="SSLCERTS=/sw/etc/ssl/certs SSLINCLUDE=/sw/include/openssl EXTRAAUTHENTICATORS=gss " touch ip6 make build EXTRACFLAGS='' EXTRALDFLAGS='' EXTRADRIVERS='mbox' EXTRAAUTHENTICATORS='' PASSWDTYPE=std SSLTYPE=nopwd IP=4 EXTRASPECIALS='SSLCERTS=/sw/etc/ssl/certs SSLINCLUDE=/sw/include/openssl EXTRAAUTHENTICATORS=gss ' BUILDTYPE=osx IP=6 EXTRAAUTHENTICATORS=" gss" \ PASSWDTYPE=pam \ EXTRACFLAGS=" -DMAC_OSX_KLUDGE=1" \ SPECIALS="SSLINCLUDE=/sw/include/openssl SSLLIB=/sw/lib SSLCERTS=/System/Library/OpenSSL/certs SSLKEYS=/System/Library/OpenSSL/private GSSINCLUDE=/sw/include GSSLIB=/sw/lib PAMDLFLAGS=-lpam" Rebuilding c-client for osx... while the SSLCERTS in EXTRASPECIALS are OK, in the SPECIALS on the last line they are not. Would require a careful look .. Best, Jean-Francois |