From owner-freebsd-ports Tue Nov 26 9:10:16 2002 Delivered-To: freebsd-ports@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B154137B401; Tue, 26 Nov 2002 09:10:04 -0800 (PST) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1CED043E9C; Tue, 26 Nov 2002 09:10:03 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.6/8.12.6) with ESMTP id gAQHA3x3028798; Tue, 26 Nov 2002 09:10:03 -0800 (PST) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.6/8.12.6/Submit) id gAQHA3KQ028797; Tue, 26 Nov 2002 09:10:03 -0800 (PST) Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2C50037B401 for ; Tue, 26 Nov 2002 09:00:33 -0800 (PST) Received: from lerlaptop.iadfw.net (lerlaptop.iadfw.net [206.66.13.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 04DAE43E88 for ; Tue, 26 Nov 2002 09:00:32 -0800 (PST) (envelope-from ler@lerlaptop.iadfw.net) Received: from lerlaptop.iadfw.net (localhost [127.0.0.1]) by lerlaptop.iadfw.net (8.12.6/8.12.6) with ESMTP id gAQH0P98027642 for ; Tue, 26 Nov 2002 11:00:25 -0600 (CST) (envelope-from ler@lerlaptop.iadfw.net) Received: (from ler@localhost) by lerlaptop.iadfw.net (8.12.6/8.12.6/Submit) id gAQH0Pmm027641; Tue, 26 Nov 2002 11:00:25 -0600 (CST) Message-Id: <200211261700.gAQH0Pmm027641@lerlaptop.iadfw.net> Date: Tue, 26 Nov 2002 11:00:25 -0600 (CST) From: Larry Rosenman Reply-To: Larry Rosenman To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 X-GNATS-Notify: ler@lerctr.org Subject: ports/45758: IMAP-2002 port incomplete Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org >Number: 45758 >Category: ports >Synopsis: IMAP-2002 port incomplete >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-ports >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Tue Nov 26 09:10:01 PST 2002 >Closed-Date: >Last-Modified: >Originator: Larry Rosenman >Release: FreeBSD 4.7-STABLE i386 >Organization: LERCTR Consulting >Environment: System: FreeBSD lerlaptop.iadfw.net 4.7-STABLE FreeBSD 4.7-STABLE #23: Mon Nov 25 13:39:51 CST 2002 ler@lerlaptop.iadfw.net:/usr/obj/usr/src/sys/LERLAPTOP i386 >Description: the IMAP-2002 port (just in the tree today), doesn't deal well with the OpenSSL port being installed, nor does it install/compile mailutil which is the new utility for dealing with files (replaces the imap-utils stuff). >How-To-Repeat: ===> Cleaning for cclient-2002,1 ===> Cleaning for imap-uw-2002,1 >> imap-utils.tar.Z doesn't seem to exist in /usr/ports/distfiles/. >> Attempting to fetch from ftp://ftp.cac.washington.edu/imap/. Receiving imap-utils.tar.Z (61495 bytes): 0% Receiving imap-utils.tar.Z (61495 bytes): 26% Receiving imap-utils.tar.Z (61495 bytes): 100% 61495 bytes transferred in 0.4 seconds (143.90 kBps) ===> Extracting for imap-uw-2002,1 >> Checksum OK for imap-2002.tar.Z. >> Checksum OK for imap-utils.tar.Z. ===> imap-uw-2002,1 depends on shared library: c-client4.8 - found Your imap-uw port matches the version of your cclient port. Fine. ===> Patching for imap-uw-2002,1 ===> Applying FreeBSD patches for imap-uw-2002,1 ===> Configuring for imap-uw-2002,1 ===> Building for imap-uw-2002,1 SSL check passed. We want SSL support, and cclient has it. Good. make sslunix.nopwd +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ + Building in full compliance with IESG security requirements: ++ TLS/SSL encryption is supported ++ Unencrypted plaintext passwords are prohibited +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 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 . make build EXTRACFLAGS='-I/usr/local/include/c-client' EXTRALDFLAGS='-L/usr/local/lib -lc-client4' EXTRADRIVERS='mbox' EXTRAAUTHENTICATORS='' PASSWDTYPE=pam SSLTYPE=unix.nopwd EXTRASPECIALS='' BUILDTYPE=bsf Building bundled tools... cd mtest;make cc -O -pipe -DNFSKLUDGE -I/usr/local/include/c-client -c mtest.c cc -O -pipe -DNFSKLUDGE -I/usr/local/include/c-client -o mtest mtest.o -L/usr/local/lib -lc-client4 /usr/local/lib/libc-client4.so: warning: tmpnam() possibly used unsafely; consider using mkstemp() cd ipopd;make cc -O -pipe -DNFSKLUDGE -I/usr/local/include/c-client -c ipop2d.c cc -O -pipe -DNFSKLUDGE -I/usr/local/include/c-client -o ipop2d ipop2d.o -L/usr/local/lib -lc-client4 /usr/local/lib/libc-client4.so: warning: tmpnam() possibly used unsafely; consider using mkstemp() cc -O -pipe -DNFSKLUDGE -I/usr/local/include/c-client -c ipop3d.c cc -O -pipe -DNFSKLUDGE -I/usr/local/include/c-client -o ipop3d ipop3d.o -L/usr/local/lib -lc-client4 /usr/local/lib/libc-client4.so: warning: tmpnam() possibly used unsafely; consider using mkstemp() cd imapd;make cc -O -pipe -DNFSKLUDGE -I/usr/local/include/c-client -DANOFILE=\"/usr/local/etc/anonymous.newsgroups\" -DALERTFILE=\"/usr/local/etc/imapd.alert\" -DUSERALERTFILE=\".imapalert\" -DSHUTDOWNFILE=\"/etc/nologin\" -c imapd.c cc -O -pipe -DNFSKLUDGE -I/usr/local/include/c-client -DANOFILE=\"/usr/local/etc/anonymous.newsgroups\" -DALERTFILE=\"/usr/local/etc/imapd.alert\" -DUSERALERTFILE=\".imapalert\" -DSHUTDOWNFILE=\"/etc/nologin\" -o imapd imapd.o -L/usr/local/lib -lc-client4 -L/usr/local/lib -lc-client4 /usr/local/lib/libc-client4.so: warning: tmpnam() possibly used unsafely; consider using mkstemp() cd mailutil;make cc -O -pipe -DNFSKLUDGE -I/usr/local/include/c-client -c mailutil.c cc -O -pipe -DNFSKLUDGE -I/usr/local/include/c-client -o mailutil mailutil.o -L/usr/local/lib -lc-client4 /usr/local/lib/libc-client4.so: warning: tmpnam() possibly used unsafely; consider using mkstemp() cd mlock;make || true `cat ../c-client/CCTYPE` `cat ../c-client/CFLAGS` -c mlock.c cat: ../c-client/CCTYPE: No such file or directory cat: ../c-client/CFLAGS: No such file or directory -c: not found *** Error code 127 Stop in /usr/ports/mail/imap-uw/work/imap-2002/mlock. cd dmail;make || true cd ../c-client;make You must specify what type of system *** Error code 1 Stop in /usr/ports/mail/imap-uw/work/imap-2002/c-client. *** Error code 1 Stop in /usr/ports/mail/imap-uw/work/imap-2002/dmail. cd tmail;make || true cd ../c-client;make You must specify what type of system *** Error code 1 Stop in /usr/ports/mail/imap-uw/work/imap-2002/c-client. *** Error code 1 Stop in /usr/ports/mail/imap-uw/work/imap-2002/tmail. cc -O -pipe -c mlock.c cc -O -pipe -o mlock mlock.o Building chkmail. (cd /usr/ports/mail/imap-uw/work/chkmail; cc -O -pipe -I/usr/local/include/c-client -o chkmail chkmail.c -L/usr/local/lib -lc-client4 -lssl -lcrypto) /usr/local/lib/libc-client4.so: warning: tmpnam() possibly used unsafely; consider using mkstemp() /tmp/cc7TqZMz.o: In function `mm_login': /tmp/cc7TqZMz.o(.text+0x38a): warning: this program uses gets(), which is unsafe. /usr/libexec/elf/ld: warning: libssl.so.2, needed by /usr/local/lib/libc-client4.so, may conflict with libssl.so.3 /usr/libexec/elf/ld: warning: libcrypto.so.2, needed by /usr/local/lib/libc-client4.so, may conflict with libcrypto.so.3 Building dmail. (cd /usr/ports/mail/imap-uw/work/dmail; cc -O -pipe -I/usr/local/include/c-client -o dmail dmail.c -L/usr/local/lib -lc-client4 -lssl -lcrypto) /usr/local/lib/libc-client4.so: warning: tmpnam() possibly used unsafely; consider using mkstemp() /usr/libexec/elf/ld: warning: libssl.so.2, needed by /usr/local/lib/libc-client4.so, may conflict with libssl.so.3 /usr/libexec/elf/ld: warning: libcrypto.so.2, needed by /usr/local/lib/libc-client4.so, may conflict with libcrypto.so.3 Building icat. (cd /usr/ports/mail/imap-uw/work/icat; cc -O -pipe -I/usr/local/include/c-client -o icat icat.c -L/usr/local/lib -lc-client4 -lssl -lcrypto) /usr/local/lib/libc-client4.so: warning: tmpnam() possibly used unsafely; consider using mkstemp() /tmp/ccZgDL68.o: In function `prompt': /tmp/ccZgDL68.o(.text+0x78f): warning: this program uses gets(), which is unsafe. /usr/libexec/elf/ld: warning: libssl.so.2, needed by /usr/local/lib/libc-client4.so, may conflict with libssl.so.3 /usr/libexec/elf/ld: warning: libcrypto.so.2, needed by /usr/local/lib/libc-client4.so, may conflict with libcrypto.so.3 Building ifrom. (cd /usr/ports/mail/imap-uw/work/ifrom; cc -O -pipe -I/usr/local/include/c-client -o ifrom ifrom.c -L/usr/local/lib -lc-client4 -lssl -lcrypto) /usr/local/lib/libc-client4.so: warning: tmpnam() possibly used unsafely; consider using mkstemp() /tmp/ccHWVBe5.o: In function `prompt': /tmp/ccHWVBe5.o(.text+0x6a3): warning: this program uses gets(), which is unsafe. /usr/libexec/elf/ld: warning: libssl.so.2, needed by /usr/local/lib/libc-client4.so, may conflict with libssl.so.3 /usr/libexec/elf/ld: warning: libcrypto.so.2, needed by /usr/local/lib/libc-client4.so, may conflict with libcrypto.so.3 Building imapcopy. (cd /usr/ports/mail/imap-uw/work/imapcopy; cc -O -pipe -I/usr/local/include/c-client -o imapcopy imapcopy.c -L/usr/local/lib -lc-client4 -lssl -lcrypto) /usr/local/lib/libc-client4.so: warning: tmpnam() possibly used unsafely; consider using mkstemp() /tmp/cca19FQo.o: In function `mm_login': /tmp/cca19FQo.o(.text+0x91e): warning: this program uses gets(), which is unsafe. /usr/libexec/elf/ld: warning: libssl.so.2, needed by /usr/local/lib/libc-client4.so, may conflict with libssl.so.3 /usr/libexec/elf/ld: warning: libcrypto.so.2, needed by /usr/local/lib/libc-client4.so, may conflict with libcrypto.so.3 Building imapxfer. (cd /usr/ports/mail/imap-uw/work/imapxfer; cc -O -pipe -I/usr/local/include/c-client -o imapxfer imapxfer.c -L/usr/local/lib -lc-client4 -lssl -lcrypto) /usr/local/lib/libc-client4.so: warning: tmpnam() possibly used unsafely; consider using mkstemp() /tmp/ccwaeGGe.o: In function `mm_login': /tmp/ccwaeGGe.o(.text+0xb02): warning: this program uses gets(), which is unsafe. /usr/libexec/elf/ld: warning: libssl.so.2, needed by /usr/local/lib/libc-client4.so, may conflict with libssl.so.3 /usr/libexec/elf/ld: warning: libcrypto.so.2, needed by /usr/local/lib/libc-client4.so, may conflict with libcrypto.so.3 Building mbxcopy. (cd /usr/ports/mail/imap-uw/work/mbxcopy; cc -O -pipe -I/usr/local/include/c-client -o mbxcopy mbxcopy.c -L/usr/local/lib -lc-client4 -lssl -lcrypto) /usr/local/lib/libc-client4.so: warning: tmpnam() possibly used unsafely; consider using mkstemp() /tmp/ccmRUf6s.o: In function `mm_login': /tmp/ccmRUf6s.o(.text+0x3f6): warning: this program uses gets(), which is unsafe. /usr/libexec/elf/ld: warning: libssl.so.2, needed by /usr/local/lib/libc-client4.so, may conflict with libssl.so.3 /usr/libexec/elf/ld: warning: libcrypto.so.2, needed by /usr/local/lib/libc-client4.so, may conflict with libcrypto.so.3 Building mbxcreat. (cd /usr/ports/mail/imap-uw/work/mbxcreat; cc -O -pipe -I/usr/local/include/c-client -o mbxcreat mbxcreat.c -L/usr/local/lib -lc-client4 -lssl -lcrypto) /usr/local/lib/libc-client4.so: warning: tmpnam() possibly used unsafely; consider using mkstemp() /tmp/ccWFCdl2.o: In function `mm_login': /tmp/ccWFCdl2.o(.text+0x29e): warning: this program uses gets(), which is unsafe. /usr/libexec/elf/ld: warning: libssl.so.2, needed by /usr/local/lib/libc-client4.so, may conflict with libssl.so.3 /usr/libexec/elf/ld: warning: libcrypto.so.2, needed by /usr/local/lib/libc-client4.so, may conflict with libcrypto.so.3 Building mbxcvt. (cd /usr/ports/mail/imap-uw/work/mbxcvt; cc -O -pipe -I/usr/local/include/c-client -o mbxcvt mbxcvt.c -L/usr/local/lib -lc-client4 -lssl -lcrypto) /usr/local/lib/libc-client4.so: warning: tmpnam() possibly used unsafely; consider using mkstemp() /tmp/cc9d3o7Q.o: In function `mm_login': /tmp/cc9d3o7Q.o(.text+0x7e6): warning: this program uses gets(), which is unsafe. /usr/libexec/elf/ld: warning: libssl.so.2, needed by /usr/local/lib/libc-client4.so, may conflict with libssl.so.3 /usr/libexec/elf/ld: warning: libcrypto.so.2, needed by /usr/local/lib/libc-client4.so, may conflict with libcrypto.so.3 Building tmail. (cd /usr/ports/mail/imap-uw/work/tmail; cc -O -pipe -I/usr/local/include/c-client -o tmail tmail.c -L/usr/local/lib -lc-client4 -lssl -lcrypto) /usr/local/lib/libc-client4.so: warning: tmpnam() possibly used unsafely; consider using mkstemp() /usr/libexec/elf/ld: warning: libssl.so.2, needed by /usr/local/lib/libc-client4.so, may conflict with libssl.so.3 /usr/libexec/elf/ld: warning: libcrypto.so.2, needed by /usr/local/lib/libc-client4.so, may conflict with libcrypto.so.3 ===> Installing for imap-uw-2002,1 ===> imap-uw-2002,1 depends on shared library: c-client4.8 - found install -c -s -o root -g wheel -m 555 /usr/ports/mail/imap-uw/work/imap-2002/imapd/imapd /usr/local/libexec install -c -s -o root -g wheel -m 555 /usr/ports/mail/imap-uw/work/imap-2002/ipopd/ipop2d /usr/local/libexec install -c -s -o root -g wheel -m 555 /usr/ports/mail/imap-uw/work/imap-2002/ipopd/ipop3d /usr/local/libexec install -c -s -o root -g mail -m 2711 /usr/ports/mail/imap-uw/work/mlock/mlock /usr/local/libexec install -c -s -o root -g wheel -m 555 /usr/ports/mail/imap-uw/work/imap-2002/mtest/mtest /usr/local/bin/mboxtest install -c -o root -g wheel -m 444 /usr/ports/mail/imap-uw/work/imap-2002/src/imapd/imapd.8c /usr/local/man/man8/imapd.8 install -c -o root -g wheel -m 444 /usr/ports/mail/imap-uw/work/imap-2002/src/ipopd/ipopd.8c /usr/local/man/man8/ipopd.8 Installing chkmail. install -c -s -o root -g wheel -m 555 /usr/ports/mail/imap-uw/work/chkmail/chkmail /usr/local/bin install -c -o root -g wheel -m 444 /usr/ports/mail/imap-uw/work/chkmail/chkmail.1 /usr/local/man/man1 Installing dmail. install -c -s -o root -g wheel -m 555 /usr/ports/mail/imap-uw/work/dmail/dmail /usr/local/bin install -c -o root -g wheel -m 444 /usr/ports/mail/imap-uw/work/dmail/dmail.1 /usr/local/man/man1 Installing icat. install -c -s -o root -g wheel -m 555 /usr/ports/mail/imap-uw/work/icat/icat /usr/local/bin install -c -o root -g wheel -m 444 /usr/ports/mail/imap-uw/work/icat/icat.1 /usr/local/man/man1 Installing ifrom. install -c -s -o root -g wheel -m 555 /usr/ports/mail/imap-uw/work/ifrom/ifrom /usr/local/bin install -c -o root -g wheel -m 444 /usr/ports/mail/imap-uw/work/ifrom/ifrom.1 /usr/local/man/man1 Installing imapcopy. install -c -s -o root -g wheel -m 555 /usr/ports/mail/imap-uw/work/imapcopy/imapcopy /usr/local/bin install -c -o root -g wheel -m 444 /usr/ports/mail/imap-uw/work/imapcopy/imapcopy.1 /usr/local/man/man1 Installing imapxfer. install -c -s -o root -g wheel -m 555 /usr/ports/mail/imap-uw/work/imapxfer/imapxfer /usr/local/bin install -c -o root -g wheel -m 444 /usr/ports/mail/imap-uw/work/imapxfer/imapxfer.1 /usr/local/man/man1 Installing mbxcopy. install -c -s -o root -g wheel -m 555 /usr/ports/mail/imap-uw/work/mbxcopy/mbxcopy /usr/local/bin install -c -o root -g wheel -m 444 /usr/ports/mail/imap-uw/work/mbxcopy/mbxcopy.1 /usr/local/man/man1 Installing mbxcreat. install -c -s -o root -g wheel -m 555 /usr/ports/mail/imap-uw/work/mbxcreat/mbxcreat /usr/local/bin install -c -o root -g wheel -m 444 /usr/ports/mail/imap-uw/work/mbxcreat/mbxcreat.1 /usr/local/man/man1 Installing mbxcvt. install -c -s -o root -g wheel -m 555 /usr/ports/mail/imap-uw/work/mbxcvt/mbxcvt /usr/local/bin install -c -o root -g wheel -m 444 /usr/ports/mail/imap-uw/work/mbxcvt/mbxcvt.1 /usr/local/man/man1 Installing tmail. install -c -s -o root -g wheel -m 555 /usr/ports/mail/imap-uw/work/tmail/tmail /usr/local/bin install -c -o root -g wheel -m 444 /usr/ports/mail/imap-uw/work/tmail/tmail.1 /usr/local/man/man1 (cd /usr/local/bin; /bin/ln -s imapcopy imapmove) (cd /usr/local/bin; /bin/ln -s mbxcopy mbxmove) ===> Generating temporary packing list The ipop2d, ipop3d, and imapd daemons should be invoked by your /etc/inetd.conf file with lines such as: pop2 stream tcp nowait root /usr/local/libexec/ipop2d ipop2d pop3 stream tcp nowait root /usr/local/libexec/ipop3d ipop3d imap4 stream tcp nowait root /usr/local/libexec/imapd imapd If PAM authentication support has been compiled in you will need to add something like the following lines to /etc/pam.conf (PAM authentication is default): imap auth required pam_unix.so imap account required pam_unix.so try_first_pass imap session required pam_deny.so pop3 auth required pam_unix.so pop3 account required pam_unix.so try_first_pass pop3 session required pam_deny.so The pam_unix module does not have session support, so we do not use it for session management. Be sure to read up on pam.conf(5). To create and install a new SSL certificate for imapd and ipop3d, type "make cert". Or install manually in /usr/local/certs. Example inetd config for SSL only services: pop3s stream tcp nowait root /usr/local/libexec/ipop3d ipop3d imaps stream tcp nowait root /usr/local/libexec/imapd imapd Remember to recompile and reinstall your cclient port with SSL support too, if you had it installed without SSL support. ================================================================================ ===> Compressing manual pages for imap-uw-2002,1 ===> Registering installation for imap-uw-2002,1 ===> SECURITY REPORT: This port has installed the following binaries which execute with increased privileges. /usr/local/libexec/mlock If there are vulnerabilities in these programs there may be a security risk to the system. FreeBSD makes no guarantee about the security of ports included in the Ports Collection. Please type 'make deinstall' to deinstall the port if this is a concern. For more information, and contact details about the security status of this software, see the following webpage: http://www.washington.edu/imap/ ===> Cleaning for cclient-2002,1 ===> Cleaning for imap-uw-2002,1 Here is the cclinet log: ===> Cleaning for cclient-2002,1 >> imap-2002.tar.Z doesn't seem to exist in /usr/ports/distfiles/. >> Attempting to fetch from ftp://ftp.cac.washington.edu/imap/. Receiving imap-2002.tar.Z (2166058 bytes): 0% Receiving imap-2002.tar.Z (2166058 bytes): 12% Receiving imap-2002.tar.Z (2166058 bytes): 37% Receiving imap-2002.tar.Z (2166058 bytes): 63% Receiving imap-2002.tar.Z (2166058 bytes): 81% Receiving imap-2002.tar.Z (2166058 bytes): 91% Receiving imap-2002.tar.Z (2166058 bytes): 100% 2166058 bytes transferred in 5.5 seconds (388.01 kBps) ===> Extracting for cclient-2002,1 >> Checksum OK for imap-2002.tar.Z. ===> Patching for cclient-2002,1 ===> Applying FreeBSD patches for cclient-2002,1 ===> Configuring for cclient-2002,1 >> The c-client shared library will be named libc-client4.so.8 ===> Building for cclient-2002,1 make sslunix.nopwd +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ + Building in full compliance with IESG security requirements: ++ TLS/SSL encryption is supported ++ Unencrypted plaintext passwords are prohibited +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 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 . make build EXTRACFLAGS='' EXTRALDFLAGS='' EXTRADRIVERS='mbox' EXTRAAUTHENTICATORS='' PASSWDTYPE=std SSLTYPE=unix.nopwd EXTRASPECIALS='' BUILDTYPE=bsf Building c-client for bsf... echo `cat SPECIALS` > c-client/SPECIALS cd c-client;make bsf EXTRACFLAGS='' EXTRALDFLAGS='' EXTRADRIVERS='mbox' EXTRAAUTHENTICATORS='' PASSWDTYPE=std SSLTYPE=unix.nopwd make build EXTRACFLAGS='' EXTRALDFLAGS='' EXTRADRIVERS='mbox' EXTRAAUTHENTICATORS='' PASSWDTYPE=std SSLTYPE=unix.nopwd `cat SPECIALS` OS=bsf CHECKPW=pam SIGTYPE=psx CRXTYPE=nfs SPOOLDIR=/var ACTIVEFILE=/usr/local/news/lib/active RSHPATH=/usr/bin/rsh LOCKPGM=/usr/local/libexec/mlock BASECFLAGS="-DNFSKLUDGE" BASELDFLAGS="-lpam" sh -c 'rm -rf auths.c crexcl.c nfstest.c linkage.[ch] siglocal.c osdep*.[ch] *.o ARCHIVE *FLAGS *TYPE c-client.a || true' sh -c 'rm -rf *.so libc-client4.so.8' Once-only environment setup... echo cc > CCTYPE echo -DNFSKLUDGE '' > CFLAGS echo -DCREATEPROTO=unixproto -DEMPTYPROTO=unixproto -DMAILSPOOL=\"/var/mail\" -DANONYMOUSHOME=\"/var/mail/anonymous\" -DACTIVEFILE=\"/usr/local/news/lib/active\" -DNEWSSPOOL=\"/var/news\" -DRSHPATH=\"/usr/bin/rsh\" -DLOCKPGM=\"/usr/local/libexec/mlock\" > OSCFLAGS echo -lpam > LDFLAGS echo "ar rc c-client.a osdep.o mail.o misc.o newsrc.o smanager.o utf8.o siglocal.o dummy.o pseudo.o netmsg.o flstring.o fdstring.o rfc822.o nntp.o smtp.o imap4r1.o pop3.o unix.o mbox.o mbx.o mmdf.o tenex.o mtx.o news.o phile.o mh.o mx.o;ranlib c-client.a" > ARCHIVE echo bsf > OSTYPE ./drivers mbox imap nntp pop3 mh mx mbx tenex mtx mmdf unix news phile dummy ./mkauths md5 pla log echo -DMD5ENABLE=\"/etc/cram-md5.pwd\" >> OSCFLAGS ln -s os_bsf.h osdep.h ln -s os_bsf.c osdepbas.c ln -s log_std.c osdeplog.c ln -s sig_psx.c siglocal.c ln -s crx_nfs.c crexcl.c sh -c '(test -f /usr/include/sys/statvfs.h -a bsf != sc5 -a bsf != sco) && ln -s nfstnew.c nfstest.c || ln -s nfstold.c nfstest.c' Standard password authentication ln -s ckp_pam.c osdepckp.c Building with SSL ln -s ssl_unix.c osdepssl.c echo -I/usr/include -I/usr/include/openssl -DSSL_CERT_DIRECTORY=\"/usr/local/certs\" >> OSCFLAGS echo " ssl_onceonlyinit ();" >> linkage.c echo -L/usr/lib -lssl -lcrypto -lcrypt >> LDFLAGS Building with SSL and plaintext passwords disabled unless SSL/TLS echo " mail_parameters (NIL,SET_DISABLEPLAINTEXT,(void *) 2);" >> linkage.c cat osdepbas.c osdepckp.c osdeplog.c osdepssl.c > osdep.c cc -O -pipe -DNFSKLUDGE `cat OSCFLAGS` -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 bsf SSLTYPE=none cc -c -O -pipe -DNFSKLUDGE mail.c cc -c -O -pipe -DNFSKLUDGE misc.c cc -c -O -pipe -DNFSKLUDGE newsrc.c cc -c -O -pipe -DNFSKLUDGE smanager.c cc -c -O -pipe -DNFSKLUDGE utf8.c cc -c -O -pipe -DNFSKLUDGE siglocal.c cc -c -O -pipe -DNFSKLUDGE dummy.c cc -c -O -pipe -DNFSKLUDGE pseudo.c cc -c -O -pipe -DNFSKLUDGE netmsg.c cc -c -O -pipe -DNFSKLUDGE flstring.c cc -c -O -pipe -DNFSKLUDGE fdstring.c cc -c -O -pipe -DNFSKLUDGE rfc822.c cc -c -O -pipe -DNFSKLUDGE nntp.c cc -c -O -pipe -DNFSKLUDGE smtp.c cc -c -O -pipe -DNFSKLUDGE imap4r1.c cc -c -O -pipe -DNFSKLUDGE pop3.c cc -c -O -pipe -DNFSKLUDGE unix.c cc -c -O -pipe -DNFSKLUDGE mbox.c cc -c -O -pipe -DNFSKLUDGE mbx.c cc -c -O -pipe -DNFSKLUDGE mmdf.c cc -c -O -pipe -DNFSKLUDGE tenex.c cc -c -O -pipe -DNFSKLUDGE mtx.c cc -c -O -pipe -DNFSKLUDGE news.c cc -c -O -pipe -DNFSKLUDGE phile.c cc -c -O -pipe -DNFSKLUDGE mh.c cc -c -O -pipe -DNFSKLUDGE mx.c sh -c 'rm -rf c-client.a || true' ar rc c-client.a osdep.o mail.o misc.o newsrc.o smanager.o utf8.o siglocal.o dummy.o pseudo.o netmsg.o flstring.o fdstring.o rfc822.o nntp.o smtp.o imap4r1.o pop3.o unix.o mbox.o mbx.o mmdf.o tenex.o mtx.o news.o phile.o mh.o mx.o;ranlib c-client.a cc -fpic -DPIC -c -O -pipe -DNFSKLUDGE `cat OSCFLAGS` osdep.c -o osdep.so cc -fpic -DPIC -c -O -pipe -DNFSKLUDGE mail.c -o mail.so cc -fpic -DPIC -c -O -pipe -DNFSKLUDGE misc.c -o misc.so cc -fpic -DPIC -c -O -pipe -DNFSKLUDGE newsrc.c -o newsrc.so cc -fpic -DPIC -c -O -pipe -DNFSKLUDGE smanager.c -o smanager.so cc -fpic -DPIC -c -O -pipe -DNFSKLUDGE utf8.c -o utf8.so cc -fpic -DPIC -c -O -pipe -DNFSKLUDGE siglocal.c -o siglocal.so cc -fpic -DPIC -c -O -pipe -DNFSKLUDGE dummy.c -o dummy.so cc -fpic -DPIC -c -O -pipe -DNFSKLUDGE pseudo.c -o pseudo.so cc -fpic -DPIC -c -O -pipe -DNFSKLUDGE netmsg.c -o netmsg.so cc -fpic -DPIC -c -O -pipe -DNFSKLUDGE flstring.c -o flstring.so cc -fpic -DPIC -c -O -pipe -DNFSKLUDGE fdstring.c -o fdstring.so cc -fpic -DPIC -c -O -pipe -DNFSKLUDGE rfc822.c -o rfc822.so cc -fpic -DPIC -c -O -pipe -DNFSKLUDGE nntp.c -o nntp.so cc -fpic -DPIC -c -O -pipe -DNFSKLUDGE smtp.c -o smtp.so cc -fpic -DPIC -c -O -pipe -DNFSKLUDGE imap4r1.c -o imap4r1.so cc -fpic -DPIC -c -O -pipe -DNFSKLUDGE pop3.c -o pop3.so cc -fpic -DPIC -c -O -pipe -DNFSKLUDGE unix.c -o unix.so cc -fpic -DPIC -c -O -pipe -DNFSKLUDGE mbox.c -o mbox.so cc -fpic -DPIC -c -O -pipe -DNFSKLUDGE mbx.c -o mbx.so cc -fpic -DPIC -c -O -pipe -DNFSKLUDGE mmdf.c -o mmdf.so cc -fpic -DPIC -c -O -pipe -DNFSKLUDGE tenex.c -o tenex.so cc -fpic -DPIC -c -O -pipe -DNFSKLUDGE mtx.c -o mtx.so cc -fpic -DPIC -c -O -pipe -DNFSKLUDGE news.c -o news.so cc -fpic -DPIC -c -O -pipe -DNFSKLUDGE phile.c -o phile.so cc -fpic -DPIC -c -O -pipe -DNFSKLUDGE mh.c -o mh.so cc -fpic -DPIC -c -O -pipe -DNFSKLUDGE mx.c -o mx.so ld -shared -x -soname libc-client4.so.8 -o libc-client4.so.8 osdep.so mail.so misc.so newsrc.so smanager.so utf8.so siglocal.so dummy.so pseudo.so netmsg.so flstring.so fdstring.so rfc822.so nntp.so smtp.so imap4r1.so pop3.so unix.so mbox.so mbx.so mmdf.so tenex.so mtx.so news.so phile.so mh.so mx.so `cat LDFLAGS` ln -s libc-client4.so.8 libc-client4.so echo bsf > OSTYPE touch rebuild sh -c 'rm -rf rebuild || true' ===> Installing for cclient-2002,1 /bin/mkdir -p /usr/local/include/c-client install -c -o root -g wheel -m 444 /usr/ports/mail/cclient/work/imap-2002/c-client/c-client.h /usr/local/include/c-client install -c -o root -g wheel -m 444 /usr/ports/mail/cclient/work/imap-2002/c-client/dummy.h /usr/local/include/c-client install -c -o root -g wheel -m 444 /usr/ports/mail/cclient/work/imap-2002/c-client/env.h /usr/local/include/c-client install -c -o root -g wheel -m 444 /usr/ports/mail/cclient/work/imap-2002/c-client/env_unix.h /usr/local/include/c-client install -c -o root -g wheel -m 444 /usr/ports/mail/cclient/work/imap-2002/c-client/fdstring.h /usr/local/include/c-client install -c -o root -g wheel -m 444 /usr/ports/mail/cclient/work/imap-2002/c-client/flocksim.h /usr/local/include/c-client install -c -o root -g wheel -m 444 /usr/ports/mail/cclient/work/imap-2002/c-client/flstring.h /usr/local/include/c-client install -c -o root -g wheel -m 444 /usr/ports/mail/cclient/work/imap-2002/c-client/fs.h /usr/local/include/c-client install -c -o root -g wheel -m 444 /usr/ports/mail/cclient/work/imap-2002/c-client/ftl.h /usr/local/include/c-client install -c -o root -g wheel -m 444 /usr/ports/mail/cclient/work/imap-2002/c-client/imap4r1.h /usr/local/include/c-client install -c -o root -g wheel -m 444 /usr/ports/mail/cclient/work/imap-2002/c-client/linkage.c /usr/local/include/c-client install -c -o root -g wheel -m 444 /usr/ports/mail/cclient/work/imap-2002/c-client/linkage.h /usr/local/include/c-client install -c -o root -g wheel -m 444 /usr/ports/mail/cclient/work/imap-2002/c-client/mail.h /usr/local/include/c-client install -c -o root -g wheel -m 444 /usr/ports/mail/cclient/work/imap-2002/c-client/mbox.h /usr/local/include/c-client install -c -o root -g wheel -m 444 /usr/ports/mail/cclient/work/imap-2002/c-client/mbx.h /usr/local/include/c-client install -c -o root -g wheel -m 444 /usr/ports/mail/cclient/work/imap-2002/c-client/mh.h /usr/local/include/c-client install -c -o root -g wheel -m 444 /usr/ports/mail/cclient/work/imap-2002/c-client/misc.h /usr/local/include/c-client install -c -o root -g wheel -m 444 /usr/ports/mail/cclient/work/imap-2002/c-client/mmdf.h /usr/local/include/c-client install -c -o root -g wheel -m 444 /usr/ports/mail/cclient/work/imap-2002/c-client/mtx.h /usr/local/include/c-client install -c -o root -g wheel -m 444 /usr/ports/mail/cclient/work/imap-2002/c-client/mx.h /usr/local/include/c-client install -c -o root -g wheel -m 444 /usr/ports/mail/cclient/work/imap-2002/c-client/netmsg.h /usr/local/include/c-client install -c -o root -g wheel -m 444 /usr/ports/mail/cclient/work/imap-2002/c-client/news.h /usr/local/include/c-client install -c -o root -g wheel -m 444 /usr/ports/mail/cclient/work/imap-2002/c-client/newsrc.h /usr/local/include/c-client install -c -o root -g wheel -m 444 /usr/ports/mail/cclient/work/imap-2002/c-client/nl.h /usr/local/include/c-client install -c -o root -g wheel -m 444 /usr/ports/mail/cclient/work/imap-2002/c-client/nntp.h /usr/local/include/c-client install -c -o root -g wheel -m 444 /usr/ports/mail/cclient/work/imap-2002/c-client/osdep.h /usr/local/include/c-client install -c -o root -g wheel -m 444 /usr/ports/mail/cclient/work/imap-2002/c-client/phile.h /usr/local/include/c-client install -c -o root -g wheel -m 444 /usr/ports/mail/cclient/work/imap-2002/c-client/pop3.h /usr/local/include/c-client install -c -o root -g wheel -m 444 /usr/ports/mail/cclient/work/imap-2002/c-client/pseudo.h /usr/local/include/c-client install -c -o root -g wheel -m 444 /usr/ports/mail/cclient/work/imap-2002/c-client/rfc822.h /usr/local/include/c-client install -c -o root -g wheel -m 444 /usr/ports/mail/cclient/work/imap-2002/c-client/smtp.h /usr/local/include/c-client install -c -o root -g wheel -m 444 /usr/ports/mail/cclient/work/imap-2002/c-client/sslio.h /usr/local/include/c-client install -c -o root -g wheel -m 444 /usr/ports/mail/cclient/work/imap-2002/c-client/tcp.h /usr/local/include/c-client install -c -o root -g wheel -m 444 /usr/ports/mail/cclient/work/imap-2002/c-client/tcp_unix.h /usr/local/include/c-client install -c -o root -g wheel -m 444 /usr/ports/mail/cclient/work/imap-2002/c-client/tenex.h /usr/local/include/c-client install -c -o root -g wheel -m 444 /usr/ports/mail/cclient/work/imap-2002/c-client/unix.h /usr/local/include/c-client install -c -o root -g wheel -m 444 /usr/ports/mail/cclient/work/imap-2002/c-client/utf8.h /usr/local/include/c-client install -c -o root -g wheel -m 444 /usr/ports/mail/cclient/work/imap-2002/c-client/libc-client4.so.8 /usr/local/lib /bin/ln -sf libc-client4.so.8 /usr/local/lib/libc-client4.so install -c -o root -g wheel -m 444 /usr/ports/mail/cclient/work/imap-2002/c-client/c-client.a /usr/local/lib/libc-client4.a ===> Generating temporary packing list install -c -o root -g wheel -m 444 /usr/ports/mail/cclient/work/portrevision.h /usr/local/include/c-client ================================================================================ Warning: You have chosen to include SSL support. Applications/ports that use the cclient library but do not support SSL may stop working or have problems linking. Linking explicitly with ssl (-lssl -lcrypto) may or may not help. ================================================================================ ===> Running ldconfig /sbin/ldconfig -m /usr/local/lib ===> Registering installation for cclient-2002,1 ===> Cleaning for cclient-2002,1 >Fix: >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message