Bug 269475 - emulators/qemu: user-mode networking is not available since 7.2 upgrade
Summary: emulators/qemu: user-mode networking is not available since 7.2 upgrade
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Many People
Assignee: Muhammad Moinur Rahman
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-02-10 22:00 UTC by Maxim Sobolev
Modified: 2023-02-11 13:40 UTC (History)
1 user (show)

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


Attachments
Patch to add missing dependency. (1004 bytes, text/plain)
2023-02-10 22:00 UTC, Maxim Sobolev
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
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(-)