Building softfail-2.0_1.txz (origin /buildshare/ports/355755/mail/softfail) for powerpc-10-0 on XXX slot1: created x distfiles/ x distfiles/softfail_fbsdbrasil-2.0.tar.bz2 x packages/ x packages/perl5-5.16.3_10.txz x packages/cmake-modules-2.8.12.1_1.txz x packages/qmail-spamcontrol-1.03.2624_5.txz x packages/cmake-2.8.12.1_4.txz x packages/libspf2-1.2.10_1.txz x packages/mysql55-client-5.5.37.txz x packages/libtool-2.4.2_3.txz x packages/pkg-1.2.7_2.txz ELF ldconfig path: /lib /usr/lib /usr/lib/compat Make depends ===> softfail-2.0_1 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 softfail-2.0_1 ===> softfail-2.0_1 depends on shared library: libmysqlclient.so.18 - not found ===> Verifying for libmysqlclient.so.18 in /buildshare/ports/355755/databases/mysql55-client ===> Installing existing package /packages/mysql55-client-5.5.37.txz Installing mysql55-client-5.5.37... done ===> Returning to build of softfail-2.0_1 ===> softfail-2.0_1 depends on shared library: spf2.3 - not found ===> Verifying install for spf2.3 in /buildshare/ports/355755/mail/libspf2 ===> Installing existing package /packages/libspf2-1.2.10_1.txz Installing libspf2-1.2.10_1... done ===> Returning to build of softfail-2.0_1 ===> softfail-2.0_1 depends on file: /var/qmail/bin/qmail-send - not found ===> Verifying install for /var/qmail/bin/qmail-send in /buildshare/ports/355755/mail/qmail-spamcontrol ===> Installing existing package /packages/qmail-spamcontrol-1.03.2624_5.txz Installing qmail-spamcontrol-1.03.2624_5...===> Creating users and/or groups. Creating group 'qmail' with gid '82'. Creating group 'qnofiles' with gid '81'. Creating user 'alias' with uid '81'. Creating user 'qmaild' with uid '82'. Creating user 'qmaill' with uid '83'. Creating user 'qmailp' with uid '84'. Creating user 'qmailq' with uid '85'. Creating user 'qmailr' with uid '86'. Creating user 'qmails' with uid '87'. A /usr/local/etc/rc.d/qmailsmtpd symlink was created. To enable qmail at boot time you need to copy a script to /var/qmail/rc. There are some examples at /var/qmail/boot Your hostname is slot1.XXX. soft error Sorry, I couldn't find your host's canonical name in DNS. You will have to set up control/me yourself. done ATTENTION: You can enable qmail as your default mailer executing: > /var/qmail/scripts/enable-qmail ===> Returning to build of softfail-2.0_1 ===> softfail-2.0_1 depends on file: /var/qmail/bin/qmail-send - found Make install You can use the following build options: WITH_MYSQL_SERVER= Set MySQL server address WITH_MYSQL_USER= Set user to log into mysql WITH_MYSQL_PASSWD= Set user's password to mysql WITH_MYSQL_DB= Set MySQL database to use WITH_MAXDAYSAUTOBLACKINDB= How long (days) an AUTOmatically added blacklist entry will exist in DB (used for rotate-softfail-db program) WITH_REPORTMAIL= Whom (e-mail address) to report statistics when qmail-sf.log get rotated. ===> softfail-2.0_1 depends on file: /usr/local/sbin/pkg - found ===> Fetching all distfiles required by softfail-2.0_1 for building ===> Extracting for softfail-2.0_1 => SHA256 Checksum OK for softfail_fbsdbrasil-2.0.tar.bz2. ===> Patching for softfail-2.0_1 ===> softfail-2.0_1 depends on file: /var/qmail/bin/qmail-send - found ===> softfail-2.0_1 depends on shared library: libmysqlclient.so.18 - found (/usr/local/lib/mysql/libmysqlclient.so.18) ===> softfail-2.0_1 depends on shared library: spf2.3 - found ===> Configuring for softfail-2.0_1 ===> Building for softfail-2.0_1 cc -I/usr/local/include -c xf-spf.c -o xf-spf.o In file included from xf-spf.c:11: envelope_vrf.h:8:1: warning: "FALSE" redefined In file included from xf-spf.c:9: xf-spf.h:19:1: warning: this is the location of the previous definition xf-spf.c: In function 'check_spf': xf-spf.c:90: warning: incompatible implicit declaration of built-in function 'strstr' xf-spf.c:91: warning: incompatible implicit declaration of built-in function 'strdup' cc -I/usr/local/include -c syslog.c -o syslog.o cc -O2 -pipe -fno-strict-aliasing -L/usr/local/lib/mysql/ -lmysqlclient -I/usr/local/include/ -Wall -pthread -c softfail.c softfail.c: In function 'main': softfail.c:30: warning: comparison between pointer and integer softfail.c:32: warning: comparison between pointer and integer softfail.c:35: warning: implicit declaration of function 'strlen' softfail.c:35: warning: incompatible implicit declaration of built-in function 'strlen' cc: -lmysqlclient: linker input file unused because linking not done cc -O2 -pipe -fno-strict-aliasing -L/usr/local/lib/mysql/ -lmysqlclient -I/usr/local/include/ -Wall -pthread -c envelope_vrf.c envelope_vrf.c: In function 'checkGreylist': envelope_vrf.c:268: warning: control reaches end of non-void function envelope_vrf.c: In function 'sf_custom_sqlquery': envelope_vrf.c:39: warning: control reaches end of non-void function envelope_vrf.c: In function 'checkGreylist': envelope_vrf.c:194: warning: 'earlyseen_cnt' may be used uninitialized in this function envelope_vrf.c:192: warning: 'notexpired' may be used uninitialized in this function envelope_vrf.c: In function 'checkWhiteListDomain': envelope_vrf.c:107: warning: 'black' may be used uninitialized in this function envelope_vrf.c:107: warning: 'white' may be used uninitialized in this function envelope_vrf.c: In function 'checkWhiteListIP': envelope_vrf.c:68: warning: 'black' may be used uninitialized in this function envelope_vrf.c:68: warning: 'white' may be used uninitialized in this function cc: -lmysqlclient: linker input file unused because linking not done cc -o softfail softfail.o envelope_vrf.o xf-spf.o syslog.o /usr/local/lib/libspf2.so -O2 -pipe -fno-strict-aliasing -L/usr/local/lib/mysql/ -lmysqlclient -I/usr/local/include/ -Wall -pthread cc -o rotate-softfail-db rotate-softfail-db.c -O2 -pipe -fno-strict-aliasing -L/usr/local/lib/mysql/ -lmysqlclient -I/usr/local/include/ -Wall -pthread rotate-softfail-db.c: In function 'main': rotate-softfail-db.c:61: warning: implicit declaration of function 'isprint' ===> Installing for softfail-2.0_1 ===> softfail-2.0_1 depends on file: /var/qmail/bin/qmail-send - found ===> Generating temporary packing list ===> Checking if mail/softfail already installed install -o root -g qmail -m 755 softfail /var/qmail/bin/ && touch /var/log/softfail.log && chown qmaild /var/log/softfail.log && chmod 740 /var/log/softfail.log && install -o root -g wheel -m 500 rotate-softfail-db /usr/local/bin/ && install -o root -g wheel -m 500 rotate-softfail.sh /usr/local/bin/ Please note that you have just installed softfail on /var/qmail/bin/softfail Before using it you need to properly create the MySQL database. A customized SQL sample was installed on /usr/local/share/doc/softfail/softfail.sql You can use this sample as root user for MySQL: mysql -uroot -p < /usr/local/share/doc/softfail/softfail.sql To use it you should configure SMTPEXTFORK's enviroment variable on qmail according to the instructions available on /usr/local/share/doc/softfail/README You are also suggested to add the following entries to /etc/crontab: @daily root /usr/local/bin/rotate-softfail-db @daily root /usr/local/bin/rotate-softfail.sh I can do it for you. Just type `make crontab-entry' if you wish me to add it. ===> Registering installation for softfail-2.0_1 Installing softfail-2.0_1... done Make package ===> Building package for softfail-2.0_1 Creating package for softfail-2.0_1 slot1: removed