=> Building www/squidguard Started : Saturday, 21 JUL 2018 at 02:22:45 UTC Platform: 5.3-DEVELOPMENT DragonFly v5.3.0.242.g757c0-DEVELOPMENT #30: Tue May 8 14:06:27 PDT 2018 root@pkgbox64.dragonflybsd.org:/usr/obj/usr/src/sys/X86_64_GENERIC x86_64 -------------------------------------------------- -- Environment -------------------------------------------------- UNAME_r=5.2-SYNTH UNAME_m=x86_64 UNAME_p=x86_64 UNAME_v=DragonFly 5.2-SYNTH UNAME_s=DragonFly PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin SSL_NO_VERIFY_PEER=1 TERM=dumb PKG_CACHEDIR=/var/cache/pkg8 PKG_DBDIR=/var/db/pkg8 PORTSDIR=/xports LANG=C HOME=/root USER=root -------------------------------------------------- -- Options -------------------------------------------------- ===> The following configuration options are available for squidGuard-1.4_15: DNS_BL=off: Enable DNS based blacklists DOCS=on: Build and/or install documentation EXAMPLES=on: Install sample blacklists LDAP=off: LDAP protocol support QUOTE_STRING=off: Add quoted string patch STRIP_NTDOMAIN=off: Add options to strip NT domain and krb realm ===> Use 'make config' to modify these settings -------------------------------------------------- -- CONFIGURE_ENV -------------------------------------------------- XDG_DATA_HOME=/construction/www/squidguard XDG_CONFIG_HOME=/construction/www/squidguard HOME=/construction/www/squidguard TMPDIR="/tmp" PATH=/construction/www/squidguard/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin SHELL=/bin/sh CONFIG_SHELL=/bin/sh CCVER=gcc50 CONFIG_SITE=/xports/Templates/config.site lt_cv_sys_max_cmd_len=262144 -------------------------------------------------- -- CONFIGURE_ARGS -------------------------------------------------- --with-db-inc=/usr/local/include/db5 --with-db-lib=/usr/local/lib/db5 --with-sg-config=/usr/local/etc/squid/squidGuard.conf --with-sg-dbhome=/var/db/squidGuard --with-sg-logdir=/var/log/squidGuard --with-squiduser=squid --exec-prefix=/usr/local --without-ldap --prefix=/usr/local ${_LATE_CONFIGURE_ARGS} -------------------------------------------------- -- MAKE_ENV -------------------------------------------------- XDG_DATA_HOME=/construction/www/squidguard XDG_CONFIG_HOME=/construction/www/squidguard HOME=/construction/www/squidguard TMPDIR="/tmp" PATH=/construction/www/squidguard/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin NO_PIE=yes MK_DEBUG_FILES=no MK_KERNEL_SYMBOLS=no SHELL=/bin/sh NO_LINT=YES CCVER=gcc50 PREFIX=/usr/local LOCALBASE=/usr/local NOPROFILE=1 CC="cc" CFLAGS="-pipe -O2 -fno-strict-aliasing" CPP="cpp" CPPFLAGS="-I/usr/local/include -I/usr/local/include" LDFLAGS="" LIBS="" CXX="c++" CXXFLAGS=" -pipe -O2 -fno-strict-aliasing" MANPREFIX="/usr/local" BSD_INSTALL_PROGRAM="install -s -m 555" BSD_INSTALL_LIB="install -s -m 0644" BSD_INSTALL_SCRIPT="install -m 555" BSD_INSTALL_DATA="install -m 0644" BSD_INSTALL_MAN="install -m 444" -------------------------------------------------- -- MAKE_ARGS -------------------------------------------------- DESTDIR=/construction/www/squidguard/stage -------------------------------------------------- -- PLIST_SUB -------------------------------------------------- SQUID_UID='squid' SQUID_GID='squid' LOGDIR="/var/log/squidGuard" PORTDOCS="" PORTEXAMPLES="" DNS_BL="@comment " NO_DNS_BL="" DOCS="" NO_DOCS="@comment " EXAMPLES="" NO_EXAMPLES="@comment " LDAP="@comment " NO_LDAP="" QUOTE_STRING="@comment " NO_QUOTE_STRING="" STRIP_NTDOMAIN="@comment " NO_STRIP_NTDOMAIN="" OSREL=5.2 PREFIX=%D LOCALBASE=/usr/local RESETPREFIX=/usr/local LIB32DIR=lib PROFILE="@comment " DOCSDIR="share/doc/squidGuard" EXAMPLESDIR="share/examples/squidGuard" DATADIR="/var/db/squidGuard" WWWDIR="www/squidGuard" ETCDIR="etc/squid" -------------------------------------------------- -- SUB_LIST -------------------------------------------------- PORTNAME=squidGuard DNS_BL="@comment " NO_DNS_BL="" DOCS="" NO_DOCS="@comment " EXAMPLES="" NO_EXAMPLES="@comment " LDAP="@comment " NO_LDAP="" QUOTE_STRING="@comment " NO_QUOTE_STRING="" STRIP_NTDOMAIN="@comment " NO_STRIP_NTDOMAIN="" PREFIX=/usr/local LOCALBASE=/usr/local DATADIR=/var/db/squidGuard DOCSDIR=/usr/local/share/doc/squidGuard EXAMPLESDIR=/usr/local/share/examples/squidGuard WWWDIR=/usr/local/www/squidGuard ETCDIR=/usr/local/etc/squid -------------------------------------------------- -- /etc/make.conf -------------------------------------------------- SYNTHPROFILE=Release-5.2 USE_PACKAGE_DEPENDS_ONLY=yes PACKAGE_BUILDING=yes BATCH=yes PKG_CREATE_VERBOSE=yes PORTSDIR=/xports DISTDIR=/distfiles WRKDIRPREFIX=/construction PORT_DBDIR=/options PACKAGES=/packages MAKE_JOBS_NUMBER_LIMIT=5 LICENSES_ACCEPTED= NONE HAVE_COMPAT_IA32_KERN= CONFIGURE_MAX_CMD_LEN=262144 _PERL5_FROM_BIN=5.26.1 _ALTCCVERSION_921dbbb2=none _OBJC_ALTCCVERSION_921dbbb2=none _SMP_CPUS=8 UID=0 ARCH=x86_64 OPSYS=DragonFly DFLYVERSION=500200 OSVERSION=9999999 OSREL=5.2 _OSRELEASE=5.2-SYNTH PYTHONBASE=/usr/local _PKG_CHECKED=1 -------------------------------------------------------------------------------- -- Phase: check-sanity -------------------------------------------------------------------------------- ===> License GPLv2 accepted by the user -------------------------------------------------------------------------------- -- Phase: pkg-depends -------------------------------------------------------------------------------- ===> squidGuard-1.4_15 depends on file: /usr/local/sbin/pkg - not found ===> Installing existing package /packages/All/pkg-1.10.5_1.txz Installing pkg-1.10.5_1... Extracting pkg-1.10.5_1: .......... done ===> squidGuard-1.4_15 depends on file: /usr/local/sbin/pkg - found ===> Returning to build of squidGuard-1.4_15 -------------------------------------------------------------------------------- -- Phase: fetch-depends -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- -- Phase: fetch -------------------------------------------------------------------------------- ===> License GPLv2 accepted by the user ===> SQUID_UID is set to "squid" and SQUID_GID is set to "squid". To change this specify them with your make arguments, e.g. make SQUID_UID=nobody SQUID_GID=nogroup ===> Fetching all distfiles required by squidGuard-1.4_15 for building -------------------------------------------------------------------------------- -- Phase: checksum -------------------------------------------------------------------------------- ===> License GPLv2 accepted by the user ===> SQUID_UID is set to "squid" and SQUID_GID is set to "squid". To change this specify them with your make arguments, e.g. make SQUID_UID=nobody SQUID_GID=nogroup ===> Fetching all distfiles required by squidGuard-1.4_15 for building => SHA256 Checksum OK for squidGuard-1.4.tar.gz. => SHA256 Checksum OK for squidGuard-1.4-quoted_string_support.diff. => SHA256 Checksum OK for squidGuard-1.4-dnsbl.patch. -------------------------------------------------------------------------------- -- Phase: extract-depends -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- -- Phase: extract -------------------------------------------------------------------------------- ===> License GPLv2 accepted by the user ===> SQUID_UID is set to "squid" and SQUID_GID is set to "squid". To change this specify them with your make arguments, e.g. make SQUID_UID=nobody SQUID_GID=nogroup ===> Fetching all distfiles required by squidGuard-1.4_15 for building ===> Extracting for squidGuard-1.4_15 => SHA256 Checksum OK for squidGuard-1.4.tar.gz. => SHA256 Checksum OK for squidGuard-1.4-quoted_string_support.diff. => SHA256 Checksum OK for squidGuard-1.4-dnsbl.patch. -------------------------------------------------------------------------------- -- Phase: patch-depends -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- -- Phase: patch -------------------------------------------------------------------------------- ===> Patching for squidGuard-1.4_15 ===> Applying ports patches for squidGuard-1.4_15 -------------------------------------------------------------------------------- -- Phase: build-depends -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- -- Phase: lib-depends -------------------------------------------------------------------------------- ===> squidGuard-1.4_15 depends on shared library: libdb-5.3.so - not found ===> Installing existing package /packages/All/db5-5.3.28_6.txz Installing db5-5.3.28_6... Extracting db5-5.3.28_6: .......... done ===> squidGuard-1.4_15 depends on shared library: libdb-5.3.so - found (/usr/local/lib/libdb-5.3.so) ===> Returning to build of squidGuard-1.4_15 -------------------------------------------------------------------------------- -- Phase: configure -------------------------------------------------------------------------------- ===> Configuring for squidGuard-1.4_15 configure: loading site script /xports/Templates/config.site checking for gcc... cc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether cc accepts -g... yes checking for cc option to accept ISO C89... none needed checking how to run the C preprocessor... cpp checking whether make sets $(MAKE)... yes checking for a BSD-compatible install... /usr/bin/install -c checking for bison... no checking for byacc... byacc checking for flex... flex checking lex output file root... lex.yy checking lex library... -lfl checking whether yytext is a pointer... yes checking for lynx... false checking for perl... no ** No Perl found in the PATH. Perl is required for blocked.cgi to work checking for grep that handles long lines and -e... (cached) /usr/bin/grep checking for egrep... (cached) /usr/bin/egrep checking for ANSI C header files... (cached) yes checking for sys/types.h... (cached) yes checking for sys/stat.h... (cached) yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking for memory.h... (cached) yes checking for strings.h... (cached) yes checking for inttypes.h... (cached) yes checking for stdint.h... (cached) yes checking for unistd.h... (cached) yes checking db.h usability... yes checking db.h presence... yes checking for db.h... yes checking regex.h usability... yes checking regex.h presence... yes checking for regex.h... yes checking for unistd.h... (cached) yes checking for db.h... (cached) yes checking suppress runtime logging... no checking squid runtime user ... squid checking for ldap support... no checking for mysql support... no checking for pthread_create in -lpthread... yes checking for an ANSI C-conforming const... yes checking for size_t... (cached) yes checking whether struct tm is in sys/time.h or time.h... time.h checking for regcomp... yes checking for regerror... yes checking for regexec... yes checking for strdup... (cached) yes checking for strerror... (cached) yes checking for vsprintf... (cached) yes checking for sigaction... (cached) yes checking for signal... yes configure: creating ./config.status config.status: creating Makefile config.status: creating src/Makefile config.status: creating src/sgDiv.c config.status: creating src/sg.h config.status: creating src/sg.y config.status: creating test/Makefile config.status: creating test/test1.conf config.status: creating test/test2.conf config.status: creating samples/Makefile config.status: creating samples/sample.conf config.status: creating samples/squidGuard.cgi config.status: creating samples/squidGuard-simple.cgi config.status: creating samples/squidGuard-simple-de.cgi config.status: creating contrib/Makefile config.status: creating contrib/squidGuardRobot/squidGuardRobot config.status: creating contrib/sgclean/sgclean config.status: creating contrib/hostbyname/hostbyname config.status: creating src/config.h -------------------------------------------------------------------------------- -- Phase: build -------------------------------------------------------------------------------- ===> Building for squidGuard-1.4_15 --- all --- --- all --- --- all --- making all in squidGuard-1.4 --- all --- --- all --- --- y.tab.h --- --- main.o --- --- sgLog.o --- --- sgDb.o --- --- all --- making all in src --- HTParse.o --- --- sgDb.o --- cc -I.. -I. -I. -I/usr/local/include -I/usr/local/include -I/usr/local/include/db5 -DHAVE_CONFIG_H -pipe -O2 -fno-strict-aliasing -I/usr/local/include/db5 -c sgDb.c --- sgLog.o --- cc -I.. -I. -I. -I/usr/local/include -I/usr/local/include -I/usr/local/include/db5 -DHAVE_CONFIG_H -pipe -O2 -fno-strict-aliasing -I/usr/local/include/db5 -c sgLog.c --- HTParse.o --- cc -I.. -I. -I. -I/usr/local/include -I/usr/local/include -I/usr/local/include/db5 -DHAVE_CONFIG_H -pipe -O2 -fno-strict-aliasing -I/usr/local/include/db5 -c HTParse.c --- sgDiv.o --- cc -I.. -I. -I. -I/usr/local/include -I/usr/local/include -I/usr/local/include/db5 -DHAVE_CONFIG_H -pipe -O2 -fno-strict-aliasing -I/usr/local/include/db5 -c sgDiv.c --- main.o --- cc -I.. -I. -I. -I/usr/local/include -I/usr/local/include -I/usr/local/include/db5 -DHAVE_CONFIG_H -pipe -O2 -fno-strict-aliasing -I/usr/local/include/db5 -c main.c --- sgFree.o --- --- lex.yy.c --- --- sgFree.o --- cc -I.. -I. -I. -I/usr/local/include -I/usr/local/include -I/usr/local/include/db5 -DHAVE_CONFIG_H -pipe -O2 -fno-strict-aliasing -I/usr/local/include/db5 -c sgFree.c --- sgDiv.o --- sgDiv.c: In function 'parseLine': sgDiv.c:104:3: warning: implicit declaration of function 'HTUnEscape' [-Wimplicit-function-declaration] HTUnEscape(field); ^ --- y.tab.o --- cc -I.. -I. -I. -I/usr/local/include -I/usr/local/include -I/usr/local/include/db5 -DHAVE_CONFIG_H -pipe -O2 -fno-strict-aliasing -I/usr/local/include/db5 -c y.tab.c sg.y: In function 'sgSourceUser': sg.y:593:41: warning: implicit declaration of function 'setuserinfo' [-Wimplicit-function-declaration] sgDbUpdate(sp->userDb, user, (char *) setuserinfo(), ^ sg.y:593:32: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] sgDbUpdate(sp->userDb, user, (char *) setuserinfo(), ^ sg.y: In function 'sgSourceUserList': sg.y:649:36: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] sgDbUpdate(sp->userDb, line, (char *) setuserinfo(), ^ sg.y:657:34: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] sgDbUpdate(sp->userDb, p, (char *) setuserinfo(), ^ sg.y: In function 'sgSourceExecUserList': sg.y:807:34: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] sgDbUpdate(sp->userDb, sc, (char *) setuserinfo(), ^ --- lex.yy.o --- cc -I.. -I. -I. -I/usr/local/include -I/usr/local/include -I/usr/local/include/db5 -DHAVE_CONFIG_H -pipe -O2 -fno-strict-aliasing -I/usr/local/include/db5 -c lex.yy.c --- squidGuard --- cc -L/usr/local/lib/db5 -o squidGuard main.o sgLog.o sgDb.o HTParse.o sgDiv.o sgFree.o y.tab.o lex.yy.o -lpthread -ldb-5.3 --- all --- making squidGuard in src --- all --- --- all --- --- all --- making all in test --- all --- making all in test --- all --- making all in samples --- all --- making all in contrib ===> Preparing blacklists -------------------------------------------------------------------------------- -- Phase: run-depends -------------------------------------------------------------------------------- ===> squidGuard-1.4_15 depends on file: /usr/local/sbin/squid - not found ===> Installing existing package /packages/All/squid-3.5.27_3.txz Installing squid-3.5.27_3... `-- Installing krb5-1.16.1_5... | `-- Installing gettext-runtime-0.19.8.1_1... | | `-- Installing indexinfo-0.3.1... | | `-- Extracting indexinfo-0.3.1: .... done | `-- Extracting gettext-runtime-0.19.8.1_1: .......... done | `-- Installing libressl-2.7.4... | `-- Extracting libressl-2.7.4: .......... done | `-- Installing pkgconf-1.4.2,1... | `-- Extracting pkgconf-1.4.2,1: .......... done | `-- Installing readline-7.0.3_1... | | `-- Installing ncurses-6.0.0s20171223_1... | | `-- Extracting ncurses-6.0.0s20171223_1: .......... done | `-- Extracting readline-7.0.3_1: .......... done `-- Extracting krb5-1.16.1_5: .......... done `-- Installing pcre-8.42... `-- Extracting pcre-8.42: .......... done `-- Installing perl5-5.26.2... `-- Extracting perl5-5.26.2: .......... done ===> Creating groups. Creating group 'squid' with gid '100'. ===> Creating users Creating user 'squid' with uid '100'. ===> Pre-installation configuration for squid-3.5.27_3 Extracting squid-3.5.27_3: .......... done Message from perl5-5.26.2: The /usr/bin/perl symlink has been removed starting with Perl 5.20. For shebangs, you should either use: #!/usr/local/bin/perl or #!/usr/bin/env perl The first one will only work if you have a /usr/local/bin/perl, the second will work as long as perl is in PATH. Message from squid-3.5.27_3: o You can find the configuration files for this package in the directory /usr/local/etc/squid. o The default cache directory is /var/squid/cache/. The default log directory is /var/log/squid/. Note: You must initialize new cache directories before you can start squid. Do this by running "squid -z" as 'root' or 'squid'. If your cache directories are already initialized (e.g. after an upgrade of squid) you do not need to initialize them again. o When using DiskD storage scheme remember to read documentation: http://wiki.squid-cache.org/Features/DiskDaemon and alter your kern.ipc defaults in /boot/loader.conf. DiskD will not work reliably without this. Last recomendations were: kern.ipc.msgmnb=8192 kern.ipc.msgssz=64 kern.ipc.msgtql=2048 o The default configuration will deny everyone but the local host and local networks as defined in RFC 1918 for IPv4 and RFCs 4193 and 4291 for IPv6 access to the proxy service. Edit the "http_access allow/deny" directives in /usr/local/etc/squid/squid.conf to suit your needs. o If AUTH_SQL option is set, please, don't forget to install one of following perl modules depending on database you like: databases/p5-DBD-mysql databases/p5-DBD-Pg databases/p5-DBD-SQLite To enable Squid, set squid_enable=yes in either /etc/rc.conf, /etc/rc.conf.local or /etc/rc.conf.d/squid Please see /usr/local/etc/rc.d/squid for further details. Note: If you just updated your Squid installation from an earlier version, make sure to check your Squid configuration against the 3.4 default configuration file /usr/local/etc/squid/squid.conf.sample. /usr/local/etc/squid/squid.conf.documented is a fully annotated configuration file you can consult for further reference. Additionally, you should check your configuration by calling 'squid -f /path/to/squid.conf -k parse' before starting Squid. ===> squidGuard-1.4_15 depends on file: /usr/local/sbin/squid - found ===> Returning to build of squidGuard-1.4_15 -------------------------------------------------------------------------------- -- Phase: stage -------------------------------------------------------------------------------- ===> Staging for squidGuard-1.4_15 ===> Installing sample blacklists install -m 0644 /construction/www/squidguard/README.blacklists /construction/www/squidguard/stage/usr/local/share/examples/squidGuard -> Sample blacklists installed in /usr/local/share/examples/squidGuard/blacklists ===> Installing sample configuration file -> Sample configuration file installed in: /usr/local/etc/squid ===> Generating temporary packing list Installing squidGuard Done. Installing configuration file Created directory /construction/www/squidguard/stage/var/db/squidGuard Assigned /construction/www/squidguard/stage/var/db/squidGuard to user squid Created directory /construction/www/squidguard/stage/var/log/squidGuard Assigned /construction/www/squidguard/stage/var/log/squidGuard to user squid Congratulation. SquidGuard is sucessfully installed. ===> Installing squidGuard documentation install -m 0644 /construction/www/squidguard/squidGuard-1.4/doc/*.txt /construction/www/squidguard/stage/usr/local/share/doc/squidGuard install -m 0644 /construction/www/squidguard/squidGuard-1.4/doc/*.html /construction/www/squidguard/stage/usr/local/share/doc/squidGuard install -m 0644 /construction/www/squidguard/squidGuard-1.4/doc/*.gif /construction/www/squidguard/stage/usr/local/share/doc/squidGuard install -m 0644 /construction/www/squidguard/squidGuard-1.4/doc/README /construction/www/squidguard/stage/usr/local/share/doc/squidGuard -> Documentation installed in: /usr/local/share/doc/squidGuard ====> Compressing man pages (compress-man) -------------------------------------------------------------------------------- -- Phase: package -------------------------------------------------------------------------------- ===> Building package for squidGuard-1.4_15 file sizes/checksums [59]: . done packing files [59]: . done packing directories [2]: . done -------------------------------------------------- -- Termination -------------------------------------------------- Finished: Saturday, 21 JUL 2018 at 02:23:05 UTC Duration: 00:00:19