Building bruteblock-0.0.5_4.txz (origin /buildshare/ports/355755/security/bruteblock) for powerpc-10-0 on XXX slot1: created x distfiles/ x distfiles/bruteblock-0.0.5.tar.gz x packages/ x packages/pcre-8.34_1.txz x packages/pkg-1.2.7_2.txz ELF ldconfig path: /lib /usr/lib /usr/lib/compat Make depends ===> bruteblock-0.0.5_4 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 bruteblock-0.0.5_4 ===> bruteblock-0.0.5_4 depends on shared library: libpcre.so - not found ===> Verifying for libpcre.so 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 bruteblock-0.0.5_4 Make install ===> bruteblock-0.0.5_4 depends on file: /usr/local/sbin/pkg - found ===> Fetching all distfiles required by bruteblock-0.0.5_4 for building ===> Extracting for bruteblock-0.0.5_4 => SHA256 Checksum OK for bruteblock-0.0.5.tar.gz. ===> Patching for bruteblock-0.0.5_4 ===> Applying FreeBSD patches for bruteblock-0.0.5_4 ===> bruteblock-0.0.5_4 depends on shared library: libpcre.so - found (/usr/local/lib/libpcre.so.3) ===> Configuring for bruteblock-0.0.5_4 ===> Building for bruteblock-0.0.5_4 cc -O2 -pipe -fno-strict-aliasing -s -Wall -I/usr/local/include -c bruteblock.c bruteblock.c: In function 'main': bruteblock.c:232: warning: pointer targets in passing argument 1 of 'snprintf' differ in signedness bruteblock.c:233: warning: pointer targets in passing argument 2 of 'iniparser_getstr' differ in signedness bruteblock.c:258: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness bruteblock.c:263: warning: pointer targets in passing argument 3 of 'pcre_exec' differ in signedness bruteblock.c:278: warning: pointer targets in initialization differ in signedness cc -O2 -pipe -fno-strict-aliasing -s -Wall -I/usr/local/include -c utils.c cc -O2 -pipe -fno-strict-aliasing -s -Wall -I/usr/local/include -c ipfw2.c cc -O2 -pipe -fno-strict-aliasing -c iniparser.c cc -O2 -pipe -fno-strict-aliasing -c dictionary.c cc -O2 -pipe -fno-strict-aliasing -c strlib.c cc -s -o bruteblock bruteblock.o utils.o ipfw2.o -L/usr/local/lib -Liniparse -lpcre -liniparser cc -O2 -pipe -fno-strict-aliasing -s -Wall -I/usr/local/include -c bruteblockd.c cc -O2 -pipe -fno-strict-aliasing -s -Wall -I/usr/local/include -c pidfile.c cc -s -o bruteblockd bruteblockd.o utils.o ipfw2.o pidfile.o -L/usr/local/lib -Liniparse -lpcre -liniparser ===> Staging for bruteblock-0.0.5_4 ===> Generating temporary packing list install -s -o root -g wheel -m 555 /obj/buildshare/ports/355755/security/bruteblock/work/bruteblock-0.0.5/bruteblock /obj/buildshare/ports/355755/security/bruteblock/work/stage/usr/local/sbin/ install -s -o root -g wheel -m 555 /obj/buildshare/ports/355755/security/bruteblock/work/bruteblock-0.0.5/bruteblockd /obj/buildshare/ports/355755/security/bruteblock/work/stage/usr/local/sbin/ /bin/mkdir -p /obj/buildshare/ports/355755/security/bruteblock/work/stage/usr/local/etc/bruteblock install -o root -g wheel -m 444 /obj/buildshare/ports/355755/security/bruteblock/work/bruteblock-0.0.5/etc/ssh.conf /obj/buildshare/ports/355755/security/bruteblock/work/stage/usr/local/etc/bruteblock/ssh.conf.dist install -o root -g wheel -m 444 /obj/buildshare/ports/355755/security/bruteblock/work/bruteblock-0.0.5/etc/proftpd.conf /obj/buildshare/ports/355755/security/bruteblock/work/stage/usr/local/etc/bruteblock/proftpd.conf.dist install -o root -g wheel -m 444 /obj/buildshare/ports/355755/security/bruteblock/work/bruteblock-0.0.5/doc/bruteblock.8 /obj/buildshare/ports/355755/security/bruteblock/work/stage/usr/local/man/man8/ /bin/mkdir -p /obj/buildshare/ports/355755/security/bruteblock/work/stage/usr/local/share/doc/bruteblock install -o root -g wheel -m 444 /obj/buildshare/ports/355755/security/bruteblock/work/bruteblock-0.0.5/doc/FAQ /obj/buildshare/ports/355755/security/bruteblock/work/stage/usr/local/share/doc/bruteblock/ install -o root -g wheel -m 444 /obj/buildshare/ports/355755/security/bruteblock/work/bruteblock-0.0.5/doc/README /obj/buildshare/ports/355755/security/bruteblock/work/stage/usr/local/share/doc/bruteblock/ install -o root -g wheel -m 444 /obj/buildshare/ports/355755/security/bruteblock/work/bruteblock-0.0.5/doc/CHANGES /obj/buildshare/ports/355755/security/bruteblock/work/stage/usr/local/share/doc/bruteblock/ ====> Compressing man pages (compress-man) ===> Staging rc.d startup script(s) ===> Installing for bruteblock-0.0.5_4 ===> Checking if security/bruteblock already installed ===> Registering installation for bruteblock-0.0.5_4 Installing bruteblock-0.0.5_4... done ===> CONFIGURATION NOTE: Configuration of the bruteblock is done via configuration files located at /usr/local/etc/bruteblock/ To run the script, append following lines to /etc/syslog.conf: !* auth.info;authpriv.info |exec /usr/local/sbin/bruteblock -f /usr/local/etc/bruteblock/ssh.conf and restart syslogd. Also you should add ipfw2 table and the corresponding deny rule. For example, # ipfw add deny ip from table(1) to any Next, you'll want to setup periodical cleanup of ipfw2 table. Add following lines to /etc/rc.conf: bruteblockd_enable="YES" bruteblockd_table="1" bruteblockd_flags="-s 5" and start bruteblockd: /usr/local/etc/rc.d/bruteblockd.sh start See bruteblock(8) for more details. Make package ===> Building package for bruteblock-0.0.5_4 slot1: removed