head	1.2;
access;
symbols
	pkgsrc-2026Q1:1.1.0.6
	pkgsrc-2026Q1-base:1.1
	pkgsrc-2025Q4:1.1.0.4
	pkgsrc-2025Q4-base:1.1
	pkgsrc-2025Q3:1.1.0.2
	pkgsrc-2025Q3-base:1.1;
locks; strict;
comment	@# @;


1.2
date	2026.06.11.07.21.25;	author wiz;	state Exp;
branches;
next	1.1;
commitid	HbD18AelcGmLNlJG;

1.1
date	2025.09.06.18.29.02;	author riastradh;	state Exp;
branches;
next	;
commitid	rbI4nuEoOZGPqG9G;


desc
@@


1.2
log
@*: recursive bump for cmocka shlib major bump
@
text
@# $NetBSD: Makefile,v 1.1 2025/09/06 18:29:02 riastradh Exp $

DISTNAME=	socket_wrapper-1.5.0
PKGREVISION=	1
CATEGORIES=	devel net
MASTER_SITES=	https://ftp.samba.org/pub/cwrap/

MAINTAINER=	pkgsrc-users@@NetBSD.org
HOMEPAGE=	https://cwrap.org/socket_wrapper.html
COMMENT=	LD_PRELOAD wrapper to pass all socket I/O through Unix sockets
LICENSE=	modified-bsd

FORTIFY_SUPPORTED=	no	# wraps functions like read

CMAKE_CONFIGURE_ARGS+=	-DUNIT_TESTING:BOOL=TRUE

BUILDLINK_DEPMETHOD.cmocka=	build # for automatic tests only

# Tests are slightly flaky on on NetBSD 9/amd64 (in particular,
# test_sendmmsg_recvmmsg_ipv6 and test_echo_tcp_write_read), possibly
# related to PIPE_BUF being smaller than on Linux, not sure.

TEST_ENV+=	LD_LIBRARY_PATH=${WRKSRC:Q}/${CMAKE_BUILD_DIR:Q}/src:${WRKSRC:Q}/${CMAKE_BUILD_DIR:Q}/tests
TEST_TARGET=	test

.include "../../devel/cmake/build.mk"
.include "../../devel/cmocka/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
@


1.1
log
@devel/socket_wrapper: Import socket_wrapper-1.5.0

socket_wrapper is an LD_PRELOAD wrapper to pass all socket I/O
through Unix sockets for automatically testing internet-domain
applications on a local system.
@
text
@d1 1
a1 1
# $NetBSD$
d4 1
@

