Building squidstats-54_2.txz (origin /buildshare/ports/355755/www/squidstats) for powerpc-10-0 on XXX slot1: created x distfiles/ x distfiles/squidstats-r54.tar.gz x packages/ x packages/libxslt-1.1.28_3.txz x packages/pcre-8.34_1.txz x packages/xextproto-7.3.0.txz x packages/freetype2-2.5.3_2.txz x packages/xtrans-1.3.4_1.txz x packages/libpthread-stubs-0.3_4.txz x packages/libXdmcp-1.1.1_2.txz x packages/gnomehier-3.0.txz x packages/bdftopcf-1.0.4.txz x packages/pixman-0.32.4_2.txz x packages/font-misc-ethiopic-1.0.3_1.txz x packages/gettext-0.18.3.1_1.txz x packages/libXau-1.0.8_2.txz x packages/dejavu-2.34_3.txz x packages/intltool-0.50.2.txz x packages/xcmiscproto-1.2.2.txz x packages/libgcrypt-1.5.3_2.txz x packages/gmake-3.82_1.txz x packages/libfontenc-1.1.2_2.txz x packages/p5-List-MoreUtils-0.33.txz x packages/perl5-5.16.3_10.txz x packages/pkgconf-0.9.5.txz x packages/inputproto-2.3.txz x packages/mkfontdir-1.0.7.txz x packages/m4-1.4.17_1,1.txz x packages/libxml2-2.9.1_1.txz x packages/xf86bigfontproto-1.2.0.txz x packages/python2-2_2.txz x packages/p5-XML-Parser-2.41_1.txz x packages/fontsproto-2.1.2.txz x packages/fontconfig-2.11.0_3,1.txz x packages/icu-52.1.txz x packages/bison-2.7.1,1.txz x packages/python27-2.7.6_4.txz x packages/mkfontscale-1.1.1_1.txz x packages/expat-2.1.0.txz x packages/cmake-2.8.12.1_4.txz x packages/libffi-3.0.13_1.txz x packages/cairo-1.10.2_10,2.txz x packages/libgpg-error-1.13.txz x packages/png-1.5.18.txz x packages/libcheck-0.9.12.txz x packages/xcb-util-renderutil-0.3.8_2.txz x packages/libX11-1.6.2_2,1.txz x packages/libXrender-0.9.8_2.txz x packages/encodings-1.0.4_1,1.txz x packages/p5-Module-Build-0.4205.txz x packages/libtool-2.4.2_3.txz x packages/bigreqsproto-1.1.2.txz x packages/renderproto-0.11.1.txz x packages/xproto-7.0.25.txz x packages/p5-Config-IniFiles-2.83.txz x packages/rrdtool-1.4.8_1.txz x packages/harfbuzz-0.9.28.txz x packages/pango-1.34.1_4.txz x packages/xcb-proto-1.10_1.txz x packages/p5-RRD-Simple-1.44_5.txz x packages/font-misc-meltho-1.0.3_1.txz x packages/xcb-util-0.3.9_3,1.txz x packages/font-util-1.3.0_1.txz x packages/libxcb-1.10_2.txz x packages/xorg-fonts-truetype-7.7_1.txz x packages/libXft-2.3.1_2.txz x packages/graphite2-1.2.4.txz x packages/pkg-1.2.7_2.txz x packages/kbproto-1.0.6.txz x packages/libiconv-1.14_3.txz x packages/font-bh-ttf-1.0.3_1.txz x packages/cmake-modules-2.8.12.1_1.txz x packages/p5-SNMP_Session-1.13_2.txz x packages/libXfont-1.4.7_3,1.txz x packages/glib-2.36.3_2.txz x packages/gobject-introspection-1.36.0_2.txz x packages/xorg-macros-1.19.0.txz ELF ldconfig path: /lib /usr/lib /usr/lib/compat Make depends ===> squidstats-54_2 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 squidstats-54_2 ===> squidstats-54_2 depends on file: /usr/local/bin/perl5.16.3 - not found ===> Verifying install for /usr/local/bin/perl5.16.3 in /buildshare/ports/355755/lang/perl5.16 ===> Installing existing package /packages/perl5-5.16.3_10.txz Installing perl5-5.16.3_10... done ===> Returning to build of squidstats-54_2 ===> squidstats-54_2 depends on package: p5-Config-IniFiles>=2.39 - not found ===> Verifying install for p5-Config-IniFiles>=2.39 in /buildshare/ports/355755/devel/p5-Config-IniFiles ===> Installing existing package /packages/p5-Config-IniFiles-2.83.txz Installing p5-Config-IniFiles-2.83...Installing p5-List-MoreUtils-0.33... done done ===> Returning to build of squidstats-54_2 ===> squidstats-54_2 depends on package: p5-RRD-Simple>=1.44 - not found ===> Verifying install for p5-RRD-Simple>=1.44 in /buildshare/ports/355755/databases/p5-RRD-Simple ===> Installing existing package /packages/p5-RRD-Simple-1.44_5.txz Installing p5-RRD-Simple-1.44_5...Installing rrdtool-1.4.8_1...Installing cairo-1.10.2_10,2...Installing fontconfig-2.11.0_3,1...Installing expat-2.1.0... done Installing freetype2-2.5.3_2... done Running fc-cache to build fontconfig cache... /usr/local/share/fonts: skipping, no such directory /usr/local/lib/X11/fonts: caching, new cache contents: 0 fonts, 1 dirs /usr/local/lib/X11/fonts/local: caching, new cache contents: 0 fonts, 0 dirs /root/.local/share/fonts: skipping, no such directory /root/.fonts: skipping, no such directory /usr/local/share/fonts: skipping, no such directory /usr/local/lib/X11/fonts: caching, new cache contents: 0 fonts, 1 dirs /root/.local/share/fonts: skipping, no such directory /root/.fonts: skipping, no such directory /var/db/fontconfig: cleaning cache directory /root/.cache/fontconfig: not cleaning non-existent cache directory /root/.fontconfig: not cleaning non-existent cache directory fc-cache: succeeded done Installing glib-2.36.3_2...Installing gettext-0.18.3.1_1... done Installing libffi-3.0.13_1... done Installing libiconv-1.14_3... done Installing pcre-8.34_1... done Installing python27-2.7.6_4... done No schema files found: doing nothing. done Installing libXrender-0.9.8_2...Installing libX11-1.6.2_2,1...Installing kbproto-1.0.6... done Installing libXau-1.0.8_2...Installing xproto-7.0.25... done done Installing libXdmcp-1.1.1_2... done Installing libxcb-1.10_2...Installing libpthread-stubs-0.3_4... done Installing libxml2-2.9.1_1... done done done Installing renderproto-0.11.1... done done Installing pixman-0.32.4_2... done Installing png-1.5.18... done Installing xcb-util-renderutil-0.3.8_2...Installing xcb-util-0.3.9_3,1... done done done Installing dejavu-2.34_3... done Installing pango-1.34.1_4...Installing encodings-1.0.4_1,1...Installing font-util-1.3.0_1... done done Installing harfbuzz-0.9.28...Installing graphite2-1.2.4... done Installing icu-52.1... done done Installing libXft-2.3.1_2... done Installing xorg-fonts-truetype-7.7_1...Installing font-bh-ttf-1.0.3_1...Installing mkfontdir-1.0.7...Installing mkfontscale-1.1.1_1...Installing libfontenc-1.1.2_2... done done done done Installing font-misc-ethiopic-1.0.3_1... done Installing font-misc-meltho-1.0.3_1... done done done done done ==== Note that some of the standard modules are provided as separate ports since they require extra dependencies: bsddb databases/py-bsddb gdbm databases/py-gdbm sqlite3 databases/py-sqlite3 tkinter x11-toolkits/py-tkinter Install them as needed. ==== Make sure that the freetype module is loaded. If it is not, add the following line to the "Modules" section of your X Windows configuration file: Load "freetype" Add the following line to the "Files" section of X Windows configuration file: FontPath "/usr/local/lib/X11/fonts/dejavu/" Note: your X Windows configuration file is typically /etc/X11/XF86Config if you are using XFree86, and /etc/X11/xorg.conf if you are using X.Org. ===> Returning to build of squidstats-54_2 ===> squidstats-54_2 depends on package: p5-SNMP_Session>=1.11 - not found ===> Verifying install for p5-SNMP_Session>=1.11 in /buildshare/ports/355755/net-mgmt/p5-SNMP_Session ===> Installing existing package /packages/p5-SNMP_Session-1.13_2.txz Installing p5-SNMP_Session-1.13_2... done ===> Returning to build of squidstats-54_2 ===> squidstats-54_2 depends on file: /usr/local/bin/perl5.16.3 - found Make install ===> squidstats-54_2 depends on file: /usr/local/sbin/pkg - found ===> Fetching all distfiles required by squidstats-54_2 for building ===> Extracting for squidstats-54_2 => SHA256 Checksum OK for squidstats-r54.tar.gz. ===> Patching for squidstats-54_2 ===> squidstats-54_2 depends on file: /usr/local/bin/perl5.16.3 - found ===> Configuring for squidstats-54_2 ===> Building for squidstats-54_2 Making graph .. Making src .. sed " s%@GRAPH_INIPATH@%/usr/local/etc/squidstats//config.ini%g;" < stats.pl.in > stats.pl sed " s%@GRAPH_INIPATH@%/usr/local/etc/squidstats//config.ini%g;" < graph-summary.cgi.in > graph-summary.cgi sed " s%@ETCDIR@%/usr/local/etc/squidstats/%g; s%@RRD_DATADIR@%/var/db/squidstats/rrd%g; s%@TEMPLATEDIR@%/usr/local/share/squidstats/templates/%g; s%@GRAPH_WEBDIR@%/graphs/%g; s%@GRAPH_DATADIR@%/var/db/squidstats/graphs/%g; s%@GRAPH_CSSFILE@%/graph.css%g; s%@SQUID_MIBFILE@%/usr/local/etc/squid/mib.txt%g; s%@SQUID_SNMP_AGENT@%localhost:3401%g;" < config.ini.in > config.ini ===> Installing for squidstats-54_2 ===> squidstats-54_2 depends on package: p5-Config-IniFiles>=2.39 - found ===> squidstats-54_2 depends on package: p5-RRD-Simple>=1.44 - found ===> squidstats-54_2 depends on package: p5-SNMP_Session>=1.11 - found ===> squidstats-54_2 depends on file: /usr/local/bin/perl5.16.3 - found ===> Pre-installation configuration for squidstats-54_2 ===> - Creating Groups There is no group 'squid' on this system, so I will try to create it (using group id 100): Group 'squid' created successfully: squid:*:100: ===> - Creating Users Given: squid 100 squid /usr/local/squid 'Squid caching-proxy pseudo-owner' '/usr/sbin/nologin' There is no account 'squid' on this system, so I will try to create it (using user id 100): User 'squid' created successfully: squid:*:100:100::0:0:Squid caching-proxy pseudo-owner:/usr/local/squid:/usr/sbin/nologin ===> - Done. ===> Generating temporary packing list ===> Checking if www/squidstats already installed Making graph .. Making src .. install -d -m 0755 /usr/local/share/squidstats/templates/ install -m 0644 templates/clients /usr/local/share/squidstats/templates//clients install -m 0644 templates/dnsreq /usr/local/share/squidstats/templates//dnsreq install -m 0644 templates/fds /usr/local/share/squidstats/templates//fds install -m 0644 templates/hitratio /usr/local/share/squidstats/templates//hitratio install -m 0644 templates/icp /usr/local/share/squidstats/templates//icp install -m 0644 templates/ipcachereq /usr/local/share/squidstats/templates//ipcachereq install -m 0644 templates/outgoing /usr/local/share/squidstats/templates//outgoing install -m 0644 templates/cache /usr/local/share/squidstats/templates//cache install -m 0644 templates/cpu /usr/local/share/squidstats/templates//cpu install -m 0644 templates/dnssvc /usr/local/share/squidstats/templates//dnssvc install -m 0644 templates/fqdncachereq /usr/local/share/squidstats/templates//fqdncachereq install -m 0644 templates/httpsvc /usr/local/share/squidstats/templates//httpsvc install -m 0644 templates/incoming /usr/local/share/squidstats/templates//incoming install -m 0644 templates/objects /usr/local/share/squidstats/templates//objects install -m 0644 templates/requests /usr/local/share/squidstats/templates//requests install -d -m 0755 -o www /var/db/squidstats/graphs/ install -d -m 0755 -o squid /var/db/squidstats/rrd install -d -m 0755 /usr/local/share/squidstats/htdocs/ install -d -m 0755 /usr/local/www/cgi-bin/ install -d -m 0755 /usr/local/etc/squidstats/ install -m 0755 stats.pl /usr/local/bin/squidstats.pl install -m 0755 graph-summary.cgi /usr/local/www/cgi-bin//graph-summary.cgi install -m 0644 config.ini /usr/local/etc/squidstats//config.ini install -m 0644 templates.conf /usr/local/etc/squidstats//templates.conf install -m 0644 snmp_monitor.cfg /usr/local/etc/squidstats//snmp_monitor.cfg install -m 0644 graph.css /usr/local/share/squidstats/htdocs//graph.css ===> post-installation information for squidstats-54_2: To setup the database, run the following command as the statistics user (generally "squid") : # su -m squid -c "/usr/local/bin/squidstats.pl createdb" Then, add a configuration section to squid.conf to allow SNMP from localhost: # snmp config acl snmp_host src 127.0.0.1 acl all src 0.0.0.0/0 snmp_port 3401 acl snmppublic snmp_community public snmp_access allow snmppublic snmp_host snmp_access deny all Then make sure the following line is added to the squid crontab: */5 * * * * /usr/local/bin/squidstats.pl gather 2>/dev/null Next, the supplied graph.css file will need to be copied or symlinked from /usr/local/share/squidstats/htdocs/graph.css to wherever your webserver root is. Finally, you will need to ensure that the graph directory and cgi-bin script are in the right place. By default, the cgi script is installed in /usr/local/www/cgi-bin/ and the graph directory is in /var/db/squidstats/graphs; you will need to copy the graph script into the correct place and symlink the graph directory into your webserver root directory. For example, this will symlink the graph directory into the apache 1.x web root: # ln -s /var/db/squidstats/graphs /usr/local/www/data/ ===> Registering installation for squidstats-54_2 Installing squidstats-54_2... done Make package ===> Building package for squidstats-54_2 Creating package for squidstats-54_2 slot1: removed