import ports/net/libslirp 4.6.1, from brad

libslirp is a user-mode networking library used by virtual machines,
containers or various tools.

ok sthen@
This commit is contained in:
landry 2022-04-23 10:28:35 +00:00
parent 6e5a919f4e
commit 17fe8f4036
4 changed files with 39 additions and 0 deletions

29
net/libslirp/Makefile Normal file
View File

@ -0,0 +1,29 @@
COMMENT= general purpose TCP-IP emulator library
VER= 4.6.1
DISTNAME= libslirp-v${VER}
PKGNAME= libslirp-${VER}
CATEGORIES= net
MASTER_SITES= https://gitlab.freedesktop.org/slirp/libslirp/-/archive/v${VER}/
EXTRACT_SUFX= .tar.bz2
SHARED_LIBS+= slirp 0.0
HOMEPAGE= https://gitlab.freedesktop.org/slirp/libslirp
MAINTAINER= Brad Smith <brad@comstyle.com>
# BSD
PERMIT_PACKAGE= Yes
WANTLIB= glib-2.0
MODULES= devel/meson
LIB_DEPENDS+= devel/glib2
CONFIGURE_ARGS+=-Ddefault_library=both
NO_TEST= Yes
.include <bsd.port.mk>

2
net/libslirp/distinfo Normal file
View File

@ -0,0 +1,2 @@
SHA256 (libslirp-v4.6.1.tar.bz2) = PuJzR3ZMYp4QIo9wAt0iEE6cwhYj1WXcDn5X7Rtjpw4=
SIZE (libslirp-v4.6.1.tar.bz2) = 103050

2
net/libslirp/pkg/DESCR Normal file
View File

@ -0,0 +1,2 @@
libslirp is a user-mode networking library used by virtual machines,
containers or various tools.

6
net/libslirp/pkg/PLIST Normal file
View File

@ -0,0 +1,6 @@
include/slirp/
include/slirp/libslirp-version.h
include/slirp/libslirp.h
@static-lib lib/libslirp.a
@lib lib/libslirp.so.${LIBslirp_VERSION}
lib/pkgconfig/slirp.pc