Bug 248484 - net/libnet: Update to 1.2
Summary: net/libnet: Update to 1.2
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Po-Chuan Hsieh
URL:
Keywords: needs-patch
Depends on:
Blocks:
 
Reported: 2020-08-05 09:43 UTC by Ulas SAYGIN
Modified: 2022-08-08 22:58 UTC (History)
1 user (show)

See Also:
bugzilla: maintainer-feedback? (sunpoet)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ulas SAYGIN 2020-08-05 09:43:01 UTC
Hi, 
Dear Maintainer or Responsible People,

I would like to remind you this port has several version updates and these updates didnt noticed from this date 03 Nov 2018 22:16:06 and port needs to be updated to latest version.

can you further check and get necessary updates for this port?

Thank you.

have a nice day.
Comment 1 Ulas SAYGIN 2020-08-23 21:49:11 UTC
Is there any update?
Comment 2 Po-Chuan Hsieh freebsd_committer freebsd_triage 2020-08-25 18:55:11 UTC
(In reply to Ulas SAYGIN from comment #1)

I've added it to my TODO list but it is a low priority.
There are build failures of the dependent ports.
It would be appreciated if you can provide a patch.
Comment 3 Ulas SAYGIN 2020-12-20 22:56:37 UTC
I cant provide patch for now. i am not able to do it.

Sunpoet Po-Chuan Hsieh thank you for adding your TODO list.

I hope you may have time it soon.

I saw couple of comments on github if i remember correctly, some components compiled but software was not working properly. after seeing that, i thought even i achieved version update , i may not able to test the software correctly.
because of this, i am not right person to do for now. i need to do learn many things.

thank you for you help.
Comment 4 Ulas SAYGIN 2021-06-27 10:17:28 UTC
is there any update for this issue?
Comment 5 Ulas SAYGIN 2022-02-22 17:50:37 UTC
hi @Po-Chuan Hsieh 
did you completed your other high priority work and have any time for updating this port?

thank you.
Comment 6 Ulas SAYGIN 2022-05-25 23:56:09 UTC
(In reply to Po-Chuan Hsieh from comment #2)

Hi Po-Chuan Hsieh,
i tested compilation of libnet latest releas.

https://github.com/libnet/libnet/releases/tag/v1.2

if it is not too much to ask. it seems it is compiled all library but i am not sure one thing.
 at the end of the compilation it says : "Making all in win32" at the end.

it seems libnet latest version compiled libraries without problem.
i dont know how to test library.
can you have little time to check it is working or not?

i also asked last message of compilation on their github issues and i also test their latest updates with code. dont make you confused. second comment is question for latest release.
firstly i asked compilation problem about their latest updates. not release.
but secondly i asked what i said now.

thank you for your help from now.

https://github.com/libnet/libnet/issues/139



root@fbsd131:~/libnet/libnet-1.2 # ./configure && make
checking for a POSIX-compliant shell... /bin/sh
checking for a sed that does not truncate output... /usr/bin/sed
checking for chmod... chmod
checking build system type... x86_64-unknown-freebsd13.1
checking host system type... x86_64-unknown-freebsd13.1
checking target system type... x86_64-unknown-freebsd13.1
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... ./install-sh -c -d
checking for gawk... no
checking for mawk... no
checking for nawk... nawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking whether make supports nested variables... (cached) yes
checking for gcc... no
checking for cc... 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 how to run the C preprocessor... cc -E
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/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 minix/config.h usability... no
checking minix/config.h presence... no
checking for minix/config.h... no
checking whether it is safe to define __EXTENSIONS__... yes
checking how to print strings... printf
checking for a sed that does not truncate output... (cached) /usr/bin/sed
checking for fgrep... /usr/bin/grep -F
checking for ld used by cc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm
checking the name lister (/usr/bin/nm) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 393216
checking how to convert x86_64-unknown-freebsd13.1 file names to x86_64-unknown-freebsd13.1 format... func_convert_file_noop
checking how to convert x86_64-unknown-freebsd13.1 file names to toolchain format... func_convert_file_noop
checking for /usr/bin/ld option to reload object files... -r
checking for objdump... no
checking how to recognize dependent libraries... pass_all
checking for dlltool... no
checking how to associate runtime and link libraries... printf %s\n
checking for ar... ar
checking for archiver @FILE support... no
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /usr/bin/nm output from cc object... ok
checking for sysroot... no
checking for a working dd... /bin/dd
checking how to truncate binary pipes... /bin/dd bs=4096 count=1
checking for mt... mt
checking if mt is a manifest tool... no
checking for dlfcn.h... yes
checking for objdir... .libs
checking if cc supports -fno-rtti -fno-exceptions... yes
checking for cc option to produce PIC... -fPIC -DPIC
checking if cc PIC flag -fPIC -DPIC works... yes
checking if cc static flag -static works... yes
checking if cc supports -c -o file.o... yes
checking if cc supports -c -o file.o... (cached) yes
checking whether the cc linker (/usr/bin/ld) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... freebsd13.1 ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... no
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking sys/sockio.h usability... yes
checking sys/sockio.h presence... yes
checking for sys/sockio.h... yes
checking for gethostbyname2... yes
checking for getifaddrs... yes
checking for uint16_t... yes
checking for uint32_t... yes
checking for uint64_t... yes
checking for socklen_t... yes
checking whether byte ordering is bigendian... no
checking net/pfilt.h usability... no
checking net/pfilt.h presence... no
checking for net/pfilt.h... no
checking sys/net/nit.h usability... no
checking sys/net/nit.h presence... no
checking for sys/net/nit.h... no
checking net/raw.h usability... no
checking net/raw.h presence... no
checking for net/raw.h... no
checking sys/dlpi.h usability... no
checking sys/dlpi.h presence... no
checking for sys/dlpi.h... no
checking linux/socket.h usability... no
checking linux/socket.h presence... no
checking for linux/socket.h... no
checking link-layer packet interface type... found link layer bpf
checking for doxygen... no
configure: WARNING: doxygen not found - will not generate any doxygen documentation
checking for perl... /usr/local/bin/perl
checking whether to build sample programs... no
checking FreeBSD version, is SOCK_RAW really raw?... yes
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: creating Doxyfile
config.status: creating libnet-config
config.status: creating doc/Makefile
config.status: creating doc/man/Makefile
config.status: creating doc/man/man1/Makefile
config.status: creating doc/man/man3/Makefile
config.status: creating include/Makefile
config.status: creating include/libnet.h
config.status: creating libnet.pc
config.status: creating src/Makefile
config.status: creating sample/Makefile
config.status: creating win32/Makefile
config.status: creating doc/fixmanpages
config.status: creating include/config.h
config.status: executing libtool commands

-=-=-=-=-=-=-=-=-=-= libnet Configuration Complete =-=-=-=-=-=-=-=-=-=-

    Version ....................... 1.2

    Host .......................... x86_64-unknown-freebsd13.1
    Operating System .............. freebsd13.1
    Host CPU ...................... x86_64
    Host Vendor ................... unknown
    Host OS ....................... freebsd13.1
    Prefix ........................ /usr/local

    Cross-compiling ............... no
    Compiler is GCC ............... yes
    CC ............................ cc
    CFLAGS ........................ -g -O2
    LD ............................ /usr/bin/ld
    LDFLAGS .......................
    LIBS ..........................

    Link Layer .................... bpf
    Shared Libraries .............. yes
    Static Libraries .............. yes
    PIC ........................... yes
    Build Sample Programs ......... no
    Rebuild docs .................. no

To override options

        ./configure --help

Report bugs to https://github.com/libnet/libnet/issues

-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
To disable silent build and print the full command line of every stage

        make V=1

Making all in include
make  all-am
Making all in src
  CC       libnet_asn1.lo
  CC       libnet_build_802.1q.lo
  CC       libnet_build_802.1x.lo
  CC       libnet_build_802.2.lo
  CC       libnet_build_802.3.lo
  CC       libnet_build_arp.lo
  CC       libnet_build_bgp.lo
  CC       libnet_build_cdp.lo
  CC       libnet_build_data.lo
  CC       libnet_build_dhcp.lo
  CC       libnet_build_dns.lo
  CC       libnet_build_ethernet.lo
  CC       libnet_build_fddi.lo
  CC       libnet_build_gre.lo
  CC       libnet_build_hsrp.lo
  CC       libnet_build_icmp.lo
  CC       libnet_build_igmp.lo
  CC       libnet_build_ip.lo
  CC       libnet_build_ipsec.lo
  CC       libnet_build_isl.lo
  CC       libnet_build_link.lo
  CC       libnet_build_mpls.lo
  CC       libnet_build_ntp.lo
  CC       libnet_build_ospf.lo
  CC       libnet_build_rip.lo
  CC       libnet_build_rpc.lo
  CC       libnet_build_sebek.lo
  CC       libnet_build_snmp.lo
  CC       libnet_build_stp.lo
  CC       libnet_build_tcp.lo
  CC       libnet_build_token_ring.lo
  CC       libnet_build_udp.lo
  CC       libnet_build_vrrp.lo
  CC       libnet_advanced.lo
  CC       libnet_checksum.lo
  CC       libnet_cq.lo
  CC       libnet_crc.lo
  CC       libnet_error.lo
  CC       libnet_if_addr.lo
  CC       libnet_init.lo
  CC       libnet_internal.lo
  CC       libnet_pblock.lo
  CC       libnet_port_list.lo
  CC       libnet_prand.lo
  CC       libnet_raw.lo
  CC       libnet_resolve.lo
  CC       libnet_version.lo
  CC       libnet_write.lo
  CC       libnet_link_bpf.lo
  CCLD     libnet.la
Making all in win32
Comment 7 Daniel Engberg freebsd_committer freebsd_triage 2022-08-08 22:58:14 UTC
Updated to 1.2 in commit 9f7a28532c5900f3aa5096db51fd7ecf1bbe83d5