Wednesday, April 13, 2022

Re: NEW: libslirp

On Wed, Apr 13, 2022 at 11:56:19AM +0100, Stuart Henderson wrote:
> On 2022/04/13 01:31, Brad Smith wrote:
> > Information for inst:libslirp-4.6.1
> >
> > Comment:
> > general purpose TCP-IP emulator library
> >
> > Description:
> > libslirp is a user-mode networking library used by virtual machines,
> > containers or various tools.
> >
> > Maintainer: Brad Smith <brad@comstyle.com>
> >
> > WWW: https://gitlab.freedesktop.org/slirp/libslirp
>
> Do you have a diff for qemu to go with it? Haven't finished a build,
> but from the look of configure output it's going to pick it up as-is.
>
> OK to import as long as that's handled if needed.

QEMU does by default. Here.


Index: Makefile
===================================================================
RCS file: /home/cvs/ports/emulators/qemu/Makefile,v
retrieving revision 1.220
diff -u -p -u -p -r1.220 Makefile
--- Makefile 29 Mar 2022 10:04:28 -0000 1.220
+++ Makefile 14 Apr 2022 02:49:59 -0000
@@ -5,8 +5,8 @@ COMMENT-main= multi system emulator
COMMENT-ga= QEMU guest agent

VERSION= 6.2.0
-REVISION-ga= 0
-REVISION-main= 0
+REVISION-main= 1
+REVISION-ga= 1
DISTNAME= qemu-${VERSION}
CATEGORIES= emulators
MASTER_SITES= https://download.qemu.org/
@@ -23,7 +23,7 @@ WANTLIB= c glib-2.0 pthread
WANTLIB-main= ${COMPILER_LIBCXX} ${WANTLIB} SDL2 X11 bz2 cairo capstone curl \
curses epoxy fdt gbm gdk-3 gdk_pixbuf-2.0 gio-2.0 gnutls \
gobject-2.0 gtk-3 iconv intl iscsi jpeg lzo2 m nfs pixman-1 \
- png sndio ssh usb-1.0 util vte-2.91 xkbcommon z zstd
+ png slirp sndio ssh usb-1.0 util vte-2.91 xkbcommon z zstd
WANTLIB-ga= ${WANTLIB}

MULTI_PACKAGES= -main -ga
@@ -58,6 +58,7 @@ LIB_DEPENDS-main= ${LIB_DEPENDS} \
graphics/jpeg \
graphics/png \
net/curl \
+ net/libslirp \
security/gnutls \
security/libssh \
x11/gtk+3 \
Index: pkg/PLIST-ga
===================================================================
RCS file: /home/cvs/ports/emulators/qemu/pkg/PLIST-ga,v
retrieving revision 1.4
diff -u -p -u -p -r1.4 PLIST-ga
--- pkg/PLIST-ga 29 Mar 2022 10:04:28 -0000 1.4
+++ pkg/PLIST-ga 14 Apr 2022 02:37:37 -0000
@@ -3,6 +3,7 @@
@bin bin/qemu-ga
@man man/man7/qemu-ga-ref.7
@man man/man8/qemu-ga.8
+share/doc/pkg-readmes/${PKGSTEM}
share/doc/qemu/
share/doc/qemu/interop/
share/doc/qemu/interop/qemu-ga-ref.html
@@ -11,4 +12,3 @@ share/examples/qemu/
@sample ${SYSCONFDIR}/qemu/
share/examples/qemu/qemu-ga.conf
@sample ${SYSCONFDIR}/qemu/qemu-ga.conf
-share/doc/pkg-readmes/${PKGSTEM}

No comments:

Post a Comment