Sunday, May 01, 2022

UPDATE: libslirp 4.7.0

Here is an update to libslirp 4.7.0.


## [4.7.0] - 2022-04-26

### Added

- Allow disabling the internal DHCP server !22
- icmp: Support falling back on trying a SOCK_RAW socket !92
- Support Unix sockets in hostfwd !103
- IPv6 DNS proxying support !110
- bootp: add support for UEFI HTTP boot !111
- New callback that supports CFI better !117

### Fixed

- dhcp: Always send DHCP_OPT_LEN bytes in options !97
- Fix Haiku build !98 !99
- Fix memory leak when using libresolv !100
- Ensure sin6_scope_id is zero for global addresses !102
- resolv: fix IPv6 resolution on Darwin !104
- socket: Initialize so_type in socreate !109
- Handle ECONNABORTED from recv !116


Index: Makefile
===================================================================
RCS file: /home/cvs/ports/net/libslirp/Makefile,v
retrieving revision 1.1.1.1
diff -u -p -u -p -r1.1.1.1 Makefile
--- Makefile 23 Apr 2022 10:28:35 -0000 1.1.1.1
+++ Makefile 2 May 2022 05:04:50 -0000
@@ -1,13 +1,13 @@
COMMENT= general purpose TCP-IP emulator library

-VER= 4.6.1
+VER= 4.7.0
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
+SHARED_LIBS+= slirp 0.1

HOMEPAGE= https://gitlab.freedesktop.org/slirp/libslirp

@@ -23,7 +23,5 @@ MODULES= devel/meson
LIB_DEPENDS+= devel/glib2

CONFIGURE_ARGS+=-Ddefault_library=both
-
-NO_TEST= Yes

.include <bsd.port.mk>
Index: distinfo
===================================================================
RCS file: /home/cvs/ports/net/libslirp/distinfo,v
retrieving revision 1.1.1.1
diff -u -p -u -p -r1.1.1.1 distinfo
--- distinfo 23 Apr 2022 10:28:35 -0000 1.1.1.1
+++ distinfo 30 Apr 2022 04:46:09 -0000
@@ -1,2 +1,2 @@
-SHA256 (libslirp-v4.6.1.tar.bz2) = PuJzR3ZMYp4QIo9wAt0iEE6cwhYj1WXcDn5X7Rtjpw4=
-SIZE (libslirp-v4.6.1.tar.bz2) = 103050
+SHA256 (libslirp-v4.7.0.tar.bz2) = NYzotupZ7J3qyTfMdU8BFbmSg557DN3zD/uPd9wh2oI=
+SIZE (libslirp-v4.7.0.tar.bz2) = 109085
Index: patches/patch-test_pingtest_c
===================================================================
RCS file: patches/patch-test_pingtest_c
diff -N patches/patch-test_pingtest_c
--- /dev/null 1 Jan 1970 00:00:00 -0000
+++ patches/patch-test_pingtest_c 2 May 2022 05:06:00 -0000
@@ -0,0 +1,12 @@
+Index: test/pingtest.c
+--- test/pingtest.c.orig
++++ test/pingtest.c
+@@ -35,6 +35,8 @@ int slirp_inet_aton(const char *cp, struct in_addr *ia
+ }
+ #define inet_aton slirp_inet_aton
+ #else
++#include <sys/socket.h>
++#include <arpa/inet.h>
+ #include <poll.h>
+

No comments:

Post a Comment