mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 01:39:16 -04:00
net/libslirp: add new port
A user-mode networking library used by virtual machines and containers. WWW: https://gitlab.freedesktop.org/slirp/libslirp
This commit is contained in:
parent
ffbdaf1455
commit
7ed1f865b4
6 changed files with 43 additions and 0 deletions
|
@ -408,6 +408,7 @@
|
|||
SUBDIR += librespeed-go
|
||||
SUBDIR += librsync
|
||||
SUBDIR += libsignal-protocol-c
|
||||
SUBDIR += libslirp
|
||||
SUBDIR += libsrtp2
|
||||
SUBDIR += libstorj
|
||||
SUBDIR += libtnl
|
||||
|
|
19
net/libslirp/Makefile
Normal file
19
net/libslirp/Makefile
Normal file
|
@ -0,0 +1,19 @@
|
|||
PORTNAME= libslirp
|
||||
DISTVERSION= 4.6.1
|
||||
CATEGORIES= net
|
||||
MASTER_SITES= https://gitlab.freedesktop.org/slirp/libslirp/-/archive/v${DISTVERSION}/
|
||||
|
||||
MAINTAINER= makc@FreeBSD.org
|
||||
COMMENT= General purpose TCP-IP emulator library
|
||||
|
||||
LICENSE= BSD3CLAUSE
|
||||
LICENSE_FILE= ${WRKSRC}/COPYRIGHT
|
||||
|
||||
USES= gnome meson pkgconfig tar:bz2
|
||||
USE_GNOME= glib20
|
||||
USE_LDCONFIG= yes
|
||||
|
||||
GL_COMMIT= cceced0cce9d578ed01db68edf31af78eb66f858
|
||||
WRKSRC= ${WRKDIR}/${PORTNAME}-v${DISTVERSION}-${GL_COMMIT}
|
||||
|
||||
.include <bsd.port.mk>
|
3
net/libslirp/distinfo
Normal file
3
net/libslirp/distinfo
Normal file
|
@ -0,0 +1,3 @@
|
|||
TIMESTAMP = 1640725729
|
||||
SHA256 (libslirp-4.6.1.tar.bz2) = 6ade191f6a14c8fbe32e4b4644a8585e7a8c107ec07989d79825df7400c4fecd
|
||||
SIZE (libslirp-4.6.1.tar.bz2) = 103091
|
10
net/libslirp/files/patch-src_libslirp.h
Normal file
10
net/libslirp/files/patch-src_libslirp.h
Normal file
|
@ -0,0 +1,10 @@
|
|||
--- src/libslirp.h.orig 2021-06-18 07:49:56 UTC
|
||||
+++ src/libslirp.h
|
||||
@@ -12,6 +12,7 @@
|
||||
#include <in6addr.h>
|
||||
#else
|
||||
#include <netinet/in.h>
|
||||
+#include <sys/socket.h>
|
||||
#include <arpa/inet.h>
|
||||
#endif
|
||||
|
4
net/libslirp/pkg-descr
Normal file
4
net/libslirp/pkg-descr
Normal file
|
@ -0,0 +1,4 @@
|
|||
libslirp is a user-mode networking library used by virtual machines,
|
||||
containers or various tools.
|
||||
|
||||
WWW: https://gitlab.freedesktop.org/slirp/libslirp
|
6
net/libslirp/pkg-plist
Normal file
6
net/libslirp/pkg-plist
Normal file
|
@ -0,0 +1,6 @@
|
|||
include/slirp/libslirp-version.h
|
||||
include/slirp/libslirp.h
|
||||
lib/libslirp.so
|
||||
lib/libslirp.so.0
|
||||
lib/libslirp.so.0.3.1
|
||||
libdata/pkgconfig/slirp.pc
|
Loading…
Add table
Reference in a new issue