Bug 269475

Summary: emulators/qemu: user-mode networking is not available since 7.2 upgrade
Product: Ports & Packages Reporter: Maxim Sobolev <sobomax>
Component: Individual Port(s)Assignee: Muhammad Moinur Rahman <bofh>
Status: Closed FIXED    
Severity: Affects Many People CC: sobomax
Priority: --- Flags: bugzilla: maintainer-feedback? (bofh)
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
Patch to add missing dependency. none

Description Maxim Sobolev freebsd_committer freebsd_triage 2023-02-10 22:00:47 UTC
Created attachment 240063 [details]
Patch to add missing dependency.

In qemu 7.2 release the slirp code has been moved out of the source package and is enabled/disabled at the build time based on the availability of the libslirp shared library. As such, it needs to be added into LIB_DEPENDS to make this feature available in the quemu package.

See https://wiki.qemu.org/ChangeLog/7.2#Removal_of_the_.22slirp.22_submodule_.28affects_.22-netdev_user.22.29 for a reference.
Comment 1 commit-hook freebsd_committer freebsd_triage 2023-02-11 13:39:59 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=8bfca3e68c84ddae42ae7654490d5cc9a011a96d

commit 8bfca3e68c84ddae42ae7654490d5cc9a011a96d
Author:     Maksym Sobolyev <sobomax@sippysoft.com>
AuthorDate: 2023-02-11 13:36:44 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2023-02-11 13:39:24 +0000

    emulators/qemu: Fix missing LIB_DEPENDS

    Add net/libslirp into LIB_DEPENDS, now required for making user
    networking functional.

    In qemu 7.2 release the slirp code has been moved out of the source
    package and is enabled/disabled at the build time based on the
    availability of the libslirp shared library. As such, it needs to be
    added into LIB_DEPENDS to make this feature available in the quemu
    package.

    See
    https://wiki.qemu.org/ChangeLog/7.2#Removal_of_the_.22slirp.22_submodule_.28affects_.22-netdev_user.22.29
    for a reference.

    PR:             269475
    Reported by:    sobomax

 emulators/qemu/Makefile | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)