aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTimur I. Bakeyev <timur@FreeBSD.org>2024-04-10 10:56:41 +0000
committerTimur I. Bakeyev <timur@FreeBSD.org>2024-04-10 11:03:37 +0000
commit9e93e3a32717a91d133714cb0bd1e1eeb206dd14 (patch)
treed9eeb526fa60d2b0d863c98a1b5e7911bdd8853b
parent05c6e1ce2c9101acc28df6fdc02a88282f14ffba (diff)
downloadports-9e93e3a32717a91d133714cb0bd1e1eeb206dd14.tar.gz
ports-9e93e3a32717a91d133714cb0bd1e1eeb206dd14.zip
devel/socket_wrapper: Update to the 1.4.2
PR: 274478
-rw-r--r--devel/socket_wrapper/Makefile35
-rw-r--r--devel/socket_wrapper/distinfo6
2 files changed, 10 insertions, 31 deletions
diff --git a/devel/socket_wrapper/Makefile b/devel/socket_wrapper/Makefile
index 3d33b3b68139..975738cc4f23 100644
--- a/devel/socket_wrapper/Makefile
+++ b/devel/socket_wrapper/Makefile
@@ -1,44 +1,23 @@
PORTNAME= socket_wrapper
-PORTVERSION= 1.1.9
-PORTREVISION= 1
+PORTVERSION= 1.4.2
CATEGORIES= devel
MASTER_SITES= SAMBA/cwrap
MAINTAINER= timur@FreeBSD.org
COMMENT= Library passing all socket communications through unix sockets
-WWW= https://cwrap.org/socket_wrapper.html
+WWW= https://cwrap.org/socket_wrapper.html
LICENSE= GPLv3
+LICENSE_FILE= ${WRKSRC}/LICENSE
-USES= cmake
+USES= cmake pathfix
USE_LDCONFIG= yes
-CFLAGS_aarch64= -Wno-error=int-to-pointer-cast -Wno-error=pointer-to-int-cast
-CFLAGS_mips= -Wno-error=int-to-pointer-cast -Wno-error=pointer-to-int-cast
-CFLAGS_mips64= -Wno-error=int-to-pointer-cast -Wno-error=pointer-to-int-cast
-CFLAGS_powerpc= -Wno-error=int-to-pointer-cast -Wno-error=pointer-to-int-cast
-CFLAGS_powerpc64= -Wno-error=int-to-pointer-cast -Wno-error=pointer-to-int-cast
-CFLAGS_powerpc64le= -Wno-error=int-to-pointer-cast -Wno-error=pointer-to-int-cast
-CFLAGS_powerpcspe= -Wno-error=int-to-pointer-cast -Wno-error=pointer-to-int-cast
-CFLAGS_riscv64= -Wno-error=int-to-pointer-cast -Wno-error=pointer-to-int-cast
-
OPTIONS_DEFINE= TEST
-OPTIONS_DEFAULT= TEST
-TEST_TEST_TARGET= test
+TEST_BUILD_DEPENDS= cmocka>=1.1.5:sysutils/cmocka
+TEST_USES= localbase:ldflags pkgconfig
TEST_CMAKE_BOOL= UNIT_TESTING
-TEST_BUILD_DEPENDS= cmocka>=1.1.1:sysutils/cmocka
-
-PLIST_FILES= libdata/pkgconfig/socket_wrapper.pc \
- lib/cmake/socket_wrapper/socket_wrapper-config-version.cmake \
- lib/cmake/socket_wrapper/socket_wrapper-config.cmake \
- lib/libsocket_wrapper.so.0.1.9 \
- lib/libsocket_wrapper.so.0 \
- lib/libsocket_wrapper.so \
- share/man/man1/socket_wrapper.1.gz
-
-post-configure:
- ${REINPLACE_CMD} -Ee '/HAVE_FALLTHROUGH_ATTRIBUTE/d' \
- ${CONFIGURE_WRKSRC}/config.h
+TEST_TEST_TARGET= test
.include <bsd.port.mk>
diff --git a/devel/socket_wrapper/distinfo b/devel/socket_wrapper/distinfo
index 04e8150df1c7..f5293da43150 100644
--- a/devel/socket_wrapper/distinfo
+++ b/devel/socket_wrapper/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1530567034
-SHA256 (socket_wrapper-1.1.9.tar.gz) = 2c1d790f578c36b521c0e113fcbcf41d633336b3c60d6c6a1378f920495eebb4
-SIZE (socket_wrapper-1.1.9.tar.gz) = 772252
+TIMESTAMP = 1712704087
+SHA256 (socket_wrapper-1.4.2.tar.gz) = 0a08ec249dd9ffbb3b16d577b352d573561f57beeec3596182ac6ec8e46b9ab6
+SIZE (socket_wrapper-1.4.2.tar.gz) = 90641