=> Building security/doorman Started : Friday, 14 FEB 2020 at 18:13:50 UTC Platform: 5.7-DEVELOPMENT DragonFly v5.7.0.1432.g9cd86-DEVELOPMENT #23: Thu Feb 13 14:43:04 PST 2020 root@sting.dragonflybsd.org:/usr/obj/usr/src/sys/X86_64_GENERIC x86_64 -------------------------------------------------- -- Environment -------------------------------------------------- UNAME_r=5.7-SYNTH UNAME_m=x86_64 UNAME_p=x86_64 UNAME_v=DragonFly 5.7-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 -------------------------------------------------- -------------------------------------------------- -- CONFIGURE_ENV -------------------------------------------------- XDG_DATA_HOME=/construction/security/doorman XDG_CONFIG_HOME=/construction/security/doorman HOME=/construction/security/doorman TMPDIR="/tmp" PATH=/construction/security/doorman/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin SHELL=/bin/sh CONFIG_SHELL=/bin/sh CCVER=gcc80 CONFIG_SITE=/xports/Templates/config.site lt_cv_sys_max_cmd_len=262144 -------------------------------------------------- -- CONFIGURE_ARGS -------------------------------------------------- --prefix=/usr/local ${_LATE_CONFIGURE_ARGS} -------------------------------------------------- -- MAKE_ENV -------------------------------------------------- XDG_DATA_HOME=/construction/security/doorman XDG_CONFIG_HOME=/construction/security/doorman HOME=/construction/security/doorman TMPDIR="/tmp" PATH=/construction/security/doorman/.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=gcc80 PREFIX=/usr/local LOCALBASE=/usr/local NOPROFILE=1 CC="cc" CFLAGS="-pipe -O2 -fno-strict-aliasing " CPP="cpp" CPPFLAGS="" 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/security/doorman/stage -------------------------------------------------- -- PLIST_SUB -------------------------------------------------- OSREL=5.7 PREFIX=%D LOCALBASE=/usr/local RESETPREFIX=/usr/local LIB32DIR=lib PROFILE="@comment " DOCSDIR="share/doc/doorman" EXAMPLESDIR="share/examples/doorman" DATADIR="share/doorman" WWWDIR="www/doorman" ETCDIR="etc/doorman" -------------------------------------------------- -- SUB_LIST -------------------------------------------------- PREFIX=/usr/local LOCALBASE=/usr/local DATADIR=/usr/local/share/doorman DOCSDIR=/usr/local/share/doc/doorman EXAMPLESDIR=/usr/local/share/examples/doorman WWWDIR=/usr/local/www/doorman ETCDIR=/usr/local/etc/doorman -------------------------------------------------- -- /etc/make.conf -------------------------------------------------- SYNTHPROFILE=LiveSystem 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=15 DPORTS_BUILDER= yes DISABLE_LICENSES= yes DEFAULT_VERSIONS= ssl=openssl FORCE_PACKAGE= yes DEVELOPER= yes HAVE_COMPAT_IA32_KERN= CONFIGURE_MAX_CMD_LEN=262144 _PERL5_FROM_BIN=5.30.1 _ALTCCVERSION_921dbbb2=none _OBJC_ALTCCVERSION_921dbbb2=none _SMP_CPUS=32 UID=0 ARCH=x86_64 OPSYS=DragonFly DFLYVERSION=500709 OSVERSION=9999999 OSREL=5.7 _OSRELEASE=5.7-SYNTH PYTHONBASE=/usr/local _PKG_CHECKED=1 -------------------------------------------------------------------------------- -- Phase: check-sanity -------------------------------------------------------------------------------- ===> NOTICE: The doorman port currently does not have a maintainer. As a result, it is more likely to have unresolved issues, not be up-to-date, or even be removed in the future. To volunteer to maintain this port, please create an issue at: https://bugs.freebsd.org/bugzilla More information about port maintainership is available at: https://www.freebsd.org/doc/en/articles/contributing/ports-contributing.html#maintain-port -------------------------------------------------------------------------------- -- Phase: pkg-depends -------------------------------------------------------------------------------- ===> doorman-0.81_2 depends on file: /usr/local/sbin/pkg - not found ===> Installing existing package /packages/All/pkg-1.12.0_1.txz Installing pkg-1.12.0_1... Extracting pkg-1.12.0_1: .......... done ===> doorman-0.81_2 depends on file: /usr/local/sbin/pkg - found ===> Returning to build of doorman-0.81_2 -------------------------------------------------------------------------------- -- Phase: fetch-depends -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- -- Phase: fetch -------------------------------------------------------------------------------- ===> NOTICE: The doorman port currently does not have a maintainer. As a result, it is more likely to have unresolved issues, not be up-to-date, or even be removed in the future. To volunteer to maintain this port, please create an issue at: https://bugs.freebsd.org/bugzilla More information about port maintainership is available at: https://www.freebsd.org/doc/en/articles/contributing/ports-contributing.html#maintain-port ===> Fetching all distfiles required by doorman-0.81_2 for building -------------------------------------------------------------------------------- -- Phase: checksum -------------------------------------------------------------------------------- ===> NOTICE: The doorman port currently does not have a maintainer. As a result, it is more likely to have unresolved issues, not be up-to-date, or even be removed in the future. To volunteer to maintain this port, please create an issue at: https://bugs.freebsd.org/bugzilla More information about port maintainership is available at: https://www.freebsd.org/doc/en/articles/contributing/ports-contributing.html#maintain-port ===> Fetching all distfiles required by doorman-0.81_2 for building => SHA256 Checksum OK for doorman-0.81.tgz. -------------------------------------------------------------------------------- -- Phase: extract-depends -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- -- Phase: extract -------------------------------------------------------------------------------- ===> NOTICE: The doorman port currently does not have a maintainer. As a result, it is more likely to have unresolved issues, not be up-to-date, or even be removed in the future. To volunteer to maintain this port, please create an issue at: https://bugs.freebsd.org/bugzilla More information about port maintainership is available at: https://www.freebsd.org/doc/en/articles/contributing/ports-contributing.html#maintain-port ===> Fetching all distfiles required by doorman-0.81_2 for building ===> Extracting for doorman-0.81_2 ===> NOTICE: The doorman port currently does not have a maintainer. As a result, it is more likely to have unresolved issues, not be up-to-date, or even be removed in the future. To volunteer to maintain this port, please create an issue at: https://bugs.freebsd.org/bugzilla More information about port maintainership is available at: https://www.freebsd.org/doc/en/articles/contributing/ports-contributing.html#maintain-port ===> Fetching all distfiles required by doorman-0.81_2 for building => SHA256 Checksum OK for doorman-0.81.tgz. -------------------------------------------------------------------------------- -- Phase: patch-depends -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- -- Phase: patch -------------------------------------------------------------------------------- ===> Patching for doorman-0.81_2 ===> Applying ports patches for doorman-0.81_2 -------------------------------------------------------------------------------- -- Phase: build-depends -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- -- Phase: lib-depends -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- -- Phase: configure -------------------------------------------------------------------------------- ===> Configuring for doorman-0.81_2 configure: loading site script /xports/Templates/config.site checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for gawk... (cached) /usr/bin/awk checking whether make sets $(MAKE)... yes checking for style of include used by make... GNU 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 ANSI C... none needed checking dependency style of cc... gcc3 checking how to run the C preprocessor... cpp checking for egrep... grep -E checking whether cc needs -traditional... no checking for an ANSI C-conforming const... yes checking for gcc... (cached) cc checking whether we are using the GNU C compiler... (cached) yes checking whether cc accepts -g... (cached) yes checking for cc option to accept ANSI C... (cached) none needed checking dependency style of cc... (cached) gcc3 checking for flex... flex checking for yywrap in -lfl... yes checking lex output file root... lex.yy checking whether yytext is a pointer... yes 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 for stdlib.h... (cached) yes checking for GNU libc compatible realloc... yes checking for lsof... no  *** Utility 'lsof' is missing; doormand cannot function properly without it. *** (Get lsof at: ftp://lsof.itap.purdue.edu/pub/tools/unix/lsof/lsof.tar.gz) checking netinet/in_systm.h usability... yes checking netinet/in_systm.h presence... yes checking for netinet/in_systm.h... yes checking for netinet/in.h... (cached) yes checking for netinet/tcp.h... yes checking for netinet/udp.h... yes checking pcap.h usability... yes checking pcap.h presence... yes checking for pcap.h... yes checking pcap/pcap.h usability... yes checking pcap/pcap.h presence... yes checking for pcap/pcap.h... yes checking for sys/cdefs.h... (cached) yes checking sys/sockio.h usability... yes checking sys/sockio.h presence... yes checking for sys/sockio.h... yes checking for MD5Init... no checking for hmac_md5... no checking for daemon... (cached) yes checking for strsignal... (cached) yes checking for library containing socket... none required checking for library containing yywrap... -lfl checking for library containing gethostbyname... none required checking for library containing pcap_open_live... -lpcap configure: creating ./config.status config.status: creating Makefile config.status: creating config.h config.status: executing depfiles commands -------------------------------------------------------------------------------- -- Phase: build -------------------------------------------------------------------------------- ===> Building for doorman-0.81_2 --- ./aclocal.m4 --- cd . && /bin/sh /construction/security/doorman/doorman-0.81/missing --run aclocal-1.8 --- ./config.h.in --- cd . && /bin/sh /construction/security/doorman/doorman-0.81/missing --run autoheader rm -f stamp-h1 touch ./config.h.in --- stamp-h1 --- cd . && /bin/sh ./config.status config.h config.status: creating config.h config.status: config.h is unchanged --- all --- /usr/bin/make all-am --- ./aclocal.m4 --- --- knock.o --- --- utilities.o --- --- md5.o --- --- hmac_md5.o --- --- doormand.o --- --- lexer.c --- --- ./aclocal.m4 --- cd . && /bin/sh /construction/security/doorman/doorman-0.81/missing --run aclocal-1.8 --- knock.o --- if cc -DHAVE_CONFIG_H -I. -I. -I. -Wall -DCONFIG_DIR="\"/usr/local/etc/doormand\"" -pipe -O2 -fno-strict-aliasing -MT knock.o -MD -MP -MF ".deps/knock.Tpo" -c -o knock.o knock.c; then mv -f ".deps/knock.Tpo" ".deps/knock.Po"; else rm -f ".deps/knock.Tpo"; exit 1; fi --- utilities.o --- if cc -DHAVE_CONFIG_H -I. -I. -I. -Wall -DCONFIG_DIR="\"/usr/local/etc/doormand\"" -pipe -O2 -fno-strict-aliasing -MT utilities.o -MD -MP -MF ".deps/utilities.Tpo" -c -o utilities.o utilities.c; then mv -f ".deps/utilities.Tpo" ".deps/utilities.Po"; else rm -f ".deps/utilities.Tpo"; exit 1; fi --- md5.o --- if cc -DHAVE_CONFIG_H -I. -I. -I. -Wall -DCONFIG_DIR="\"/usr/local/etc/doormand\"" -pipe -O2 -fno-strict-aliasing -MT md5.o -MD -MP -MF ".deps/md5.Tpo" -c -o md5.o `test -f 'Replacement_fns/md5.c' || echo './'`Replacement_fns/md5.c; then mv -f ".deps/md5.Tpo" ".deps/md5.Po"; else rm -f ".deps/md5.Tpo"; exit 1; fi --- hmac_md5.o --- if cc -DHAVE_CONFIG_H -I. -I. -I. -Wall -DCONFIG_DIR="\"/usr/local/etc/doormand\"" -pipe -O2 -fno-strict-aliasing -MT hmac_md5.o -MD -MP -MF ".deps/hmac_md5.Tpo" -c -o hmac_md5.o `test -f 'Replacement_fns/hmac_md5.c' || echo './'`Replacement_fns/hmac_md5.c; then mv -f ".deps/hmac_md5.Tpo" ".deps/hmac_md5.Po"; else rm -f ".deps/hmac_md5.Tpo"; exit 1; fi --- doormand.o --- if cc -DHAVE_CONFIG_H -I. -I. -I. -Wall -DCONFIG_DIR="\"/usr/local/etc/doormand\"" -pipe -O2 -fno-strict-aliasing -MT doormand.o -MD -MP -MF ".deps/doormand.Tpo" -c -o doormand.o doormand.c; then mv -f ".deps/doormand.Tpo" ".deps/doormand.Po"; else rm -f ".deps/doormand.Tpo"; exit 1; fi --- lexer.c --- flex lexer.l sed '/^#/ s|lex.yy\.c|lexer.c|' lex.yy.c >lexer.c --- utilities.o --- utilities.c: In function 'xxdump': utilities.c:141:11: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] p = itohex (buffer, ((unsigned long)base)+line) ; ^ utilities.c:148:25: warning: pointer targets in passing argument 1 of 'btohex' differ in signedness [-Wpointer-sign] p = btohex (p, data[i]) ; ^ utilities.c:95:7: note: expected 'char *' but argument is of type 'unsigned char *' char *btohex (char *p, char c) ^~~~~~ utilities.c:148:15: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] p = btohex (p, data[i]) ; ^ utilities.c:151:11: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] p = buffer + 63 ; ^ --- lexer.c --- rm -f lex.yy.c --- hmac_md5.o --- Replacement_fns/hmac_md5.c: In function 'hmac_md5': Replacement_fns/hmac_md5.c:111:14: warning: pointer targets in passing argument 1 of 'MD5Final' differ in signedness [-Wpointer-sign] MD5Final(digest, &context); /* finish up 1st pass */ ^~~~~~ In file included from Replacement_fns/hmac_md5.c:2: Replacement_fns/md5.h:64:6: note: expected 'unsigned char *' but argument is of type 'caddr_t' {aka 'char *'} void MD5Final (unsigned char digest[16], MD5_CTX * mdContext); ^~~~~~~~ Replacement_fns/hmac_md5.c:118:25: warning: pointer targets in passing argument 2 of 'MD5Update' differ in signedness [-Wpointer-sign] MD5Update(&context, digest, 16); /* then results of 1st ^~~~~~ In file included from Replacement_fns/hmac_md5.c:2: Replacement_fns/md5.h:63:6: note: expected 'unsigned char *' but argument is of type 'caddr_t' {aka 'char *'} void MD5Update (MD5_CTX * mdContext, unsigned char *bug, unsigned int len); ^~~~~~~~~ Replacement_fns/hmac_md5.c:120:14: warning: pointer targets in passing argument 1 of 'MD5Final' differ in signedness [-Wpointer-sign] MD5Final(digest, &context); /* finish up 2nd pass */ ^~~~~~ In file included from Replacement_fns/hmac_md5.c:2: Replacement_fns/md5.h:64:6: note: expected 'unsigned char *' but argument is of type 'caddr_t' {aka 'char *'} void MD5Final (unsigned char digest[16], MD5_CTX * mdContext); ^~~~~~~~ --- lexer.o --- if cc -DHAVE_CONFIG_H -I. -I. -I. -Wall -DCONFIG_DIR="\"/usr/local/etc/doormand\"" -pipe -O2 -fno-strict-aliasing -MT lexer.o -MD -MP -MF ".deps/lexer.Tpo" -c -o lexer.o lexer.c; then mv -f ".deps/lexer.Tpo" ".deps/lexer.Po"; else rm -f ".deps/lexer.Tpo"; exit 1; fi --- doormand.o --- doormand.c: In function 'manage_firewall': doormand.c:745:26: warning: variable 'uname' set but not used [-Wunused-but-set-variable] char *uname, *status ; ^~~~~ doormand.c: In function 'main': doormand.c:1042:11: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] p = cfg_first_ascii_value (&cfg, "logfile") ; ^ doormand.c:1044:15: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] p = DEFAULT_LOGFILE ; ^ doormand.c:1047:28: warning: pointer targets in passing argument 1 of 'err_openlog' differ in signedness [-Wpointer-sign] err = err_openlog (p, "debug") ; ^ In file included from doormand.c:156: utilities.h:95:6: note: expected 'char *' but argument is of type 'unsigned char *' int err_openlog (char *name, char *levelname) ; ^~~~~~~~~~~ doormand.c:1050:11: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] p = cfg_first_ascii_value (&cfg, "loglevel") ; ^ doormand.c:1063:7: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] p = cfg_first_ascii_value (&cfg, "interface") ; ^ doormand.c:1065:22: warning: pointer targets in passing argument 2 of 'strncpy' differ in signedness [-Wpointer-sign] strncpy (device, p, IFNAMSIZ) ; ^ In file included from doormand.c:135: /usr/include/string.h:118:7: note: expected 'const char * restrict' but argument is of type 'unsigned char *' char *strncpy(char * __restrict, const char * __restrict, size_t); ^~~~~~~ doormand.c:1071:15: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] p = cfg_first_ascii_value (&cfg, "pidfile") ; ^ doormand.c:1073:19: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] p = DEFAULT_PIDFILE ; ^ doormand.c:1075:33: warning: pointer targets in passing argument 2 of 'strncpy' differ in signedness [-Wpointer-sign] strncpy (G_pidfile, p, _POSIX_PATH_MAX) ; ^ In file included from doormand.c:135: /usr/include/string.h:118:7: note: expected 'const char * restrict' but argument is of type 'unsigned char *' char *strncpy(char * __restrict, const char * __restrict, size_t); ^~~~~~~ doormand.c:1094:7: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] p = cfg_first_ascii_value (&cfg, "port") ; ^ doormand.c:1096:21: warning: pointer targets in passing argument 1 of 'atoi' differ in signedness [-Wpointer-sign] port = atoi(p) ; ^ In file included from doormand.c:74: /usr/include/stdlib.h:92:6: note: expected 'const char *' but argument is of type 'unsigned char *' int atoi(const char *); ^~~~ doormand.c:1106:7: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] p = cfg_first_ascii_value (&cfg, "waitfor") ; ^ doormand.c:1108:26: warning: pointer targets in passing argument 1 of 'atoi' differ in signedness [-Wpointer-sign] G_waitfor = atoi(p) ; ^ In file included from doormand.c:74: /usr/include/stdlib.h:92:6: note: expected 'const char *' but argument is of type 'unsigned char *' int atoi(const char *); ^~~~ doormand.c:1118:7: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] p = cfg_first_ascii_value (&cfg, "connection-delay-1") ; ^ doormand.c:1119:24: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] if (p == NULL) p = cfg_first_ascii_value (&cfg, "connection_delay_1") ; ^ doormand.c:1121:31: warning: pointer targets in passing argument 1 of 'atoi' differ in signedness [-Wpointer-sign] G_conn_delay_1 = atoi(p) ; ^ In file included from doormand.c:74: /usr/include/stdlib.h:92:6: note: expected 'const char *' but argument is of type 'unsigned char *' int atoi(const char *); ^~~~ doormand.c:1132:7: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] p = cfg_first_ascii_value (&cfg, "connection-delay-2") ; ^ doormand.c:1133:24: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] if (p == NULL) p = cfg_first_ascii_value (&cfg, "connection_delay_2") ; ^ doormand.c:1135:31: warning: pointer targets in passing argument 1 of 'atoi' differ in signedness [-Wpointer-sign] G_conn_delay_2 = atoi(p) ; ^ In file included from doormand.c:74: /usr/include/stdlib.h:92:6: note: expected 'const char *' but argument is of type 'unsigned char *' int atoi(const char *); ^~~~ doormand.c:1148:7: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] p = cfg_first_ascii_value (&cfg, "link-header-length") ; ^ doormand.c:1151:41: warning: pointer targets in passing argument 1 of 'strtoul' differ in signedness [-Wpointer-sign] G_link_header_length = strtoul (p, NULL, 10) ; ^ In file included from doormand.c:74: /usr/include/stdlib.h:122:3: note: expected 'const char * restrict' but argument is of type 'unsigned char *' strtoul(const char * __restrict, char ** __restrict, int); ^~~~~~~ doormand.c:1160:7: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] p = cfg_first_ascii_value (&cfg, "fail-limit") ; ^ doormand.c:1162:27: warning: pointer targets in passing argument 1 of 'atoi' differ in signedness [-Wpointer-sign] fail_limit = atoi(p) ; ^ In file included from doormand.c:74: /usr/include/stdlib.h:92:6: note: expected 'const char *' but argument is of type 'unsigned char *' int atoi(const char *); ^~~~ doormand.c:1172:7: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] p = cfg_first_ascii_value (&cfg, "fail-delay") ; ^ doormand.c:1174:27: warning: pointer targets in passing argument 1 of 'atoi' differ in signedness [-Wpointer-sign] fail_delay = atoi(p) ; ^ In file included from doormand.c:74: /usr/include/stdlib.h:92:6: note: expected 'const char *' but argument is of type 'unsigned char *' int atoi(const char *); ^~~~ doormand.c:1184:7: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] p = cfg_first_ascii_value (&cfg, "guestlist") ; ^ doormand.c:1186:34: warning: pointer targets in passing argument 2 of 'strncpy' differ in signedness [-Wpointer-sign] strncpy (guestlist_name, p, 254) ; ^ In file included from doormand.c:135: /usr/include/string.h:118:7: note: expected 'const char * restrict' but argument is of type 'unsigned char *' char *strncpy(char * __restrict, const char * __restrict, size_t); ^~~~~~~ doormand.c:1206:7: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] p = cfg_first_ascii_value (&cfg, "firewall-add") ; ^ doormand.c:1208:28: warning: pointer targets in passing argument 2 of 'strncpy' differ in signedness [-Wpointer-sign] strncpy (G_fw_add, p, _POSIX_PATH_MAX) ; ^ In file included from doormand.c:135: /usr/include/string.h:118:7: note: expected 'const char * restrict' but argument is of type 'unsigned char *' char *strncpy(char * __restrict, const char * __restrict, size_t); ^~~~~~~ doormand.c:1228:7: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] p = cfg_first_ascii_value (&cfg, "firewall-del") ; ^ doormand.c:1230:28: warning: pointer targets in passing argument 2 of 'strncpy' differ in signedness [-Wpointer-sign] strncpy (G_fw_del, p, _POSIX_PATH_MAX) ; ^ In file included from doormand.c:135: /usr/include/string.h:118:7: note: expected 'const char * restrict' but argument is of type 'unsigned char *' char *strncpy(char * __restrict, const char * __restrict, size_t); ^~~~~~~ doormand.c:1253:7: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] p = cfg_first_ascii_value (&cfg, "hash-archive-size") ; ^ doormand.c:1255:38: warning: pointer targets in passing argument 1 of 'atoi' differ in signedness [-Wpointer-sign] new_hash_archive_size = atoi(p) ; ^ In file included from doormand.c:74: /usr/include/stdlib.h:92:6: note: expected 'const char *' but argument is of type 'unsigned char *' int atoi(const char *); ^~~~ doormand.c:1266:7: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] p = cfg_first_ascii_value (&cfg, "hash-archive") ; ^ doormand.c:1269:17: warning: pointer targets in passing argument 1 of 'stat' differ in signedness [-Wpointer-sign] err = stat (p, &fs) ; // If the hash archive doesn't exist, create it. ^ In file included from doormand.c:53: /usr/include/sys/stat.h:266:5: note: expected 'const char * restrict' but argument is of type 'unsigned char *' int stat(const char * __restrict, struct stat * __restrict); ^~~~ doormand.c:1275:27: warning: pointer targets in passing argument 1 of 'open' differ in signedness [-Wpointer-sign] G_hash_fd = open (p, O_CREAT|O_RDWR, S_IRUSR|S_IWUSR) ; ^ In file included from doormand.c:94: /usr/include/fcntl.h:328:5: note: expected 'const char *' but argument is of type 'unsigned char *' int open(const char *, int, ...); ^~~~ doormand.c:1288:23: warning: pointer targets in passing argument 1 of 'open' differ in signedness [-Wpointer-sign] G_hash_fd = open (p, O_CREAT|O_RDWR, S_IRUSR|S_IWUSR) ; ^ In file included from doormand.c:94: /usr/include/fcntl.h:328:5: note: expected 'const char *' but argument is of type 'unsigned char *' int open(const char *, int, ...); ^~~~ doormand.c:1331:22: warning: pointer targets in passing argument 1 of 'unlink' differ in signedness [-Wpointer-sign] err = unlink(p) ; ^ In file included from doormand.c:78: /usr/include/unistd.h:409:6: note: expected 'const char *' but argument is of type 'unsigned char *' int unlink(const char *); ^~~~~~ doormand.c:1334:27: warning: pointer targets in passing argument 1 of 'open' differ in signedness [-Wpointer-sign] G_hash_fd = open (p, O_CREAT|O_RDWR, S_IRUSR|S_IWUSR) ; ^ In file included from doormand.c:94: /usr/include/fcntl.h:328:5: note: expected 'const char *' but argument is of type 'unsigned char *' int open(const char *, int, ...); ^~~~ doormand.c:1363:34: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] memset (p, 0, strlen(p)) ; // clear 'secret' field first ^ In file included from doormand.c:135: /usr/include/string.h:110:9: note: expected 'const char *' but argument is of type 'unsigned char *' size_t strlen(const char *) __pure; ^~~~~~ doormand.c:1462:11: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] p = buffer + hdr_len ; ^ doormand.c:1476:17: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] payload = (unsigned char*)udp + sizeof(struct udphdr) ; ^ doormand.c:1539:21: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] p += strlen(p) + 1 ; ^ In file included from doormand.c:135: /usr/include/string.h:110:9: note: expected 'const char *' but argument is of type 'unsigned char *' size_t strlen(const char *) __pure; ^~~~~~ doormand.c:1540:16: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] secret = p ; ^ doormand.c:1543:21: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] p += strlen(p) + 1 ; ^ In file included from doormand.c:135: /usr/include/string.h:110:9: note: expected 'const char *' but argument is of type 'unsigned char *' size_t strlen(const char *) __pure; ^~~~~~ doormand.c:1593:19: warning: pointer targets in passing argument 1 of 'hmac_md5' differ in signedness [-Wpointer-sign] hmac_md5 (stored_plaintext_secret, strlen(stored_plaintext_secret), ^~~~~~~~~~~~~~~~~~~~~~~ In file included from doormand.c:156: utilities.h:206:6: note: expected 'unsigned char *' but argument is of type 'char *' void hmac_md5 ( ^~~~~~~~ doormand.c:1594:20: warning: pointer targets in passing argument 3 of 'hmac_md5' differ in signedness [-Wpointer-sign] hash_buff1, strlen(hash_buff1), hash_buff2) ; ^~~~~~~~~~ In file included from doormand.c:156: utilities.h:206:6: note: expected 'unsigned char *' but argument is of type 'char *' void hmac_md5 ( ^~~~~~~~ doormand.c:1594:52: warning: pointer targets in passing argument 5 of 'hmac_md5' differ in signedness [-Wpointer-sign] hash_buff1, strlen(hash_buff1), hash_buff2) ; ^~~~~~~~~~ In file included from doormand.c:156: utilities.h:206:6: note: expected 'unsigned char *' but argument is of type 'char *' void hmac_md5 ( ^~~~~~~~ doormand.c:920:15: warning: variable 'daemon_string' set but not used [-Wunused-but-set-variable] char *daemon_string, *secret ; ^~~~~~~~~~~~~ doormand.c: In function 'usage': doormand.c:320:5: warning: 'strncat' specified bound 256 equals destination size [-Wstringop-overflow=] strncat (pathname, "/doormand.cf", _POSIX_PATH_MAX) ; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ doormand.c: In function 'main': doormand.c:979:5: warning: 'strncat' specified bound 256 equals destination size [-Wstringop-overflow=] strncat (config_file_pathname, "/doormand.cf", _POSIX_PATH_MAX) ; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ --- lexer.o --- lexer.l: In function 'yylex': lexer.l:410:12: warning: variable 'p' set but not used [-Wunused-but-set-variable] char *p, *p2 ; ^ lexer.l:461:12: warning: variable 'p' set but not used [-Wunused-but-set-variable] char *p, *p2 ; ^ At top level: lexer.c:1648:16: warning: 'input' defined but not used [-Wunused-function] #else ^ --- knock.o --- knock.c: In function 'main': knock.c:417:15: warning: pointer targets in passing argument 1 of 'hmac_md5' differ in signedness [-Wpointer-sign] hmac_md5 (secret, strlen(secret), ^~~~~~ In file included from knock.c:110: utilities.h:206:6: note: expected 'unsigned char *' but argument is of type 'char *' void hmac_md5 ( ^~~~~~~~ knock.c:418:15: warning: pointer targets in passing argument 3 of 'hmac_md5' differ in signedness [-Wpointer-sign] hash_buff1, strlen(hash_buff1), hash_buff2) ; ^~~~~~~~~~ In file included from knock.c:110: utilities.h:206:6: note: expected 'unsigned char *' but argument is of type 'char *' void hmac_md5 ( ^~~~~~~~ knock.c:418:47: warning: pointer targets in passing argument 5 of 'hmac_md5' differ in signedness [-Wpointer-sign] hash_buff1, strlen(hash_buff1), hash_buff2) ; ^~~~~~~~~~ In file included from knock.c:110: utilities.h:206:6: note: expected 'unsigned char *' but argument is of type 'char *' void hmac_md5 ( ^~~~~~~~ knock.c:196:37: warning: variable 'port' set but not used [-Wunused-but-set-variable] char *p, *p1, *p2, *host, *port, *service ; ^~~~ --- doormand.o --- doormand.c: In function 'get_interface_address': doormand.c:339:5: warning: 'strncpy' specified bound 16 equals destination size [-Wstringop-truncation] strncpy (if_request.ifr_name, device, IFNAMSIZ) ; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ --- knock.o --- knock.c:422:27: warning: '%2.2x' directive output may be truncated writing 2 bytes into a region of size between 1 and 44 [-Wformat-truncation=] snprintf (buffer, 80, "%d %s %10.10u " ^~~~~~~~~~~~~~~~ knock.c:424:43: note: format string is defined here "%2.2x%2.2x%2.2x%2.2x%2.2x%2.2x%2.2x%2.2x", ^~~~~ knock.c:422:27: note: directive argument in the range [0, 255] snprintf (buffer, 80, "%d %s %10.10u " ^~~~~~~~~~~~~~~~ knock.c:422:27: note: directive argument in the range [0, 255] knock.c:422:27: note: directive argument in the range [0, 255] knock.c:422:27: note: directive argument in the range [0, 255] knock.c:422:27: note: directive argument in the range [0, 255] knock.c:422:5: note: 'snprintf' output between 47 and 90 bytes into a destination of size 80 snprintf (buffer, 80, "%d %s %10.10u " ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ "%2.2x%2.2x%2.2x%2.2x%2.2x%2.2x%2.2x%2.2x" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ "%2.2x%2.2x%2.2x%2.2x%2.2x%2.2x%2.2x%2.2x", ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ service_number, group, random_number, ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ u[0],u[1],u[2],u[3],u[4],u[5],u[6],u[7], ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ u[8],u[9],u[10],u[11],u[12],u[13],u[14],u[15]) ; ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ --- knock --- cc -Wall -DCONFIG_DIR="\"/usr/local/etc/doormand\"" -pipe -O2 -fno-strict-aliasing -o knock knock.o utilities.o md5.o hmac_md5.o -lpcap -lfl --- doormand.o --- doormand.c: In function 'main': doormand.c:1075:13: warning: 'strncpy' specified bound 256 equals destination size [-Wstringop-truncation] strncpy (G_pidfile, p, _POSIX_PATH_MAX) ; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ doormand.c:1208:9: warning: 'strncpy' specified bound 256 equals destination size [-Wstringop-truncation] strncpy (G_fw_add, p, _POSIX_PATH_MAX) ; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ doormand.c:1230:9: warning: 'strncpy' specified bound 256 equals destination size [-Wstringop-truncation] strncpy (G_fw_del, p, _POSIX_PATH_MAX) ; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ doormand.c:1208:9: warning: 'strncpy' specified bound 256 equals destination size [-Wstringop-truncation] strncpy (G_fw_add, p, _POSIX_PATH_MAX) ; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ doormand.c:1230:9: warning: 'strncpy' specified bound 256 equals destination size [-Wstringop-truncation] strncpy (G_fw_del, p, _POSIX_PATH_MAX) ; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ doormand.c:1491:9: warning: 'strncpy' specified bound 16 equals destination size [-Wstringop-truncation] strncpy (src_addr_buff, inet_ntoa(src_addr), sizeof(src_addr_buff)) ; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ doormand.c:1002:17: warning: 'strncpy' specified bound 256 equals destination size [-Wstringop-truncation] strncpy (G_pidfile, optarg, _POSIX_PATH_MAX) ; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ doormand.c:1439:31: warning: 'netdown_count' may be used uninitialized in this function [-Wmaybe-uninitialized] netdown_count += 1 ; ~~~~~~~~~~~~~~^~~~ --- doormand --- cc -Wall -DCONFIG_DIR="\"/usr/local/etc/doormand\"" -pipe -O2 -fno-strict-aliasing -o doormand doormand.o utilities.o lexer.o md5.o hmac_md5.o -lpcap -lfl -------------------------------------------------------------------------------- -- Phase: run-depends -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- -- Phase: stage -------------------------------------------------------------------------------- ===> Staging for doorman-0.81_2 ===> Generating temporary packing list for dir in "/construction/security/doorman/stage/usr/local/bin" "/construction/security/doorman/stage/usr/local/sbin" "/construction/security/doorman/stage/usr/local/man/man1" "/construction/security/doorman/stage/usr/local/man/man5" "/construction/security/doorman/stage/usr/local/man/man8" "/construction/security/doorman/stage/usr/local/etc/doormand"; do test -z "$dir" || /bin/sh ./mkinstalldirs "$dir"; done mkdir /construction/security/doorman/stage/usr/local/etc/doormand cd . && /bin/sh /construction/security/doorman/doorman-0.81/missing --run aclocal-1.8 test -z "/usr/local/bin" || /bin/sh ./mkinstalldirs "/construction/security/doorman/stage/usr/local/bin" install -s -m 555 'knock' '/construction/security/doorman/stage/usr/local/bin/knock' test -z "/usr/local/sbin" || /bin/sh ./mkinstalldirs "/construction/security/doorman/stage/usr/local/sbin" install -s -m 555 'doormand' '/construction/security/doorman/stage/usr/local/sbin/doormand' test -z "/usr/local/etc/doormand" || /bin/sh ./mkinstalldirs "/construction/security/doorman/stage/usr/local/etc/doormand" install -m 0644 'guestlist.EXAMPLE' '/construction/security/doorman/stage/usr/local/etc/doormand/guestlist.EXAMPLE' install -m 0644 'iptables_add' '/construction/security/doorman/stage/usr/local/etc/doormand/iptables_add' install -m 0644 'iptables_delete' '/construction/security/doorman/stage/usr/local/etc/doormand/iptables_delete' install -m 0644 'ipchains_add' '/construction/security/doorman/stage/usr/local/etc/doormand/ipchains_add' install -m 0644 'ipchains_delete' '/construction/security/doorman/stage/usr/local/etc/doormand/ipchains_delete' install -m 0644 'ipf_add' '/construction/security/doorman/stage/usr/local/etc/doormand/ipf_add' install -m 0644 'ipf_delete' '/construction/security/doorman/stage/usr/local/etc/doormand/ipf_delete' install -m 0644 'ipfw_add' '/construction/security/doorman/stage/usr/local/etc/doormand/ipfw_add' install -m 0644 'ipfw_delete' '/construction/security/doorman/stage/usr/local/etc/doormand/ipfw_delete' install -m 0644 'pfctl_add' '/construction/security/doorman/stage/usr/local/etc/doormand/pfctl_add' install -m 0644 'pfctl_delete' '/construction/security/doorman/stage/usr/local/etc/doormand/pfctl_delete' chmod 744 /construction/security/doorman/stage/usr/local/etc/doormand/iptables_add chmod 744 /construction/security/doorman/stage/usr/local/etc/doormand/iptables_delete chmod 744 /construction/security/doorman/stage/usr/local/etc/doormand/ipchains_add chmod 744 /construction/security/doorman/stage/usr/local/etc/doormand/ipchains_delete chmod 744 /construction/security/doorman/stage/usr/local/etc/doormand/ipf_add chmod 744 /construction/security/doorman/stage/usr/local/etc/doormand/ipf_delete chmod 744 /construction/security/doorman/stage/usr/local/etc/doormand/ipfw_add chmod 744 /construction/security/doorman/stage/usr/local/etc/doormand/ipfw_delete chmod 744 /construction/security/doorman/stage/usr/local/etc/doormand/pfctl_add chmod 744 /construction/security/doorman/stage/usr/local/etc/doormand/pfctl_delete chmod 600 /construction/security/doorman/stage/usr/local/etc/doormand/guestlist.EXAMPLE test -z "/usr/local/man/man1" || /bin/sh ./mkinstalldirs "/construction/security/doorman/stage/usr/local/man/man1" install -m 0644 './knock.1' '/construction/security/doorman/stage/usr/local/man/man1/knock.1' test -z "/usr/local/man/man5" || /bin/sh ./mkinstalldirs "/construction/security/doorman/stage/usr/local/man/man5" install -m 0644 './knockcf.5' '/construction/security/doorman/stage/usr/local/man/man5/knockcf.5' install -m 0644 './doormand.cf.5' '/construction/security/doorman/stage/usr/local/man/man5/doormand.cf.5' install -m 0644 './guestlist.5' '/construction/security/doorman/stage/usr/local/man/man5/guestlist.5' test -z "/usr/local/man/man8" || /bin/sh ./mkinstalldirs "/construction/security/doorman/stage/usr/local/man/man8" install -m 0644 './doormand.8' '/construction/security/doorman/stage/usr/local/man/man8/doormand.8' /bin/rm -f /construction/security/doorman/stage/usr/local/etc/doormand/ipf_add (cd /xports/security/doorman/files && install -m 555 ipf_add.atend ipf_delete ipf_add.before_block /construction/security/doorman/stage/usr/local/etc/doormand) install -m 0644 /construction/security/doorman/doormand.cf.EXAMPLE /construction/security/doorman/stage/usr/local/etc/doormand install -m 444 -C /construction/security/doorman/doorman-0.81/knock.1 /construction/security/doorman/stage/usr/local/man/man1 (cd /construction/security/doorman/doorman-0.81 && install -m 444 -C knockcf.5 doormand.cf.5 guestlist.5 /construction/security/doorman/stage/usr/local/man/man5) install -m 444 -C /construction/security/doorman/doorman-0.81/doormand.8 /construction/security/doorman/stage/usr/local/man/man8 ====> Compressing man pages (compress-man) ===> Staging rc.d startup script(s) ====> Running Q/A tests (stage-qa) Warning: You have disabled the licenses framework with DISABLE_LICENSES, unable to run checks -------------------------------------------------------------------------------- -- Phase: package -------------------------------------------------------------------------------- ===> Building package for doorman-0.81_2 file sizes/checksums [21]: . done packing files [21]: . done packing directories [0]: . done -------------------------------------------------- -- Termination -------------------------------------------------- Finished: Friday, 14 FEB 2020 at 18:14:00 UTC Duration: 00:00:10