Cook: libnids 1.24 ================================================================================ QA: checking package receipt... Checking build dependencies... Installing (pkg/local): libnl-3.4.0-i486 Installing (pkg/local): libnl-tools-3.4.0-i486 Installing (pkg/local): libnl-dev-3.4.0-any Installing (pkg/local): libpcap-dev-1.9.0-any Installing (pkg/local): libpcap-1.9.0-i486 Installing (pkg/local): libpcre-8.42-i486 Installing (pkg/local): util-linux-smartcols-2.33.1-i486 Installing (pkg/local): util-linux-uuid-2.33.1-i486 Installing (pkg/local): util-linux-blkid-2.33.1-i486 Installing (pkg/local): util-linux-mount-2.33.1-i486 Installing (pkg/local): glib-2.64.3-i486 Installing (pkg/local): libpcre16-8.42-i486 Installing (pkg/local): libpcre32-8.42-i486 Installing (pkg/local): libpcrecpp-8.42-i486 Installing (pkg/local): libpcreposix-8.42-i486 Installing (pkg/local): pcre-8.42-any Installing (pkg/local): pcre-apps-8.42-i486 Installing (pkg/local): pcre-dev-8.42-any Installing (pkg/local): libgdbm-1.18.1-i486 Installing (pkg/local): perl-core-5.28.1-i486 Installing (pkg/local): perl-5.28.1-i486 Installing (pkg/local): util-linux-uuid-dev-2.33.1-any Installing (pkg/local): util-linux-blkid-dev-2.33.1-any Installing (pkg/local): util-linux-mount-dev-2.33.1-any Installing (pkg/local): zlib-dev-1.2.11-any Installing (pkg/local): glib-dev-2.64.3-i486 Installing (pkg/local): libnet-1.2-rc3-i486 Installing (pkg/local): libnet-dev-1.2-rc3-any Extracting source archive "libnids-1.24.tar.gz" Executing: compile_rules CFLAGS : -march=i486 -Os -pipe -mindirect-branch=thunk CXXLAGS : -march=i486 -Os -pipe -mindirect-branch=thunk CPPFLAGS : -D_GLIBCXX_USE_C99_MATH=1 LDFLAGS : -Wl,-Os,--as-needed configure: loading site script /etc/slitaz/cook.site checking build system type... i486-slitaz-linux-gnu checking host system type... i486-slitaz-linux-gnu checking target system type... i486-slitaz-linux-gnu checking for i486-slitaz-linux-gcc... i486-slitaz-linux-gcc 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 i486-slitaz-linux-gcc accepts -g... yes checking for i486-slitaz-linux-gcc option to accept ANSI C... none needed checking for i486-slitaz-linux-ranlib... i486-slitaz-linux-ranlib checking for a BSD-compatible install... /usr/bin/install -c checking how to run the C preprocessor... i486-slitaz-linux-gcc -E checking for egrep... grep -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking sys/time.h usability... yes checking sys/time.h presence... yes checking for sys/time.h... yes checking syslog.h usability... yes checking syslog.h presence... yes checking for syslog.h... yes checking for unistd.h... (cached) yes checking for an ANSI C-conforming const... yes checking for inline... inline checking whether time.h and sys/time.h may both be included... yes checking whether byte ordering is bigendian... no checking for gettimeofday... yes checking for socket in -lsocket... no checking for gethostbyname in -lnsl... no checking for libpcap... yes checking for i486-slitaz-linux-pkg-config... /usr/bin/i486-slitaz-linux-pkg-config checking pkg-config is at least version 0.9.0... yes checking for GLIB... yes checking for GTHREAD... yes checking for g_thread_init in -lgthread-2.0... yes checking for libnet... yes checking whether to build shared library... no checking the name of struct icmp... struct icmphdr checking if tcp states are defined... yes checking for bsd-ish struct udphdr... yes checking libnet version... looks new configure: creating ./config.status config.status: creating Makefile config.status: creating src/Makefile config.status: creating samples/Makefile config.status: creating src/config.h cd src ; make static make[1]: Entering directory '/home/slitaz/wok/libnids/source/libnids-1.24/src' i486-slitaz-linux-gcc -c -march=i486 -Os -pipe -mindirect-branch=thunk -D_BSD_SOURCE -DLIBNET_VER=1 -DHAVE_ICMPHDR=1 -DHAVE_TCP_STATES=1 -DHAVE_BSD_UDPHDR=1 -I. -I/usr/include -I/usr/include -D_BSD_SOURCE -D__BSD_SOURCE -D__FAVOR_BSD -DHAVE_NET_ETHERNET_H -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include checksum.c i486-slitaz-linux-gcc -c -march=i486 -Os -pipe -mindirect-branch=thunk -D_BSD_SOURCE -DLIBNET_VER=1 -DHAVE_ICMPHDR=1 -DHAVE_TCP_STATES=1 -DHAVE_BSD_UDPHDR=1 -I. -I/usr/include -I/usr/include -D_BSD_SOURCE -D__BSD_SOURCE -D__FAVOR_BSD -DHAVE_NET_ETHERNET_H -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include ip_fragment.c i486-slitaz-linux-gcc -c -march=i486 -Os -pipe -mindirect-branch=thunk -D_BSD_SOURCE -DLIBNET_VER=1 -DHAVE_ICMPHDR=1 -DHAVE_TCP_STATES=1 -DHAVE_BSD_UDPHDR=1 -I. -I/usr/include -I/usr/include -D_BSD_SOURCE -D__BSD_SOURCE -D__FAVOR_BSD -DHAVE_NET_ETHERNET_H -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include ip_options.c i486-slitaz-linux-gcc -c -march=i486 -Os -pipe -mindirect-branch=thunk -D_BSD_SOURCE -DLIBNET_VER=1 -DHAVE_ICMPHDR=1 -DHAVE_TCP_STATES=1 -DHAVE_BSD_UDPHDR=1 -I. -I/usr/include -I/usr/include -D_BSD_SOURCE -D__BSD_SOURCE -D__FAVOR_BSD -DHAVE_NET_ETHERNET_H -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include killtcp.c i486-slitaz-linux-gcc -c -march=i486 -Os -pipe -mindirect-branch=thunk -D_BSD_SOURCE -DLIBNET_VER=1 -DHAVE_ICMPHDR=1 -DHAVE_TCP_STATES=1 -DHAVE_BSD_UDPHDR=1 -I. -I/usr/include -I/usr/include -D_BSD_SOURCE -D__BSD_SOURCE -D__FAVOR_BSD -DHAVE_NET_ETHERNET_H -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include libnids.c i486-slitaz-linux-gcc -c -march=i486 -Os -pipe -mindirect-branch=thunk -D_BSD_SOURCE -DLIBNET_VER=1 -DHAVE_ICMPHDR=1 -DHAVE_TCP_STATES=1 -DHAVE_BSD_UDPHDR=1 -I. -I/usr/include -I/usr/include -D_BSD_SOURCE -D__BSD_SOURCE -D__FAVOR_BSD -DHAVE_NET_ETHERNET_H -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include scan.c In file included from /usr/include/sys/types.h:25, from checksum.c:2: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ In file included from /usr/include/sys/types.h:25, from ip_fragment.c:7: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/string.h:26, from ip_options.c:6: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ In file included from /usr/include/sys/types.h:25, from scan.c:6: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ In file included from /usr/include/sys/types.h:25, from libnids.c:7: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ In file included from /usr/include/sys/types.h:25, from killtcp.c:7: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ i486-slitaz-linux-gcc -c -march=i486 -Os -pipe -mindirect-branch=thunk -D_BSD_SOURCE -DLIBNET_VER=1 -DHAVE_ICMPHDR=1 -DHAVE_TCP_STATES=1 -DHAVE_BSD_UDPHDR=1 -I. -I/usr/include -I/usr/include -D_BSD_SOURCE -D__BSD_SOURCE -D__FAVOR_BSD -DHAVE_NET_ETHERNET_H -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include tcp.c checksum.c:213:10: warning: 'csum_tcpudp_magic' is static but used in inline function 'my_udp_check' which is not static return csum_tcpudp_magic(saddr, daddr, len, IPPROTO_UDP, ^~~~~~~~~~~~~~~~~ checksum.c:211:7: warning: 'dontchksum' is static but used in inline function 'my_udp_check' which is not static if (dontchksum(saddr)) ^~~~~~~~~~ checksum.c:205:10: warning: 'csum_tcpudp_magic' is static but used in inline function 'my_tcp_check' which is not static return csum_tcpudp_magic(saddr, daddr, len, IPPROTO_TCP, ^~~~~~~~~~~~~~~~~ checksum.c:203:7: warning: 'dontchksum' is static but used in inline function 'my_tcp_check' which is not static if (dontchksum(saddr)) ^~~~~~~~~~ checksum.c:197:11: warning: 'csum_fold' is static but used in inline function 'ip_compute_csum' which is not static return (csum_fold(csum_partial(buff, len, 0))); ^~~~~~~~~ checksum.c:126:7: warning: 'dontchksum' is static but used in inline function 'ip_fast_csum' which is not static if (dontchksum(((struct ip*)iph)->ip_src.s_addr)) ^~~~~~~~~~ i486-slitaz-linux-gcc -c -march=i486 -Os -pipe -mindirect-branch=thunk -D_BSD_SOURCE -DLIBNET_VER=1 -DHAVE_ICMPHDR=1 -DHAVE_TCP_STATES=1 -DHAVE_BSD_UDPHDR=1 -I. -I/usr/include -I/usr/include -D_BSD_SOURCE -D__BSD_SOURCE -D__FAVOR_BSD -DHAVE_NET_ETHERNET_H -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include util.c In file included from /usr/include/sys/types.h:25, from tcp.c:7: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ In file included from /usr/include/sys/types.h:25, from util.c:7: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ i486-slitaz-linux-gcc -c -march=i486 -Os -pipe -mindirect-branch=thunk -D_BSD_SOURCE -DLIBNET_VER=1 -DHAVE_ICMPHDR=1 -DHAVE_TCP_STATES=1 -DHAVE_BSD_UDPHDR=1 -I. -I/usr/include -I/usr/include -D_BSD_SOURCE -D__BSD_SOURCE -D__FAVOR_BSD -DHAVE_NET_ETHERNET_H -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include allpromisc.c i486-slitaz-linux-gcc -c -march=i486 -Os -pipe -mindirect-branch=thunk -D_BSD_SOURCE -DLIBNET_VER=1 -DHAVE_ICMPHDR=1 -DHAVE_TCP_STATES=1 -DHAVE_BSD_UDPHDR=1 -I. -I/usr/include -I/usr/include -D_BSD_SOURCE -D__BSD_SOURCE -D__FAVOR_BSD -DHAVE_NET_ETHERNET_H -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include hash.c In file included from /usr/include/sys/types.h:25, from nids.h:9, from allpromisc.c:1: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ In file included from /usr/include/sys/types.h:25, from hash.c:1: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ hash.c: In function 'getrnd': hash.c:18:7: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] read (fd, xor, 12); ^~~~~~~~~~~~~~~~~~ hash.c:19:7: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] read (fd, perm, 12); ^~~~~~~~~~~~~~~~~~~ libnids.c: In function 'open_live': libnids.c:512:2: warning: 'pcap_lookupdev' is deprecated: use 'pcap_findalldevs' and use the first device [-Wdeprecated-declarations] nids_params.device = pcap_lookupdev(nids_errbuf); ^~~~~~~~~~~ In file included from /usr/include/pcap.h:43, from libnids.c:18: /usr/include/pcap/pcap.h:326:16: note: declared here PCAP_API char *pcap_lookupdev(char *) ^~~~~~~~~~~~~~ libnids.c: In function 'nids_init': libnids.c:672:3: warning: 'g_thread_init' is deprecated [-Wdeprecated-declarations] g_thread_init(NULL); ^~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:111, from libnids.c:32: /usr/include/glib-2.0/glib/deprecated/gthread.h:261:10: note: declared here void g_thread_init (gpointer vtable); ^~~~~~~~~~~~~ libnids.c: In function 'nids_run': libnids.c:689:5: warning: 'g_thread_create_full' is deprecated: Use 'g_thread_new' instead [-Wdeprecated-declarations] START_CAP_QUEUE_PROCESS_THREAD(); /* threading... */ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:111, from libnids.c:32: /usr/include/glib-2.0/glib/deprecated/gthread.h:106:10: note: declared here GThread *g_thread_create_full (GThreadFunc func, ^~~~~~~~~~~~~~~~~~~~ libnids.c: In function 'nids_next': libnids.c:749:5: warning: 'g_thread_create_full' is deprecated: Use 'g_thread_new' instead [-Wdeprecated-declarations] START_CAP_QUEUE_PROCESS_THREAD(); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:111, from libnids.c:32: /usr/include/glib-2.0/glib/deprecated/gthread.h:106:10: note: declared here GThread *g_thread_create_full (GThreadFunc func, ^~~~~~~~~~~~~~~~~~~~ libnids.c: In function 'nids_dispatch': libnids.c:763:5: warning: 'g_thread_create_full' is deprecated: Use 'g_thread_new' instead [-Wdeprecated-declarations] START_CAP_QUEUE_PROCESS_THREAD(); /* threading... */ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:111, from libnids.c:32: /usr/include/glib-2.0/glib/deprecated/gthread.h:106:10: note: declared here GThread *g_thread_create_full (GThreadFunc func, ^~~~~~~~~~~~~~~~~~~~ ar -cr libnids.a checksum.o ip_fragment.o ip_options.o killtcp.o libnids.o scan.o tcp.o util.o allpromisc.o hash.o i486-slitaz-linux-ranlib libnids.a make[1]: Leaving directory '/home/slitaz/wok/libnids/source/libnids-1.24/src' cd src ; make _install make[1]: Entering directory '/home/slitaz/wok/libnids/source/libnids-1.24/src' ../mkinstalldirs /home/slitaz/wok/libnids/install/usr/lib mkdir /home/slitaz/wok/libnids/install mkdir /home/slitaz/wok/libnids/install/usr mkdir /home/slitaz/wok/libnids/install/usr/lib ../mkinstalldirs /home/slitaz/wok/libnids/install/usr/include mkdir /home/slitaz/wok/libnids/install/usr/include ../mkinstalldirs /home/slitaz/wok/libnids/install/usr/share/man/man3 mkdir /home/slitaz/wok/libnids/install/usr/share mkdir /home/slitaz/wok/libnids/install/usr/share/man mkdir /home/slitaz/wok/libnids/install/usr/share/man/man3 /usr/bin/install -c -c -m 644 libnids.a /home/slitaz/wok/libnids/install/usr/lib /usr/bin/install -c -c -m 644 nids.h /home/slitaz/wok/libnids/install/usr/include /usr/bin/install -c -c -m 644 libnids.3 /home/slitaz/wok/libnids/install/usr/share/man/man3 make[1]: Leaving directory '/home/slitaz/wok/libnids/source/libnids-1.24/src' ================================================================================ Executing strip on all files... Done Time: 0.21s. Size: 40984 B -> 40724 B. Save: 0 KB. Installing (pkg/local): advancecomp-static-2.1-i486 Compressing man pages... Done Time: 1.29s. Size: 13970 B -> 4711 B. Save: 9 KB. Cache hit: 1/1. ================================================================================ Build dependencies to remove: 29 Removing: advancecomp-static glib glib-dev libgdbm libnet libnet-dev libnl libnl-dev libnl-tools libpcap libpcap-dev libpcre libpcre16 libpcre32 libpcrecpp libpcreposix pcre pcre-apps pcre-dev perl perl-core util-linux-blkid util-linux-blkid-dev util-linux-mount util-linux-mount-dev util-linux-smartcols util-linux-uuid util-linux-uuid-dev zlib-dev Pack: libnids 1.24 ================================================================================ Executing: genpkg_rules Copying "receipt"... Done Determining package architecture... i486 Creating the list of files... Done Creating md5sum of files... Done Compressing the FS... Done Creating full cpio archive... Done QA: checking for empty package... Done Removing old package "libnids-1.24-i486.tazpkg" Done The release checksum has changed. ================================================================================ Package "libnids-1.24-i486.tazpkg" created Post-check ================================================================================ Checking build... Done Checking 'any' arch... Done Checking libtool in source/libnids-1.24... Done Checking site script in source/libnids-1.24... Done Checking ownership in install... Done Checking permissions in install... Done Checking broken symlinks in install... Done Querying Repology... Done Updating activity log... Done ================================================================================ Summary for: libnids 1.24 ================================================================================ Src file : libnids-1.24.tar.gz Src size : 148.0K Source dir : 864.0K Produced : 80.0K Cook time : 25s Cook date : 2020-07-07 12:49 Target arch : i486 -------------------------------------------------------------------------------- # : Packed : Compressed : Files : Package name -------------------------------------------------------------------------------- 1 : 96.0K : 20.9K : 3 : libnids-1.24-i486.tazpkg ================================================================================