=> Bootstrap dependency digest>=20010302: found digest-20121220 ===> Building for imap-uw-2007fnb1 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ + Building in PARTIAL compliance with RFC 3501 security + requirements: + Compliant: ++ TLS/SSL encryption is supported + Non-compliant: ++ Unencrypted plaintext passwords are permitted + + In order to rectify this problem, you MUST build with: ++ SSLTYPE=unix.nopwd +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Applying an process to sources... tools/an "ln -s" src/c-client c-client tools/an "ln -s" src/ansilib c-client tools/an "ln -s" src/charset c-client tools/an "ln -s" src/osdep/unix c-client tools/an "ln -s" src/mtest mtest tools/an "ln -s" src/ipopd ipopd tools/an "ln -s" src/imapd imapd tools/an "ln -s" src/mailutil mailutil tools/an "ln -s" src/mlock mlock tools/an "ln -s" src/dmail dmail tools/an "ln -s" src/tmail tmail ln -s tools/an . touch ip6 make build EXTRACFLAGS='-Wno-error -march=i586 -I/usr/pkg/include -I/usr/include' EXTRALDFLAGS='-L/usr/pkg/lib -Wl,-R/usr/pkg/lib -L/usr/lib' EXTRADRIVERS='mbox' EXTRAAUTHENTICATORS='' PASSWDTYPE=std SSLTYPE=unix IP=4 EXTRASPECIALS='SSLINCLUDE=/usr/pkg/include SSLLIB=/usr/pkg/lib SSLCERTS=/usr/pkg/etc/openssl/certs SSLKEYS=/usr/pkg/etc/openssl/private CREATEPROTO=unixproto' BUILDTYPE=neb IP=6 PASSWDTYPE=pam SPECIALS="SSLINCLUDE=/usr/include/openssl SSLLIB=/usr/lib SSLCERTS=/etc/openssl/certs SSLKEYS=/etc/openssl/private GSSINCLUDE=/usr/include GSSLIB=/usr/lib PAMLDFLAGS=-lpam" `ip6' is up to date. Building c-client for neb... echo `cat SPECIALS` SSLINCLUDE=/usr/pkg/include SSLLIB=/usr/pkg/lib SSLCERTS=/usr/pkg/etc/openssl/certs SSLKEYS=/usr/pkg/etc/openssl/private CREATEPROTO=unixproto > c-client/SPECIALS cd c-client;make neb EXTRACFLAGS='-Wno-error -march=i586 -I/usr/pkg/include -I/usr/include' EXTRALDFLAGS='-L/usr/pkg/lib -Wl,-R/usr/pkg/lib -L/usr/lib' EXTRADRIVERS='mbox' EXTRAAUTHENTICATORS='' PASSWDTYPE=pam SSLTYPE=unix IP=6 SSLINCLUDE=/usr/include/openssl SSLLIB=/usr/lib SSLCERTS=/etc/openssl/certs SSLKEYS=/etc/openssl/private GSSINCLUDE=/usr/include GSSLIB=/usr/lib PAMLDFLAGS=-lpam SSLINCLUDE=/usr/pkg/include SSLLIB=/usr/pkg/lib SSLCERTS=/usr/pkg/etc/openssl/certs SSLKEYS=/usr/pkg/etc/openssl/private CREATEPROTO=unixproto make build EXTRACFLAGS='-Wno-error -march=i586 -I/usr/pkg/include -I/usr/include' EXTRALDFLAGS='-L/usr/pkg/lib -Wl,-R/usr/pkg/lib -L/usr/lib' EXTRADRIVERS='mbox' EXTRAAUTHENTICATORS='' PASSWDTYPE=pam SSLTYPE=unix IP=6 `cat SPECIALS` OS=bsi CRXTYPE=nfs SPOOLDIR=/var ACTIVEFILE=/var/news/db/active RSHPATH=/usr/bin/rsh BASECFLAGS="-pipe -fno-omit-frame-pointer" BASELDFLAGS="-lcrypt" sh -c 'rm -rf auths.c crexcl.c ip_unix.c linkage.[ch] siglocal.c osdep*.[ch] *.o ARCHIVE *FLAGS *TYPE libc-client.la || true' Once-only environment setup... echo cc > CCTYPE echo -pipe -fno-omit-frame-pointer '-Wno-error -march=i586 -I/usr/pkg/include -I/usr/include' -DCHUNKSIZE=65536 > CFLAGS echo -DCREATEPROTO=unixproto -DEMPTYPROTO=unixproto -DMD5ENABLE=\"/etc/cram-md5.pwd\" -DMAILSPOOL=\"/var/mail\" -DANONYMOUSHOME=\"/var/mail/anonymous\" -DACTIVEFILE=\"/var/news/db/active\" -DNEWSSPOOL=\"/var/news\" -DRSHPATH=\"/usr/bin/rsh\" -DLOCKPGM=\"\" -DLOCKPGM1=\"/usr/libexec/mlock\" -DLOCKPGM2=\"/usr/sbin/mlock\" -DLOCKPGM3=\"/etc/mlock\" > OSCFLAGS echo -lcrypt -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -L/usr/lib > LDFLAGS echo "libtool --tag=CC --mode=link cc -o libc-client.la osdep.lo mail.lo misc.lo newsrc.lo smanager.lo utf8.lo utf8aux.lo siglocal.lo dummy.lo pseudo.lo netmsg.lo flstring.lo fdstring.lo rfc822.lo nntp.lo smtp.lo imap4r1.lo pop3.lo unix.lo mbx.lo mmdf.lo tenex.lo mtx.lo news.lo phile.lo mh.lo mx.lo mix.lo -rpath /usr/pkg/lib -version-info 5:0 \`cat LDFLAGS\`" > ARCHIVE echo bsi > OSTYPE ./drivers mbox imap nntp pop3 mix mx mbx tenex mtx mh mmdf unix news phile dummy ./mkauths ext md5 pla log echo " mail_versioncheck (CCLIENTVERSION);" >> linkage.c ln -s os_bsi.h osdep.h ln -s os_bsi.c osdepbas.c ln -s log_std.c osdeplog.c ln -s sig_bsd.c siglocal.c ln -s crx_nfs.c crexcl.c ln -s ip6_unix.c ip_unix.c sh -c '(test bsi = sc5 -o bsi = sco -o ! -f /usr/include/sys/statvfs.h) && echo -DNOFSTATVFS >> OSCFLAGS || fgrep statvfs64 /usr/include/sys/statvfs.h > /dev/null || echo -DNOFSTATVFS64 >> OSCFLAGS' PAM password authentication echo -lpam >> LDFLAGS ln -s ckp_pam.c osdepckp.c Building with SSL ln -s ssl_unix.c osdepssl.c echo -I/usr/pkg/include -I/usr/pkg/include/openssl -DSSL_CERT_DIRECTORY=\"/usr/pkg/etc/openssl/certs\" -DSSL_KEY_DIRECTORY=\"/usr/pkg/etc/openssl/private\" >> OSCFLAGS echo " ssl_onceonlyinit ();" >> linkage.c echo -L/usr/pkg/lib -lssl -lcrypto >> LDFLAGS cat osdepbas.c osdepckp.c osdeplog.c osdepssl.c > osdep.c Building OS-dependent module If you get No such file error messages for files x509.h, ssl.h, pem.h, buffer.h, bio.h, and crypto.h, that means that OpenSSL is not installed on your system. Either install OpenSSL first or build with command: make bsi SSLTYPE=none libtool --tag=CC --mode=compile `cat CCTYPE` -c `cat CFLAGS` `cat OSCFLAGS` -c osdep.c libtool: compile: cc -c -pipe -fno-omit-frame-pointer -Wno-error -march=i586 -I/usr/pkgsrc/work/mail/imap-uw/work/.buildlink/include -DCHUNKSIZE=65536 -DCREATEPROTO=unixproto -DEMPTYPROTO=unixproto -DMD5ENABLE=\"/etc/cram-md5.pwd\" -DMAILSPOOL=\"/var/mail\" -DANONYMOUSHOME=\"/var/mail/anonymous\" -DACTIVEFILE=\"/var/news/db/active\" -DNEWSSPOOL=\"/var/news\" -DRSHPATH=\"/usr/bin/rsh\" -DLOCKPGM=\"\" -DLOCKPGM1=\"/usr/libexec/mlock\" -DLOCKPGM2=\"/usr/sbin/mlock\" -DLOCKPGM3=\"/etc/mlock\" -DNOFSTATVFS64 -I/usr/pkgsrc/work/mail/imap-uw/work/.buildlink/include/openssl -DSSL_CERT_DIRECTORY=\"/usr/pkg/etc/openssl/certs\" -DSSL_KEY_DIRECTORY=\"/usr/pkg/etc/openssl/private\" -c osdep.c -o osdep.o In file included from osdep.c:31: osdep.h:33:21: error: sys/dir.h: no such file or directory In file included from osdep.c:51: tcp_unix.c: In function 'tcp_socket_open': tcp_unix.c:267: error: 'FNDELAY' undeclared (first use in this function) tcp_unix.c:267: error: (Each undeclared identifier is reported only once tcp_unix.c:267: error: for each function it appears in.) osdep.c:86:31: error: security/pam_appl.h: no such file or directory osdep.c: At top level: osdep.c:103: warning: 'struct pam_response' declared inside parameter list osdep.c:103: warning: 'struct pam_message' declared inside parameter list osdep.c: In function 'checkpw_conv': osdep.c:107: error: invalid application of 'sizeof' to incomplete type 'struct pam_response' osdep.c:108: error: dereferencing pointer to incomplete type osdep.c:109: error: 'PAM_PROMPT_ECHO_ON' undeclared (first use in this function) osdep.c:110: error: invalid use of undefined type 'struct pam_response' osdep.c:110: error: dereferencing pointer to incomplete type osdep.c:110: error: 'PAM_SUCCESS' undeclared (first use in this function) osdep.c:111: error: invalid use of undefined type 'struct pam_response' osdep.c:111: error: dereferencing pointer to incomplete type osdep.c:113: error: 'PAM_PROMPT_ECHO_OFF' undeclared (first use in this function) osdep.c:114: error: invalid use of undefined type 'struct pam_response' osdep.c:114: error: dereferencing pointer to incomplete type osdep.c:115: error: invalid use of undefined type 'struct pam_response' osdep.c:115: error: dereferencing pointer to incomplete type osdep.c:117: error: 'PAM_TEXT_INFO' undeclared (first use in this function) osdep.c:118: error: 'PAM_ERROR_MSG' undeclared (first use in this function) osdep.c:119: error: invalid use of undefined type 'struct pam_response' osdep.c:119: error: dereferencing pointer to incomplete type osdep.c:120: error: invalid use of undefined type 'struct pam_response' osdep.c:120: error: dereferencing pointer to incomplete type osdep.c:124: error: 'PAM_CONV_ERR' undeclared (first use in this function) osdep.c: At top level: osdep.c:135: error: expected ')' before '*' token osdep.c: In function 'checkpw': osdep.c:152: error: 'pam_handle_t' undeclared (first use in this function) osdep.c:152: error: 'hdl' undeclared (first use in this function) osdep.c:153: error: storage size of 'conv' isn't known osdep.c:161: error: 'PAM_SUCCESS' undeclared (first use in this function) osdep.c:162: error: 'PAM_RHOST' undeclared (first use in this function) osdep.c:165: error: 'PAM_ESTABLISH_CRED' undeclared (first use in this function) osdep.c:181: error: 'checkpw_cleanup' undeclared (first use in this function) *** Error code 1 Stop. make: stopped in /usr/pkgsrc/work/mail/imap-uw/work/imap-2007f/c-client *** Error code 1 Stop. make: stopped in /usr/pkgsrc/work/mail/imap-uw/work/imap-2007f/c-client *** Error code 1 Stop. make: stopped in /usr/pkgsrc/work/mail/imap-uw/work/imap-2007f *** Error code 1 Stop. bmake: stopped in /usr/pkgsrc/work/mail/imap-uw/work/imap-2007f *** Error code 1 Stop. bmake: stopped in /usr/pkgsrc/mail/imap-uw *** Error code 1 Stop. bmake: stopped in /usr/pkgsrc/mail/imap-uw