>>> Building on exopi-4 under security/fragrouter DIST = [security/fragrouter:fragrouter-1.6.tar.gz] FULLPKGNAME = fragrouter-1.6p3 distfiles size=277726 >>> Running build in security/fragrouter at 1731773865.46 ===> security/fragrouter ===> Building from scratch fragrouter-1.6p3 ===> Verifying specs: c pcap ===> found c.100.3 pcap.9.0 ===> Checking files for fragrouter-1.6p3 `/exopi-cvs/ports/distfiles/fragrouter-1.6.tar.gz' is up to date. >> (SHA256) all files: OK ===> Extracting for fragrouter-1.6p3 ===> Patching for fragrouter-1.6p3 ===> Applying OpenBSD patch patch-Libnet-0_99b_configure Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |--- Libnet-0.99b/configure.orig Mon Jul 26 17:08:51 1999 |+++ Libnet-0.99b/configure Thu Mar 15 22:32:26 2001 -------------------------- Patching file Libnet-0.99b/configure using Plan A... Hunk #1 succeeded at 884. done ===> Applying OpenBSD patch patch-Libnet-0_99b_configure_in Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |--- Libnet-0.99b/configure.in.orig Mon Jul 26 17:08:51 1999 |+++ Libnet-0.99b/configure.in Thu Mar 15 22:32:21 2001 -------------------------- Patching file Libnet-0.99b/configure.in using Plan A... Hunk #1 succeeded at 32. done ===> Applying OpenBSD patch patch-Libnet-0_99b_src_bpf_c Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |--- Libnet-0.99b/src/bpf.c.orig Fri Dec 6 00:18:57 2013 |+++ Libnet-0.99b/src/bpf.c Fri Dec 6 00:19:11 2013 -------------------------- Patching file Libnet-0.99b/src/bpf.c using Plan A... Hunk #1 succeeded at 29. done ===> Applying OpenBSD patch patch-Makefile_in Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |--- Makefile.in.orig Mon Jul 26 17:08:50 1999 |+++ Makefile.in Thu Mar 15 22:31:08 2001 -------------------------- Patching file Makefile.in using Plan A... Hunk #1 succeeded at 22. done ===> Applying OpenBSD patch patch-configure Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |--- configure.orig Mon Jul 26 17:08:51 1999 |+++ configure Thu Mar 15 22:35:24 2001 -------------------------- Patching file configure using Plan A... Hunk #1 succeeded at 746. Hunk #2 succeeded at 1350. Hunk #3 succeeded at 1737. done ===> Applying OpenBSD patch patch-configure_in Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |--- configure.in.orig Mon Jul 26 17:08:51 1999 |+++ configure.in Thu Mar 15 22:34:37 2001 -------------------------- Patching file configure.in using Plan A... Hunk #1 succeeded at 10. Hunk #2 succeeded at 31. done ===> Applying OpenBSD patch patch-fragrouter_c Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |--- fragrouter.c.orig Tue Sep 21 09:47:32 1999 |+++ fragrouter.c Sat Feb 23 17:14:09 2002 -------------------------- Patching file fragrouter.c using Plan A... Hunk #1 succeeded at 104. done ===> Compiler link: clang -> /usr/bin/clang ===> Compiler link: clang++ -> /usr/bin/clang++ ===> Compiler link: cc -> /usr/bin/cc ===> Compiler link: c++ -> /usr/bin/c++ ===> Generating configure for fragrouter-1.6p3 ===> Configuring for fragrouter-1.6p3 Using /exopi-obj/pobj/fragrouter-1.6/config.site (generated) loading site script /exopi-obj/pobj/fragrouter-1.6/config.site creating cache ./config.cache checking for gcc... cc checking whether the C compiler (cc -O2 -pipe ) works... yes checking whether the C compiler (cc -O2 -pipe ) is a cross-compiler... no checking whether we are using GNU C... (cached) yes checking whether cc accepts -g... (cached) yes checking for a BSD compatible install... /exopi-obj/pobj/fragrouter-1.6/bin/install -c checking whether make sets ${MAKE}... (cached) yes checking how to run the C preprocessor... cc -E checking for ANSI C header files... (cached) yes checking for unistd.h... (cached) yes checking for sys/param.h... (cached) yes checking for working const... (cached) yes checking for strdup... (cached) yes checking for gethostbyname in -lnsl... no checking for socket in -lsocket... no checking for net/ethernet.h... no updating cache ./config.cache creating ./config.status creating Makefile creating config.h configuring in Libnet-0.99b running /bin/sh ./configure --prefix=/usr/local --sysconfdir=/etc --mandir=/usr/local/man --infodir=/usr/local/info --localstatedir=/var --disable-silent-rules --disable-gtk-doc --cache-file=.././config.cache --srcdir=. loading site script /exopi-obj/pobj/fragrouter-1.6/config.site loading cache .././config.cache checking host system type... x86_64-unknown-openbsd7.6 checking target system type... x86_64-unknown-openbsd7.6 checking build system type... x86_64-unknown-openbsd7.6 checking for gcc... (cached) cc checking whether the C compiler (cc -O2 -pipe ) works... yes checking whether the C compiler (cc -O2 -pipe ) is a cross-compiler... no checking whether we are using GNU C... (cached) yes checking whether cc accepts -g... (cached) yes checking for working const... (cached) yes checking for a BSD compatible install... /exopi-obj/pobj/fragrouter-1.6/bin/install -c checking whether make sets ${MAKE}... (cached) yes checking for ranlib... ranlib checking for ar... ar checking for ln... ln checking for strerror... (cached) yes checking for pcap_open_live in -lpcap... yes checking low-level packet interface type... found bpf checking for build_ip in -lnet... no checking whether byte ordering is bigendian... no checking if unaligned accesses fail... no checking for sys/sockio.h... (cached) yes updating cache .././config.cache creating ./config.status creating Makefile creating test/Makefile creating test/TCP/Makefile creating test/Ethernet/Makefile creating test/UDP/Makefile creating test/ICMP/Makefile creating test/Random/Makefile creating util/Makefile creating util/Get-mac/Makefile creating include/config.h ===> Building for fragrouter-1.6p3 cd ./Libnet-0.99b; /usr/bin/make sed -e 's/.*/#define VERSION "&"/' ./VERSION > version.h cc -O2 -pipe -DHAVE_CONFIG_H -c src/resolve.c -o src/resolve.o src/resolve.c:101:52: warning: 'strncpy' call operates on objects of type 'u_char' (aka 'unsigned char') while the size is based on a different type 'u_char *' (aka 'unsigned char *') [-Wsizeof-pointer-memaccess] strncpy(hostname, host_ent->h_name, sizeof(hostname)); ~~~~~~~~ ^~~~~~~~ src/resolve.c:101:52: note: did you mean to provide an explicit length? strncpy(hostname, host_ent->h_name, sizeof(hostname)); ^~~~~~~~ 1 warning generated. cc -O2 -pipe -DHAVE_CONFIG_H -c src/socket.c -o src/socket.o src/socket.c:41:15: warning: parameter 'prot' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] open_raw_sock(prot) ^ src/socket.c:41:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] open_raw_sock(prot) ^ 2 warnings generated. cc -O2 -pipe -DHAVE_CONFIG_H -c src/checksum.c -o src/checksum.o cc -O2 -pipe -DHAVE_CONFIG_H -c src/prand.c -o src/prand.o cc -O2 -pipe -DHAVE_CONFIG_H -c src/version.c -o src/version.o src/version.c:47:48: warning: sizeof on pointer operation will return size of 'const char *' instead of 'const char[104]' [-Wsizeof-array-decay] write(STDOUT_FILENO, banner, sizeof(banner - 1)); ~~~~~~ ^ 1 warning generated. cc -O2 -pipe -DHAVE_CONFIG_H -c src/error.c -o src/error.o cc -O2 -pipe -DHAVE_CONFIG_H -c src/write_ip.c -o src/write_ip.o cc -O2 -pipe -DHAVE_CONFIG_H -c src/insert_ipo.c -o src/insert_ipo.o cc -O2 -pipe -DHAVE_CONFIG_H -c src/insert_tcpo.c -o src/insert_tcpo.o cc -O2 -pipe -DHAVE_CONFIG_H -c src/bpf.c -o src/bpf.o cc -O2 -pipe -DHAVE_CONFIG_H -c src/packet_mem.c -o src/packet_mem.o cc -O2 -pipe -DHAVE_CONFIG_H -c src/build_ip.c -o src/build_ip.o cc -O2 -pipe -DHAVE_CONFIG_H -c src/build_tcp.c -o src/build_tcp.o cc -O2 -pipe -DHAVE_CONFIG_H -c src/build_udp.c -o src/build_udp.o cc -O2 -pipe -DHAVE_CONFIG_H -c src/build_arp.c -o src/build_arp.o cc -O2 -pipe -DHAVE_CONFIG_H -c src/build_ethernet.c -o src/build_ethernet.o cc -O2 -pipe -DHAVE_CONFIG_H -c src/build_icmp.c -o src/build_icmp.o cc -O2 -pipe -DHAVE_CONFIG_H -c src/build_igmp.c -o src/build_igmp.o cc -O2 -pipe -DHAVE_CONFIG_H -c src/build_dns.c -o src/build_dns.o cc -O2 -pipe -DHAVE_CONFIG_H -c src/build_snmp.c -o src/build_snmp.o cc -O2 -pipe -DHAVE_CONFIG_H -c src/build_rip.c -o src/build_rip.o cc -O2 -pipe -DHAVE_CONFIG_H -c src/asn1.c -o src/asn1.o cc -O2 -pipe -DHAVE_CONFIG_H -c src/hex_dump.c -o src/hex_dump.o cc -O2 -pipe -DHAVE_CONFIG_H -c src/stubs.c -o src/stubs.o cc -O2 -pipe -DHAVE_CONFIG_H -c src/if_addr.c -o src/if_addr.o cc -O2 -pipe -DHAVE_CONFIG_H -c src/arp.c -o src/arp.o cc -O2 -pipe -DHAVE_CONFIG_H -c src/route.c -o src/route.o ar -cr lib/libnet.a src/resolve.o src/socket.o src/checksum.o src/prand.o src/version.o src/error.o src/write_ip.o src/insert_ipo.o src/insert_tcpo.o src/error.o src/bpf.o src/packet_mem.o src/build_ip.o src/build_tcp.o src/build_udp.o src/build_arp.o src/build_ethernet.o src/build_icmp.o src/build_igmp.o src/build_dns.o src/build_snmp.o src/build_rip.o src/asn1.o src/hex_dump.o src/stubs.o src/if_addr.o src/arp.o src/route.o ranlib lib/libnet.a cc -O2 -pipe -I./Libnet-0.99b/include -c attack.c attack.c:346:5: warning: call to undeclared library function 'strcpy' with type 'char *(char *, const char *)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] strcpy(ebuf, "attack unimplemented"); ^ attack.c:346:5: note: include the header or explicitly provide a declaration for 'strcpy' 1 warning generated. cc -O2 -pipe -I./Libnet-0.99b/include -c fragrouter.c cc -O2 -pipe -I./Libnet-0.99b/include -c ip_frag.c cc -O2 -pipe -I./Libnet-0.99b/include -c list.c list.c:57:3: warning: call to undeclared library function 'memcpy' with type 'void *(void *, const void *, unsigned long)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] memcpy(new->data, data, len); ^ list.c:57:3: note: include the header or explicitly provide a declaration for 'memcpy' 1 warning generated. cc -O2 -pipe -I./Libnet-0.99b/include -c misc.c cc -O2 -pipe -I./Libnet-0.99b/include -c print.c cc -O2 -pipe -I./Libnet-0.99b/include -c send.c cc -O2 -pipe -I./Libnet-0.99b/include -c sniff.c cc -O2 -pipe -I./Libnet-0.99b/include -c tcp_seg.c cc -o fragrouter attack.o fragrouter.o ip_frag.o list.o misc.o print.o send.o sniff.o tcp_seg.o -lpcap -L./Libnet-0.99b/lib -lnet ld: warning: fragrouter.c(fragrouter.o:(main)): warning: strcat() is almost always misused, please use strlcat() ld: warning: send.c(send.o:(send_init)): warning: strcpy() is almost always misused, please use strlcpy() ld: warning: prand.c(prand.o:(get_prand) in archive ./Libnet-0.99b/lib/libnet.a): warning: random() may return deterministic values, is that what you want? ld: warning: bpf.c(bpf.o:(bpf_open) in archive ./Libnet-0.99b/lib/libnet.a): warning: sprintf() is often misused, please use snprintf() >>> Running package in security/fragrouter at 1731773884.51 ===> security/fragrouter ===> Faking installation for fragrouter-1.6p3 /exopi-obj/pobj/fragrouter-1.6/bin/install -c -s -m 755 /exopi-obj/pobj/fragrouter-1.6/fragrouter-1.6/fragrouter /exopi-obj/pobj/fragrouter-1.6/fake-amd64/usr/local/sbin /exopi-obj/pobj/fragrouter-1.6/bin/install -c -m 644 /exopi-obj/pobj/fragrouter-1.6/fragrouter-1.6/fragrouter.8 /exopi-obj/pobj/fragrouter-1.6/fake-amd64/usr/local/man/man8 ===> Building package for fragrouter-1.6p3 Create /exopi-cvs/ports/packages/amd64/all/fragrouter-1.6p3.tgz Creating package fragrouter-1.6p3 reading plist| checking dependencies| checksumming| checksumming| | 0% checksumming|****** | 9% checksumming|*********** | 18% checksumming|***************** | 27% checksumming|********************** | 36% checksumming|**************************** | 45% checksumming|********************************* | 55% checksumming|*************************************** | 64% checksumming|******************************************** | 73% checksumming|************************************************** | 82% checksumming|******************************************************* | 91% checksumming|*************************************************************|100% archiving| archiving| | 0% archiving| | 1% archiving|********************************************************** | 90% archiving|****************************************************************|100% Link to /exopi-cvs/ports/packages/amd64/ftp/fragrouter-1.6p3.tgz >>> Running clean in security/fragrouter at 1731773888.94 ===> security/fragrouter ===> Cleaning for fragrouter-1.6p3 >>> Ended at 1731773889.54 max_stuck=0.00/build=19.07/package=4.39/clean=0.67