pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

usrsctp: fix build



Module Name:	pkgsrc-wip
Committed By:	Bartosz Kuzma <bartosz.kuzma%gmail.com@localhost>
Pushed By:	bartosz.kuzma
Date:		Sat Jul 18 15:01:31 2026 +0200
Changeset:	c14321bab8ebf251e7cdd89b610362c68efa84f2

Modified Files:
	usrsctp/DESCR
	usrsctp/Makefile
	usrsctp/distinfo

Log Message:
usrsctp: fix build

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=c14321bab8ebf251e7cdd89b610362c68efa84f2

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 usrsctp/DESCR    | 11 ++++++++++-
 usrsctp/Makefile | 18 ++++++++----------
 usrsctp/distinfo |  6 +++---
 3 files changed, 21 insertions(+), 14 deletions(-)

diffs:
diff --git a/usrsctp/DESCR b/usrsctp/DESCR
index e27269b3fb..06982599e9 100644
--- a/usrsctp/DESCR
+++ b/usrsctp/DESCR
@@ -1 +1,10 @@
-This is a userland SCTP stack supporting FreeBSD, Linux, Mac OS X and Windows.
+Userland SCTP stack. SCTP is a message oriented, reliable transport protocol
+with direct support for multihoming that runs on top of IP or UDP,
+and supports both v4 and v6 versions.
+
+Like TCP, SCTP provides reliable, connection oriented data delivery with
+congestion control. Unlike TCP, SCTP also provides message boundary
+preservation, ordered and unordered message delivery, multi-streaming
+and multi-homing. Detection of data corruption, loss of data and duplication
+of data is achieved by using checksums and sequence numbers.A selective
+retransmission mechanism is applied to correct loss or corruption of data.
diff --git a/usrsctp/Makefile b/usrsctp/Makefile
index d4e4dffbad..cbb4d58ba8 100644
--- a/usrsctp/Makefile
+++ b/usrsctp/Makefile
@@ -1,25 +1,23 @@
 # $NetBSD$
 
-GITHUB_PROJECT=	usrsctp
-GITHUB_TAG=	0.9.5.0
-DISTNAME=	0.9.5.0
-PKGNAME=	${GITHUB_PROJECT}-${DISTNAME}
+DISTNAME=	usrsctp-0.9.5.0
 CATEGORIES=	net
 MASTER_SITES=	${MASTER_SITE_GITHUB:=sctplab/}
-DIST_SUBDIR=	${GITHUB_PROJECT}
+GITHUB_TAG=	refs/tags/${PKGVERSION_NOREV}
 
 MAINTAINER=	pkgsrc-users%NetBSD.org@localhost
 HOMEPAGE=	https://github.com/sctplab/usrsctp/
-COMMENT=	A portable SCTP userland stack
+COMMENT=	Portable SCTP userland stack
 LICENSE=	modified-bsd
 
-WRKSRC=		${WRKDIR}/usrsctp-0.9.5.0
-USE_CMAKE=	yes
 USE_TOOLS+=	pkg-config
 
 PKGCONFIG_OVERRIDE+=	usrsctp.pc.in
 
-CMAKE_CONFIGURE_ARGS+= -DCMAKE_C_FLAGS="${CMAKE_C_FLAGS} -fPIC"
+WRKSRC=		${WRKDIR}/${DISTNAME}
 
-#.include "../../devel/meson/build.mk"
+CMAKE_CONFIGURE_ARGS+=	-DCMAKE_POLICY_VERSION_MINIMUM=3.5
+CMAKE_CONFIGURE_ARGS+=	-DCMAKE_C_FLAGS="${CMAKE_C_FLAGS} -fPIC"
+
+.include "../../devel/cmake/build.mk"
 .include "../../mk/bsd.pkg.mk"
diff --git a/usrsctp/distinfo b/usrsctp/distinfo
index 9700f9b46a..76beb45b4a 100644
--- a/usrsctp/distinfo
+++ b/usrsctp/distinfo
@@ -1,5 +1,5 @@
 $NetBSD$
 
-RMD160 (usrsctp/0.9.5.0.tar.gz) = 5bf305d668dab0b05d308340821e06d0334eddbb
-SHA512 (usrsctp/0.9.5.0.tar.gz) = 7b28706449f9365ba9750fd39925e7171516a1e3145d123ec69a12486637ae2393ad4c587b056403298dc13c149f0b01a262cbe4852abca42e425d7680c77ee3
-Size (usrsctp/0.9.5.0.tar.gz) = 771701 bytes
+BLAKE2s (usrsctp-0.9.5.0.tar.gz) = 48d8e92eecbe88251b036c669016d6d8f5c1182f41a98ebdcde5d980c09a81aa
+SHA512 (usrsctp-0.9.5.0.tar.gz) = 7b28706449f9365ba9750fd39925e7171516a1e3145d123ec69a12486637ae2393ad4c587b056403298dc13c149f0b01a262cbe4852abca42e425d7680c77ee3
+Size (usrsctp-0.9.5.0.tar.gz) = 771701 bytes


Home | Main Index | Thread Index | Old Index