Building p3scan-2.3.2_6.txz (origin /buildshare/ports/355755/mail/p3scan) for powerpc-10-0 on XXX slot2: created x distfiles/ x distfiles/p3scan-2.3.2.tar.gz x packages/ x packages/mpfr-3.1.2_2.txz x packages/gmp-5.1.3_2.txz x packages/mpc-1.0.2.txz x packages/gcc-4.7.3_1.txz x packages/gmake-3.82_1.txz x packages/pcre-8.34_1.txz x packages/bison-2.7.1,1.txz x packages/pkg-1.2.7_2.txz x packages/m4-1.4.17_1,1.txz x packages/gettext-0.18.3.1_1.txz x packages/perl5-5.16.3_10.txz x packages/binutils-2.24.txz ELF ldconfig path: /lib /usr/lib /usr/lib/compat Make depends ===> p3scan-2.3.2_6 depends on file: /usr/local/sbin/pkg - not found ===> Verifying install for /usr/local/sbin/pkg in /buildshare/ports/355755/ports-mgmt/pkg ===> Installing existing package /packages/pkg-1.2.7_2.txz Installing pkg-1.2.7_2... done If you are upgrading from the old package format, first run: # pkg2ng ===> Returning to build of p3scan-2.3.2_6 ===> p3scan-2.3.2_6 depends on shared library: pcre.3 - not found ===> Verifying install for pcre.3 in /buildshare/ports/355755/devel/pcre ===> Installing existing package /packages/pcre-8.34_1.txz Installing pcre-8.34_1... done ===> Returning to build of p3scan-2.3.2_6 ===> p3scan-2.3.2_6 depends on executable: gmake - not found ===> Verifying install for gmake in /buildshare/ports/355755/devel/gmake ===> Installing existing package /packages/gmake-3.82_1.txz Installing gmake-3.82_1...Installing gettext-0.18.3.1_1... done done ===> Returning to build of p3scan-2.3.2_6 Make install ===> p3scan-2.3.2_6 depends on file: /usr/local/sbin/pkg - found ===> Fetching all distfiles required by p3scan-2.3.2_6 for building ===> Extracting for p3scan-2.3.2_6 => SHA256 Checksum OK for p3scan-2.3.2.tar.gz. ===> Patching for p3scan-2.3.2_6 ===> Applying FreeBSD patches for p3scan-2.3.2_6 ===> p3scan-2.3.2_6 depends on executable: gmake - found ===> p3scan-2.3.2_6 depends on shared library: pcre.3 - found ===> Configuring for p3scan-2.3.2_6 ===> Building for p3scan-2.3.2_6 gmake[1]: Entering directory `/obj/buildshare/ports/355755/mail/p3scan/work/p3scan-2.3.2' gcc -Wall -O2 -DLOGOPT="LOG_PID|LOG_CONS" -DLOGFAC="LOG_DAEMON" -I/usr/local/include -I/usr/local/include -c getlinep3.c gcc -Wall -O2 -DLOGOPT="LOG_PID|LOG_CONS" -DLOGFAC="LOG_DAEMON" -I/usr/local/include -I/usr/local/include -c getline_ssl.c getline_ssl.c: In function 'initialize_ctx': getline_ssl.c:78: warning: assignment discards qualifiers from pointer target type gcc -Wall -O2 -DLOGOPT="LOG_PID|LOG_CONS" -DLOGFAC="LOG_DAEMON" -I/usr/local/include -I/usr/local/include -c parsefile.c gcc -Wall -O2 -DLOGOPT="LOG_PID|LOG_CONS" -DLOGFAC="LOG_DAEMON" -I/usr/local/include -I/usr/local/include -c p3scan.c p3scan.c: In function 'p3signal': p3scan.c:2867: warning: implicit declaration of function 'sigemptyset' p3scan.c:2870: warning: implicit declaration of function 'sigaction' gcc -Wall -O2 -DLOGOPT="LOG_PID|LOG_CONS" -DLOGFAC="LOG_DAEMON" -I/usr/local/include -I/usr/local/include -c scanner_basic.c gcc -Wall -O2 -DLOGOPT="LOG_PID|LOG_CONS" -DLOGFAC="LOG_DAEMON" -I/usr/local/include -I/usr/local/include -c scanner_avpd.c gcc -Wall -O2 -DLOGOPT="LOG_PID|LOG_CONS" -DLOGFAC="LOG_DAEMON" -I/usr/local/include -I/usr/local/include -c scanner_avpd_new.c gcc -Wall -O2 -DLOGOPT="LOG_PID|LOG_CONS" -DLOGFAC="LOG_DAEMON" -I/usr/local/include -I/usr/local/include -c scanner_trophie.c gcc -Wall -O2 -DLOGOPT="LOG_PID|LOG_CONS" -DLOGFAC="LOG_DAEMON" -I/usr/local/include -I/usr/local/include -c scanner_clamd.c scanner_clamd.c: In function 'check': scanner_clamd.c:248: warning: value computed is not used scanner_clamd.c: In function 'init1': scanner_clamd.c:270: warning: 'loc' is used uninitialized in this function gcc -Wall -O2 -DLOGOPT="LOG_PID|LOG_CONS" -DLOGFAC="LOG_DAEMON" -I/usr/local/include -I/usr/local/include -c scanner_bash.c cd ripmime && gmake libripmime || exit 1 gmake[2]: Entering directory `/obj/buildshare/ports/355755/mail/p3scan/work/p3scan-2.3.2/ripmime-1.4.0.6' gcc -Wall -g -O2 -I. -DRIPOLE -c strstack.c gcc -Wall -g -O2 -I. -DRIPOLE -c mime.c mime.c: In function 'MIME_decode_raw': mime.c:1347: warning: pointer targets in passing argument 2 of 'FFGET_raw' differ in signedness gcc -Wall -g -O2 -I. -DRIPOLE -c ffget.c gcc -Wall -g -O2 -I. -DRIPOLE -c MIME_headers.c MIME_headers.c: In function 'MIMEH_are_headers_RFC822': MIME_headers.c:709: warning: pointer targets in passing argument 1 of 'PLD_strlower' differ in signedness MIME_headers.c: In function 'MIMEH_parse_header_parameter': MIME_headers.c:1433: warning: pointer targets in passing argument 1 of 'PLD_strlower' differ in signedness MIME_headers.c: In function 'MIMEH_parse_contenttype': MIME_headers.c:1828: warning: pointer targets in passing argument 1 of 'PLD_strlower' differ in signedness MIME_headers.c: In function 'MIMEH_parse_contentlocation': MIME_headers.c:2066: warning: pointer targets in passing argument 1 of 'PLD_strlower' differ in signedness MIME_headers.c: In function 'MIMEH_parse_contenttransferencoding': MIME_headers.c:2153: warning: pointer targets in passing argument 1 of 'PLD_strlower' differ in signedness MIME_headers.c: In function 'MIMEH_parse_contentdisposition': MIME_headers.c:2259: warning: pointer targets in passing argument 1 of 'PLD_strlower' differ in signedness MIME_headers.c: In function 'MIMEH_headers_process': MIME_headers.c:2685: warning: pointer targets in passing argument 1 of 'PLD_strlower' differ in signedness ./build_tnef gmake[3]: Entering directory `/obj/buildshare/ports/355755/mail/p3scan/work/p3scan-2.3.2/ripmime-1.4.0.6/tnef' gcc -Wall -g -O2 -I. -Wall -g -O2 -I. -D___TNEF_BYTE_ORDER=_BYTE_ORDER -include /usr/include/machine/endian.h -c tnef.c gmake[3]: Leaving directory `/obj/buildshare/ports/355755/mail/p3scan/work/p3scan-2.3.2/ripmime-1.4.0.6/tnef' gcc -Wall -g -O2 -I. -DRIPOLE -c rawget.c gcc -Wall -g -O2 -I. -DRIPOLE -c pldstr.c pldstr.c: In function 'PLD_strstr': pldstr.c:41: warning: pointer targets in passing argument 1 of 'PLD_strlower' differ in signedness pldstr.c:43: warning: pointer targets in passing argument 1 of 'PLD_strlower' differ in signedness gcc -Wall -g -O2 -I. -DRIPOLE -c logger.c gcc -Wall -g -O2 -I. -DRIPOLE -c libmime-decoders.c gcc -Wall -g -O2 -I. -DRIPOLE -c boundary-stack.c gcc -Wall -g -O2 -I. -DRIPOLE -c uuencode.c gcc -Wall -g -O2 -I. -DRIPOLE -c filename-filters.c ./build_ripOLE gmake[3]: Entering directory `/obj/buildshare/ports/355755/mail/p3scan/work/p3scan-2.3.2/ripmime-1.4.0.6/ripOLE' rm -f *.o ripole gmake[3]: Leaving directory `/obj/buildshare/ports/355755/mail/p3scan/work/p3scan-2.3.2/ripmime-1.4.0.6/ripOLE' gmake[3]: Entering directory `/obj/buildshare/ports/355755/mail/p3scan/work/p3scan-2.3.2/ripmime-1.4.0.6/ripOLE' gcc -Wall -g -O2 -I. -c ole.c ole.c: In function 'OLE_convert_header': ole.c:611: warning: pointer targets in passing argument 1 of 'get_2byte_value' differ in signedness ole.c:612: warning: pointer targets in passing argument 1 of 'get_2byte_value' differ in signedness ole.c:613: warning: pointer targets in passing argument 1 of 'get_2byte_value' differ in signedness ole.c:614: warning: pointer targets in passing argument 1 of 'get_2byte_value' differ in signedness ole.c:617: warning: pointer targets in passing argument 1 of 'get_2byte_value' differ in signedness ole.c:620: warning: pointer targets in passing argument 1 of 'get_4byte_value' differ in signedness ole.c:621: warning: pointer targets in passing argument 1 of 'get_4byte_value' differ in signedness ole.c:622: warning: pointer targets in passing argument 1 of 'get_4byte_value' differ in signedness ole.c:623: warning: pointer targets in passing argument 1 of 'get_4byte_value' differ in signedness ole.c:624: warning: pointer targets in passing argument 1 of 'get_4byte_value' differ in signedness ole.c:625: warning: pointer targets in passing argument 1 of 'get_4byte_value' differ in signedness ole.c:626: warning: pointer targets in passing argument 1 of 'get_4byte_value' differ in signedness ole.c:639: warning: pointer targets in passing argument 1 of 'get_4byte_value' differ in signedness ole.c: In function 'OLE_convert_directory': ole.c:790: warning: pointer targets in passing argument 1 of 'get_2byte_value' differ in signedness ole.c:800: warning: pointer targets in passing argument 1 of 'get_1byte_value' differ in signedness ole.c:806: warning: pointer targets in passing argument 1 of 'get_1byte_value' differ in signedness ole.c:809: warning: pointer targets in passing argument 1 of 'get_4byte_value' differ in signedness ole.c:812: warning: pointer targets in passing argument 1 of 'get_4byte_value' differ in signedness ole.c:818: warning: pointer targets in passing argument 1 of 'get_4byte_value' differ in signedness ole.c:821: warning: pointer targets in passing argument 1 of 'get_4byte_value' differ in signedness ole.c:825: warning: pointer targets in passing argument 1 of 'get_4byte_value' differ in signedness ole.c:835: warning: pointer targets in passing argument 1 of 'get_4byte_value' differ in signedness ole.c: In function 'OLE_load_FAT': ole.c:1005: warning: pointer targets in passing argument 2 of 'OLE_print_sector' differ in signedness ole.c:1014: warning: pointer targets in passing argument 1 of 'get_4byte_value' differ in signedness ole.c:1067: warning: pointer targets in passing argument 1 of 'get_4byte_value' differ in signedness ole.c: In function 'OLE_follow_chain': ole.c:1124: warning: pointer targets in passing argument 1 of 'get_4byte_value' differ in signedness ole.c: In function 'OLE_follow_minichain': ole.c:1202: warning: pointer targets in passing argument 1 of 'get_4byte_value' differ in signedness ole.c: In function 'OLE_load_minichain': ole.c:1283: warning: pointer targets in passing argument 1 of 'get_4byte_value' differ in signedness ole.c: In function 'OLE_load_chain': ole.c:1369: warning: pointer targets in passing argument 1 of 'get_4byte_value' differ in signedness ole.c: In function 'OLE_decode_stream': ole.c:1673: warning: pointer targets in assignment differ in signedness ole.c:1693: warning: pointer targets in assignment differ in signedness ole.c: In function 'OLE_decode_file': ole.c:1805: warning: pointer targets in passing argument 1 of 'get_1byte_value' differ in signedness gcc -Wall -g -O2 -I. -c olestream-unwrap.c gcc -Wall -g -O2 -I. -c bytedecoders.c gcc -Wall -g -O2 -I. -c logger.c gcc -Wall -g -O2 -I. -c pldstr.c pldstr.c: In function 'PLD_strstr': pldstr.c:41: warning: pointer targets in passing argument 1 of 'PLD_strlower' differ in signedness pldstr.c:43: warning: pointer targets in passing argument 1 of 'PLD_strlower' differ in signedness pldstr.c: In function 'PLD_strlower': pldstr.c:367: warning: pointer targets in initialization differ in signedness gcc -Wall -g -O2 -I. -c bt-int.c gcc -Wall -g -O2 -I. ole.o olestream-unwrap.o bytedecoders.o logger.o pldstr.o bt-int.o ripole.c -o ripole gmake[3]: Leaving directory `/obj/buildshare/ports/355755/mail/p3scan/work/p3scan-2.3.2/ripmime-1.4.0.6/ripOLE' gcc -Wall -g -O2 -I. -DRIPOLE -c ripmime-api.c ar ruvs libripmime.a strstack.o mime.o ffget.o MIME_headers.o tnef/tnef.o rawget.o pldstr.o logger.o libmime-decoders.o boundary-stack.o uuencode.o filename-filters.o ripOLE/ole.o ripOLE/olestream-unwrap.o ripOLE/bytedecoders.o ripOLE/bt-int.o ripmime-api.o ar: warning: creating libripmime.a a - strstack.o a - mime.o a - ffget.o a - MIME_headers.o a - tnef/tnef.o a - rawget.o a - pldstr.o a - logger.o a - libmime-decoders.o a - boundary-stack.o a - uuencode.o a - filename-filters.o a - ripOLE/ole.o a - ripOLE/olestream-unwrap.o a - ripOLE/bytedecoders.o a - ripOLE/bt-int.o a - ripmime-api.o gmake[2]: Leaving directory `/obj/buildshare/ports/355755/mail/p3scan/work/p3scan-2.3.2/ripmime-1.4.0.6' ln -sf ripmime/libripmime.a libripmime.a gcc -o p3scan getlinep3.o getline_ssl.o parsefile.o p3scan.o scanner_basic.o scanner_avpd.o scanner_avpd_new.o scanner_trophie.o scanner_clamd.o scanner_bash.o -L. -lripmime -lpcre -lssl -lcrypto -L/usr/local/lib gmake[1]: Leaving directory `/obj/buildshare/ports/355755/mail/p3scan/work/p3scan-2.3.2' ===> Installing for p3scan-2.3.2_6 ===> Generating temporary packing list ===> Checking if mail/p3scan already installed /bin/mkdir -p /usr/local/etc/p3scan /bin/mkdir -p /var/spool/p3scan /usr/sbin/chown mailnull:mail /var/spool/p3scan install -s -o root -g wheel -m 555 /obj/buildshare/ports/355755/mail/p3scan/work/p3scan-2.3.2/p3scan /usr/local/sbin/ install -o root -g wheel -m 444 /obj/buildshare/ports/355755/mail/p3scan/work/p3scan-2.3.2/p3scan.conf /usr/local/etc/p3scan/p3scan.conf.sample install -o root -g wheel -m 444 /obj/buildshare/ports/355755/mail/p3scan/work/p3scan-2.3.2/p3scan-en.mail /usr/local/etc/p3scan/p3scan.mail.sample install -o root -g wheel -m 444 /obj/buildshare/ports/355755/mail/p3scan/work/p3scan-2.3.2/p3scan.8.gz /usr/local/man/man8/ install -o root -g wheel -m 444 /obj/buildshare/ports/355755/mail/p3scan/work/p3scan-2.3.2/p3scan_readme.8.gz /usr/local/man/man8/ /bin/mkdir -p /usr/local/share/doc/p3scan install -o root -g wheel -m 444 /obj/buildshare/ports/355755/mail/p3scan/work/p3scan-2.3.2/AUTHORS /usr/local/share/doc/p3scan install -o root -g wheel -m 444 /obj/buildshare/ports/355755/mail/p3scan/work/p3scan-2.3.2/CHANGELOG /usr/local/share/doc/p3scan install -o root -g wheel -m 444 /obj/buildshare/ports/355755/mail/p3scan/work/p3scan-2.3.2/LICENSE /usr/local/share/doc/p3scan install -o root -g wheel -m 444 /obj/buildshare/ports/355755/mail/p3scan/work/p3scan-2.3.2/NEWS /usr/local/share/doc/p3scan install -o root -g wheel -m 444 /obj/buildshare/ports/355755/mail/p3scan/work/p3scan-2.3.2/README /usr/local/share/doc/p3scan ===> Staging rc.d startup script(s) You already have a group "mail", so I will use it. You already have a user "mailnull", so I will use it. Fixing ownerships and modes in "/var/spool/p3scan". Creating "/var/spool/p3scan/children". Fixing ownerships and modes in "/var/spool/p3scan/children". Creating "/var/spool/p3scannotify". Fixing ownerships and modes in "/var/spool/p3scannotify". Creating "/var/run/p3scan/". Fixing ownerships and modes in "/var/run/p3scan/". ********************************************************************** By default, P3Scan is configured to work with McAfee UVSCAN. Please copy /usr/local/etc/p3scan/p3scan.conf.sample to p3scan.conf and modify /usr/local/etc/p3scan/p3scan.conf and/or /usr/local/etc/rc.d/p3scan.sh to fit your environment. Don't forget to copy /usr/local/etc/p3scan/p3scan.mail.sample to p3scan.mail and edit your own template for virus notifications. By the way, you need to enable IPFIREWALL and IPFIREWALL_FORWARD options in kernel, and add the forwarding rule into your IPFW table, # ipfw add fwd 192.168.0.254,8110 tcp from 192.168.0.0/24 to any pop3 while 192.168.0.254 is the IP of your internal interface, 8110 is the default port of P3scan, and 192.168.0.0/24 is the IP range of your LAN. Don't forget chown -R /var/run/p3scan /var/spool/p3scan must be same as in running clamd. ********************************************************************** ===> Registering installation for p3scan-2.3.2_6 Installing p3scan-2.3.2_6... done ===> SECURITY REPORT: This port has installed the following files which may act as network servers and may therefore pose a remote security risk to the system. /usr/local/sbin/p3scan This port has installed the following startup scripts which may cause these network services to be started at boot time. /usr/local/etc/rc.d/p3scan 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://p3scan.sourceforge.net/ Make package ===> Building package for p3scan-2.3.2_6 Creating package for p3scan-2.3.2_6 slot2: removed