ports/opt (3.7): [notify] libslirp: initial release, version 4.7.0
commit c5a2033ee0ee99b809b7542049f47e2465f1b5ff Author: Juergen Daubert <jue@jue.li> Date: Sat Sep 16 18:25:03 2023 +0200 [notify] libslirp: initial release, version 4.7.0 if qemu version 8.1.0, release 3, is installed you have to force install this port because qemu includes the slirp libraries. As of release 4 of qemu this has been fixed and libslirp is needed for slirp support [1] in qemu. [1] https://wiki.qemu.org/Documentation/Networking#Network_HOWTOs diff --git a/libslirp/.footprint b/libslirp/.footprint new file mode 100644 index 000000000..f3160a993 --- /dev/null +++ b/libslirp/.footprint @@ -0,0 +1,11 @@ +drwxr-xr-x root/root usr/ +drwxr-xr-x root/root usr/include/ +drwxr-xr-x root/root usr/include/slirp/ +-rw-r--r-- root/root usr/include/slirp/libslirp-version.h +-rw-r--r-- root/root usr/include/slirp/libslirp.h +drwxr-xr-x root/root usr/lib/ +lrwxrwxrwx root/root usr/lib/libslirp.so -> libslirp.so.0 +lrwxrwxrwx root/root usr/lib/libslirp.so.0 -> libslirp.so.0.4.0 +-rwxr-xr-x root/root usr/lib/libslirp.so.0.4.0 +drwxr-xr-x root/root usr/lib/pkgconfig/ +-rw-r--r-- root/root usr/lib/pkgconfig/slirp.pc diff --git a/libslirp/.signature b/libslirp/.signature new file mode 100644 index 000000000..137e25e02 --- /dev/null +++ b/libslirp/.signature @@ -0,0 +1,5 @@ +untrusted comment: verify with /etc/ports/opt.pub +RWSE3ohX2g5d/S+Lw3lUnRVRSOGWLV/KD5PQEE8Y2PjNr/k7Ta1eQQi1N0OJxeK+VsVssKfCMpkoUCblxF2uqd4cnFMA+b62xwc= +SHA256 (Pkgfile) = 657a0f063e6a7ccf9c40ca70ab7fbdbe08cef05c68948855e6be83edb5b66276 +SHA256 (.footprint) = 721481d993facbba94eb2eafaec4dec9a303d88bd776f29625e33c3b926ffb16 +SHA256 (libslirp-v4.7.0.tar.bz2) = 358ce8b6ea59ec9deac937cc754f0115b992839e7b0cddf30ffb8f77dc21da82 diff --git a/libslirp/Pkgfile b/libslirp/Pkgfile new file mode 100644 index 000000000..70a06c945 --- /dev/null +++ b/libslirp/Pkgfile @@ -0,0 +1,21 @@ +# Description: A general purpose TCP-IP emulator +# URL: https://gitlab.freedesktop.org/slirp/libslirp +# Maintainer: Juergen Daubert, jue at crux dot nu +# Depends on: glib + +name=libslirp +version=4.7.0 +release=1 +source=(https://gitlab.freedesktop.org/slirp/$name/-/archive/v$version/$name-v$versi...) + +build() { + meson setup build $name-v$version \ + --prefix=/usr \ + --buildtype=plain \ + --wrap-mode nodownload \ + -D b_lto=true \ + -D b_pie=true + + meson compile -C build -j ${JOBS:-1} + DESTDIR=$PKG meson install -C build +}
participants (1)
-
crux@crux.nu