------------------------------------------------------------------------------- -- Phase: setup ------------------------------------------------------------------------------- Installing /packages/All/ncurses-6.2.20210116.txz Installing /packages/All/indexinfo-0.3.1.txz Installing /packages/All/m4-1.4.18_1,1.txz Installing /packages/All/autoconf-wrapper-20131203.txz Installing /packages/All/perl5-5.32.0_1.txz Installing /packages/All/autoconf-2.69_3.txz Installing /packages/All/automake-1.16.3.txz SUCCEEDED 00:00:11 ------------------------------------------------------------------------------- -- Phase: check-sanity ------------------------------------------------------------------------------- ===> NOTICE: The sniffit 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 SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: pkg-depends ------------------------------------------------------------------------------- ===> sniffit-0.5 depends on file: /usr/local/sbin/pkg - found SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: fetch-depends ------------------------------------------------------------------------------- SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: fetch ------------------------------------------------------------------------------- ===> NOTICE: The sniffit 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 ===> sniffit-0.5 depends on file: /usr/local/sbin/pkg - found ===> Fetching all distfiles required by sniffit-0.5 for building SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: checksum ------------------------------------------------------------------------------- ===> NOTICE: The sniffit 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 ===> sniffit-0.5 depends on file: /usr/local/sbin/pkg - found ===> Fetching all distfiles required by sniffit-0.5 for building => SHA256 Checksum OK for resurrecting-open-source-projects-sniffit-0.5-sniffit-0.5_GH0.tar.gz. SUCCEEDED 00:00:01 ------------------------------------------------------------------------------- -- Phase: extract-depends ------------------------------------------------------------------------------- SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: extract ------------------------------------------------------------------------------- ===> NOTICE: The sniffit 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 ===> sniffit-0.5 depends on file: /usr/local/sbin/pkg - found ===> Fetching all distfiles required by sniffit-0.5 for building ===> Extracting for sniffit-0.5 ===> NOTICE: The sniffit 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 ===> sniffit-0.5 depends on file: /usr/local/sbin/pkg - found ===> Fetching all distfiles required by sniffit-0.5 for building => SHA256 Checksum OK for resurrecting-open-source-projects-sniffit-0.5-sniffit-0.5_GH0.tar.gz. Extracted Memory Use: 0.33M SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: patch-depends ------------------------------------------------------------------------------- SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: patch ------------------------------------------------------------------------------- ===> Patching for sniffit-0.5 ===> Applying ports patches for sniffit-0.5 from /xports/net/sniffit/files SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: build-depends ------------------------------------------------------------------------------- ===> sniffit-0.5 depends on file: /usr/local/lib/libncurses.so.6 - found ===> sniffit-0.5 depends on package: autoconf>=2.69 - found ===> sniffit-0.5 depends on package: automake>=1.16.1 - found SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: lib-depends ------------------------------------------------------------------------------- SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: configure ------------------------------------------------------------------------------- ===> sniffit-0.5 depends on file: /usr/local/lib/libncurses.so.6 - found ===> sniffit-0.5 depends on package: autoconf>=2.69 - found ===> sniffit-0.5 depends on package: automake>=1.16.1 - found ===> Configuring for sniffit-0.5 configure.ac:12: installing './compile' configure.ac:62: installing './install-sh' configure.ac:62: installing './missing' src/Makefile.am: installing './depcomp' configure: loading site script /xports/Templates/config.site checking for gcc... cc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no 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 whether cc understands -c and -o together... yes checking for main in -lncurses... yes checking for pcap_open_live in -lpcap... yes checking how to run the C preprocessor... cpp 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 for arpa/inet.h... (cached) yes checking for fcntl.h... (cached) yes checking for netdb.h... (cached) yes checking for netinet/in.h... (cached) yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking for sys/socket.h... (cached) yes checking for sys/time.h... (cached) yes checking termios.h usability... yes checking termios.h presence... yes checking for termios.h... yes checking for unistd.h... (cached) yes checking ncurses.h usability... yes checking ncurses.h presence... no configure: WARNING: ncurses.h: accepted by the compiler, rejected by the preprocessor! configure: WARNING: ncurses.h: proceeding with the compiler's result checking for ncurses.h... yes checking pcap.h usability... yes checking pcap.h presence... yes checking for pcap.h... yes checking for size_t... (cached) yes checking for pid_t... (cached) yes checking for vfork.h... (cached) no checking for fork... (cached) yes checking for vfork... (cached) yes checking for working fork... yes checking for working vfork... (cached) yes checking for stdlib.h... (cached) yes checking for GNU libc compatible malloc... (cached) yes checking for stdlib.h... (cached) yes checking for GNU libc compatible realloc... yes checking for alarm... (cached) yes checking for bzero... (cached) yes checking for gethostbyname... (cached) yes checking for socket... yes checking for strchr... (cached) yes checking for strdup... (cached) yes checking for strstr... (cached) yes checking for shmget... (cached) yes checking for atexit... (cached) yes checking size of unsigned short int... 2 checking size of unsigned long int... 8 unsigned long is NOT 4 bytes... hmmm... checking size of unsigned int... 4 checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... (cached) /bin/mkdir -p checking for gawk... (cached) /usr/bin/awk checking whether make sets $(MAKE)... yes checking whether make supports the include directive... yes (GNU style) checking whether make supports nested variables... yes checking dependency style of cc... gcc3 checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating src/Makefile config.status: creating config.h config.status: executing depfiles commands SUCCEEDED 00:00:12 ------------------------------------------------------------------------------- -- Phase: build ------------------------------------------------------------------------------- ===> Building for sniffit-0.5 --- all --- /usr/bin/make all-recursive --- all-recursive --- Making all in src --- sn_packets.o --- --- sn_generation.o --- --- sn_interface.o --- --- sn_cfgfile.o --- --- sn_logfile.o --- --- sn_resolv.o --- --- sniffit.o --- --- sn_packets.o --- cc -DHAVE_CONFIG_H -I. -I.. -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DHAVE_LIBNCURSES=1 -DHAVE_SHMGET=1 -DHAVE_ATEXIT=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DSIZEOF_UNSIGNED_SHORT_INT=2 -DSIZEOF_UNSIGNED_LONG_INT=8 -DSIZEOF_UNSIGNED_INT=4 -DUSE_32_INT=1 -DLINUX=1 -lncurses -lpcap -pipe -Wno-discarded-qualifiers -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing -MT sn_packets.o -MD -MP -MF .deps/sn_packets.Tpo -c -o sn_packets.o sn_packets.c --- sn_generation.o --- cc -DHAVE_CONFIG_H -I. -I.. -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DHAVE_LIBNCURSES=1 -DHAVE_SHMGET=1 -DHAVE_ATEXIT=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DSIZEOF_UNSIGNED_SHORT_INT=2 -DSIZEOF_UNSIGNED_LONG_INT=8 -DSIZEOF_UNSIGNED_INT=4 -DUSE_32_INT=1 -DLINUX=1 -lncurses -lpcap -pipe -Wno-discarded-qualifiers -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing -MT sn_generation.o -MD -MP -MF .deps/sn_generation.Tpo -c -o sn_generation.o sn_generation.c --- sn_interface.o --- cc -DHAVE_CONFIG_H -I. -I.. -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DHAVE_LIBNCURSES=1 -DHAVE_SHMGET=1 -DHAVE_ATEXIT=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DSIZEOF_UNSIGNED_SHORT_INT=2 -DSIZEOF_UNSIGNED_LONG_INT=8 -DSIZEOF_UNSIGNED_INT=4 -DUSE_32_INT=1 -DLINUX=1 -lncurses -lpcap -pipe -Wno-discarded-qualifiers -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing -MT sn_interface.o -MD -MP -MF .deps/sn_interface.Tpo -c -o sn_interface.o sn_interface.c --- sn_logfile.o --- cc -DHAVE_CONFIG_H -I. -I.. -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DHAVE_LIBNCURSES=1 -DHAVE_SHMGET=1 -DHAVE_ATEXIT=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DSIZEOF_UNSIGNED_SHORT_INT=2 -DSIZEOF_UNSIGNED_LONG_INT=8 -DSIZEOF_UNSIGNED_INT=4 -DUSE_32_INT=1 -DLINUX=1 -lncurses -lpcap -pipe -Wno-discarded-qualifiers -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing -MT sn_logfile.o -MD -MP -MF .deps/sn_logfile.Tpo -c -o sn_logfile.o sn_logfile.c --- sn_resolv.o --- cc -DHAVE_CONFIG_H -I. -I.. -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DHAVE_LIBNCURSES=1 -DHAVE_SHMGET=1 -DHAVE_ATEXIT=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DSIZEOF_UNSIGNED_SHORT_INT=2 -DSIZEOF_UNSIGNED_LONG_INT=8 -DSIZEOF_UNSIGNED_INT=4 -DUSE_32_INT=1 -DLINUX=1 -lncurses -lpcap -pipe -Wno-discarded-qualifiers -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing -MT sn_resolv.o -MD -MP -MF .deps/sn_resolv.Tpo -c -o sn_resolv.o sn_resolv.c --- sniffit.o --- cc -DHAVE_CONFIG_H -I. -I.. -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DHAVE_LIBNCURSES=1 -DHAVE_SHMGET=1 -DHAVE_ATEXIT=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DSIZEOF_UNSIGNED_SHORT_INT=2 -DSIZEOF_UNSIGNED_LONG_INT=8 -DSIZEOF_UNSIGNED_INT=4 -DUSE_32_INT=1 -DLINUX=1 -lncurses -lpcap -pipe -Wno-discarded-qualifiers -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing -MT sniffit.o -MD -MP -MF .deps/sniffit.Tpo -c -o sniffit.o sniffit.c --- sn_cfgfile.o --- cc -DHAVE_CONFIG_H -I. -I.. -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DHAVE_LIBNCURSES=1 -DHAVE_SHMGET=1 -DHAVE_ATEXIT=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DSIZEOF_UNSIGNED_SHORT_INT=2 -DSIZEOF_UNSIGNED_LONG_INT=8 -DSIZEOF_UNSIGNED_INT=4 -DUSE_32_INT=1 -DLINUX=1 -lncurses -lpcap -pipe -Wno-discarded-qualifiers -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing -MT sn_cfgfile.o -MD -MP -MF .deps/sn_cfgfile.Tpo -c -o sn_cfgfile.o sn_cfgfile.c --- sn_logfile.o --- sn_logfile.c: In function 'open_logfile': sn_logfile.c:96:8: warning: passing argument 1 of 'fchmod' makes integer from pointer without a cast [-Wint-conversion] fchmod(LogFILE, S_IWUSR|S_IRUSR); ^~~~~~~ In file included from sn_logfile.c:9: /usr/include/sys/stat.h:291:12: note: expected 'int' but argument is of type 'FILE *' {aka 'struct __FILE *'} int fchmod(int, mode_t); ^~~ --- sn_generation.o --- sn_generation.c: In function 'exec_generate': sn_generation.c:66:1: warning: implicit declaration of function 'input_field' [-Wimplicit-function-declaration] input_field(msg,NULL,0); ^~~~~~~~~~~ sn_generation.c:67:1: warning: implicit declaration of function 'forced_refresh'; did you mean 'slk_refresh'? [-Wimplicit-function-declaration] forced_refresh(); ^~~~~~~~~~~~~~ slk_refresh sn_generation.c: In function 'sp_fix_IP_packet': sn_generation.c:205:22: warning: implicit declaration of function 'in_cksum'; did you mean 'inchstr'? [-Wimplicit-function-declaration] sp_help_ip->checksum=in_cksum((unsigned short *) (sp->buffer), ^~~~~~~~ inchstr --- sn_interface.o --- sn_interface.c: In function 'mask_status': sn_interface.c:195:3: warning: assignment to 'unsigned char *' from incompatible pointer type '_32_bit *' {aka 'unsigned int *'} [-Wincompatible-pointer-types] ad=&(mask->source_ip); ^ sn_interface.c:201:3: warning: assignment to 'unsigned char *' from incompatible pointer type '_32_bit *' {aka 'unsigned int *'} [-Wincompatible-pointer-types] ad=&(mask->destination_ip); ^ --- sn_cfgfile.o --- sn_cfgfile.c: In function 'clean_string': sn_cfgfile.c:131:7: warning: implicit declaration of function 'isalnum' [-Wimplicit-function-declaration] if( (isalnum(string[i]))||(string[i]=='.') ) ^~~~~~~ sn_cfgfile.c: In function 'clean_filename': sn_cfgfile.c:155:8: warning: implicit declaration of function 'iscntrl' [-Wimplicit-function-declaration] if( !(iscntrl(string[i])) && !(isspace(string[i])) ) ^~~~~~~ sn_cfgfile.c:155:33: warning: implicit declaration of function 'isspace' [-Wimplicit-function-declaration] if( !(iscntrl(string[i])) && !(isspace(string[i])) ) ^~~~~~~ --- sn_interface.o --- sn_interface.c: In function 'interaction': sn_interface.c:470:8: warning: implicit declaration of function 'isprint' [-Wimplicit-function-declaration] isprint(*(connection_data+i))? ^~~~~~~ --- sn_logfile.o --- mv -f .deps/sn_logfile.Tpo .deps/sn_logfile.Po --- sn_packets.o --- sn_packets.c: In function 'unwrap_packet': sn_packets.c:68:18: warning: passing argument 1 of 'in_cksum' from incompatible pointer type [-Wincompatible-pointer-types] if(in_cksum((sp+PROTO_HEAD),unwrapped->IP_len) != IPhead.checksum) ~~~^~~~~~~~~~~~ sn_packets.c:14:41: note: expected 'short unsigned int *' but argument is of type 'unsigned char *' unsigned short in_cksum(unsigned short *addr,int len) ~~~~~~~~~~~~~~~~^~~~ --- sn_resolv.o --- mv -f .deps/sn_resolv.Tpo .deps/sn_resolv.Po --- sniffit.o --- In file included from sn_plugins.h:23, from sniffit.c:35: dns_plugin.plug: In function 'PL_DNS_plugin': dns_plugin.plug:87:12: warning: assignment to 'struct PL_DNS_header *' from incompatible pointer type 'struct DNS_header *' [-Wincompatible-pointer-types] dns_dnshead= (struct DNS_header *) (dns_buffer+udp_start+sizeof(struct UDP_header)); ^ sniffit.c: In function 'strlower': sniffit.c:127:22: warning: implicit declaration of function 'isupper' [-Wimplicit-function-declaration] *(string + i) = (isupper (*(string + i)) ? tolower (*(string + i)) : *(string + i)); ^~~~~~~ sniffit.c:127:48: warning: implicit declaration of function 'tolower' [-Wimplicit-function-declaration] *(string + i) = (isupper (*(string + i)) ? tolower (*(string + i)) : *(string + i)); ^~~~~~~ sniffit.c: In function 'record_buf': sniffit.c:386:11: warning: implicit declaration of function 'isprint' [-Wimplicit-function-declaration] if (isprint (data[i])) ^~~~~~~ sniffit.c: In function 'packethandler': sniffit.c:1107:43: warning: passing argument 2 of 'pcap_dump' from incompatible pointer type [-Wincompatible-pointer-types] pcap_dump((unsigned char *) dev_dump, p_header, sp); ^~~~~~~~ In file included from /usr/include/pcap.h:43, from sniffit.c:24: /usr/include/pcap/pcap.h:515:35: note: expected 'const struct pcap_pkthdr *' but argument is of type 'const struct packetheader *' PCAP_API void pcap_dump(u_char *, const struct pcap_pkthdr *, const u_char *); ^~~~~~~~~~~~~~~~~~~~~~~~~~ sniffit.c:1108:12: warning: returning 'int' from a function with return type 'pcap_handler' {aka 'void (*)(unsigned char *, const struct pcap_pkthdr *, const unsigned char *)'} makes pointer from integer without a cast [-Wint-conversion] return 1; ^ sniffit.c:1189:10: warning: returning 'int' from a function with return type 'pcap_handler' {aka 'void (*)(unsigned char *, const struct pcap_pkthdr *, const unsigned char *)'} makes pointer from integer without a cast [-Wint-conversion] return 1; ^ sniffit.c:1193:10: warning: returning 'int' from a function with return type 'pcap_handler' {aka 'void (*)(unsigned char *, const struct pcap_pkthdr *, const unsigned char *)'} makes pointer from integer without a cast [-Wint-conversion] return 1; ^ sniffit.c:1259:14: warning: returning 'int' from a function with return type 'pcap_handler' {aka 'void (*)(unsigned char *, const struct pcap_pkthdr *, const unsigned char *)'} makes pointer from integer without a cast [-Wint-conversion] return 1; ^ In file included from sniffit.c:1270: sn_analyse.c:13:9: warning: returning 'int' from a function with return type 'pcap_handler' {aka 'void (*)(unsigned char *, const struct pcap_pkthdr *, const unsigned char *)'} makes pointer from integer without a cast [-Wint-conversion] return 1; ^ sn_analyse.c:29:10: warning: returning 'int' from a function with return type 'pcap_handler' {aka 'void (*)(unsigned char *, const struct pcap_pkthdr *, const unsigned char *)'} makes pointer from integer without a cast [-Wint-conversion] return 1; ^ sn_analyse.c:43:37: warning: returning 'int' from a function with return type 'pcap_handler' {aka 'void (*)(unsigned char *, const struct pcap_pkthdr *, const unsigned char *)'} makes pointer from integer without a cast [-Wint-conversion] if((dummy&FIN)||(dummy&RST)) return 1; /* needed, cauz entry don't exist */ ^ sn_analyse.c:200:8: warning: returning 'int' from a function with return type 'pcap_handler' {aka 'void (*)(unsigned char *, const struct pcap_pkthdr *, const unsigned char *)'} makes pointer from integer without a cast [-Wint-conversion] return 1; ^ sn_analyse.c:201:8: warning: returning 'int' from a function with return type 'pcap_handler' {aka 'void (*)(unsigned char *, const struct pcap_pkthdr *, const unsigned char *)'} makes pointer from integer without a cast [-Wint-conversion] return 1; /* DON'T FORGET THEM!!!! */ ^ sniffit.c:1339:14: warning: returning 'int' from a function with return type 'pcap_handler' {aka 'void (*)(unsigned char *, const struct pcap_pkthdr *, const unsigned char *)'} makes pointer from integer without a cast [-Wint-conversion] return 1; ^ sniffit.c:1372:14: warning: returning 'int' from a function with return type 'pcap_handler' {aka 'void (*)(unsigned char *, const struct pcap_pkthdr *, const unsigned char *)'} makes pointer from integer without a cast [-Wint-conversion] return 1; ^ In file included from sniffit.c:1458: sn_conn_desc.c: In function 'check_mask': sn_conn_desc.c:24:12: warning: implicit declaration of function 'isalnum' [-Wimplicit-function-declaration] if( (isalnum(data[i]) || ispunct(data[i]) || data[i]==' ')&&(j<(*DESC_LEN)-1) ) ^~~~~~~ sn_conn_desc.c:24:32: warning: implicit declaration of function 'ispunct' [-Wimplicit-function-declaration] if( (isalnum(data[i]) || ispunct(data[i]) || data[i]==' ')&&(j<(*DESC_LEN)-1) ) ^~~~~~~ sn_conn_desc.c:27:15: warning: implicit declaration of function 'isspace' [-Wimplicit-function-declaration] {if( (isspace(data[i]) && data[i]!=' ')&&(j<(*DESC_LEN)-1) ) ^~~~~~~ sniffit.c: In function 'main': sniffit.c:1522:20: warning: passing argument 2 of 'signal' from incompatible pointer type [-Wincompatible-pointer-types] signal (SIGINT, my_exit); /* graceful termination in different ways */ ^~~~~~~ In file included from /usr/include/signal.h:38, from sniffit.c:7: /usr/include/sys/signal.h:328:17: note: expected 'void (*)(int)' but argument is of type 'void (*)(void)' __sighandler_t *signal(int, __sighandler_t *); ^~~~~~ sniffit.c:1523:20: warning: passing argument 2 of 'signal' from incompatible pointer type [-Wincompatible-pointer-types] signal (SIGHUP, my_exit); ^~~~~~~ In file included from /usr/include/signal.h:38, from sniffit.c:7: /usr/include/sys/signal.h:328:17: note: expected 'void (*)(int)' but argument is of type 'void (*)(void)' __sighandler_t *signal(int, __sighandler_t *); ^~~~~~ sniffit.c:1524:20: warning: passing argument 2 of 'signal' from incompatible pointer type [-Wincompatible-pointer-types] signal (SIGTERM, my_exit); ^~~~~~~ In file included from /usr/include/signal.h:38, from sniffit.c:7: /usr/include/sys/signal.h:328:17: note: expected 'void (*)(int)' but argument is of type 'void (*)(void)' __sighandler_t *signal(int, __sighandler_t *); ^~~~~~ sniffit.c:1773:5: warning: 'pcap_lookupdev' is deprecated: use 'pcap_findalldevs' and use the first device [-Wdeprecated-declarations] if((dev = pcap_lookupdev (ebuf)) == NULL) ^~ In file included from /usr/include/pcap.h:43, from sniffit.c:24: /usr/include/pcap/pcap.h:326:16: note: declared here PCAP_API char *pcap_lookupdev(char *) ^~~~~~~~~~~~~~ sniffit.c:1800:20: warning: extra tokens at end of #ifdef directive #ifdef PLUGIN0_INIT() ^ sniffit.c:1804:20: warning: extra tokens at end of #ifdef directive #ifdef PLUGIN1_INIT() ^ sniffit.c:1808:20: warning: extra tokens at end of #ifdef directive #ifdef PLUGIN2_INIT() ^ sniffit.c:1812:20: warning: extra tokens at end of #ifdef directive #ifdef PLUGIN3_INIT() ^ sniffit.c:1816:20: warning: extra tokens at end of #ifdef directive #ifdef PLUGIN4_INIT() ^ sniffit.c:1820:20: warning: extra tokens at end of #ifdef directive #ifdef PLUGIN5_INIT() ^ sniffit.c:1824:20: warning: extra tokens at end of #ifdef directive #ifdef PLUGIN6_INIT() ^ sniffit.c:1828:20: warning: extra tokens at end of #ifdef directive #ifdef PLUGIN7_INIT() ^ sniffit.c:1832:20: warning: extra tokens at end of #ifdef directive #ifdef PLUGIN8_INIT() ^ sniffit.c:1836:20: warning: extra tokens at end of #ifdef directive #ifdef PLUGIN9_INIT() ^ sniffit.c:1867:18: warning: assignment to 'int *' from incompatible pointer type 'char *' [-Wincompatible-pointer-types] DATAlength = timing + sizeof (int); ^ sniffit.c:1868:23: warning: assignment to 'char *' from incompatible pointer type 'int *' [-Wincompatible-pointer-types] connection_data = DATAlength + sizeof (int); ^ sniffit.c:1869:18: warning: assignment to 'int *' from incompatible pointer type 'char *' [-Wincompatible-pointer-types] LISTlength = connection_data + LENGTH_OF_INTERPROC_DATA; ^ sniffit.c:1870:12: warning: assignment to 'struct snif_mask *' from incompatible pointer type 'int *' [-Wincompatible-pointer-types] mask = LISTlength + sizeof (int); ^ sniffit.c:1871:26: warning: assignment to 'char *' from incompatible pointer type 'struct snif_mask *' [-Wincompatible-pointer-types] logged_connections = mask + sizeof (struct snif_mask); ^ sniffit.c:1874:25: warning: assignment to 'unsigned int *' from incompatible pointer type 'char *' [-Wincompatible-pointer-types] TCP_nr_of_packets = running_connections + (sizeof (struct shared_conn_data) * CONNECTION_CAPACITY); ^ sniffit.c:1875:28: warning: assignment to 'long unsigned int *' from incompatible pointer type 'unsigned int *' [-Wincompatible-pointer-types] TCP_bytes_in_packets = TCP_nr_of_packets + sizeof (int); ^ sniffit.c:1876:26: warning: assignment to 'unsigned int *' from incompatible pointer type 'long unsigned int *' [-Wincompatible-pointer-types] ICMP_nr_of_packets = TCP_bytes_in_packets + sizeof (unsigned long); ^ sniffit.c:1878:28: warning: assignment to 'long unsigned int *' from incompatible pointer type 'unsigned int *' [-Wincompatible-pointer-types] UDP_bytes_in_packets = UDP_nr_of_packets + sizeof (int); ^ sniffit.c:1879:24: warning: assignment to 'unsigned int *' from incompatible pointer type 'long unsigned int *' [-Wincompatible-pointer-types] IP_nr_of_packets = UDP_bytes_in_packets + sizeof (unsigned long); ^ sniffit.c:1894:11: warning: passing argument 3 of 'pcap_loop' from incompatible pointer type [-Wincompatible-pointer-types] interactive_packethandler, NULL) < 0) ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/pcap.h:43, from sniffit.c:24: /usr/include/pcap/pcap.h:440:39: note: expected 'pcap_handler' {aka 'void (*)(unsigned char *, const struct pcap_pkthdr *, const unsigned char *)'} but argument is of type 'void (* (*)(char *, const struct packetheader *, const unsigned char *))(u_char *, const struct pcap_pkthdr *, const u_char *)' {aka 'void (* (*)(char *, const struct packetheader *, const unsigned char *))(unsigned char *, const struct pcap_pkthdr *, const unsigned char *)'} PCAP_API int pcap_loop(pcap_t *, int, pcap_handler, u_char *); ^~~~~~~~~~~~ sniffit.c:1927:41: warning: passing argument 3 of 'pcap_loop' from incompatible pointer type [-Wincompatible-pointer-types] switch (pcap_loop (dev_desc, CNT, packethandler, (unsigned char *) &ipaddr)) ^~~~~~~~~~~~~ In file included from /usr/include/pcap.h:43, from sniffit.c:24: /usr/include/pcap/pcap.h:440:39: note: expected 'pcap_handler' {aka 'void (*)(unsigned char *, const struct pcap_pkthdr *, const unsigned char *)'} but argument is of type 'void (* (*)(unsigned char *, const struct packetheader *, const unsigned char *))(u_char *, const struct pcap_pkthdr *, const u_char *)' {aka 'void (* (*)(unsigned char *, const struct packetheader *, const unsigned char *))(unsigned char *, const struct pcap_pkthdr *, const unsigned char *)'} PCAP_API int pcap_loop(pcap_t *, int, pcap_handler, u_char *); ^~~~~~~~~~~~ --- sn_generation.o --- mv -f .deps/sn_generation.Tpo .deps/sn_generation.Po --- sn_packets.o --- mv -f .deps/sn_packets.Tpo .deps/sn_packets.Po --- sn_cfgfile.o --- mv -f .deps/sn_cfgfile.Tpo .deps/sn_cfgfile.Po --- sn_interface.o --- mv -f .deps/sn_interface.Tpo .deps/sn_interface.Po --- sniffit.o --- mv -f .deps/sniffit.Tpo .deps/sniffit.Po --- sniffit --- cc -lncurses -lpcap -pipe -Wno-discarded-qualifiers -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing -L/usr/local/lib -Wl,-rpath=/usr/local/lib -o sniffit sn_packets.o sn_generation.o sn_interface.o sn_cfgfile.o sn_logfile.o sn_resolv.o sniffit.o -lpcap -lncurses SUCCEEDED 00:00:02 ------------------------------------------------------------------------------- -- Phase: run-depends ------------------------------------------------------------------------------- ===> sniffit-0.5 depends on file: /usr/local/lib/libncurses.so.6 - found SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: stage ------------------------------------------------------------------------------- ===> Staging for sniffit-0.5 ===> sniffit-0.5 depends on file: /usr/local/lib/libncurses.so.6 - found ===> Generating temporary packing list install -s -m 555 /construction/net/sniffit/sniffit-sniffit-0.5/src/sniffit /construction/net/sniffit/stage/usr/local/sbin install -m 444 /construction/net/sniffit/sniffit-sniffit-0.5/man/sniffit.5 /construction/net/sniffit/stage/usr/local/share/man/man5 install -m 444 /construction/net/sniffit/sniffit-sniffit-0.5/man/sniffit.8 /construction/net/sniffit/stage/usr/local/share/man/man8 install -m 0644 /construction/net/sniffit/sniffit-sniffit-0.5/docs/PLUGIN-HOWTO /construction/net/sniffit/stage/usr/local/share/doc/sniffit install -m 0644 /construction/net/sniffit/sniffit-sniffit-0.5/docs/README.FIRST /construction/net/sniffit/stage/usr/local/share/doc/sniffit install -m 0644 /construction/net/sniffit/sniffit-sniffit-0.5/docs/UPDATE-CHECK /construction/net/sniffit/stage/usr/local/share/doc/sniffit install -m 0644 /construction/net/sniffit/sniffit-sniffit-0.5/docs/sniffit-FAQ /construction/net/sniffit/stage/usr/local/share/doc/sniffit install -m 0644 /construction/net/sniffit/sniffit-sniffit-0.5/examples/sample_config_file /construction/net/sniffit/stage/usr/local/share/examples/sniffit ====> Compressing man pages (compress-man) ====> Running Q/A tests (stage-qa) Warning: You have disabled the licenses framework with DISABLE_LICENSES, unable to run checks SUCCEEDED 00:00:01 ------------------------------------------------------------------------------- -- Phase: check-plist ------------------------------------------------------------------------------- ====> Checking for pkg-plist issues (check-plist) ===> Parsing plist ===> Checking for items in STAGEDIR missing from pkg-plist ===> Checking for items in pkg-plist which are not in STAGEDIR ===> No pkg-plist issues found (check-plist) SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: package ------------------------------------------------------------------------------- ===> Building package for sniffit-0.5 file sizes/checksums [8]: 0% file sizes/checksums [8]: 100% packing files [8]: 0% packing files [8]: 100% packing directories [0]: 0% packing directories [0]: 100% SUCCEEDED 00:00:01 TOTAL TIME 00:00:29