[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
This commit is contained in:
Juergen Daubert 2023-09-16 18:25:03 +02:00
parent a65767add2
commit c5a2033ee0
3 changed files with 37 additions and 0 deletions

11
libslirp/.footprint Normal file
View File

@ -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

5
libslirp/.signature Normal file
View File

@ -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

21
libslirp/Pkgfile Normal file
View File

@ -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$version.tar.bz2)
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
}